*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --text: #251c12;
    --text-soft: #59442ce0;
    --text-muted: #8a6a40a0;
    --line: #7e5d3429;
    --line-strong: #8a622c47;
    --paper: #fffbf4;
    --paper-glass: #fffbf4b8;
    --accent: #cb802e;
    --accent-deep: #a8611a;
    --accent-soft: #f4ce9a6b;
    --cta-orange-gradient: linear-gradient(
        135deg,
        #c07222,
        #e5a557
    );
    --cta-orange-shadow: 0 20px 48px #c0722247;
    --cta-orange-shadow-hover: 0 26px 56px #c0722257;
    --shadow: 0 36px 96px #52351724;
    --shadow-sm: 0 8px 32px #52351714;
    --r: 1.75rem;
    --r-lg: 2.2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", system-ui, sans-serif;
    background: #fffbf4;
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* ─── BACKGROUND ─── */
.bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            #48321b06 0 1px,
            transparent 1px 4px
        ),
        radial-gradient(
            120% 100% at 50% 0,
            transparent 55%,
            #3825110f 100%
        );
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform, opacity;
}
.orb-1 {
    background: radial-gradient(
        closest-side at 38% 48%,
        #ffd7983d,
        transparent 74%
    );
    width: 34rem;
    height: 22rem;
    top: -6rem;
    left: -9rem;
    animation: wander-n 24s ease-in-out -5s infinite;
}
.orb-2 {
    background: radial-gradient(
        closest-side at 56% 42%,
        #fff1d661,
        transparent 72%
    );
    width: 30rem;
    height: 20rem;
    top: 4%;
    right: -8rem;
    animation: wander-e 27s ease-in-out -11s infinite;
}
.orb-3 {
    background: radial-gradient(
        closest-side at 42% 48%,
        #ffe1b52e,
        transparent 74%
    );
    width: 22rem;
    height: 18rem;
    top: 36%;
    left: -6rem;
    animation: wander-s 22s ease-in-out -3s infinite;
}
.orb-4 {
    background: radial-gradient(
        closest-side,
        #ffeed047,
        transparent 70%
    );
    width: 16rem;
    height: 16rem;
    top: 28%;
    right: 14%;
    animation: pulse 20s ease-in-out -15s infinite;
}
.orb-5 {
    background: radial-gradient(
        closest-side at 52% 52%,
        #ffdda733,
        transparent 74%
    );
    width: 24rem;
    height: 20rem;
    bottom: 20%;
    left: 30%;
    animation: wander-s 26s ease-in-out -8s infinite;
}
.orb-6 {
    background: radial-gradient(
        closest-side at 54%,
        #ffe9c642,
        transparent 73%
    );
    width: 34rem;
    height: 26rem;
    bottom: -8rem;
    right: -6rem;
    animation: wander-e 29s ease-in-out -18s infinite;
}

@keyframes wander-n {
    0% {
        opacity: 0.08;
        transform: translate3d(0, 0, 0) scale(0.84);
    }
    24% {
        opacity: 0.28;
        transform: translate3d(4vw, 2vh, 0) scale(1.02);
    }
    52% {
        opacity: 0.12;
        transform: translate3d(9vw, -1vh, 0) scale(0.92);
    }
    78% {
        opacity: 0.3;
        transform: translate3d(6vw, 6vh, 0) scale(1.12);
    }
    100% {
        opacity: 0.1;
        transform: translate3d(12vw, 3vh, 0) scale(0.88);
    }
}
@keyframes wander-e {
    0% {
        opacity: 0.1;
        transform: translate3d(0, 0, 0) scale(0.86);
    }
    46% {
        opacity: 0.34;
        transform: translate3d(-10vw, 0, 0) scale(1.12);
    }
    100% {
        opacity: 0.08;
        transform: translate3d(-14vw, 4vh, 0) scale(0.82);
    }
}
@keyframes wander-s {
    0% {
        opacity: 0.06;
        transform: translate3d(0, 0, 0) scale(0.82);
    }
    56% {
        opacity: 0.3;
        transform: translate3d(-4vw, -9vh, 0) scale(1.08);
    }
    100% {
        opacity: 0.08;
        transform: translate3d(8vw, -13vh, 0) scale(0.84);
    }
}
@keyframes pulse {
    0%,
    100% {
        opacity: 0.04;
        transform: scale(0.74);
    }
    48% {
        opacity: 0.32;
        transform: scale(1.18);
    }
}

