/* =====================================================================
   site.css — BrandFounder
   Mobile-first. Compositor-only motion. No backdrop-filter outside nav.
   ===================================================================== */

/* ---------------------------------------------------------------
   1 · TOKENS  (dark is the base; light overrides below)
   --------------------------------------------------------------- */
:root {
    color-scheme: dark;

    --bg:            #07070d;
    --bg-tint:       #0b0b14;
    --surface:       rgba(255, 255, 255, 0.04);
    --surface-2:     rgba(255, 255, 255, 0.07);
    --card:          #101018;
    --card-2:        #14141f;
    --line:          rgba(255, 255, 255, 0.09);
    --line-2:        rgba(255, 255, 255, 0.17);
    --edge:          rgba(255, 255, 255, 0.10);   /* top inner highlight */

    --text:          #f4f4f7;
    --text-2:        rgba(255, 255, 255, 0.60);
    --text-3:        rgba(255, 255, 255, 0.55);

    --accent:        #7c6cff;
    --accent-2:      #6d5efc;
    --accent-3:      #a855f7;
    --accent-soft:   rgba(124, 108, 255, 0.14);
    --accent-line:   rgba(124, 108, 255, 0.32);

    --glow-1:        rgba(124, 108, 255, 0.32);   /* violet  */
    --glow-2:        rgba(168, 85, 247, 0.26);    /* purple  */
    --glow-3:        rgba(99, 102, 241, 0.20);    /* indigo  */

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 20px 48px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 44px 96px rgba(0, 0, 0, 0.58);

    --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
            "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    /* ui-serif resolves to New York on Apple platforms (Safari, WKWebView —
       i.e. most of the traffic). Everywhere else it falls through to the
       loaded Instrument Serif. Times New Roman is intentionally not here. */
    --serif: ui-serif, "New York", "Instrument Serif", Georgia, serif;

    --wrap: 1180px;
    --gut: 22px;
    --sec-y: clamp(78px, 13vw, 150px);
    --radius: 18px;
    --radius-lg: 26px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 760ms;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg:          #fbfbfc;
        --bg-tint:     #f1f1f5;
        --surface:     #ffffff;
        --surface-2:   #ffffff;
        --card:        #ffffff;
        --card-2:      #ffffff;
        --line:        rgba(11, 11, 20, 0.10);
        --line-2:      rgba(11, 11, 20, 0.18);
        --edge:        rgba(255, 255, 255, 0.9);
        --text:        #0b0b12;
        --text-2:      rgba(11, 11, 18, 0.62);
        --text-3:      rgba(11, 11, 18, 0.58);
        --accent:      #5b4bf0;
        --accent-2:    #4c3ce8;
        --accent-3:    #9333ea;
        --accent-soft: rgba(91, 75, 240, 0.08);
        --accent-line: rgba(91, 75, 240, 0.22);
        --glow-1:      rgba(124, 108, 255, 0.26);
        --glow-2:      rgba(168, 85, 247, 0.18);
        --glow-3:      rgba(99, 102, 241, 0.15);
        --shadow-sm: 0 2px 10px rgba(11, 11, 30, 0.05);
        --shadow-md: 0 20px 48px rgba(11, 11, 30, 0.09);
        --shadow-lg: 0 44px 96px rgba(11, 11, 30, 0.13);
    }
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg:          #fbfbfc;
    --bg-tint:     #f1f1f5;
    --surface:     #ffffff;
    --surface-2:   #ffffff;
    --card:        #ffffff;
    --card-2:      #ffffff;
    --line:        rgba(11, 11, 20, 0.10);
    --line-2:      rgba(11, 11, 20, 0.18);
    --edge:        rgba(255, 255, 255, 0.9);
    --text:        #0b0b12;
    --text-2:      rgba(11, 11, 18, 0.62);
    --text-3:      rgba(11, 11, 18, 0.58);
    --accent:      #5b4bf0;
    --accent-2:    #4c3ce8;
    --accent-3:    #9333ea;
    --accent-soft: rgba(91, 75, 240, 0.08);
    --accent-line: rgba(91, 75, 240, 0.22);
    --glow-1:      rgba(124, 108, 255, 0.26);
    --glow-2:      rgba(168, 85, 247, 0.18);
    --glow-3:      rgba(99, 102, 241, 0.15);
    --shadow-sm: 0 2px 10px rgba(11, 11, 30, 0.05);
    --shadow-md: 0 20px 48px rgba(11, 11, 30, 0.09);
    --shadow-lg: 0 44px 96px rgba(11, 11, 30, 0.13);
}

/* ---------------------------------------------------------------
   2 · BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    overflow-x: hidden;
}
@supports (overflow: clip) { html { overflow-x: clip; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    padding: 12px 18px; background: var(--accent); color: #fff;
    border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.anchor { display: block; height: 0; scroll-margin-top: 100px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   3 · TYPE
   --------------------------------------------------------------- */
.h1, .h2, .h3 {
    font-weight: 600;
    letter-spacing: -0.036em;
    line-height: 1.06;
    text-wrap: balance;
}

.h1 { font-size: clamp(2.35rem, 9.4vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 7.4vw, 3.2rem); }
.h3 { font-size: clamp(1.32rem, 4.8vw, 1.76rem); line-height: 1.14; letter-spacing: -0.032em; }

/* The secondary face carries one short phrase — never a whole heading. */
.ser {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.012em;
}

.lede {
    font-size: clamp(1.02rem, 3.9vw, 1.14rem);
    line-height: 1.55;
    color: var(--text-2);
    max-width: 48ch;
    text-wrap: pretty;
}

.body {
    font-size: 1rem;
    line-height: 1.58;
    color: var(--text-2);
    max-width: 38ch;
    text-wrap: pretty;
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ---------------------------------------------------------------
   4 · LAYOUT
   --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }

section { position: relative; }

.sec { padding-block: var(--sec-y); }
.sec--tint { background: var(--bg-tint); }

/* One simple section header: a headline, optionally one supporting line. */
.sec-head { margin-bottom: clamp(38px, 7vw, 64px); max-width: 24ch; margin-inline: auto; text-align: center; }
.sec-head .lede { margin-top: 16px; max-width: 44ch; margin-inline: auto; }
.sec-head--mid { max-width: 30ch; margin-inline: auto; text-align: center; }
.sec-head--mid .lede { margin-inline: auto; }

/* ---------------------------------------------------------------
   5 · AMBIENT LIGHT
   Large soft radial gradients — no blur filter, no repaint cost.
   --------------------------------------------------------------- */
