:root {
    color-scheme: light;
    --paper: #f5f5f7;
    --paper-strong: #ffffff;
    --ink: #1d1d1f;
    --ink-soft: #6e6e73;
    --line: rgba(29, 29, 31, 0.12);
    --night: #050609;
    --night-soft: #0c0e13;
    --night-card: #13161d;
    --night-line: rgba(255, 255, 255, 0.12);
    --white: #f7f7f8;
    --white-soft: #a8abb4;
    --orange: #ff6b16;
    --orange-deep: #e84f00;
    --orange-soft: #ffb37f;
    --blue: #087bbf;
    --green: #29b765;
    --max: 1320px;
    --nav-height: 64px;
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --hero-progress: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
    font-optical-sizing: auto;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a, button, summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(8, 123, 191, 0.72);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 16px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
    transform: translateY(0);
}

.content-wide {
    width: min(calc(100% - 48px), var(--max));
    margin-inline: auto;
}

.kicker {
    margin: 0 0 18px;
    color: var(--orange-deep);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.kicker-dark {
    color: var(--orange-soft);
}

.section-light {
    background: var(--paper);
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    color: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transform: translateZ(0);
    transition: color 220ms var(--ease-standard), background 220ms var(--ease-standard), border-color 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard), transform 100ms var(--ease-out);
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.25), transparent 72%);
    transform: translateX(-120%);
    transition: transform 520ms var(--ease-out);
    pointer-events: none;
}

.button:hover::after {
    transform: translateX(120%);
}

.button:active {
    transform: scale(0.975);
}

.button-primary {
    background: var(--orange);
    color: #1a0d05;
    box-shadow: 0 12px 30px rgba(255, 107, 22, 0.2);
}

.button-primary:hover {
    background: #ff7b30;
    box-shadow: 0 16px 38px rgba(255, 107, 22, 0.28);
}

.button-quiet {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
}

.button-quiet:hover {
    background: #fff;
    border-color: rgba(29, 29, 31, 0.24);
}

.button-outline {
    border-color: var(--line);
    background: transparent;
}

.button-outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-light:hover {
    background: #f1f1f3;
}

.button-small {
    min-height: 38px;
    padding-inline: 17px;
    font-size: 0.84rem;
}

.button-large {
    min-height: 54px;
    padding-inline: 27px;
    font-size: 1rem;
}

/* Floating navigation */
.site-header {
    position: fixed;
    z-index: 100;
    top: 16px;
    left: 0;
    width: 100%;
    padding-inline: 18px;
    pointer-events: none;
}

.nav-shell {
    width: min(100%, 1180px);
    min-height: var(--nav-height);
    margin-inline: auto;
    padding: 8px 10px 8px 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(245, 245, 247, 0.38);
    box-shadow: 0 1px 0 transparent;
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    pointer-events: auto;
    transition: background 320ms var(--ease-out), border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-radius 320ms var(--ease-out);
}