/* ─── HEADER ─── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem clamp(1.2rem, 2vw, 2rem) 0;
}
.header-inner {
    max-width: 76rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--paper-glass);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    backdrop-filter: blur(18px) saturate(124%);
    -webkit-backdrop-filter: blur(18px) saturate(124%);
    box-shadow: 0 18px 44px #4d341b1a;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text);
    font-size: clamp(1.3rem, 1rem + 0.8vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}
.brand-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 1.4em;
}
.brand-wave span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: var(--accent);
    animation: wave-bar 1.4s ease-in-out infinite;
    transform-origin: bottom;
}
.brand-wave span:nth-child(1) {
    height: 40%;
    animation-delay: 0s;
}
.brand-wave span:nth-child(2) {
    height: 70%;
    animation-delay: 0.1s;
}
.brand-wave span:nth-child(3) {
    height: 100%;
    animation-delay: 0.2s;
}
.brand-wave span:nth-child(4) {
    height: 60%;
    animation-delay: 0.3s;
}
.brand-wave span:nth-child(5) {
    height: 85%;
    animation-delay: 0.4s;
}
.brand-wave span:nth-child(6) {
    height: 45%;
    animation-delay: 0.5s;
}
.brand-wave span:nth-child(7) {
    height: 75%;
    animation-delay: 0.35s;
}
.brand-wave span:nth-child(8) {
    height: 55%;
    animation-delay: 0.15s;
}
.brand-wave span:nth-child(9) {
    height: 30%;
    animation-delay: 0.25s;
}

@keyframes wave-bar {
    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.8;
    }
    50% {
        transform: scaleY(0.35);
        opacity: 0.5;
    }
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.45rem;
}
.nav-link,
.nav-cta {
    color: var(--text-soft);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    background: none;
    cursor: pointer;
    transition:
        background 0.22s,
        color 0.22s,
        transform 0.22s;
}
.nav-link:hover {
    color: var(--text);
    background: #fff7ead1;
    transform: translateY(-1px);
}
.nav-cta {
    color: var(--text);
}
.nav-cta:hover {
    color: var(--text);
    background: #fff7ead1;
    transform: translateY(-1px);
}
.nav-cta-primary {
    background: var(--cta-orange-gradient);
    color: #fff;
    box-shadow: var(--cta-orange-shadow);
}
.nav-cta-primary:hover {
    color: #fff;
    background: var(--cta-orange-gradient);
    box-shadow: var(--cta-orange-shadow-hover);
    filter: saturate(1.06);
}
.nav-cta-secondary {
    color: var(--text);
    background: #fff7ead1;
}
.demo-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #1f140aaa;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
    z-index: 220;
}
.demo-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.demo-modal-panel {
    width: min(100%, 40rem);
    max-height: min(84dvh, 53rem);
    background: white;
    border: 1px solid var(--line-strong);
    border-radius: 1.6rem;
    box-shadow: 0 36px 96px #52351740;
    overflow: hidden;
}
.demo-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem 0.55rem;
    background: white;
}
.demo-modal-title {
    font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin: 0;
}
.demo-modal-close {
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition:
        color 0.22s ease,
        opacity 0.22s ease;
}
.demo-modal-close:hover {
    color: var(--accent);
    opacity: 0.92;
}
.demo-modal-close span {
    display: inline-block;
    transition: transform 0.32s ease;
    transform-origin: center;
}
.demo-modal-close:hover span {
    transform: rotate(135deg);
}
.demo-modal-frame {
    display: block;
    width: min(100%, 650px);
    height: min(74dvh, 46rem);
    margin: 0 auto;
    border: 0;
    background: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.45rem;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition:
        transform 0.25s,
        opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    padding: 1.35rem clamp(1.2rem, 2vw, 2rem) 2rem;
    position: relative;
}
.hero-inner {
    max-width: 76rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.75rem);
    min-height: calc(100svh - 8rem);
}
.hero-copy {
    position: relative;
    z-index: 1;
    animation: fade-up 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title {
    font-size: clamp(2.7rem, 2rem + 2.8vw, 5.55rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.93;
    max-width: 9.5ch;
}
.hero-title em {
    font-style: normal;
    color: var(--accent);
}
.hero-desc {
    color: var(--text-soft);
    font-size: clamp(1.04rem, 0.96rem + 0.34vw, 1.22rem);
    line-height: 1.65;
    max-width: 35rem;
    margin-top: 1.5rem;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.85rem;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17.25rem;
    min-height: 3.9rem;
    padding: 1.1rem 1.85rem;
    background: var(--cta-orange-gradient);
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.05rem, 1rem + 0.24vw, 1.18rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: var(--cta-orange-shadow);
    transition:
        transform 0.22s,
        box-shadow 0.22s,
        filter 0.22s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--cta-orange-shadow-hover);
    filter: saturate(1.06);
}
/* Hero visual */
.hero-stage {
    position: relative;
    animation: fade-up 0.96s cubic-bezier(0.22, 1, 0.36, 1) 0.12s
        both;
    min-height: 34rem;
}
.hero-halo {
    position: absolute;
    inset: 1.5rem auto auto 2rem;
    width: min(24rem, 68%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffe4b98c, transparent 64%),
        radial-gradient(
            circle at 60% 45%,
            #fff6e7c7,
            transparent 46%
        );
    filter: blur(8px);
}
.hero-card {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, #fffaf2d6, #ffefd3b8);
    border: 1px solid var(--line);
    border-radius: 2rem;
    backdrop-filter: blur(16px) saturate(124%);
    -webkit-backdrop-filter: blur(16px) saturate(124%);
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 2vw, 1.7rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: rotate(-4deg);
    overflow: hidden;
}
.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(140deg, #ffffff70, transparent 42%),
        linear-gradient(330deg, #be7a301a, transparent 44%);
}
.card-header {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    position: relative;
    z-index: 1;
}
.pill {
    background: #fff7e9db;
    border: 1px solid #9b743c2e;
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #604624e0;
}

/* Waveform in card */
.card-waveform {
    position: relative;
    z-index: 1;
    background: #ffffff8a;
    border: 1px solid #8c632d24;
    border-radius: 1.35rem;
    padding: 1rem;
    overflow: hidden;
}
.waveform-legend {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}
.wdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.wdot--mgr {
    background: #e5a557;
}
.wdot--cli {
    background: #60a5fa;
}
.wlegend-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #70532cb8;
    margin-right: 0.6rem;
}
.waveform-svg {
    width: 100%;
    height: 48px;
    display: block;
}
.wbar {
    animation: wbar-pulse 2.2s ease-in-out infinite;
}
@keyframes wbar-pulse {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}
.card-inner {
    background: #ffffff8a;
    border: 1px solid #8c632d24;
    border-radius: 1.35rem;
    padding: 0.9rem;
}
.card-inner-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #70532cb8;
    margin-bottom: 0.7rem;
    display: block;
}
.score-ring {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ring-svg {
    flex-shrink: 0;
}
.score-val {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text);
}
.score-sub {
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.3;
}