.bloom {
    position: absolute;
    inset: -12% -20%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bloom i {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
}
.bloom i:nth-child(1) {
    width: 62%; aspect-ratio: 1; top: -14%; left: 6%;
    background: radial-gradient(circle at 50% 50%, var(--glow-1), transparent 68%);
    animation: drift-a 22s ease-in-out infinite alternate;
}
.bloom i:nth-child(2) {
    width: 54%; aspect-ratio: 1; top: 14%; right: 2%;
    background: radial-gradient(circle at 50% 50%, var(--glow-2), transparent 68%);
    animation: drift-b 27s ease-in-out infinite alternate;
}
.bloom i:nth-child(3) {
    width: 46%; aspect-ratio: 1; bottom: -12%; left: 24%;
    background: radial-gradient(circle at 50% 50%, var(--glow-3), transparent 68%);
    animation: drift-c 32s ease-in-out infinite alternate;
}
.bloom[data-paused] i { animation-play-state: paused; }

@keyframes drift-a { to { transform: translate3d(7%, 9%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-9%, 6%, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(6%, -8%, 0) scale(1.14); } }

/* ---------------------------------------------------------------
   6 · BUTTONS
   --------------------------------------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 1.04rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.btn-glyph { width: 20px; height: 20px; flex: 0 0 auto; }

/* Gradient fill + gradient hairline, painted in one element. */
.btn-grad {
    color: #fff;
    border: 1.5px solid transparent;
    background:
        linear-gradient(135deg, #6d5efc 0%, #8b5cf6 46%, #b45ef0 100%) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 52%, rgba(255, 255, 255, 0.34)) border-box;
    box-shadow: 0 14px 34px rgba(109, 94, 252, 0.32);
}
/* Sheen sweeps across on hover. */
.btn-grad::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.38) 50%, transparent 66%);
    transform: translate3d(-120%, 0, 0);
    transition: transform 720ms var(--ease);
}

.btn-light {
    background: #fff;
    color: #17142e;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}
.btn-light::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 34%, rgba(124, 108, 255, 0.22) 50%, transparent 66%);
    transform: translate3d(-120%, 0, 0);
    transition: transform 720ms var(--ease);
}

@media (hover: hover) {
    .btn:hover { transform: translateY(-2px); }
    .btn-grad:hover { box-shadow: 0 22px 46px rgba(139, 92, 246, 0.44); }
    .btn-light:hover { box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3); }
    .btn-grad:hover::after,
    .btn-light:hover::after { transform: translate3d(120%, 0, 0); }
}
.btn:active { transform: translateY(0) scale(0.985); }

/* ---------------------------------------------------------------
   7 · MOTION PRIMITIVES
   --------------------------------------------------------------- */
[data-r] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    transition-delay: calc(var(--rd, 0) * 85ms);
}
[data-r].is-in { opacity: 1; transform: none; }

/* leans back until you reach it, then settles flat */
.tilt {
    transform: perspective(1500px) rotateX(11deg) scale(0.95);
    transform-origin: 50% 100%;
    transition: transform 1.05s var(--ease);
    will-change: transform;
}
.is-in .tilt, .tilt.is-in { transform: perspective(1500px) rotateX(0deg) scale(1); }

/* card surface: soft top edge highlight + depth */
.card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(168deg, var(--accent-soft), transparent 44%), var(--card);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--edge);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
    [data-r] { opacity: 1; transform: none; }
    .tilt { transform: none; }
    .bloom i { animation: none; }
}

/* ---------------------------------------------------------------
   8 · HERO
   --------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: clamp(112px, 16vh, 160px) 0 clamp(34px, 6vh, 72px);
    overflow: hidden;
    isolation: isolate;
    background: #6f54ee;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 43%, rgba(26, 8, 57, 0.12) 62%, rgba(18, 7, 44, 0.68) 100%);
    pointer-events: none;
}
.hero-frame {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-inner { text-align: center; display: grid; justify-items: center; color: #fff; }
.hero-title {
    max-width: 18ch;
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(1.95rem, 4.6vw, 4rem);
    line-height: 1.02;
    text-shadow: 0 3px 32px rgba(20, 7, 50, 0.44);
}
.hero-title .ser { color: #fff; font-size: 1.04em; }
.hero-lede { margin-bottom: 24px; max-width: 42ch; color: rgba(255, 255, 255, 0.88); text-shadow: 0 2px 18px rgba(20, 7, 50, 0.4); }
.hero-cta { color: #111; min-height: 58px; padding-inline: clamp(22px, 4vw, 34px); }

@media (min-width: 760px) {
    .hero-lede { font-size: 1.2rem; }
}
@media (max-width: 620px) {
    .hero { padding-bottom: 28px; }
    .hero-frame { object-position: 50% 50%; }
    .hero-title { font-size: clamp(1.85rem, 8vw, 2.6rem); max-width: 14ch; }
    .hero-lede { font-size: 0.96rem; margin-bottom: 20px; }
    .hero-cta { min-height: 54px; font-size: 0.9rem; padding-inline: 19px; }
}

/* ---------------------------------------------------------------
   9 · PLATFORM BANNER
   --------------------------------------------------------------- */
.plat { padding-block: clamp(18px, 3.4vw, 26px); border-block: 1px solid var(--line); }
.plat-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3.4vw, 30px);
}
.plat-item { display: inline-flex; align-items: center; gap: 10px; }
.plat-item img { width: 30px; height: 30px; border-radius: 8px; }
.plat-item > span { display: grid; gap: 1px; }
.plat-item strong {
    font-size: 0.86rem; font-weight: 600; letter-spacing: -0.018em; color: var(--text);
}
.plat-item em {
    font-style: normal; font-size: 0.68rem;
    letter-spacing: 0.06em; color: var(--text-3);
}
.plat-item--soon img { opacity: 0.55; }
.plat-rule { width: 1px; height: 26px; background: var(--line); }

.plat-oai {
    width: 30px; height: 30px; flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--surface-2), transparent);
    box-shadow: inset 0 1px 0 var(--edge);
    color: var(--text);
}
.plat-oai svg { width: 17px; height: 17px; }

@media (max-width: 560px) {
    .plat-rule { display: none; }
    .plat-inner { gap: 12px 20px; }
    .plat-item img, .plat-oai { width: 26px; height: 26px; }
}

/* ---------------------------------------------------------------
   10 · LOGO MARQUEE  (fades at the container edge, not the screen)
   --------------------------------------------------------------- */
.marks-title { text-align: center; margin-bottom: clamp(32px, 6vw, 50px); }
.marks-title .ser { color: var(--accent); }

