/* Shared page primitives */
.feature-detail-grid,
.feature-workflow-track,
.feature-lab-cta,
.feature-lab-stat-grid,
.feature-lab-bench-grid {
    min-width: 0;
}

/* static-page--features */
body.static-page--features {
    --primary: #0f172a;
    --primary-hover: #1e293b;
    --primary-rgb: 15, 23, 42;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-blue-rgb: 37, 99, 235;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: rgba(148, 163, 184, 0.28);
    --bg-body: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-soft: #e2e8f0;
    --shadow-sm: 0 18px 44px -36px rgba(15, 23, 42, 0.42);
    --shadow-md: 0 34px 86px -56px rgba(15, 23, 42, 0.34);
    background-image:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 32%),
        radial-gradient(circle at right 16%, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0) 28%),
        linear-gradient(180deg, #fbfdff 0%, #f8fafc 46%, #eef2f7 100%);
}
body.static-page--features header {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(148, 163, 184, 0.28);
}
body.static-page--features .btn-primary {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 20px 40px -24px rgba(37, 99, 235, 0.52);
}
body.static-page--features .btn-outline {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(148, 163, 184, 0.24);
}

.feature-lab-shell {
    --feature-slate: 15, 23, 42;
    --feature-blue: 37, 99, 235;
    --feature-purple: 124, 58, 237;
    --feature-emerald: 5, 150, 105;
    position: relative;
    margin: 30px 0 42px;
    padding: 34px;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.94) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0));
    box-shadow: 0 34px 82px -56px rgba(15, 23, 42, 0.3);
}
.feature-lab-shell::before {
    content: '';
    position: absolute;
    inset: -12% auto auto -8%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(34px);
    pointer-events: none;
}
.feature-lab-shell::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    pointer-events: none;
}

.feature-lab-hero,
.feature-lab-cta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: 22px;
    align-items: start;
}
.feature-lab-hero {
    margin-bottom: 28px;
}
.feature-lab-hero-copy,
.feature-lab-hero-panel,
.feature-lab-cta-copy,
.feature-lab-cta-aside,
.feature-detail-main,
.feature-detail-aside {
    display: grid;
    gap: 16px;
}

.feature-lab-kicker,
.feature-lab-panel-label,
.feature-lab-cta-label,
.feature-detail-kicker,
.feature-detail-aside-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.feature-lab-kicker {
    background: rgba(15, 23, 42, 0.05);
    color: #64748b;
}
.feature-lab-eyebrow,
.feature-section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-lab-hero-copy h1,
.feature-section-head h2,
.feature-tool-title,
.feature-detail-panel h3,
.feature-workflow-card h3,
.feature-bench-card h3,
.feature-lab-hero-panel h2,
.feature-lab-cta h2 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    color: var(--text-main);
    letter-spacing: -0.04em;
}
.feature-lab-hero-copy h1 {
    max-width: 860px;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 0.98;
}
.feature-section-head h2,
.feature-lab-cta h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.06;
}
.feature-lab-intro,
.feature-section-head p,
.feature-bench-card p,
.feature-tool-text,
.feature-detail-intro,
.feature-workflow-card p,
.feature-lab-hero-panel p,
.feature-lab-stat-card span,
.feature-lab-cta p,
.feature-lab-cta-aside p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-lab-chip-row,
.feature-tool-tags,
.feature-lab-hero-actions,
.feature-lab-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.feature-lab-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(14px);
}

.feature-lab-hero-panel,
.feature-tool-card,
.feature-detail-panel,
.feature-workflow-card,
.feature-bench-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 26px 54px -42px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(18px);
}
.feature-lab-hero-panel {
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 34px 80px -52px rgba(15, 23, 42, 0.64);
}
.feature-lab-hero-panel::before,
.feature-lab-cta::before,
.feature-detail-panel::before,
.feature-workflow-card::before,
.feature-tool-card::before,
.feature-bench-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(var(--feature-tone, var(--feature-slate)), 0.9) 0%, rgba(var(--feature-tone, var(--feature-slate)), 0.14) 100%);
}
.feature-lab-hero-panel::before,
.feature-lab-cta::before {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.94) 0%, rgba(124, 58, 237, 0.58) 50%, rgba(5, 150, 105, 0.28) 100%);
}
.feature-lab-panel-label,
.feature-lab-cta-label,
.feature-detail-kicker,
.feature-detail-aside-label {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}
.feature-lab-hero-panel h2,
.feature-lab-cta h2,
.feature-lab-cta p,
.feature-lab-cta-aside .feature-detail-list li {
    color: #f8fafc;
}
.feature-lab-hero-panel p {
    color: #cbd5e1;
}
.feature-lab-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.feature-lab-stat-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-lab-stat-card strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.feature-lab-stat-card span {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
}