.checklist {
    display: grid;
    gap: 0.6rem;
}
.check-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.check-row span:first-child {
    font-size: 0.88rem;
    color: #453017e0;
    line-height: 1.3;
}
.check-badge {
    background: #fff5e2e6;
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6d4f27;
    white-space: nowrap;
}

.card-summary {
    position: relative;
    z-index: 1;
    background: #ffffff8a;
    border: 1px solid #8c632d24;
    border-radius: 1.35rem;
    padding: 0.9rem;
}
.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.s-line {
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #c379255c, #ffe9c685);
    animation: pulse-line 3.4s ease-in-out infinite;
}
.s-line:nth-child(2) {
    width: 90%;
    animation-delay: 0.16s;
}
.s-line:nth-child(3) {
    width: 58%;
    animation-delay: 0.32s;
}
@keyframes pulse-line {
    0%,
    100% {
        opacity: 0.72;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(0.2rem);
    }
}

/* Floating stat chip */
.stat-chip {
    position: absolute;
    background: #fffbf4ee;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}
.stat-chip-1 {
    top: 10%;
    right: -3rem;
    animation-delay: 0s;
}
.stat-chip-2 {
    bottom: 25%;
    left: -3.5rem;
    animation-delay: 1.5s;
}
.stat-chip .chip-val {
    color: var(--accent);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ─── SECTIONS ─── */
.section {
    max-width: 76rem;
    margin: 0 auto;
    padding: 5.75rem clamp(1.2rem, 2vw, 2rem) 0;
    scroll-margin-top: 0;
}
.section-intro {
    display: grid;
    gap: 0.85rem;
    max-width: 44rem;
    margin-bottom: 2.25rem;
}
.kicker {
    color: #6e5028c2;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(2rem, 1.5rem + 1.35vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
    max-width: 14ch;
}
.section-text {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.68;
    max-width: 36rem;
}

/* ─── FEATURE CARDS ─── */
.feature-grid {
    display: grid;
    gap: 1rem;
}
.feature-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    background:
        linear-gradient(#fffdf8c7, #fff5e461),
        linear-gradient(90deg, #ffffff3d, transparent);
    border: 1px solid #a7793b24;
    border-radius: 1.55rem;
    padding: 1.35rem 1.25rem 1.2rem;
    min-height: 12rem;
    position: relative;
    backdrop-filter: blur(12px) saturate(118%);
    -webkit-backdrop-filter: blur(12px) saturate(118%);
    box-shadow: 0 22px 52px #54381d0f;
    transition:
        transform 0.28s,
        box-shadow 0.28s,
        border-color 0.28s;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    width: 1px;
    height: 3.5rem;
    background: linear-gradient(#d98f3d57, transparent);
    border-radius: 999px;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px #54381d18;
    border-color: #a7793b40;
}
.fc-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ffe4b9, #ffd49a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.fc-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}
.fc-title {
    font-size: clamp(1.35rem, 1.08rem + 0.45vw, 1.68rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
    max-width: 14ch;
    margin-bottom: 0.9rem;
    padding-top: 0.4rem;
}
.fc-desc {
    color: var(--text-soft);
    font-size: clamp(0.98rem, 0.94rem + 0.12vw, 1.06rem);
    line-height: 1.64;
    max-width: 30ch;
}

/* ─── INDUSTRIES ─── */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.scenario-card {
    background: linear-gradient(162deg, #fffcf7d1, #ffefd7ad);
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 68px #54381d1a;
    backdrop-filter: blur(12px) saturate(118%);
    -webkit-backdrop-filter: blur(12px) saturate(118%);
    transition:
        transform 0.24s,
        box-shadow 0.24s,
        border-color 0.24s;
}
.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 74px #54381d24;
    border-color: #ab7b3d42;
}
.scenario-accent {
    position: absolute;
    top: 0;
    right: 1rem;
    width: 1px;
    height: 7rem;
    background: linear-gradient(#e5a5576b, transparent);
    border-radius: 999px;
}
.scenario-visual {
    background:
        radial-gradient(circle at 0 0, #ffe9c6b8, transparent 62%),
        linear-gradient(155deg, #fffcf6bd, #fff0d78f);
    border: 1px solid #9368301f;
    border-radius: 1.45rem;
    min-height: 13rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}
.scenario-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, #ffffff7a, transparent 44%);
}
.role-tag {
    display: inline-flex;
    background: #fff7e9e6;
    border-radius: 999px;
    padding: 0.52rem 0.78rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5d421fd1;
}
.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1;
}
.meta-tag {
    background: #fffaf3d6;
    border: 1px solid #8b622f24;
    border-radius: 999px;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #664a27d6;
}
.scene-lines {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.scene-line {
    height: 0.78rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #cd833247, #ffe7c25c);
}
.scene-line:nth-child(1) {
    width: 88%;
}
.scene-line:nth-child(2) {
    width: 62%;
}

.scenario-body {
    display: grid;
    gap: 0.75rem;
}
.scenario-role {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6f522bbd;
}
.scenario-body h3 {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 0.3rem;
}
.scenario-body p {
    color: var(--text-soft);
    line-height: 1.65;
}

/* ─── WORKFLOW ─── */
.workflow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
    align-items: start;
    gap: 2rem;
}
.workflow-steps {
    display: grid;
    gap: 1rem;
}
.workflow-step {
    background: #fffbf475;
    border: 1px solid transparent;
    border-radius: 1.6rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    min-height: min(22rem, 46vh);
    padding: 1.6rem 1.5rem;
    transition:
        border-color 0.22s,
        background 0.22s,
        transform 0.22s;
    cursor: pointer;
}
.workflow-step.active {
    background: #fffbf4d6;
    border-color: #a274373d;
    transform: translateX(0.35rem);
}
.step-idx {
    color: #79582d9e;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    min-width: 3.8rem;
    padding-top: 0.35rem;
}
.step-body {
    display: grid;
    align-content: start;
    gap: 1rem;
    max-width: 38rem;
    padding-top: 0.2rem;
}
.step-title {
    font-size: clamp(2rem, 1.45rem + 0.8vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
    max-width: 12ch;
}
.step-desc {
    color: var(--text-soft);
    font-size: clamp(1.15rem, 1rem + 0.26vw, 1.34rem);
    line-height: 1.58;
    max-width: 30rem;
}
.step-cue {
    color: #785934d6;
    font-size: clamp(1.15rem, 1rem + 0.24vw, 1.3rem);
    font-weight: 600;
    line-height: 1.52;
}

.workflow-rail {
    position: sticky;
    top: 6.75rem;
}
.workflow-visual {
    background: linear-gradient(150deg, #fffcf6f2, #fff1dbe0);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 2rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px) saturate(122%);
    -webkit-backdrop-filter: blur(15px) saturate(122%);
}
.workflow-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 100% 0,
            #ffe8c6a3,
            transparent 48%
        ),
        linear-gradient(#ffffff47, transparent 44%);
}
.wv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.wv-header span:first-child {
    font-size: 1rem;
    font-weight: 700;
}
.wv-header span:last-child {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #684b26b8;
}
.wv-body {
    display: grid;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}
.wv-row {
    background: #ffffff8f;
    border: 1px solid #8f652d1f;
    border-radius: 1.15rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
    padding: 0.95rem;
    animation: reveal-row 0.34s both;
}
.wv-row.accent {
    background: #fff9eedb;
    border-color: #aa783938;
}
.wv-bullet {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(#c37925, #efb15c);
    margin-top: 0.35rem;
    flex-shrink: 0;
}
.wv-text {
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text);
}
.wv-sub {
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-top: 0.2rem;
}
@keyframes reveal-row {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── STATS BAR ─── */
.stats-bar {
    max-width: 76rem;
    margin: 0 auto;
    padding: 4rem clamp(1.2rem, 2vw, 2rem) 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}
.stat-block {
    background: #fffbf475;
    border: 1px solid var(--line);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.stat-block:first-child {
    border-radius: 1.5rem 0 0 1.5rem;
}
.stat-block:last-child {
    border-radius: 0 1.5rem 1.5rem 0;
}
.stat-num {
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--accent);
    display: block;
    line-height: 1;
}
.stat-label {
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-top: 0.35rem;
    line-height: 1.4;
}

/* ─── FINAL CTA ─── */
.final-section {
    padding-bottom: 5.75rem;
}
.final-panel {
    background: linear-gradient(155deg, #fffcf6eb, #ffeed3d1);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 2.2rem;
    padding: clamp(1.45rem, 3vw, 2.4rem);
    display: grid;
    gap: 1rem;
    justify-items: start;
    position: relative;
    backdrop-filter: blur(16px) saturate(118%);
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    overflow: hidden;
}
.final-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at 92% 18%,
            #ffe7c2c7,
            transparent 40%
        ),
        linear-gradient(#ffffff3d, transparent 52%);
}
.final-panel > * {
    position: relative;
    z-index: 1;
}
.final-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 3rem;
    margin-bottom: 0.5rem;
}
.final-wave span {
    display: block;
    width: 4px;
    border-radius: 3px;
    background: var(--accent);
    opacity: 0.6;
    animation: wave-bar 1.4s ease-in-out infinite;
    transform-origin: center;
}
.final-wave span:nth-child(odd) {
    background: #e5a557;
}

.final-kicker {
    color: #6e5028c2;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.final-title {
    font-size: clamp(1.8rem, 1.4rem + 1.1vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    max-width: 22ch;
}
.final-desc {
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 36rem;
}
.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}
.final-note {
    width: 100%;
    color: #654c2de0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.calc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.calc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #fff8ecce;
    border: 1px solid #ab7a4022;
    color: #654522;
    font-size: 0.82rem;
    font-weight: 700;
}
.calc-badge strong {
    color: var(--accent);
}
.calc-side-note {
    margin-top: auto;
    padding: 1rem 1.05rem;
    border-radius: var(--r-md);
    background: #fff8efb0;
    border: 1px solid #c08b4624;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}
.calc-side-note strong {
    color: var(--text);
}
.calc-workbench {
    display: grid;
    gap: 1rem;
    font-size: clamp(0.98rem, 0.94rem + 0.12vw, 1.06rem);
}
.calc-slider-block {
    display: grid;
    gap: 0.9rem;
}
.calc-volume {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.calc-volume-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    width: 100%;
}
.calc-volume-label {
    color: var(--text);
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.calc-volume-value {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-size: clamp(2.2rem, 1.55rem + 1.35vw, 3.35rem);
    letter-spacing: -0.06em;
    font-weight: 800;
    line-height: 0.95;
    color: var(--accent);
}
.calc-volume-value small {
    font-size: 0.42em;
    letter-spacing: normal;
    font-weight: 700;
    color: var(--text-soft);
}
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #c07222 0%,
        #e5a557 var(--calc-progress, 50%),
        #f3ddbf var(--calc-progress, 50%),
        #f3ddbf 100%
    );
    outline: none;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fffaf1;
    border: 3px solid #c07222;
    box-shadow: 0 8px 18px #c072222e;
    cursor: pointer;
}
.calc-slider::-moz-range-thumb {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fffaf1;
    border: 3px solid #c07222;
    box-shadow: 0 8px 18px #c072222e;
    cursor: pointer;
}
.calc-slider::-moz-range-track {
    height: 0.6rem;
    border-radius: 999px;
    background: transparent;
}
.calc-scale {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #886744;
    font-size: inherit;
    font-weight: 700;
}
.calc-results {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
}
.calc-card {
    border-radius: var(--r-lg);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}
.calc-card-manual {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.8rem;
}
.calc-card-copy {
    display: grid;
    gap: 0.35rem;
    align-content: start;
}
.calc-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.calc-summary-item {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 0;
}
.calc-summary-item--accent .calc-summary-value {
    color: var(--accent);
}
.calc-summary-item--center {
    justify-items: center;
    text-align: center;
}
.calc-summary-item--end {
    justify-items: center;
    text-align: center;
}
.calc-summary-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    font-size: clamp(1.85rem, 1.4rem + 1vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}
.calc-summary-item--center .calc-summary-value,
.calc-summary-item--end .calc-summary-value {
    justify-content: center;
}
.calc-summary-divider {
    color: #7c5c35;
    font-size: clamp(2.2rem, 1.6rem + 1.15vw, 3.15rem);
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", monospace;
    font-weight: 700;
    line-height: 0.82;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    text-align: center;
    letter-spacing: 0;
    transform: translateY(-0.02em);
}
.calc-summary-label {
    color: var(--text-soft);
    font-size: clamp(0.84rem, 0.8rem + 0.11vw, 0.94rem);
    line-height: 1.12;
    white-space: nowrap;
}
.calc-time-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 1px;
    padding: 0;
    margin-top: 0.2rem;
}
.calc-time-col {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem 1.35rem;
    background: #fffbf475;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.calc-time-col--left {
    border-radius: 1.5rem 0 0 1.5rem;
}
.calc-time-col--right {
    border-radius: 0 1.5rem 1.5rem 0;
}
.calc-time-title {
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: normal;
    line-height: 1.4;
}
.calc-time-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    color: var(--accent);
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}
.calc-time-value span {
    display: inline-block;
}
.calc-time-value span:first-of-type {
    font-variant-numeric: tabular-nums;
}
.calc-time-number {
    color: var(--accent);
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}
.calc-time-unit {
    color: var(--accent);
    font-size: 0.52em;
    letter-spacing: normal;
    font-weight: 800;
    line-height: 1;
    margin-left: 0.05em;
}
.calc-time-fixed {
    color: var(--accent);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.calc-time-subtitle {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}
/* ─── PRICING ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr));
    gap: 1rem;
    align-items: start;
}
.pricing-card {
    background: linear-gradient(155deg, #fffcf7ee, #ffefd7cc);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 52px #54381d0c;
    transition:
        transform 0.24s,
        box-shadow 0.24s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px #54381d18;
}
.pricing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pricing-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.pricing-term-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.pricing-term-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pricing-term-switch {
    width: 2.35rem;
    height: 1.28rem;
    border-radius: 999px;
    background: #e4c7a74a;
    border: 1px solid #9b743c2e;
    position: relative;
    flex: 0 0 auto;
    transition:
        background 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}
.pricing-term-switch::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 0.88rem;
    height: 0.88rem;
    border-radius: 50%;
    background: #fffaf3;
    box-shadow: 0 2px 6px #54381d2a;
    transition: transform 0.2s;
}
.pricing-term-toggle input:checked + .pricing-term-switch {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 18px #9b743c26;
}
.pricing-term-toggle input:checked + .pricing-term-switch::after {
    transform: translateX(1.05rem);
}
.pricing-term-toggle input:focus-visible + .pricing-term-switch {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.price-num {
    font-size: clamp(1.6rem, 1.2rem + 0.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text);
}
.price-unit {
    font-size: 0.9rem;
    color: var(--text-soft);
    font-weight: 600;
}
.pricing-features {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}
.pricing-features li {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    font-size: 0.91rem;
    color: var(--text);
    line-height: 1.4;
}
.pf-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.pf-muted {
    color: #b89070;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    background: #e9ae5624;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border: 1px solid #9b743c2e;
    transition:
        background 0.2s,
        transform 0.2s;
}
.btn-pricing:hover {
    background: #e9ae5640;
    transform: translateY(-1px);
}
.pricing-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.pricing-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.pricing-note a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .calc-volume {
        align-items: start;
    }
    .calc-card-manual {
        grid-template-columns: 1fr;
    }
    .calc-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }
    .calc-summary-item {
        width: 100%;
        justify-items: center;
        text-align: center;
    }
    .calc-summary-divider {
        width: 100%;
        flex-basis: auto;
        padding: 0.1rem 0;
    }
    .calc-time-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 0;
    }
    .calc-time-col--left {
        border-radius: 1.5rem 1.5rem 0 0;
    }
    .calc-time-col--right {
        border-radius: 0 0 1.5rem 1.5rem;
    }
    .calc-volume-main {
        align-items: start;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── FOOTER ─── */
footer {
    max-width: 76rem;
    margin: 0 auto;
    padding: 2rem clamp(1.2rem, 2vw, 2rem) 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.9rem;
}
.footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.05em;
    white-space: normal;
}
.footer-brand-main {
    font-size: 1.1rem;
    line-height: 1;
}
.footer-brand-sub-link {
    display: inline-flex;
    align-items: baseline;
    width: fit-content;
    font-size: 0.72rem;
    line-height: 1;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-brand-sub-link:hover,
.footer-brand-sub-link:focus-visible {
    color: var(--accent-deep);
}
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
    text-align: right;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
    .hero-inner,
    .scenario-grid,
    .feature-grid-4,
    .feature-grid-3 {
        grid-template-columns: 1fr;
    }
    .workflow-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .workflow-rail {
        display: none;
    }
    .hero-inner {
        min-height: auto;
        padding-top: 1.75rem;
    }
    .hero-stage {
        min-height: 29rem;
    }
    .hero-card {
        position: relative;
        inset: auto;
        transform: none;
    }
    .stat-chip-1 {
        right: 0.5rem;
    }
    .stat-chip-2 {
        left: 0.5rem;
    }
    .workflow-step {
        min-height: auto;
        cursor: default;
    }
    .workflow-visual {
        padding: 1rem;
    }
    .wv-header {
        margin-bottom: 0.85rem;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-block:nth-child(2) {
        border-radius: 0 1.5rem 0 0;
    }
    .stat-block:nth-child(3) {
        border-radius: 0 0 0 1.5rem;
    }
    .stat-block:first-child {
        border-radius: 1.5rem 0 0 0;
    }
    .stat-block:last-child {
        border-radius: 0 0 1.5rem 0;
    }
}
@media (max-width: 720px) {
    .demo-modal {
        padding: 0.7rem;
    }
    .demo-modal-panel {
        max-height: min(90dvh, 46rem);
        border-radius: 1.35rem;
    }
    .demo-modal-header {
        padding: 0.8rem 0.8rem 0.45rem;
    }
    .demo-modal-frame {
        height: min(72dvh, 38rem);
    }
    header {
        padding: 0.8rem 0.8rem 0;
    }
    .header-inner {
        position: relative;
        background: var(--paper-glass);
        border-radius: 1.6rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        backdrop-filter: blur(18px) saturate(124%);
        -webkit-backdrop-filter: blur(18px) saturate(124%);
    }
    .nav-toggle {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 0;
        right: 0;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.7rem;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 1.6rem;
        box-shadow: 0 18px 44px #4d341b1a;
        backdrop-filter: blur(18px) saturate(124%);
        -webkit-backdrop-filter: blur(18px) saturate(124%);
        z-index: 25;
        max-height: calc(100vh - 6rem);
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    nav.open {
        display: flex;
    }
    .nav-link,
    .nav-cta {
        border-radius: 0.85rem;
        text-align: left;
        width: 100%;
    }
    .nav-cta-primary {
        box-shadow: none;
    }
    .hero,
    .section {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    .workflow-layout {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    .workflow-steps {
        order: 0;
    }
    .workflow-step {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 1.25rem 1.1rem;
        cursor: default;
    }
    .workflow-step.active {
        transform: none;
    }
    .workflow-visual {
        padding: 0.9rem;
        box-shadow: var(--shadow-sm);
        border-radius: 1.55rem;
        width: 100%;
    }
    .wv-header {
        gap: 0.65rem;
        align-items: flex-start;
        margin-bottom: 0.72rem;
    }
    .wv-header span:first-child {
        font-size: 0.9rem;
        line-height: 1.25;
    }
    .wv-header span:last-child {
        white-space: nowrap;
    }
    .wv-row {
        padding: 0.75rem;
    }
    .wv-text {
        font-size: 0.88rem;
    }
    .wv-sub {
        font-size: 0.75rem;
    }
    footer {
        padding: 1.5rem 0.8rem 2.2rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.65rem;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
        max-width: 100%;
    }
    .footer-brand-sub-link {
        font-size: 0.7rem;
    }
    .footer-meta {
        display: block;
        text-align: center;
        line-height: 1.6;
        max-width: 32ch;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .footer-meta-item {
        display: block;
    }
    .footer-meta-sep {
        display: none;
    }
}
/* Error pages */
body.error-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 16%, #ffd79845, transparent 28rem),
        radial-gradient(circle at 84% 20%, #fff1d666, transparent 26rem),
        var(--paper);
}

.error-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.error-panel {
    width: min(100%, 48rem);
    padding: clamp(2.4rem, 7vw, 5rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper-glass);
    box-shadow: var(--shadow);
    text-align: center;
}

.error-code {
    margin: 0 0 1.15rem;
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.error-title {
    margin: 0 auto;
    max-width: 9.5ch;
    font-size: clamp(2.7rem, 2rem + 2.8vw, 5.55rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.93;
}

.error-desc {
    max-width: 35rem;
    margin: 1.5rem auto 0;
    color: var(--text-soft);
    font-size: clamp(1.04rem, 0.96rem + 0.34vw, 1.22rem);
    line-height: 1.65;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.85rem;
}

.error-actions .btn-primary {
    min-width: 12.25rem;
}

.error-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12.25rem;
    min-height: 3.9rem;
    padding: 1.1rem 1.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff8ed;
    color: var(--text);
    font-weight: 700;
    font-size: clamp(1.05rem, 1rem + 0.24vw, 1.18rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.22s,
        border-color 0.22s,
        background 0.22s;
}

.error-action-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: #fff3df;
}

@media (max-width: 560px) {
    .error-panel {
        padding: 2rem 1.2rem;
        border-radius: 1.4rem;
    }

    .error-title {
        letter-spacing: -0.055em;
    }

    .error-actions,
    .error-actions .btn-primary,
    .error-action-secondary {
        width: 100%;
    }
}