.marquee {
    display: grid;
    gap: clamp(14px, 3vw, 26px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-row { display: flex; width: max-content; }
.marquee-set {
    display: flex; align-items: center;
    gap: clamp(30px, 7vw, 60px);
    padding-right: clamp(30px, 7vw, 60px);
    flex: 0 0 auto;
}
.marquee-set img {
    width: clamp(58px, 13vw, 82px);
    height: auto;
    opacity: 0.6;
    transition: opacity 240ms ease;
}
@media (hover: hover) { .marquee-set img:hover { opacity: 1; } }

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .marquee-set img,
    :root:not([data-theme="dark"]) .out-label img { filter: invert(1); }
    :root:not([data-theme="dark"]) .marquee-set img { opacity: 0.46; }
}
:root[data-theme="light"] .marquee-set img,
:root[data-theme="light"] .out-label img { filter: invert(1); }
:root[data-theme="light"] .marquee-set img { opacity: 0.46; }

.marquee-row[data-run] { animation: mq 46s linear infinite; }
.marquee-row--rev[data-run] { animation-direction: reverse; }
.marquee[data-paused] .marquee-row { animation-play-state: paused; }
@keyframes mq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------------------------------------------------------------
   11 · MANIFESTO  (words light up as you pass them)
   --------------------------------------------------------------- */
.manifesto { overflow: hidden; isolation: isolate; }
.mani {
    font-size: clamp(1.6rem, 5.6vw, 2.9rem);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.035em;
    max-width: 22ch;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
}
.mani-w {
    color: var(--text);
    opacity: 0.16;
    transition: opacity 460ms var(--ease);
}
.mani-w.lit { opacity: 1; }

.mani-icons {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 0.86em;
    vertical-align: -0.06em;
    margin-inline: 0.1em;
    color: var(--accent);
}
.mani-icons svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: icon-cycle 9s linear infinite;
}
.mani-icons svg:nth-child(1) { animation-delay: 0s; }
.mani-icons svg:nth-child(2) { animation-delay: 2.25s; }
.mani-icons svg:nth-child(3) { animation-delay: 4.5s; }
.mani-icons svg:nth-child(4) { animation-delay: 6.75s; }
.manifesto[data-paused] .mani-icons svg { animation-play-state: paused; }

@keyframes icon-cycle {
    0%              { opacity: 0; transform: translate3d(0, 26%, 0) scale(0.82); }
    3%, 22%         { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    25%, 100%       { opacity: 0; transform: translate3d(0, -26%, 0) scale(0.82); }
}

/* ---------------------------------------------------------------
   12 · "ILLOGICAL" BELIEF PANEL
   --------------------------------------------------------------- */
.belief { padding-block: clamp(24px, 5vw, 60px); perspective: 1600px; }

.belief-panel {
    position: relative;
    overflow: hidden;
    border-radius: clamp(26px, 4vw, 40px);
    padding: clamp(48px, 9vw, 104px) clamp(24px, 6vw, 78px);
    text-align: center;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(120% 100% at 12% 0%, rgba(255, 255, 255, 0.2), transparent 52%),
        radial-gradient(90% 90% at 88% 106%, rgba(168, 85, 247, 0.62), transparent 58%),
        linear-gradient(142deg, #6d5efc 0%, #7c4fe8 44%, #4a2fb0 100%);
    box-shadow: 0 46px 96px rgba(58, 36, 168, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: rotateX(13deg) scale(0.94);
    transform-origin: 50% 100%;
    transition: transform 1.15s var(--ease), opacity var(--dur) var(--ease);
    will-change: transform;
}
.belief-panel.is-in { transform: rotateX(0deg) scale(1); }

.belief-grid {
    position: absolute; inset: 0; z-index: -1; opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 76%);
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 76%);
}
.belief-sheen {
    position: absolute; inset: -50% -40%; z-index: -1;
    background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
    transform: translate3d(-30%, 0, 0);
    animation: sweep 9s ease-in-out 1s infinite;
}

.belief-title { color: #fff; max-width: 16ch; margin-inline: auto; }
.belief-title .ser { color: #e6dcff; }

.belief-lines {
    display: grid;
    gap: 10px;
    margin-top: clamp(28px, 5vw, 40px);
    font-size: clamp(0.94rem, 3.6vw, 1.08rem);
    color: rgba(255, 255, 255, 0.76);
}
.belief-lines li {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 520ms var(--ease), transform 640ms var(--ease);
}
.belief-panel.is-in .belief-lines li { opacity: 1; transform: none; }
.belief-panel.is-in .belief-lines li:nth-child(1) { transition-delay: 340ms; }
.belief-panel.is-in .belief-lines li:nth-child(2) { transition-delay: 440ms; }
.belief-panel.is-in .belief-lines li:nth-child(3) { transition-delay: 540ms; }

/* ---------------------------------------------------------------
   13 · HOW IT WORKS  (sticky stage — no scroll hijacking)
   --------------------------------------------------------------- */
.how { padding-top: clamp(56px, 9vw, 96px); }
.how .sec-head { margin-bottom: clamp(16px, 3vw, 26px); max-width: 980px; margin-inline: auto; text-align: center; }
.how .sec-head .h2,
.rows .sec-head .h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.02; font-weight: 600; }
.how .sec-head .ser { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: -0.036em; }
.rows .sec-head { max-width: none; text-align: center; }
.rows .sec-head .h2 { max-width: 16ch; margin-inline: auto; }

.how-track { position: relative; height: 360vh; }

.how-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-content: center;
    gap: clamp(6px, 1.4svh, 14px);
    padding: clamp(74px, 12svh, 104px) var(--gut) clamp(20px, 4svh, 40px);
    overflow: hidden;
    isolation: isolate;
    --ph-w: min(164px, 39vw, 19.5svh);
}
.how-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0;
    background:
        radial-gradient(60% 72% at 52% 58%, rgba(218, 43, 68, 0.28), transparent 72%),
        linear-gradient(135deg, rgba(82, 12, 29, 0.18), rgba(224, 50, 32, 0.12));
    transition: opacity 900ms var(--ease);
}
.how-stage[data-stage="2"]::before { opacity: 1; }

.bloom--stage { inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.how-stage[data-stage="1"] .bloom--stage,
.how-stage[data-stage="2"] .bloom--stage { opacity: 1; }

/* --- Apple-style text field --- */
.how-ideas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 2.6vw, 20px);
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
}

.tbox { display: grid; gap: 7px; opacity: 0.5; transition: opacity 460ms var(--ease); }
.tbox.is-live { opacity: 1; }
.tbox-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-3);
    padding-left: 2px;
    transition: color 400ms ease;
}
.tbox.is-live .tbox-label { color: var(--accent); }

.tbox-field {
    display: block;
    min-height: clamp(88px, 14svh, 122px);
    padding: clamp(11px, 2.4vw, 15px) clamp(12px, 2.6vw, 16px);
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: var(--card);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.28);
    font-size: clamp(0.8rem, 3.1vw, 0.95rem);
    line-height: 1.44;
    letter-spacing: -0.015em;
    color: var(--text);
    transition: border-color 320ms ease, box-shadow 320ms ease, background 320ms ease;
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .tbox-field { box-shadow: inset 0 1px 3px rgba(11, 11, 30, 0.07); }
}
:root[data-theme="light"] .tbox-field { box-shadow: inset 0 1px 3px rgba(11, 11, 30, 0.07); }