.feature-lab-bench {
    display: grid;
    gap: 12px;
}
.feature-lab-bench-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.feature-lab-bench-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.feature-bench-card {
    --feature-tone: var(--feature-slate);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.feature-bench-card h3 {
    font-size: 18px;
    line-height: 1.1;
    color: #f8fafc;
}
.feature-bench-card p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}
.feature-bench-card--slate { --feature-tone: var(--feature-slate); }
.feature-bench-card--purple { --feature-tone: var(--feature-purple); }
.feature-bench-card--blue { --feature-tone: var(--feature-blue); }
.feature-bench-card--emerald { --feature-tone: var(--feature-emerald); }
.feature-bench-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(var(--feature-tone), 0.14);
    color: rgba(255, 255, 255, 0.96);
}

.feature-section,
.feature-detail-section,
.feature-workflow-section {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}
.feature-section-head {
    display: grid;
    gap: 12px;
    max-width: 780px;
}
.feature-section-head--tight {
    max-width: 720px;
}

.feature-tool-card {
    --feature-tone: var(--feature-slate);
    border-radius: 32px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-tool-card--slate,
.feature-detail-panel--slate,
.feature-workflow-card--slate {
    --feature-tone: var(--feature-slate);
}
.feature-tool-card--purple,
.feature-detail-panel--purple,
.feature-workflow-card--purple {
    --feature-tone: var(--feature-purple);
}
.feature-tool-card--blue,
.feature-detail-panel--blue,
.feature-workflow-card--blue {
    --feature-tone: var(--feature-blue);
}
.feature-tool-card--emerald,
.feature-detail-panel--emerald,
.feature-workflow-card--emerald {
    --feature-tone: var(--feature-emerald);
}
.feature-tool-card:hover,
.feature-tool-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(var(--feature-tone), 0.24);
    box-shadow: 0 34px 74px -48px rgba(var(--feature-tone), 0.42);
}
.feature-tool-trigger {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 14px;
    padding: 28px;
    color: inherit;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}
.feature-tool-trigger:focus-visible,
.feature-lab-shell .btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.42);
    outline-offset: 4px;
}
.feature-tool-blueprint {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--feature-tone), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--feature-tone), 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.42;
    pointer-events: none;
}
.feature-tool-scan {
    position: absolute;
    inset: 0 auto 0 -44%;
    width: 44%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(var(--feature-tone), 0.14), rgba(255, 255, 255, 0));
    opacity: 0;
    transform: skewX(-16deg) translateX(0);
    pointer-events: none;
}
.feature-tool-card:hover .feature-tool-scan,
.feature-tool-card.is-active .feature-tool-scan {
    opacity: 1;
    animation: featureScan 1.05s ease forwards;
}
@keyframes featureScan {
    0% {
        transform: skewX(-16deg) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: skewX(-16deg) translateX(310%);
        opacity: 0;
    }
}

.feature-tool-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.feature-tool-badge,
.feature-tool-metric,
.feature-workflow-index {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.feature-tool-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(var(--feature-tone), 0.1);
    color: rgb(var(--feature-tone));
}
.feature-tool-title {
    display: block;
    font-size: 30px;
    line-height: 1.04;
}
.feature-tool-text {
    display: block;
    max-width: 36rem;
}
.feature-tool-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(var(--feature-tone), 0.16);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.feature-tool-chart {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    min-height: 58px;
}
.feature-tool-chart span {
    height: var(--feature-bar);
    min-height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--feature-tone), 0.2) 0%, rgba(var(--feature-tone), 0.74) 100%);
    opacity: 0.86;
    transform: translateY(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.feature-tool-card:hover .feature-tool-chart span,
.feature-tool-card.is-active .feature-tool-chart span {
    opacity: 1;
    transform: translateY(-4px);
}
.feature-tool-link {
    color: rgb(var(--feature-tone));
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feature-detail-stack {
    display: grid;
}
.feature-detail-panel {
    --feature-tone: var(--feature-slate);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 18px;
    padding: 24px;
    border-radius: 32px;
}
.feature-detail-panel.is-active {
    box-shadow: 0 34px 82px -54px rgba(var(--feature-tone), 0.32);
}
.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.feature-detail-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
}
.feature-detail-card--aside {
    background: rgba(var(--feature-tone), 0.06);
    border-color: rgba(var(--feature-tone), 0.16);
}
.feature-detail-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.feature-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.feature-detail-list li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    line-height: 1.7;
}
.feature-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--feature-tone), 0.88);
    box-shadow: 0 0 0 4px rgba(var(--feature-tone), 0.12);
}
.feature-detail-actions {
    display: grid;
    gap: 10px;
}
.feature-detail-actions .btn {
    width: 100%;
    justify-content: center;
}