.site-header.is-scrolled .nav-shell {
    border-color: rgba(29, 29, 31, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 50px rgba(29, 29, 31, 0.1), inset 0 1px rgba(255,255,255,.8);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.brand {
    width: 138px;
    display: flex;
    align-items: center;
}

.brand img {
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a,
.text-link {
    color: rgba(29, 29, 31, 0.72);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-nav a:hover,
.text-link:hover {
    color: var(--ink);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 17px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 1.5px;
    margin: 5px auto;
    background: currentColor;
    transform-origin: center;
    transition: transform 220ms var(--ease-out);
}

/* Hero */
.hero-scroll {
    position: relative;
    height: 168svh;
    min-height: 980px;
    background: var(--paper);
}

.hero-sticky {
    position: sticky;
    top: 0;
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    padding: 142px 24px 0;
    isolation: isolate;
}

.hero-aura {
    position: absolute;
    z-index: -2;
    top: -32%;
    left: 50%;
    width: min(1200px, 110vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 46%, rgba(255, 190, 142, 0.42), transparent 33%),
        radial-gradient(circle at 61% 42%, rgba(255, 226, 203, 0.72), transparent 28%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), transparent 62%);
    filter: blur(12px);
    transform: translateX(-50%) scale(calc(1 + var(--hero-progress) * 0.08));
    opacity: calc(1 - var(--hero-progress) * 0.62);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 1280px);
    margin-inline: auto;
    text-align: center;
    transform: translateY(calc(var(--hero-progress) * -52px));
    opacity: calc(1 - var(--hero-progress) * 0.82);
    will-change: transform, opacity;
}

.hero-kicker {
    opacity: 0;
    transform: translateY(16px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(4rem, 7vw, 6.6rem);
    font-weight: 720;
    letter-spacing: -0.058em;
    line-height: 0.91;
}

.hero-copy h1 em {
    color: var(--orange-deep);
    font-style: normal;
}

.title-line {
    display: block;
    overflow: hidden;
    padding: 0 0.06em 0.07em;
}

.title-line > span {
    display: block;
    transform: translateY(112%);
}

.hero-lead {
    max-width: 660px;
    margin: 25px auto 0;
    color: var(--ink-soft);
    font-size: clamp(1.03rem, 1.35vw, 1.24rem);
    letter-spacing: -0.018em;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(18px);
}

.hero-actions {
    margin-top: 27px;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(18px);
}

.hero-proof {
    margin: 14px 0 0;
    color: rgba(29, 29, 31, 0.55);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(14px);
}

.is-ready .hero-kicker,
.is-ready .hero-lead,
.is-ready .hero-actions,
.is-ready .hero-proof {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.is-ready .hero-kicker { transition-delay: 80ms; }
.is-ready .title-line > span { transform: translateY(0); transition: transform 1100ms var(--ease-out); }
.is-ready .title-line:nth-child(2) > span { transition-delay: 90ms; }
.is-ready .hero-lead { transition-delay: 240ms; }
.is-ready .hero-actions { transition-delay: 330ms; }
.is-ready .hero-proof { transition-delay: 400ms; }

.hero-product-wrap {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -20vh;
    width: min(1120px, 88vw);
    transform: translateX(-50%) translateY(calc(95px - var(--hero-progress) * 210px)) scale(calc(0.82 + var(--hero-progress) * 0.18));
    transform-origin: center bottom;
    perspective: 1600px;
    will-change: transform;
}

.product-glow {
    position: absolute;
    inset: -13% 7% 4%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 107, 22, 0.24), rgba(255, 185, 130, 0.08) 45%, transparent 70%);
    filter: blur(34px);
    opacity: calc(0.58 + var(--hero-progress) * 0.42);
}

.product-window {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: #0b0d12;
    box-shadow: 0 54px 100px rgba(25, 19, 15, 0.25), 0 16px 36px rgba(25, 19, 15, 0.15), inset 0 1px rgba(255,255,255,.12);
}

.hero-product {
    transform: rotateX(calc(8deg - var(--hero-progress) * 8deg));
    transform-origin: center bottom;
    will-change: transform;
}

.window-bar {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #151820;
}

.window-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}

.window-bar span:first-child { background: #ff7958; }
.window-bar span:nth-child(2) { background: #ffc14d; }
.window-bar span:nth-child(3) { background: #41c986; }

.window-bar small {
    position: absolute;
    left: 50%;
    color: rgba(255,255,255,.42);
    font-size: 0.68rem;
    transform: translateX(-50%);
}

.product-window img {
    width: 100%;
    height: auto;
}

.scroll-cue {
    position: absolute;
    z-index: 4;
    right: 30px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(29,29,31,.48);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: calc(1 - var(--hero-progress) * 2.2);
}

.scroll-cue span {
    width: 7px;
    height: 7px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    animation: cuePulse 1.8s ease-in-out infinite;
}

@keyframes cuePulse {
    50% { transform: scale(1.55); opacity: .35; }
}

/* Outcomes */
.outcomes {
    position: relative;
    z-index: 4;
    padding: clamp(110px, 14vw, 200px) 0;
}

.outcomes-intro {
    max-width: 1120px;
}

.outcomes h2,
.chapters-heading h2,
.pricing-heading h2 {
    margin: 0;
    font-size: clamp(3rem, 5.7vw, 6.1rem);
    font-weight: 700;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.outcome-statements {
    margin-top: clamp(72px, 10vw, 135px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.outcome {
    min-height: 350px;
    padding: 28px 38px 18px 0;
    border-right: 1px solid var(--line);
}

.outcome + .outcome {
    padding-left: 38px;
}

.outcome:last-child {
    border-right: 0;
}

.outcome-index {
    display: block;
    margin-bottom: 95px;
    color: var(--orange-deep);
    font-size: 0.78rem;
    font-weight: 750;
}

.outcome h3 {
    margin: 0 0 15px;
    font-size: clamp(1.65rem, 2.3vw, 2.35rem);
    font-weight: 680;
    letter-spacing: -0.035em;
}

.outcome p {
    max-width: 33ch;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

/* Sticky product story */
.story {
    position: relative;
    padding: clamp(120px, 14vw, 190px) 0 80px;
    overflow: clip;
    background: var(--night);
    color: var(--white);
}

.story::before {
    content: "";
    position: absolute;
    top: 12%;
    right: -25%;
    width: 70vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,22,.14), transparent 64%);
    filter: blur(30px);
    pointer-events: none;
}

.story-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.story-heading h2,
.gallery-heading h2,
.final-content h2 {
    margin: 0;
    font-size: clamp(3.4rem, 6.7vw, 7.2rem);
    font-weight: 690;
    letter-spacing: -0.057em;
    line-height: 0.94;
}

.story-heading > p:last-child {
    max-width: 650px;
    margin: 31px 0 0;
    color: var(--white-soft);
    font-size: 1.14rem;
    line-height: 1.62;
}

.story-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, .75fr) minmax(560px, 1.4fr);
    gap: clamp(54px, 8vw, 130px);
    align-items: start;
}

.story-step {
    min-height: 73vh;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-content: center;
    gap: 18px;
    opacity: .27;
    transform: translateY(26px);
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.story-step.is-active {
    opacity: 1;
    transform: translateY(0);
}

.story-number {
    padding-top: 9px;
    color: var(--orange-soft);
    font-size: 0.75rem;
    font-weight: 750;
}

.story-label {
    margin: 0 0 13px;
    color: var(--orange-soft);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.story-step h3 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 660;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.story-step p:not(.story-label) {
    margin: 20px 0 0;
    color: var(--white-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.story-step ul {
    margin: 23px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.story-step li {
    padding: 8px 12px;
    border: 1px solid var(--night-line);
    border-radius: 999px;
    color: rgba(255,255,255,.76);
    font-size: .76rem;
    font-weight: 620;
}

.story-visual {
    position: sticky;
    top: 112px;
    height: min(71vh, 760px);
    margin-top: 25vh;
    display: grid;
    place-items: center;
    perspective: 1400px;
}

.story-halo {
    position: absolute;
    inset: 5% -10%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,107,22,.2), transparent 62%);
    filter: blur(45px);
}

.story-screen {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(42px) scale(.94) rotateX(3deg);
    pointer-events: none;
    transition: opacity 580ms var(--ease-out), transform 720ms var(--ease-out);
}

.story-screen.is-active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    pointer-events: auto;
}

/* Product chapters */
.chapters {
    padding: clamp(115px, 14vw, 190px) 0;
}

.chapters-heading {
    margin-bottom: clamp(70px, 9vw, 120px);
}

.chapter {
    position: relative;
    min-height: 760px;
    margin-top: 32px;
    padding: clamp(42px, 6vw, 84px);
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(540px, 1.28fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    overflow: hidden;
    border-radius: var(--radius-lg);
    isolation: isolate;
}

.chapter-copy {
    position: relative;
    z-index: 3;
}

.chapter-tag {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--orange-deep);
    font-size: .75rem;
    font-weight: 760;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.chapter h3 {
    margin: 0;
    font-size: clamp(2.7rem, 4.4vw, 5.4rem);
    font-weight: 690;
    letter-spacing: -.052em;
    line-height: .97;
}

.chapter-copy > p {
    max-width: 40ch;
    margin: 27px 0 0;
    color: inherit;
    opacity: .68;
    font-size: 1.08rem;
    line-height: 1.62;
}

.chapter-copy > a {
    display: inline-flex;
    gap: 8px;
    margin-top: 30px;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.chapter-dark {
    background: linear-gradient(145deg, #090b10, #11151e 72%);
    color: #fff;
}

.chapter-dark::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -18%;
    bottom: -40%;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,22,.2), transparent 66%);
}

.chapter-dark .chapter-tag { color: var(--orange-soft); }

.chapter-media {
    position: relative;
    min-width: 0;
}

.chapter-media img {
    width: 128%;
    max-width: none;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    box-shadow: 0 42px 80px rgba(0,0,0,.32);
}

.chapter-media-dashboard img {
    transform: perspective(1200px) rotateY(-8deg) translateX(1%);
}

.chapter-warm {
    grid-template-columns: .85fr 1.15fr;
    background: linear-gradient(140deg, #fff1e7, #ffd4b7);
    color: var(--ink);
}

.chapter-warm::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -35%;
    right: -15%;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.95), transparent 66%);
}

.chapter-points {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.chapter-points li {
    position: relative;
    margin-top: 12px;
    padding-left: 25px;
    color: rgba(29,29,31,.72);
    font-size: .94rem;
    font-weight: 650;
}

.chapter-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange-deep);
    font-weight: 800;
}

.phone-scene {
    position: relative;
    min-height: 560px;
    perspective: 1200px;
}

.phone {
    position: absolute;
    width: min(330px, 64%);
    aspect-ratio: .52;
    padding: 52px 23px 24px;
    border: 8px solid #16171a;
    border-radius: 46px;
    background: #f7f7f9;
    box-shadow: 0 45px 80px rgba(100,50,20,.22);
    color: var(--ink);
}

.phone-top {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 34%;
    height: 20px;
    border-radius: 999px;
    background: #111215;
    transform: translateX(-50%);
}

.phone-back {
    top: 0;
    right: 3%;
    transform: rotateY(-12deg) rotateZ(4deg) translateZ(-50px);
}

.phone-front {
    bottom: 0;
    left: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotateY(9deg) rotateZ(-5deg);
}

.phone-message {
    margin-top: 30px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(29,29,31,.08);
}

.phone-message small { color: var(--orange-deep); font-weight: 750; }
.phone-message strong { font-size: 1.25rem; }
.phone-message span { color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }

.phone-action {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--orange);
    font-size: .86rem;
    font-weight: 750;
    text-align: center;
}

.approval-check {
    width: 74px;
    height: 74px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(41,183,101,.13);
    color: var(--green);
    font-size: 2rem;
    font-weight: 800;
}

.phone-front strong { font-size: 1.55rem; }
.phone-front > span { max-width: 20ch; margin-top: 10px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

.chapter-soft {
    background: #e8edf4;
    color: var(--ink);
}

.chapter-media-master img {
    transform: perspective(1200px) rotateY(-7deg) translateX(0);
    box-shadow: 0 42px 90px rgba(30,44,65,.24);
}

/* Gallery */
.gallery-section {
    padding: clamp(110px, 13vw, 180px) 0;
    overflow: hidden;
    background: var(--night);
    color: #fff;
}

.gallery-heading {
    margin-bottom: 58px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.gallery-controls {
    display: flex;
    gap: 10px;
}

.round-control {
    width: 52px;
    height: 52px;
    border: 1px solid var(--night-line);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 100ms ease;
}

.round-control:hover:not(:disabled) {
    background: #fff;
    color: var(--ink);
}

.round-control:active:not(:disabled) { transform: scale(.94); }
.round-control:disabled { opacity: .28; cursor: default; }

.gallery-track {
    width: 100%;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    display: flex;
    gap: 28px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }

.gallery-card {
    flex: 0 0 min(1040px, 79vw);
    margin: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.gallery-image {
    overflow: hidden;
    border: 1px solid var(--night-line);
    border-radius: 24px;
    background: var(--night-card);
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.gallery-image img {
    width: 100%;
    transition: transform 700ms var(--ease-out);
}

.gallery-card:hover .gallery-image img { transform: scale(1.012); }

.gallery-card figcaption {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 36px auto 1fr;
    align-items: baseline;
    gap: 12px;
}

.gallery-card figcaption span { color: var(--orange-soft); font-size: .72rem; font-weight: 750; }
.gallery-card figcaption strong { font-size: 1.1rem; }
.gallery-card figcaption small { color: var(--white-soft); font-size: .84rem; }

.gallery-status {
    width: min(calc(100% - 48px), var(--max));
    margin: 28px auto 0;
    color: var(--white-soft);
    font-size: .78rem;
    text-align: right;
}

/* Pricing */
.pricing {
    padding: clamp(120px, 14vw, 190px) 0;
}

.pricing-heading {
    max-width: 950px;
    margin-bottom: clamp(70px, 9vw, 110px);
}

.pricing-heading > p:last-child {
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.plan {
    position: relative;
    min-width: 0;
    padding: 40px 34px 34px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.68);
}

.plan-pro {
    background: #fff;
    box-shadow: 0 24px 70px rgba(29,29,31,.08);
}

.plan-master {
    border-color: transparent;
    background: var(--ink);
    color: #fff;
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,107,22,.16);
    color: var(--orange-soft);
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plan-heading {
    min-height: 165px;
}

.plan-label {
    display: block;
    margin-bottom: 18px;
    color: var(--orange-deep);
    font-size: .73rem;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.plan-master .plan-label { color: var(--orange-soft); }

.plan h3 {
    margin: 0;
    font-size: clamp(1.8rem, 2.5vw, 2.7rem);
    font-weight: 680;
    letter-spacing: -.045em;
    line-height: 1;
}

.plan-heading p {
    margin: 15px 0 0;
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.5;
}

.plan-master .plan-heading p,
.plan-master .price-context { color: rgba(255,255,255,.58); }

.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.price strong {
    font-size: clamp(2.25rem, 3.1vw, 3.25rem);
    font-weight: 670;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}

.price span {
    color: var(--ink-soft);
    font-size: .76rem;
}

.plan-master .price span { color: rgba(255,255,255,.55); }

.price-context {
    min-height: 48px;
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: .75rem;
    line-height: 1.55;
}

.price-difference {
    margin: 11px 0 0;
    color: var(--orange-soft);
    font-size: .74rem;
    font-weight: 700;
}

.plan-highlights {
    margin: 30px 0;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.plan-highlights li {
    position: relative;
    padding-left: 24px;
    font-size: .88rem;
    font-weight: 620;
    line-height: 1.4;
}

.plan-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}

.plan-details {
    margin: -4px 0 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.plan-master .plan-details { border-color: rgba(255,255,255,.13); }

.plan-details summary {
    padding: 14px 0;
    color: var(--ink-soft);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}

.plan-master .plan-details summary { color: rgba(255,255,255,.64); }

.plan-details ul {
    margin: 0 0 17px;
    padding-left: 18px;
    color: var(--ink-soft);
    font-size: .76rem;
    line-height: 1.6;
}

.plan-master .plan-details ul { color: rgba(255,255,255,.58); }

.plan > .button {
    width: 100%;
    margin-top: auto;
}

.pricing-help {
    margin: 38px 0 0;
    color: var(--ink-soft);
    font-size: .88rem;
    text-align: center;
}

.pricing-help a {
    color: var(--ink);
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    position: relative;
    min-height: 90svh;
    padding: 130px 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--night);
    color: #fff;
    text-align: center;
}

.final-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1000px, 100vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 45% 50%, rgba(255,107,22,.2), transparent 35%),
        radial-gradient(circle, rgba(65,29,11,.45), transparent 64%);
    filter: blur(40px);
    transform: translate(-50%, -50%);
}

.final-content {
    position: relative;
    z-index: 2;
}

.final-content > img {
    width: 190px;
    height: auto;
    margin: 0 auto 54px;
}

.final-content h2 em {
    color: var(--orange-soft);
    font-style: normal;
}

.final-content .button {
    margin-top: 42px;
}

.final-content > p:last-child {
    margin: 15px 0 0;
    color: var(--white-soft);
    font-size: .8rem;
}

/* Footer */
.site-footer {
    padding: 46px 24px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.footer-inner {
    width: min(100%, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    width: 124px;
}

.footer-brand img { width: 100%; height: auto; }

.site-footer p {
    color: var(--ink-soft);
    font-size: .76rem;
}

.site-footer nav {
    justify-self: end;
    display: flex;
    gap: 20px;
}

.site-footer nav a {
    color: var(--ink-soft);
    font-size: .76rem;
    font-weight: 620;
    text-decoration: none;
}

.site-footer nav a:hover { color: var(--ink); }

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: none;
}

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .story-layout {
        grid-template-columns: minmax(300px, .8fr) minmax(440px, 1.2fr);
        gap: 48px;
    }

    .chapter {
        min-height: 680px;
        grid-template-columns: .82fr 1.18fr;
        padding: 56px;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .plan-master {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }

    .footer-inner {
        grid-template-columns: auto 1fr;
    }

    .site-footer p {
        justify-self: end;
    }

    .site-footer nav {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 820px) {
    :root { --nav-height: 58px; }

    .content-wide { width: min(calc(100% - 36px), var(--max)); }

    .nav-shell {
        grid-template-columns: 1fr auto;
        padding: 7px 8px 7px 14px;
    }

    .brand { width: 118px; }

    .menu-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

    .site-nav {
        position: fixed;
        top: 88px;
        right: 18px;
        left: 18px;
        padding: 22px;
        display: grid;
        gap: 4px;
        border: 1px solid rgba(29,29,31,.1);
        border-radius: 24px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 26px 70px rgba(29,29,31,.16);
        backdrop-filter: blur(24px) saturate(160%);
        -webkit-backdrop-filter: blur(24px) saturate(160%);
        transform: translateY(-12px) scale(.97);
        transform-origin: top right;
        opacity: 0;
        visibility: hidden;
        transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .site-nav a {
        padding: 14px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .site-nav a:hover { background: var(--paper); }

    .header-actions {
        display: none;
    }

    .hero-scroll {
        height: 145svh;
        min-height: 900px;
    }

    .hero-sticky {
        padding: 130px 18px 0;
    }

    .hero-copy h1 {
        font-size: clamp(3.35rem, 12vw, 5.7rem);
    }

    .hero-product-wrap {
        bottom: 1vh;
        width: 94vw;
    }

    .outcome-statements {
        grid-template-columns: 1fr;
    }

    .outcome,
    .outcome + .outcome {
        min-height: 0;
        padding: 28px 0 48px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .outcome-index { margin-bottom: 48px; }

    .story-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
    }

    .story-visual {
        z-index: 4;
        top: 98px;
        width: 100%;
        height: 38vh;
        min-height: 270px;
        margin-top: 35px;
        background: linear-gradient(var(--night) 78%, transparent);
    }

    .story-screen { width: 100%; }

    .story-step {
        min-height: 66vh;
        padding-top: 30vh;
    }

    .chapter {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 48px 28px;
        gap: 55px;
    }

    .chapter-media img {
        width: 125%;
    }

    .chapter-media-dashboard img,
    .chapter-media-master img {
        transform: translateX(-2%);
    }

    .phone-scene {
        min-height: 540px;
    }

    .gallery-card {
        flex-basis: 86vw;
    }

    .gallery-card figcaption {
        grid-template-columns: 28px auto;
    }

    .gallery-card figcaption small {
        grid-column: 2;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

    .plan-master {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .site-header {
        top: 10px;
        padding-inline: 10px;
    }

    .site-header.is-scrolled .nav-shell { border-radius: 20px; }

    .hero-scroll {
        height: 132svh;
        min-height: 820px;
    }

    .hero-sticky {
        padding-top: 112px;
    }

    .hero-kicker {
        margin-bottom: 14px;
        font-size: .66rem;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
        line-height: .93;
    }

    .hero-lead {
        max-width: 34ch;
        margin-top: 19px;
        font-size: .98rem;
    }

    .hero-actions {
        margin-top: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button { width: 100%; }

    .hero-proof {
        max-width: 28ch;
        margin-inline: auto;
        line-height: 1.45;
    }

    .hero-product-wrap {
        bottom: 4vh;
        width: 108vw;
    }

    .hero-product { border-radius: 14px; }
    .window-bar { height: 27px; }
    .window-bar small { font-size: .56rem; }

    .scroll-cue { display: none; }

    .outcomes,
    .chapters,
    .pricing {
        padding-block: 100px;
    }

    .outcomes h2,
    .chapters-heading h2,
    .pricing-heading h2,
    .story-heading h2,
    .gallery-heading h2,
    .final-content h2 {
        font-size: clamp(2.75rem, 12vw, 4rem);
        line-height: .98;
    }

    .story {
        padding-top: 105px;
    }

    .story-heading > p:last-child {
        font-size: 1rem;
    }

    .story-layout {
        width: calc(100% - 24px);
    }

    .story-visual {
        top: 82px;
        height: 31vh;
        min-height: 225px;
    }

    .story-step {
        min-height: 70vh;
        grid-template-columns: 36px 1fr;
        padding-top: 24vh;
    }

    .story-step h3 {
        font-size: 2.15rem;
    }

    .story-step p:not(.story-label) {
        font-size: .94rem;
    }

    .story-step ul {
        display: grid;
    }

    .chapter {
        margin-top: 16px;
        padding: 40px 22px;
        border-radius: 28px;
    }

    .chapter h3 {
        font-size: clamp(2.65rem, 11.7vw, 3.8rem);
    }

    .chapter-copy > p {
        font-size: .98rem;
    }

    .chapter-media {
        margin-right: -22px;
    }

    .chapter-media img {
        width: 137%;
        border-radius: 13px;
    }

    .phone-scene {
        min-height: 430px;
    }

    .phone {
        width: 62%;
        padding: 43px 14px 18px;
        border-width: 6px;
        border-radius: 34px;
    }

    .phone-top {
        top: 11px;
        height: 15px;
    }

    .phone-message {
        padding: 12px;
    }

    .phone-message strong { font-size: 1rem; }
    .phone-message span { font-size: .68rem; }
    .phone-action { font-size: .69rem; padding: 10px; }

    .approval-check {
        width: 58px;
        height: 58px;
        margin-bottom: 18px;
    }

    .phone-front strong { font-size: 1.2rem; }
    .phone-front > span { font-size: .68rem; }

    .gallery-heading {
        align-items: end;
    }

    .gallery-controls { gap: 6px; }
    .round-control { width: 44px; height: 44px; }

    .gallery-track {
        padding-inline: 18px;
        gap: 14px;
    }

    .gallery-card { flex-basis: 90vw; }
    .gallery-image { border-radius: 16px; }

    .plan {
        padding: 34px 26px 26px;
    }

    .plan-heading { min-height: 150px; }
    .plan-badge { position: static; width: max-content; margin: -12px 0 18px; }

    .final-cta {
        min-height: 80svh;
        padding: 100px 20px;
    }

    .final-content > img {
        width: 155px;
        margin-bottom: 42px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer p { justify-self: center; }
    .site-footer nav { grid-column: auto; justify-self: center; flex-wrap: wrap; justify-content: center; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav-shell,
    .site-header.is-scrolled .nav-shell,
    .site-nav {
        background: rgba(255,255,255,.97);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .nav-shell,
    .site-header.is-scrolled .nav-shell,
    .site-nav {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (prefers-contrast: more) {
    :root {
        --line: rgba(0,0,0,.55);
        --night-line: rgba(255,255,255,.62);
        --ink-soft: #3b3b3e;
        --white-soft: #e7e7ea;
    }

    .button,
    .product-window,
    .gallery-image,
    .plan {
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-scroll {
        height: auto;
        min-height: 0;
    }

    .hero-sticky {
        position: relative;
        min-height: 100svh;
        padding-bottom: 70px;
    }

    .hero-copy,
    .hero-product-wrap,
    .hero-product,
    .hero-aura,
    .reveal,
    .story-step,
    .story-screen,
    .chapter-media img {
        opacity: 1;
        transform: none;
    }

    .hero-product-wrap {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100%, 960px);
        margin: 48px auto 0;
    }

    .hero-copy { margin-top: 10px; }
    .scroll-cue { display: none; }

    .story-visual {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        margin-top: 40px;
    }

    .story-screen {
        position: relative;
        display: none;
    }

    .story-screen.is-active { display: block; }
}