.tbox.is-live .tbox-field {
    border-color: var(--accent);
    box-shadow: 0 0 0 3.5px var(--accent-soft), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tbox-text { white-space: pre-wrap; }
.tbox-caret {
    display: none;
    width: 2px;
    height: 1.06em;
    margin-left: 1px;
    background: var(--accent);
    vertical-align: -0.16em;
    border-radius: 1px;
}
.tbox.is-typing .tbox-caret { display: inline-block; animation: caret 1s steps(2, start) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* --- connector wires --- */
.how-wires {
    width: min(100%, 760px);
    height: clamp(38px, 7svh, 70px);
    margin-inline: auto;
    overflow: visible;
}
.wire {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0.26;
    transition: stroke-dashoffset 900ms var(--ease), opacity 500ms ease;
}
.wire.is-drawn { stroke-dashoffset: 0; opacity: 1; }

/* --- phones --- */
.how-phones {
    position: relative;
    height: calc(var(--ph-w) * 2.06);
    margin-inline: auto;
    width: 100%;
}

.phoneset {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 620ms ease, visibility 0s linear 620ms;
}
.phoneset.is-on { opacity: 1; visibility: visible; transition: opacity 620ms ease, visibility 0s; }

.ph {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--ph-w);
    transform: translate3d(-50%, 26px, 0) scale(0.9);
    transition: transform 1000ms var(--ease);
    will-change: transform;
}
.ph img { width: 100%; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.5)); }
.ph--l { z-index: 1; }
.ph--r { z-index: 2; }
.ph--f { z-index: 3; }

.phoneset.is-on .ph--f { transform: translate3d(-50%, 0, 0) scale(1); }
.phoneset.is-on .ph--l { transform: translate3d(calc(-50% - var(--ph-w) * 0.44), 5%, 0) scale(0.88) rotate(-8deg); }
.phoneset.is-on .ph--r { transform: translate3d(calc(-50% + var(--ph-w) * 0.44), 5%, 0) scale(0.88) rotate(8deg); }

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .ph img { filter: drop-shadow(0 22px 40px rgba(20, 18, 50, 0.22)); }
}
:root[data-theme="light"] .ph img { filter: drop-shadow(0 22px 40px rgba(20, 18, 50, 0.22)); }

/* --- floating satellite panels --- */
.sat {
    position: absolute;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 9px 10px 7px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background: linear-gradient(158deg, var(--card-2), var(--card));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 108, 255, 0.12), inset 0 1px 0 var(--edge);
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.86);
    transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.how-stage[data-stage="1"] .sat,
.how-stage[data-stage="2"] .sat { opacity: 1; transform: none; }
.how-stage[data-stage="1"] .sat--wheel { transition-delay: 260ms; }
.how-stage[data-stage="1"] .sat--type  { transition-delay: 380ms; }
.how-stage[data-stage="1"] .sat--price { transition-delay: 500ms; }
.how-stage[data-stage="1"] .sat--promo { transition-delay: 620ms; }
.how-stage[data-stage="1"] .sat--launch { transition-delay: 740ms; }

.sat--wheel { top: 1%; left: 2px; animation: float-a 7s ease-in-out infinite alternate; }
.sat--type { top: 21%; left: 28px; animation: float-b 8.4s ease-in-out infinite alternate; }
.sat--price { top: 43%; left: 2px; animation: float-c 9.2s ease-in-out infinite alternate; }
.sat--promo { top: 65%; left: 28px; animation: float-a 8.8s ease-in-out infinite alternate; }
.sat--launch { top: 84%; left: 2px; animation: float-b 7.8s ease-in-out infinite alternate; }
.how-stage[data-stage="0"] .sat { animation: none; }

@keyframes float-a { to { transform: translate3d(0, -9px, 0); } }
@keyframes float-b { to { transform: translate3d(0, 10px, 0); } }
@keyframes float-c { to { transform: translate3d(0, -7px, 0); } }