.feature-workflow-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.feature-workflow-track::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 42px;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.56), rgba(148, 163, 184, 0.18));
}
.feature-workflow-card {
    --feature-tone: var(--feature-slate);
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 28px;
}
.feature-workflow-index {
    color: rgb(var(--feature-tone));
}

.feature-lab-cta {
    padding: 30px;
    border-radius: 34px;
    background: linear-gradient(135deg, #0f172a 0%, #111827 52%, #1e293b 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 34px 82px -54px rgba(15, 23, 42, 0.62);
}
.feature-lab-cta .feature-section-kicker {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}
.feature-lab-cta .btn-outline {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}
.feature-lab-cta .btn-outline:hover {
    border-color: rgba(96, 165, 250, 0.34);
    color: #ffffff;
}
.feature-lab-cta-aside {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.static-page--features.dark-mode {
    --primary: #e2e8f0;
    --primary-hover: #f8fafc;
    --primary-rgb: 226, 232, 240;
    --accent-blue: #60a5fa;
    --accent-blue-hover: #93c5fd;
    --accent-blue-rgb: 96, 165, 250;
    --text-main: #f8fafc;
    --text-muted: #a8b4c8;
    --border: rgba(100, 116, 139, 0.3);
    --bg-body: #050b14;
    --bg-card: rgba(15, 23, 42, 0.82);
    --bg-soft: rgba(15, 23, 42, 0.94);
    --shadow-sm: 0 18px 44px -36px rgba(2, 8, 23, 0.96);
    --shadow-md: 0 34px 86px -56px rgba(2, 8, 23, 0.98);
    background-image:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14) 0%, rgba(96, 165, 250, 0) 28%),
        radial-gradient(circle at right 16%, rgba(167, 139, 250, 0.12) 0%, rgba(167, 139, 250, 0) 26%),
        linear-gradient(180deg, #030712 0%, #07111f 46%, #0b1220 100%);
}
body.static-page--features.dark-mode header {
    background: rgba(8, 15, 28, 0.82);
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: 0 22px 50px -42px rgba(2, 8, 23, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body.static-page--features.dark-mode nav,
body.static-page--features.dark-mode .logo,
body.static-page--features.dark-mode .header-user-pill,
body.static-page--features.dark-mode .site-language-switch summary,
body.static-page--features.dark-mode .theme-toggle,
body.static-page--features.dark-mode .btn-outline,
body.static-page--features.dark-mode footer h4,
body.static-page--features.dark-mode footer a:hover {
    color: #f8fafc;
}
body.static-page--features.dark-mode .site-language-switch summary,
body.static-page--features.dark-mode .site-language-menu,
body.static-page--features.dark-mode .theme-toggle,
body.static-page--features.dark-mode .btn-outline,
body.static-page--features.dark-mode .header-user-pill,
body.static-page--features.dark-mode .hamburger-btn {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(100, 116, 139, 0.28);
}
body.static-page--features.dark-mode footer p,
body.static-page--features.dark-mode footer li,
body.static-page--features.dark-mode footer a,
body.static-page--features.dark-mode .footer-bottom {
    color: #a8b4c8;
}
body.static-page--features.dark-mode .feature-lab-shell {
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.96) 0%, rgba(10, 18, 32, 0.94) 100%);
    border-color: rgba(100, 116, 139, 0.28);
    box-shadow: 0 36px 88px -58px rgba(2, 8, 23, 0.98);
}
body.static-page--features.dark-mode .feature-lab-shell::after {
    border-color: rgba(100, 116, 139, 0.16);
}
body.static-page--features.dark-mode .feature-lab-kicker,
body.static-page--features.dark-mode .feature-section-kicker,
body.static-page--features.dark-mode .feature-lab-eyebrow {
    background: rgba(255, 255, 255, 0.06);
    color: #dbe5f2;
}
body.static-page--features.dark-mode .feature-lab-intro,
body.static-page--features.dark-mode .feature-section-head p,
body.static-page--features.dark-mode .feature-tool-text,
body.static-page--features.dark-mode .feature-detail-intro,
body.static-page--features.dark-mode .feature-workflow-card p,
body.static-page--features.dark-mode .feature-lab-stat-card span,
body.static-page--features.dark-mode .feature-lab-cta-aside p,
body.static-page--features.dark-mode .feature-bench-card p {
    color: #a8b4c8;
}
body.static-page--features.dark-mode .feature-lab-chip,
body.static-page--features.dark-mode .feature-tool-card,
body.static-page--features.dark-mode .feature-detail-panel,
body.static-page--features.dark-mode .feature-workflow-card,
body.static-page--features.dark-mode .feature-bench-card {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(100, 116, 139, 0.26);
    box-shadow: 0 26px 54px -40px rgba(2, 8, 23, 0.98);
}
body.static-page--features.dark-mode .feature-tool-tags span,
body.static-page--features.dark-mode .feature-detail-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(100, 116, 139, 0.22);
    color: #dbe5f2;
}
body.static-page--features.dark-mode .feature-detail-card h4,
body.static-page--features.dark-mode .feature-tool-title,
body.static-page--features.dark-mode .feature-workflow-card h3,
body.static-page--features.dark-mode .feature-bench-card h3,
body.static-page--features.dark-mode .feature-detail-panel h3,
body.static-page--features.dark-mode .feature-section-head h2,
body.static-page--features.dark-mode .feature-lab-hero-copy h1 {
    color: #f8fafc;
}
body.static-page--features.dark-mode .feature-detail-list li,
body.static-page--features.dark-mode .feature-tool-tags span,
body.static-page--features.dark-mode .feature-lab-chip {
    color: #dbe5f2;
}
body.static-page--features.dark-mode .feature-tool-blueprint {
    opacity: 0.26;
}
body.static-page--features.dark-mode .feature-lab-cta {
    background: linear-gradient(135deg, rgba(8, 15, 28, 0.98) 0%, rgba(15, 23, 42, 0.98) 52%, rgba(30, 41, 59, 0.98) 100%);
}