.sat-cap {
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-3);
}
.sat-wheel {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: conic-gradient(#ff2d55, #ff9500, #ffcc00, #34c759, #00c7be, #0a84ff, #5856d6, #af52de, #ff2d55);
    -webkit-mask: radial-gradient(circle, transparent 42%, #000 44%);
    mask: radial-gradient(circle, transparent 42%, #000 44%);
}
.sat-aa { display: grid; place-items: center; height: 28px; line-height: 1; }
.sat-aa em { font-family: var(--serif); font-style: normal; font-size: 1.16rem; }
.sat-aa i  { font-family: var(--sans); font-style: normal; font-size: 0.76rem; color: var(--text-3); }
.sat-tag { display: inline-flex; align-items: center; gap: 4px; height: 28px; color: var(--accent); }
.sat-tag svg { width: 17px; height: 17px; }
.sat-tag b { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.sat-icon { width: 28px; height: 28px; color: var(--accent); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .sat--promo .sat-icon,
    :root:not([data-theme="light"]) .sat--launch .sat-icon { color: #fff; }
}
:root[data-theme="dark"] .sat--promo .sat-icon,
:root[data-theme="dark"] .sat--launch .sat-icon { color: #fff; }
.sat-cap--stack { text-align: center; line-height: 1.35; }
.price { display: none; }
.how-stage[data-stage="1"] .price--northline,
.how-stage[data-stage="2"] .price--self { display: inline; }

/* --- outputs --- */
.how-out {
    position: absolute;
    z-index: 5;
    top: 48%;
    right: 8px;
    width: 78px;
    height: 290px;
}
.outset {
    position: absolute; inset: 0;
    display: grid; gap: 10px;
    align-content: center; justify-items: center;
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    visibility: hidden;
    transition: opacity 620ms ease, transform 800ms var(--ease), visibility 0s linear 620ms;
}
.outset.is-on {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity 620ms ease 160ms, transform 800ms var(--ease) 160ms, visibility 0s;
}
.out-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3);
    text-align: center;
    line-height: 1.25;
}
.out-label img { width: 15px; height: 15px; opacity: 0.75; }
.out-row { display: flex; flex-direction: column; gap: 7px; }
.out-row img {
    width: clamp(54px, 14vw, 76px);
    aspect-ratio: 1; object-fit: cover;
    border-radius: 9px; border: 1px solid var(--line);
}

@media (min-width: 860px) {
    .how-stage { --ph-w: min(228px, 22svh); gap: clamp(10px, 2svh, 22px); }
    .tbox-field { font-size: 1rem; }
    .how-out { top: 40%; right: clamp(34px, 8vw, 144px); width: 126px; height: 430px; }
    .sat { padding: 13px 16px 11px; border-radius: 17px; }
    .sat-wheel { width: 36px; height: 36px; }
    .sat-aa, .sat-tag { height: 36px; }
    .sat--wheel { top: 2%; left: clamp(24px, 9vw, 154px); }
    .sat--type { top: 21%; left: clamp(58px, 12vw, 204px); }
    .sat--price { top: 42%; left: clamp(24px, 9vw, 154px); }
    .sat--promo { top: 63%; left: clamp(58px, 12vw, 204px); }
    .sat--launch { top: 84%; left: clamp(24px, 9vw, 154px); }
    .sat-icon { width: 36px; height: 36px; }
    .out-row img { width: 92px; }
}
@media (max-width: 430px) {
    .how-stage { --ph-w: min(136px, 34vw, 18svh); }
    .sat { padding: 7px 8px 6px; gap: 4px; border-radius: 11px; }
    .sat-cap { font-size: 0.42rem; letter-spacing: 0.1em; }
    .sat-icon { width: 23px; height: 23px; }
    .out-label { font-size: 0.48rem; }
}

/* ---------------------------------------------------------------
   14 · ALTERNATING ROWS + VISUALS
   --------------------------------------------------------------- */
.rows-list { display: grid; gap: clamp(64px, 11vw, 108px); max-width: 1060px; }
.row { display: grid; gap: clamp(22px, 4.6vw, 34px); }
.row-copy .eyebrow { margin-bottom: 10px; }
.row-copy .h3 { margin-bottom: 10px; }
.row:nth-child(even) .row-copy { order: 2; }

@media (min-width: 860px) {
    .row { grid-template-columns: 0.92fr 1fr; align-items: center; gap: clamp(40px, 6vw, 72px); }
    .row:nth-child(even) { grid-template-columns: 1fr 0.92fr; }
    .row:nth-child(even) .row-copy { order: 2; }
    .row:nth-child(even) .row-viz { order: 1; }
    .row-copy .h3 { font-size: 1.9rem; }
    .row-viz { width: 100%; max-width: 520px; }
}

.viz { padding: clamp(16px, 4vw, 26px); overflow: hidden; }
.viz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.viz-key {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
}
.viz-key svg { width: 11px; height: 11px; }
.viz-note { font-size: 0.72rem; letter-spacing: -0.01em; color: var(--text-3); }

/* identity */
.idn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.idn-tile {
    width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px;
    background: linear-gradient(150deg, var(--accent), var(--accent-3));
    box-shadow: 0 8px 20px rgba(109, 94, 252, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.idn-tile img { width: 30px; height: 30px; }
.idn-name strong { display: block; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.idn-name small { display: block; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.idn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.4vw, 16px); }
.idn-cell { display: grid; justify-items: center; gap: 10px; }
.idn-cap { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.donut { width: clamp(56px, 15vw, 74px); height: auto; }
.donut .arc { transform-origin: 50% 50%; opacity: 0; transform: scale(0.7); transition: opacity 520ms ease, transform 760ms var(--ease); }
.is-in .donut .arc { opacity: 1; transform: scale(1); }
.is-in .donut .arc:nth-child(1) { transition-delay: 120ms; }
.is-in .donut .arc:nth-child(2) { transition-delay: 200ms; }
.is-in .donut .arc:nth-child(3) { transition-delay: 280ms; }
.is-in .donut .arc:nth-child(4) { transition-delay: 360ms; }
.is-in .donut .arc:nth-child(5) { transition-delay: 440ms; }
.idn-type { display: grid; place-items: center; height: clamp(56px, 15vw, 74px); line-height: 1; }
.idn-type em { font-family: var(--serif); font-style: normal; font-size: clamp(1.5rem, 5vw, 1.9rem); }
.idn-type i { font-family: var(--sans); font-style: normal; font-size: clamp(1rem, 3.4vw, 1.25rem); color: var(--text-3); margin-top: 3px; }
.idn-shot { width: clamp(56px, 15vw, 74px); height: clamp(56px, 15vw, 74px); object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* market chart */
.chart { width: 100%; height: clamp(128px, 30vw, 168px); color: var(--line); }
.chart .grid line { opacity: 0.6; }
.chart .line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1500ms var(--ease) 140ms; }
.is-in .chart .line { stroke-dashoffset: 0; }
.chart .area { opacity: 0; transition: opacity 900ms ease 620ms; }
.is-in .chart .area { opacity: 1; }
.chart .peak { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.2); transition: opacity 400ms ease 1240ms, transform 620ms var(--ease) 1240ms; }
.is-in .chart .peak { opacity: 1; transform: scale(1); }
.viz-axis {
    display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 8px; padding-inline: 4px;
    font-size: 0.56rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-3); text-align: center;
}

/* positioning map */
.viz--map { padding: clamp(26px, 6vw, 38px) clamp(30px, 7vw, 46px); }
.mapchart { width: 100%; height: auto; color: var(--line); }
.mapchart .dots circle { color: var(--text-3); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 460ms ease, transform 620ms var(--ease); }
.is-in .mapchart .dots circle { opacity: 0.5; transform: scale(1); }
.is-in .mapchart .dots circle:nth-child(1) { transition-delay: 140ms; }
.is-in .mapchart .dots circle:nth-child(2) { transition-delay: 220ms; }
.is-in .mapchart .dots circle:nth-child(3) { transition-delay: 300ms; }
.is-in .mapchart .dots circle:nth-child(4) { transition-delay: 380ms; }
.is-in .mapchart .dots circle:nth-child(5) { transition-delay: 460ms; }
.mapchart .you { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); transition: opacity 500ms ease 640ms, transform 820ms var(--ease) 640ms; }
.is-in .mapchart .you { opacity: 1; transform: scale(1); }
.map-lab { position: absolute; font-size: 0.56rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.map-lab--t { top: 12px; left: 50%; transform: translateX(-50%); }
.map-lab--b { bottom: 12px; left: 50%; transform: translateX(-50%); }
.map-lab--l { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; }
.map-lab--r { right: 12px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }

/* promotion */
.post-k { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.post-hook { font-size: clamp(1.05rem, 4.4vw, 1.3rem); line-height: 1.32; color: var(--text); margin-bottom: 18px; text-wrap: pretty; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-block: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.post-meta span { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); }
.post-apps { display: flex; gap: 14px; color: var(--text-3); }
.post-apps svg { width: 19px; height: 19px; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 420ms ease, transform 560ms var(--ease); }
.is-in .post-apps svg { opacity: 0.72; transform: none; }
.is-in .post-apps svg:nth-child(1) { transition-delay: 200ms; }
.is-in .post-apps svg:nth-child(2) { transition-delay: 280ms; }
.is-in .post-apps svg:nth-child(3) { transition-delay: 360ms; }
.is-in .post-apps svg:nth-child(4) { transition-delay: 440ms; }

/* assets fan */
.viz--assets { display: grid; gap: 18px; }
.fan { position: relative; height: clamp(176px, 42vw, 232px); }
.fan-i {
    position: absolute; top: 0; left: 50%;
    width: clamp(150px, 36vw, 200px); aspect-ratio: 1; object-fit: cover;
    border-radius: 14px; border: 1px solid var(--line-2);
    box-shadow: var(--shadow-md);
    transform: translate3d(-50%, 10px, 0) scale(0.92);
    transition: transform 900ms var(--ease);
}
.fan-i--l { z-index: 1; } .fan-i--r { z-index: 2; } .fan-i--c { z-index: 3; }
.is-in .fan-i--c { transform: translate3d(-50%, 0, 0) scale(1); }
.is-in .fan-i--l { transform: translate3d(-124%, 6%, 0) scale(0.9) rotate(-7deg); }
.is-in .fan-i--r { transform: translate3d(24%, 6%, 0) scale(0.9) rotate(7deg); }
.fan-file {
    justify-self: center; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 17px; border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    color: #fff; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(109, 94, 252, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.fan-file svg { width: 14px; height: 14px; }

/* launch plan */
.plan { display: grid; gap: 15px; }
.plan li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "d t" ". b"; align-items: center; gap: 5px 13px; }
.plan-d { grid-area: d; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.plan-t { grid-area: t; font-size: clamp(0.84rem, 3.3vw, 0.95rem); letter-spacing: -0.018em; color: var(--text); }
.plan-bar { grid-area: b; height: 3px; border-radius: 999px; background: var(--accent); opacity: 0.42; width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease); }
.is-in .plan-bar { transform: scaleX(1); }
.is-in .plan li:nth-child(1) .plan-bar { transition-delay: 160ms; }
.is-in .plan li:nth-child(2) .plan-bar { transition-delay: 280ms; }
.is-in .plan li:nth-child(3) .plan-bar { transition-delay: 400ms; }
.is-in .plan li:nth-child(4) .plan-bar { transition-delay: 520ms; }

/* ---------------------------------------------------------------
   15 · EXAMPLES
   --------------------------------------------------------------- */
.case-list { display: grid; gap: clamp(46px, 8vw, 76px); }
.examples-note { margin-top: 16px; }
.case { padding: clamp(20px, 4.6vw, 32px); }
.case-head {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: clamp(14px, 3.4vw, 22px);
    padding-bottom: clamp(18px, 3.6vw, 24px);
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(18px, 3.6vw, 24px);
}
.case-logo { width: clamp(60px, 15vw, 88px); height: auto; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.42)); }
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .case-logo { filter: drop-shadow(0 12px 26px rgba(20, 18, 50, 0.2)); }
}
:root[data-theme="light"] .case-logo { filter: drop-shadow(0 12px 26px rgba(20, 18, 50, 0.2)); }
.case-name { font-size: clamp(1.25rem, 5vw, 1.65rem); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.case-cat { font-size: 0.76rem; color: var(--text-3); margin-top: 4px; }
.case-tag { font-size: clamp(0.95rem, 3.8vw, 1.1rem); color: var(--accent); margin-top: 9px; }
.swatches { grid-column: 1 / -1; display: flex; gap: 7px; }
.swatches li {
    width: 26px; height: 26px; border-radius: 7px; background: var(--c);
    border: 1px solid var(--line);
    opacity: 0; transform: translate3d(0, 8px, 0);
    transition: opacity 420ms ease, transform 560ms var(--ease);
}
.is-in .swatches li { opacity: 1; transform: none; }
.is-in .swatches li:nth-child(1) { transition-delay: 180ms; }
.is-in .swatches li:nth-child(2) { transition-delay: 250ms; }
.is-in .swatches li:nth-child(3) { transition-delay: 320ms; }
.is-in .swatches li:nth-child(4) { transition-delay: 390ms; }
.is-in .swatches li:nth-child(5) { transition-delay: 460ms; }

.case-shots {
    display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(clamp(20px, 4.6vw, 32px) * -1);
    padding-inline: clamp(20px, 4.6vw, 32px);
}
.case-shots::-webkit-scrollbar { display: none; }
.case-shots img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); scroll-snap-align: center; }

@media (min-width: 760px) {
    .case-head { grid-template-columns: auto 1fr auto; }
    .swatches { grid-column: auto; }
    .case-shots { grid-auto-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------------------------------------------------------------
   16 · SEE IT BEFORE YOU PAY
   --------------------------------------------------------------- */
.preview { overflow: hidden; isolation: isolate; }
.step-list { display: grid; gap: clamp(14px, 2.6vw, 20px); counter-reset: s; }
.step { padding: clamp(22px, 4.4vw, 30px); }
.step-n {
    display: inline-block; margin-bottom: 14px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--accent); font-variant-numeric: tabular-nums;
}
.step-t { font-size: clamp(1.1rem, 4.2vw, 1.24rem); font-weight: 600; letter-spacing: -0.028em; margin-bottom: 8px; }
.step-b { font-size: 0.95rem; line-height: 1.56; color: var(--text-2); text-wrap: pretty; }

.preview-cta { display: grid; justify-items: center; gap: 18px; margin-top: clamp(34px, 6vw, 52px); text-align: center; }
.preview-note { font-size: 0.92rem; color: var(--text-3); max-width: 40ch; }

@media (min-width: 760px) {
    .step-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------
   17 · WORKS FOR ANY TYPE OF BRAND
   --------------------------------------------------------------- */
.fits { position: relative; overflow: hidden; padding-block: clamp(96px, 18vw, 170px); }
.fits-stage { position: relative; display: grid; place-items: center; min-height: clamp(300px, 52vw, 400px); }
.fits-title { text-align: center; position: relative; z-index: 2; max-width: 14ch; }

.pill {
    position: absolute;
    z-index: 1;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge);
    font-size: clamp(0.76rem, 2.9vw, 0.98rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.is-in .pill, .fits-stage.is-in .pill { opacity: 1; }

.pill--1 { top: 2%;  left: 1%;   color: #a855f7; --rot: -7deg;  transition-delay: 60ms; }
.pill--2 { top: 16%; right: 2%;  color: #6366f1; --rot: 6deg;   transition-delay: 130ms; }
.pill--3 { top: 40%; left: -1%;  color: #7c6cff; --rot: 4deg;   transition-delay: 200ms; }
.pill--4 { bottom: 26%; right: 0; color: #4d8df0; --rot: -5deg; transition-delay: 270ms; }
.pill--5 { bottom: 6%; left: 6%;  color: #c084fc; --rot: 5deg;  transition-delay: 340ms; }
.pill--6 { top: 30%; right: 16%; color: #6d5efc; --rot: -4deg;  transition-delay: 410ms; }
.pill--7 { bottom: 2%; right: 8%; color: #e8609e; --rot: 7deg;  transition-delay: 480ms; }
.pill--8 { bottom: 34%; left: 12%; color: #8b5cf6; --rot: -6deg; transition-delay: 550ms; }

.pill { transform: rotate(var(--rot)) translate3d(0, 22px, 0) scale(0.88); }
.is-in .pill, .fits-stage.is-in .pill { transform: rotate(var(--rot)) translate3d(0, 0, 0) scale(1); }

.orb {
    position: absolute; z-index: 1;
    width: clamp(34px, 7vw, 46px); aspect-ratio: 1;
    border-radius: 30%;
    box-shadow: var(--shadow-sm), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.7);
    transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.is-in .orb, .fits-stage.is-in .orb { opacity: 1; transform: none; }
.orb--1 { top: 6%;  right: 26%; background: linear-gradient(150deg, #c9b6ff, #7c6cff); transition-delay: 620ms; animation: float-a 6.4s ease-in-out infinite alternate; }
.orb--2 { bottom: 16%; left: 30%; background: linear-gradient(150deg, #d8b4fe, #a855f7); transition-delay: 700ms; animation: float-b 7.6s ease-in-out infinite alternate; }
.orb--3 { top: 52%; right: 6%;  background: linear-gradient(150deg, #a5b4fc, #6366f1); transition-delay: 780ms; animation: float-c 8.4s ease-in-out infinite alternate; }

@media (max-width: 620px) {
    .pill--6, .pill--8, .orb--3 { display: none; }
    .pill--1 { top: 0; left: -2%; }
    .pill--3 { top: 44%; left: -4%; }
    .pill--4 { bottom: 22%; right: -3%; }
}

/* ---------------------------------------------------------------
   19 · FAQ
   --------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }

.q { padding: 0; overflow: hidden; transition: border-color 260ms ease, box-shadow 300ms ease; }
.q[open] { border-color: var(--accent-line); }
.q summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: clamp(18px, 3.6vw, 24px) clamp(18px, 3.6vw, 26px);
    cursor: pointer; list-style: none;
    font-size: clamp(1rem, 3.9vw, 1.1rem); font-weight: 500;
    letter-spacing: -0.026em; color: var(--text);
    transition: color 200ms ease;
}
.q summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .q summary:hover { color: var(--accent); } }

.q-x {
    position: relative; flex: 0 0 auto;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    transition: background 300ms var(--ease), transform 420ms var(--ease), border-color 260ms ease;
}
.q-x::before, .q-x::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 11px; height: 1.6px; border-radius: 2px; background: var(--text-2);
    transform: translate(-50%, -50%);
    transition: transform 380ms var(--ease), background 260ms ease;
}
.q-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.q[open] .q-x { background: var(--accent); border-color: transparent; transform: rotate(180deg); }
.q[open] .q-x::before, .q[open] .q-x::after { background: #fff; }
.q[open] .q-x::after { transform: translate(-50%, -50%) rotate(0deg); }

.q-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 420ms var(--ease); }
.q-wrap[data-collapsed] { grid-template-rows: 0fr; }
.q-in { overflow: hidden; }
.q-in p {
    padding: 0 clamp(18px, 3.6vw, 26px) clamp(20px, 3.6vw, 26px);
    max-width: 62ch; font-size: 0.98rem; line-height: 1.6; color: var(--text-2); text-wrap: pretty;
}

/* ---------------------------------------------------------------
   20 · CLOSING CTA
   --------------------------------------------------------------- */
.close {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(720px, 92vh);
    min-height: min(720px, 92svh);
    display: grid;
    align-items: end;
    padding-block: clamp(90px, 16vw, 140px);
}
.close-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; }
.close::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg,
        rgba(10, 6, 30, 0.5) 0%, rgba(10, 6, 30, 0.3) 32%,
        rgba(10, 6, 30, 0.62) 66%, rgba(10, 6, 30, 0.92) 100%);
}
.close-inner { text-align: center; display: grid; justify-items: center; color: #fff; }
.close-title { color: #fff; margin-bottom: 14px; text-shadow: 0 2px 26px rgba(8, 4, 26, 0.45); }
.close-title .ser { color: rgba(255, 255, 255, 0.84); }
.close-sub { font-size: clamp(1rem, 4vw, 1.16rem); color: rgba(255, 255, 255, 0.84); text-shadow: 0 2px 18px rgba(8, 4, 26, 0.5); margin-bottom: 30px; }
@media (min-width: 860px) { .close-bg { object-position: 50% 50%; } }

/* ---------------------------------------------------------------
   21 · FOOTER
   --------------------------------------------------------------- */
.trust-strip {
    border-top: 1px solid var(--line);
    background: linear-gradient(135deg, var(--accent-soft), transparent 58%), var(--bg-tint);
}
.trust-strip-inner {
    min-height: 104px;
    padding-block: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 30px;
}
.trust-strip p { display: grid; gap: 2px; }
.trust-strip strong { font-size: 1rem; letter-spacing: -0.02em; }
.trust-strip span { color: var(--text-3); font-size: 0.84rem; }
.trust-strip a {
    color: var(--text-2);
    border-bottom: 1px solid var(--line-2);
    transition: color 200ms ease, border-color 200ms ease;
}
@media (hover: hover) {
    .trust-strip a:hover { color: var(--accent); border-color: var(--accent); }
}

.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot-top {
    display: grid; gap: clamp(34px, 6vw, 48px);
    padding-block: clamp(48px, 8vw, 76px);
}
.foot-brand { display: grid; gap: 18px; justify-items: start; }
.foot-brand img { width: 36px; height: 36px; }
.foot-line { font-size: clamp(1.16rem, 4.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.032em; line-height: 1.24; max-width: 18ch; }
.foot-line .ser { color: var(--accent); }

.foot-store {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 50px; padding: 0 22px; border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    box-shadow: inset 0 1px 0 var(--edge);
    font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em;
    transition: transform 240ms var(--ease), border-color 240ms ease, background 240ms ease;
}
.foot-store svg { width: 18px; height: 18px; }
@media (hover: hover) { .foot-store:hover { transform: translateY(-2px); border-color: var(--accent); } }

.foot-side { display: grid; gap: 16px; justify-items: start; align-content: start; }
.foot-social { display: flex; align-items: center; gap: 20px; }
.foot-social a {
    display: block;
    color: var(--text-2);
    transition: color 220ms ease, transform 260ms var(--ease);
}
.foot-social svg { width: 23px; height: 23px; display: block; }
@media (hover: hover) { .foot-social a:hover { color: var(--accent); transform: translateY(-2px); } }

.foot-mail { font-size: 0.94rem; color: var(--text-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) { .foot-mail:hover { color: var(--accent); border-color: var(--accent); } }

.foot-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
    gap: 10px 22px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem; color: var(--text-3);
}
.foot-legal { display: flex; gap: 22px; }
.foot-bar p { margin: 0; }
.foot-legal a { transition: color 200ms ease; }
@media (hover: hover) { .foot-legal a:hover { color: var(--text); } }

@media (min-width: 760px) {
    .foot-top { grid-template-columns: 1fr auto; align-items: start; }
    .foot-side { justify-items: end; }
}

/* --- step card mini-visuals --- */
.step { display: grid; align-content: start; }
.step-viz {
    margin-top: clamp(20px, 3.6vw, 26px);
    padding-top: clamp(18px, 3.4vw, 24px);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.mini-field {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--bg-tint);
    box-shadow: 0 0 0 3px var(--accent-soft);
    font-size: 0.82rem;
    letter-spacing: -0.015em;
    color: var(--text-2);
}
.mini-caret {
    display: inline-block; width: 2px; height: 0.95em;
    margin-left: 2px; vertical-align: -0.14em;
    background: var(--accent); border-radius: 1px;
    animation: caret 1s steps(2, start) infinite;
}
.step:not(.is-in) .mini-caret { animation: none; }

.step-viz { align-items: center; }
.mini-tile {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--accent), var(--accent-3));
    box-shadow: 0 8px 20px rgba(109, 94, 252, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.mini-tile img { width: 26px; height: 26px; }
.mini-pal { display: flex; gap: 6px; }
.mini-pal i {
    flex: 1; height: 22px; border-radius: 6px; background: var(--c);
    border: 1px solid var(--line);
    opacity: 0; transform: translate3d(0, 6px, 0);
    transition: opacity 400ms ease, transform 520ms var(--ease);
}
.is-in .mini-pal i { opacity: 1; transform: none; }
.is-in .mini-pal i:nth-child(1) { transition-delay: 260ms; }
.is-in .mini-pal i:nth-child(2) { transition-delay: 320ms; }
.is-in .mini-pal i:nth-child(3) { transition-delay: 380ms; }
.is-in .mini-pal i:nth-child(4) { transition-delay: 440ms; }
.is-in .mini-pal i:nth-child(5) { transition-delay: 500ms; }

.mini-unlock {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 15px; border-radius: 999px;
    justify-self: start;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    color: #fff; font-size: 0.78rem; font-weight: 600;
    box-shadow: 0 10px 24px rgba(109, 94, 252, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.mini-unlock svg { width: 15px; height: 15px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chips i {
    font-style: normal;
    padding: 5px 10px; border-radius: 7px;
    border: 1px solid var(--line);
    background: var(--bg-tint);
    font-size: 0.68rem; letter-spacing: -0.01em; color: var(--text-3);
}

/* ---------------------------------------------------------------
   22 · LEGAL PAGES  (privacy policy)
   --------------------------------------------------------------- */
.container { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }

.legal-hero {
    position: relative;
    padding-top: clamp(122px, 24vw, 178px);
    padding-bottom: clamp(38px, 7vw, 64px);
    overflow: hidden;
    isolation: isolate;
}
.legal-hero::before {
    content: "";
    position: absolute;
    top: -46%; left: 50%;
    width: min(940px, 150vw); aspect-ratio: 1 / 0.7;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 45%, var(--glow-1), transparent 66%);
    z-index: -1;
    pointer-events: none;
}
.legal-hero-inner { max-width: 62ch; }

.legal-breadcrumb {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: var(--text-3);
    margin-bottom: clamp(18px, 3.4vw, 26px);
}
.legal-breadcrumb a { color: var(--accent); transition: opacity 200ms ease; }
@media (hover: hover) { .legal-breadcrumb a:hover { opacity: 0.75; } }

.legal-hero h1 {
    font-size: clamp(2.2rem, 8.4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.036em;
    line-height: 1.06;
    margin-bottom: 20px;
}

.legal-hero-sub {
    font-size: clamp(1rem, 3.9vw, 1.12rem);
    line-height: 1.56;
    color: var(--text-2);
    max-width: 56ch;
    text-wrap: pretty;
}

.legal-meta {
    margin-top: clamp(24px, 4.4vw, 34px);
    padding: clamp(15px, 3vw, 20px) clamp(16px, 3.2vw, 22px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--accent-soft), transparent 52%), var(--card);
    box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge);
    font-size: 0.86rem;
    line-height: 1.72;
    color: var(--text-2);
}

.legal-content { padding-bottom: clamp(70px, 12vw, 120px); }
.legal-content .container { max-width: min(860px, 100% - (var(--gut) * 2)); }

.legal-section {
    padding-top: clamp(34px, 6vw, 52px);
    margin-top: clamp(34px, 6vw, 52px);
    border-top: 1px solid var(--line);
}
.legal-section:first-of-type { border-top: 0; margin-top: 0; }

.legal-section h2 {
    font-size: clamp(1.24rem, 4.6vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.032em;
    line-height: 1.16;
    margin-bottom: 16px;
}
.legal-section h3 {
    font-size: clamp(1rem, 3.8vw, 1.1rem);
    font-weight: 600;
    letter-spacing: -0.024em;
    margin: 28px 0 10px;
}
.legal-section p,
.legal-section li {
    font-size: 0.98rem;
    line-height: 1.68;
    color: var(--text-2);
    text-wrap: pretty;
}
.legal-section p { margin-bottom: 14px; max-width: 68ch; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
    display: grid;
    gap: 9px;
    margin: 4px 0 18px;
    padding-left: 4px;
}
.legal-section li {
    position: relative;
    padding-left: 20px;
    max-width: 66ch;
}
.legal-section li::before {
    content: "";
    position: absolute;
    left: 2px; top: 0.66em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.75;
}

.legal-section a,
.legal-links a {
    color: var(--accent);
    border-bottom: 1px solid var(--accent-line);
    transition: border-color 200ms ease, opacity 200ms ease;
}
@media (hover: hover) {
    .legal-section a:hover, .legal-links a:hover { border-color: var(--accent); opacity: 0.85; }
}

.legal-links { font-size: 0.92rem; color: var(--text-3); }

.legal-footer-links {
    margin-top: clamp(44px, 8vw, 70px);
    padding-top: clamp(26px, 5vw, 36px);
    border-top: 1px solid var(--line);
}
.legal-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    box-shadow: inset 0 1px 0 var(--edge);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    transition: transform 240ms var(--ease), border-color 240ms ease;
}
.legal-footer-links a::before { content: "←"; opacity: 0.6; }
@media (hover: hover) { .legal-footer-links a:hover { transform: translateY(-2px); border-color: var(--accent); } }