@media (max-width: 1180px) {
    .feature-lab-bench-grid,
    .feature-lab-stat-grid,
    .feature-workflow-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-workflow-track::before {
        display: none;
    }
}

@media (max-width: 980px) {
    .feature-lab-shell {
        padding: 26px;
    }

    .feature-lab-hero,
    .feature-lab-cta,
    .feature-detail-panel {
        grid-template-columns: 1fr;
    }

    .feature-tool-grid,
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .feature-lab-shell {
        padding: 22px 18px;
        border-radius: 28px;
    }

    .feature-lab-shell::after {
        inset: 12px;
        border-radius: 18px;
    }

    .feature-lab-hero-panel,
    .feature-tool-trigger,
    .feature-detail-panel,
    .feature-workflow-card,
    .feature-lab-cta,
    .feature-bench-card {
        padding: 22px;
        border-radius: 24px;
    }

    .feature-lab-stat-grid,
    .feature-lab-bench-grid,
    .feature-workflow-track {
        grid-template-columns: 1fr;
    }

    .feature-lab-chip,
    .feature-lab-hero-actions .btn,
    .feature-lab-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-tool-title {
        font-size: 27px;
    }

    .feature-lab-hero-actions,
    .feature-lab-cta-actions {
        display: grid;
    }
}

.features-page-shell,
.features-page-hero,
.features-page-section,
.features-tool-grid,
.features-choice-grid,
.features-page-cta {
    min-width: 0;
}

body.static-page--features {
    background-image: none;
    background-color: #f8fafc;
}

.features-page-shell {
    margin: 28px 0 42px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.features-page-hero,
.features-page-section,
.features-choice-section,
.features-page-cta {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 52px -42px rgba(15, 23, 42, 0.32);
}

.features-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 28px;
}

.features-page-hero-copy,
.features-page-start-card,
.features-tool-card,
.features-choice-card {
    min-width: 0;
}

.features-page-hero-copy h1 {
    max-width: 780px;
    margin: 12px 0 16px;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.features-page-hero-copy p,
.features-page-section-head p,
.features-page-start-card p,
.features-tool-card p,
.features-choice-card p,
.features-page-cta p {
    color: var(--text-muted);
}

.features-page-hero-copy > p {
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.features-page-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.features-page-chip-row span,
.features-page-card-label,
.features-tool-mode,
.features-choice-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
}

.features-page-chip-row span {
    padding: 8px 12px;
}

.features-page-card-label,
.features-tool-mode,
.features-choice-card span {
    padding: 6px 10px;
}

.features-page-hero-actions,
.features-page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.features-page-start-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
}

.features-page-start-card h2,
.features-page-section-head h2,
.features-page-cta h2 {
    margin: 0;
    color: var(--text-main);
    letter-spacing: 0;
}

.features-page-start-card h2 {
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    line-height: 1.12;
}

.features-page-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.features-page-summary-grid article {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #f8fafc;
}

.features-page-summary-grid strong {
    display: block;
    color: var(--text-main);
    font-size: 1.2rem;
}

.features-page-summary-grid span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.features-page-section,
.features-choice-section,
.features-page-cta {
    padding: 28px;
    border-radius: 24px;
}

.features-page-section-head {
    max-width: 720px;
    margin-bottom: 22px;
}

.features-page-section-head--compact {
    margin-bottom: 18px;
}

.features-page-section-head h2,
.features-page-cta h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.5rem);
    line-height: 1.1;
}

.features-page-section-head p,
.features-page-cta p {
    margin: 10px 0 0;
    line-height: 1.65;
}

.features-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.features-tool-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
}

.features-tool-card--blue {
    border-color: rgba(37, 99, 235, 0.24);
}

.features-tool-card--purple {
    border-color: rgba(124, 58, 237, 0.24);
}

.features-tool-card--emerald {
    border-color: rgba(5, 150, 105, 0.24);
}

.features-tool-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.features-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #2563eb;
}

.features-tool-card h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.features-tool-card p {
    margin: 0;
    line-height: 1.6;
}

.features-tool-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
}

.features-tool-lists div {
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.features-tool-lists h4 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.25;
}

.features-tool-lists ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    line-height: 1.5;
}

.features-tool-lists li + li {
    margin-top: 6px;
}

.features-tool-link {
    align-self: flex-start;
    color: #1d4ed8;
    font-weight: 800;
    text-decoration: none;
}

.features-tool-link:hover {
    text-decoration: underline;
}

.features-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.features-choice-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #ffffff;
}

.features-choice-card h3 {
    margin: 14px 0 8px;
    color: var(--text-main);
    font-size: 1.02rem;
    line-height: 1.25;
}

.features-choice-card p {
    margin: 0;
    line-height: 1.55;
}

.features-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.features-page-cta > div:first-child {
    max-width: 720px;
}

body.static-page--features.dark-mode .features-page-hero,
body.static-page--features.dark-mode .features-page-section,
body.static-page--features.dark-mode .features-choice-section,
body.static-page--features.dark-mode .features-page-cta,
body.static-page--features.dark-mode .features-page-start-card,
body.static-page--features.dark-mode .features-tool-card,
body.static-page--features.dark-mode .features-choice-card {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.88);
}

body.static-page--features.dark-mode .features-page-summary-grid article,
body.static-page--features.dark-mode .features-tool-lists div {
    background: rgba(30, 41, 59, 0.72);
}

body.static-page--features.dark-mode .features-page-hero-copy p,
body.static-page--features.dark-mode .features-page-section-head p,
body.static-page--features.dark-mode .features-page-start-card p,
body.static-page--features.dark-mode .features-tool-card p,
body.static-page--features.dark-mode .features-choice-card p,
body.static-page--features.dark-mode .features-page-cta p,
body.static-page--features.dark-mode .features-page-summary-grid span,
body.static-page--features.dark-mode .features-tool-lists ul {
    color: rgba(226, 232, 240, 0.78);
}

body.static-page--features.dark-mode .features-page-start-card h2,
body.static-page--features.dark-mode .features-page-section-head h2,
body.static-page--features.dark-mode .features-tool-card h3,
body.static-page--features.dark-mode .features-tool-lists h4,
body.static-page--features.dark-mode .features-choice-card h3,
body.static-page--features.dark-mode .features-page-cta h2,
body.static-page--features.dark-mode .features-page-summary-grid strong {
    color: #f8fafc;
}

@media (max-width: 980px) {
    .features-page-hero,
    .features-tool-grid,
    .features-choice-grid,
    .features-page-cta {
        grid-template-columns: 1fr;
    }

    .features-page-cta {
        display: grid;
    }
}

@media (max-width: 680px) {
    .features-page-hero,
    .features-page-section,
    .features-choice-section,
    .features-page-cta {
        padding: 22px;
        border-radius: 20px;
    }

    .features-page-summary-grid,
    .features-tool-lists {
        grid-template-columns: 1fr;
    }

    .features-page-hero-copy h1 {
        font-size: 2.2rem;
    }

    .features-page-hero-actions .btn,
    .features-page-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
