/* =========================================================
   Betty — Landing
   Dusk sky · quiet grotesk · one serif accent
   References: Tana (frosted lilac calm), Delphi (clean profiles),
   Revolut (scroll-driven device choreography)
   ========================================================= */

:root {
    --bg: #08070D;
    --bg-2: #0E0C18;
    --surface: #12101D;
    --ink: #F5F3FA;
    --muted: rgba(245, 243, 250, 0.64);
    --dim: rgba(245, 243, 250, 0.4);
    --line: rgba(255, 255, 255, 0.1);
    --line-2: rgba(255, 255, 255, 0.18);
    --lilac: #B9A8F7;
    --coral: #F4686C;

    --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --logo: 'DM Serif Display', Georgia, serif;

    /* in-app UI (recreated screens) */
    --a-bg: #0A0A0A;
    --a-ink: #F4F1EA;
    --a-mute: #8C8983;
    --a-card: #161615;
    --a-line: rgba(255, 255, 255, 0.09);
    --a-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --a-serif: 'Newsreader', Georgia, serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --gutter: clamp(20px, 4vw, 48px);
    --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    background: var(--bg); color: var(--ink);
    font-family: var(--sans); font-size: 16px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.08em; color: var(--lilac); }
::selection { background: var(--lilac); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 8px; }

.logo { font-family: var(--logo); font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.kicker { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); margin-bottom: 16px; }
.h2 { font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.2rem); text-wrap: pretty; }
[data-ico] svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
[data-sh] { position: relative; isolation: isolate; }
[data-sh] > svg.sh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background 0.3s, transform 0.4s var(--ease); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #fff; transform: scale(1.04); }

.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 11px 22px 11px 18px; border-radius: 16px;
    background: var(--ink); color: #0B0A12;
    transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.store-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 50px -14px rgba(185, 168, 247, 0.7); }
.store-btn:active { transform: scale(0.98); }
.store-btn__icon { width: 24px; height: 26px; flex: none; }
.store-btn__text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.store-btn__text small { font-weight: 500; font-size: 11px; letter-spacing: 0; opacity: 0.6; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- nav (floating pill) ---------- */
.nav { position: fixed; inset: 14px 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.nav__bar {
    pointer-events: auto; width: 100%; max-width: 900px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 8px 8px 8px 24px; border-radius: 999px;
    background: rgba(18, 16, 30, 0.5); border: 1px solid var(--line);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.4s, border-color 0.4s, max-width 0.6s var(--ease);
}
.js .nav__bar { animation: nav-in 1s var(--ease) both; animation-delay: 0.1s; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-24px); } }
.nav.is-scrolled .nav__bar { background: rgba(18, 16, 30, 0.78); border-color: var(--line-2); max-width: 800px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.25s, background 0.25s; }
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }

/* ---------- stage ---------- */
.stage { position: relative; height: 600vh; }
.stage__anchor { position: absolute; top: 150vh; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; z-index: 6; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.stage__pin {
    position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
    background: radial-gradient(120% 70% at 50% 110%, #1B1535 0%, rgba(27, 21, 53, 0) 60%), var(--bg);
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; }

.horizon {
    position: absolute; left: 50%; top: 84%; width: max(1500px, 190vw); aspect-ratio: 1; border-radius: 50%;
    translate: -50% 0;
    background: radial-gradient(circle at 50% 0%, #17122C 0%, var(--bg) 22%);
    box-shadow:
        0 0 0 1px rgba(214, 203, 255, 0.4),
        0 -6px 24px rgba(255, 214, 190, 0.28),
        0 -30px 110px rgba(150, 124, 255, 0.42),
        0 -90px 260px 30px rgba(92, 78, 220, 0.28);
    will-change: transform;
}

/* constellation: each person is the shape of their circle, with their name beside it */
.nodes { position: absolute; inset: 0; z-index: 3; }
.node {
    --s: 30px;
    position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    cursor: grab; user-select: none; -webkit-user-select: none; will-change: transform, opacity;
    -webkit-tap-highlight-color: transparent;
}
.node::before {
    content: ""; position: absolute; inset: -70%; border-radius: 50%; z-index: -2;
    background: radial-gradient(circle, var(--cc) 0%, transparent 60%); opacity: calc(0.3 * var(--g, 1));
    transition: opacity 0.4s;
}
.node::after {
    content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--cc);
    opacity: 0; scale: 0.7; transition: opacity 0.35s, scale 0.5s var(--spring);
}
.node > svg.sh { transition: rotate 0.9s var(--spring); }
.node.is-active::before { opacity: 0.7; }
.node.is-active::after { opacity: 0.75; scale: 1; }
.node.is-active > svg.sh { rotate: 18deg; }
.node.is-drag { cursor: grabbing; }
.node__name {
    position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%; pointer-events: none;
    font-size: 13px; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: var(--muted);
    opacity: var(--l, 1); transition: color 0.3s;
    text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg), 0 0 22px var(--bg);   /* keeps names legible over the lines */
}
.node--left .node__name { left: auto; right: calc(100% + 10px); }
.node--big .node__name { font-size: 15px; color: var(--ink); }
.node--small .node__name { font-size: 12px; color: var(--dim); }
.node.is-active .node__name { opacity: 0; }
.node__name small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--dim); }
.node--left .node__name { text-align: right; }
/* caption of each constellation: the circle it belongs to */
.clabel { position: absolute; font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; color: var(--cc); opacity: calc(0.9 * var(--cl, 0)); pointer-events: none; }
.clabel--right { translate: -100% 0; }

.tip {
    position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none;
    padding: 10px 14px 11px; border-radius: 16px; white-space: nowrap;
    background: rgba(22, 19, 36, 0.72); border: 1px solid var(--line-2);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
    opacity: 0; transition: opacity 0.25s;
}
.tip.is-on { opacity: 1; }
.tip b { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.tip span { margin-left: 8px; font-size: 12px; color: var(--dim); }
.tip p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.tip p::before { content: "✦"; margin-right: 6px; color: var(--lilac); font-size: 11px; }

/* hero */
.hero { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; will-change: transform, opacity; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }
.hero__title { font-weight: 500; font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.hero__sub { margin-top: 22px; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 31em; text-wrap: balance; }
.hero__cta { margin-top: 32px; pointer-events: auto; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.04em 0.14em; margin: -0.06em -0.04em -0.14em; }
[data-split] .wi { display: inline-block; }
.js .hero__title .wi { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 200ms); }
.js .hero__sub, .js .hero__cta { animation: fade-up 1s var(--ease) both; animation-delay: 0.85s; }
.js .hero__cta { animation-delay: 1s; }
@keyframes rise { from { transform: translateY(115%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.hint { position: absolute; left: 50%; bottom: 22px; z-index: 4; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.hint span { position: absolute; inset: 0; background: var(--ink); animation: hint 2s var(--ease) infinite; }
@keyframes hint { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* device */
.device {
    --w: min(24vw, calc((100svh - 150px) * 0.4905), 330px);
    position: absolute; left: 50%; top: 53%; z-index: 2; width: var(--w);
    translate: -50% -50%; pointer-events: none;
}
.js .device { opacity: 0; }
.phone {
    position: relative; width: 100%; aspect-ratio: 720 / 1468; overflow: hidden;
    border-radius: calc(var(--w) * 0.14); border: calc(var(--w) * 0.022) solid #0C0B13;
    background: var(--a-bg);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.26), 0 50px 140px -30px rgba(128, 104, 255, 0.5);
}

/* captions */
.caps { position: absolute; z-index: 4; top: 50%; left: max(var(--gutter), calc(50% - 590px)); width: min(350px, 26vw); pointer-events: none; }
.cap { position: absolute; left: 0; right: 0; top: 0; translate: 0 -50%; opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), filter 0.5s; }
.cap__n { display: block; font-size: 13px; color: var(--lilac); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.cap h2 { font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.cap p { margin: 14px 0 18px; color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.show-caps[data-beat="0"] .cap[data-cap="0"],
.show-caps[data-beat="1"] .cap[data-cap="1"],
.show-caps[data-beat="2"] .cap[data-cap="2"],
.show-caps[data-beat="3"] .cap[data-cap="3"] { opacity: 1; transform: none; filter: none; }

.ticks { position: absolute; z-index: 4; top: 50%; right: max(var(--gutter), calc(50% - 590px)); translate: 0 -50%; display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity 0.5s; }
.show-caps .ticks { opacity: 1; }
.ticks li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 14px; color: var(--dim); transition: color 0.4s; }
.ticks li::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width 0.6s var(--ease); }
[data-beat="0"] .ticks [data-tick="0"], [data-beat="1"] .ticks [data-tick="1"], [data-beat="2"] .ticks [data-tick="2"], [data-beat="3"] .ticks [data-tick="3"] { color: var(--ink); }
[data-beat="0"] .ticks [data-tick="0"]::after, [data-beat="1"] .ticks [data-tick="1"]::after, [data-beat="2"] .ticks [data-tick="2"]::after, [data-beat="3"] .ticks [data-tick="3"]::after { width: 44px; }

/* =========================================================
   In-app UI — the app's screens rebuilt in HTML (example data).
   1em = 10px on a 360px-wide screen; everything scales with the phone.
   ========================================================= */
.screens { position: absolute; inset: 0; container-type: inline-size; }
.screen {
    position: absolute; inset: 0; overflow: hidden; background: var(--a-bg); color: var(--a-ink);
    font-family: var(--a-sans); line-height: 1.3; text-align: left;
    font-size: calc(var(--w) / 37.7); font-size: calc(100cqw / 36);
    opacity: 0; transform: translateY(6%) scale(1.03);
    transition: opacity 0.55s var(--ease), transform 0.9s var(--ease);
}
.screen.is-on { opacity: 1; transform: none; }
.screen.is-past { transform: translateY(-5%) scale(0.98); }
html:not(.js) .screen[data-shot="0"] { opacity: 1; transform: none; }
.screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9em; background: linear-gradient(transparent, var(--a-bg) 70%); pointer-events: none; }

.a-pad { padding: 2.4em 1.8em 0; }
.a-h { font-family: var(--a-serif); font-weight: 600; font-size: 2.15em; line-height: 1.08; letter-spacing: -0.012em; }
.a-sub { font-size: 1.15em; color: var(--a-mute); margin-top: 0.35em; }
.a-sub--lg { font-size: 1.35em; }
.a-gap { margin-top: 1.25em; }
.a-between { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.a-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 2.4em; }

.a-date { display: flex; align-items: center; gap: 1.8em; margin-top: 1.3em; padding: 1.5em 1.6em 1.5em 2.6em; }
.a-date__d { display: flex; flex-direction: column; align-items: center; font-family: var(--a-serif); font-weight: 500; font-size: 2.4em; line-height: 0.9; }
.a-date__d small { font-family: var(--a-sans); font-size: 0.38em; font-weight: 500; letter-spacing: 0.14em; color: var(--a-mute); margin-top: 0.7em; }
.a-date__who { display: flex; flex-direction: column; font-size: 1.55em; font-weight: 500; line-height: 1.25; }
.a-date__who small { font-size: 0.74em; font-weight: 400; color: var(--a-mute); }
.a-badge { margin-left: auto; padding: 0.38em 0.95em; border-radius: 99px; background: linear-gradient(180deg, #F2545B, #F68C7C); color: #1B0D0E; font-weight: 600; font-size: 1.15em; white-space: nowrap; animation: badge 2.4s var(--ease) infinite; }
@keyframes badge { 50% { box-shadow: 0 0 0 0.5em rgba(242, 84, 91, 0); } 0% { box-shadow: 0 0 0 0 rgba(242, 84, 91, 0.45); } }

.a-cluster { position: relative; height: 24em; margin: 1em 0 1.6em; }
.a-shape { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #1A1408; line-height: 1.1; }
.a-shape b { font-size: 1.55em; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.a-shape span { font-size: 1.05em; font-weight: 500; opacity: 0.78; }
.js .a-shape { scale: 0; transition: scale 0.9s var(--spring); transition-delay: calc(var(--i) * 70ms); }
.js .is-formed .a-shape { scale: 1; }

.a-sort { margin-top: 0.4em; padding: 0.6em 1.1em; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); font-size: 1.15em; font-weight: 600; color: #C9C5BD; white-space: nowrap; }
.a-chips { display: flex; gap: 0.7em; margin-top: 1.2em; overflow: hidden; }
.a-chips span { padding: 0.72em 1.3em; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); font-size: 1.2em; font-weight: 600; color: #C9C5BD; white-space: nowrap; transition: background 0.4s, color 0.4s, scale 0.4s var(--spring); }
.a-chips i { font-style: normal; font-weight: 400; color: var(--a-mute); margin-left: 0.3em; }
.a-chips .is-on { background: var(--a-ink); color: #111; scale: 1.04; }
.a-chips .is-on i { color: #555; }

.a-tabbar {
    position: absolute; left: 2.2em; right: 2.2em; bottom: 1.3em; z-index: 3; height: 6.4em; padding: 0.6em;
    display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch;
    border-radius: 3.2em; background: rgba(22, 22, 21, 0.94); border: 1px solid rgba(255, 255, 255, 0.1);
}
.a-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25em; border-radius: 2.6em; color: var(--a-mute); }
.a-tab b { font-size: 1.02em; font-weight: 500; }
.a-tab i { width: 2em; height: 2em; display: block; }
.a-tab.is-on { background: rgba(255, 255, 255, 0.09); color: var(--a-ink); }
.a-tab.is-on b { font-weight: 600; }
.a-tab u { position: absolute; top: 1em; left: 58%; width: 0.7em; height: 0.7em; border-radius: 50%; background: #F2545B; }

.a-top { align-items: center; }
.a-me { width: 4.2em; height: 4.2em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #C9B8FF, #8E7BE8); color: #15121F; font-family: var(--a-serif); font-weight: 600; }
.a-me b { font-size: 1.9em; }
.a-iconbtn { width: 4.2em; height: 4.2em; flex: none; padding: 1.15em; border-radius: 50%; background: var(--a-card); border: 1px solid var(--a-line); color: #D8D4CC; }
.a-hello { font-family: var(--a-serif); font-weight: 600; font-size: 3.5em; line-height: 1.05; letter-spacing: -0.02em; margin-top: 0.42em; }
.a-week { display: grid; grid-template-columns: repeat(7, 1fr); margin: 1.5em -0.4em 0; text-align: center; }
.a-week li { position: relative; padding: 0.9em 0 1.1em; border-radius: 1.5em; border: 1px solid transparent; font-size: 1.5em; color: #B9B5AD; display: flex; flex-direction: column; gap: 0.5em; }
.a-week small { font-size: 0.72em; color: var(--a-mute); }
.a-week .is-on { background: var(--a-card); border-color: rgba(255, 255, 255, 0.16); color: var(--a-ink); font-weight: 600; }
.a-week i { position: absolute; bottom: 0.25em; left: 50%; width: 0.38em; height: 0.38em; margin-left: -0.19em; border-radius: 50%; background: #F2545B; }
.a-search { display: flex; align-items: center; gap: 1em; margin-top: 1.2em; padding: 0 1.4em; height: 3.7em; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); color: var(--a-mute); font-size: 1.24em; white-space: nowrap; overflow: hidden; }
.a-search [data-ico] { width: 1.4em; height: 1.4em; flex: none; }

.a-pin { position: relative; overflow: hidden; width: 21.2em; height: 15.6em; margin-top: 1.3em; padding: 1.8em; display: flex; flex-direction: column; }
.a-pin__top { display: flex; align-items: center; gap: 1em; }
.a-pin__top small { font-size: 0.95em; font-weight: 600; letter-spacing: 0.12em; color: var(--a-mute); }
.a-pin__name { margin-top: auto; font-family: var(--a-serif); font-weight: 600; font-size: 2.5em; line-height: 1; }
.a-pin em { font-family: var(--a-serif); font-style: italic; font-weight: 500; font-size: 1.65em; letter-spacing: 0; color: #F26A6E; position: relative; z-index: 1; }
.a-pin__blob { position: absolute; right: -1.2em; bottom: -2em; width: 8.6em; height: 8em; }
.a-av { width: 4.4em; height: 4.4em; flex: none; display: grid; place-items: center; color: #1A1408; }
.a-av b { font-family: var(--a-serif); font-weight: 600; font-size: 1.75em; letter-spacing: -0.02em; }
.a-av--sm { width: 3em; height: 3em; }
.a-av--sm b { font-size: 1.15em; }

.a-pad--list { padding-top: 3.4em; }
.a-list { margin-top: 1.3em; }
.a-list li {
    display: flex; align-items: center; gap: 1.6em; height: 7.2em; padding: 0 1.8em 0 1.6em; margin-bottom: 0.95em; overflow: hidden;
    background: var(--a-card); border: 1px solid var(--a-line); border-radius: 2.8em;
    transition: height 0.6s var(--ease), margin 0.6s var(--ease), opacity 0.4s, scale 0.6s var(--ease), border-color 0.4s;
}
.a-list li.is-out { height: 0; margin-bottom: 0; opacity: 0; scale: 0.96; border-color: transparent; }
.a-list .a-av { position: relative; }
.a-list .a-av u { position: absolute; right: 0; bottom: 0.1em; width: 0.85em; height: 0.85em; border-radius: 50%; background: #F2545B; box-shadow: 0 0 0 0.2em var(--a-card); }
.a-list .a-av u.ok { background: #35C283; }
.a-list__txt { display: flex; flex-direction: column; min-width: 0; }
.a-list__txt b { font-size: 1.62em; font-weight: 500; white-space: nowrap; }
.a-list__txt small { font-size: 1.2em; color: var(--a-mute); white-space: nowrap; }
.a-list__more { margin-left: auto; color: var(--a-mute); font-size: 1.4em; letter-spacing: 0.1em; }

/* chat */
.screen--chat { background: linear-gradient(180deg, #13121C 0%, var(--a-bg) 34%); }
.screen--chat .a-pad { padding-top: 1.6em; height: 100%; display: flex; flex-direction: column; }
.c-head { display: flex; align-items: center; gap: 0.8em; }
.c-head .a-iconbtn { width: 3.6em; height: 3.6em; padding: 1em; }
.c-head .a-av { width: 3.6em; height: 3.6em; margin-left: 0.4em; }
.c-head__who { flex: 1; min-width: 0; display: flex; flex-direction: column; font-family: var(--a-serif); font-weight: 600; font-size: 1.9em; line-height: 1.1; }
.c-head__who small { font-family: var(--a-sans); font-weight: 400; font-size: 0.6em; color: var(--a-mute); white-space: nowrap; overflow: hidden; }
.c-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.3em; padding: 0.4em; border-radius: 99px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--a-line); }
.c-tabs span { display: flex; align-items: center; justify-content: center; gap: 0.6em; padding: 0.75em 0; border-radius: 99px; font-size: 1.3em; font-weight: 600; color: var(--a-mute); }
.c-tabs .is-on { background: rgba(255, 255, 255, 0.08); color: var(--a-ink); }
.c-tabs i { width: 1.2em; height: 1.2em; }
.c-tabs b { font-weight: 500; }
.c-intro { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 2.8em; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.c-intro.is-gone { opacity: 0; transform: translateY(-1.6em) scale(0.97); position: absolute; left: 1.8em; right: 1.8em; pointer-events: none; }
.c-tile { width: 5.6em; height: 5.6em; padding: 1.5em; border-radius: 1.6em; background: linear-gradient(160deg, #2C2742, #1B1929); color: #A995F5; margin-bottom: 1.8em; }
.c-intro .a-h { font-size: 2.5em; }
.c-intro .a-sub { font-size: 1.3em; margin-top: 0.7em; }
.c-label { align-self: flex-start; margin: 2.4em 0 1em 0.3em; font-size: 1.05em; font-weight: 600; letter-spacing: 0.1em; color: var(--a-mute); }
.c-prompt { align-self: stretch; display: flex; align-items: center; justify-content: space-between; height: 3.25em; padding: 0 1.2em; margin-bottom: 0.7em; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); font-size: 1.4em; text-align: left; white-space: nowrap; transition: scale 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.c-prompt i { width: 1em; height: 1em; color: #A995F5; flex: none; }
.c-prompt.is-press { scale: 0.96; background: #24223A; border-color: rgba(169, 149, 245, 0.5); }
.c-log { display: flex; flex-direction: column; gap: 0.9em; margin-top: 2em; }
.c-bubble { max-width: 86%; padding: 0.75em 1em; border-radius: 1.35em; font-size: 1.38em; line-height: 1.4; animation: pop 0.5s var(--spring) both; }
.c-bubble--me { align-self: flex-end; background: var(--a-ink); color: #111; border-bottom-right-radius: 0.4em; }
.c-bubble--betty { align-self: flex-start; background: #1D1C28; border: 1px solid rgba(169, 149, 245, 0.22); border-bottom-left-radius: 0.4em; }
.c-bubble--betty small { display: flex; align-items: center; gap: 0.4em; font-size: 0.78em; font-weight: 600; color: #A995F5; margin-bottom: 0.25em; }
.c-bubble--betty small i { width: 1.1em; height: 1.1em; }
@keyframes pop { from { opacity: 0; transform: translateY(0.8em) scale(0.96); } }
.typing { display: inline-flex; gap: 0.35em; padding: 0.35em 0; }
.typing i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--a-mute); animation: bounce 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-0.35em); opacity: 1; } }
.c-composer { position: absolute; left: 1.8em; right: 1.8em; bottom: 1.6em; z-index: 3; display: flex; align-items: center; gap: 0.8em; }
.c-composer span { flex: 1; display: flex; align-items: center; height: 3.2em; padding: 0 1.2em; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); color: var(--a-mute); font-size: 1.4em; white-space: nowrap; overflow: hidden; }
.c-composer i { width: 4.4em; height: 4.4em; padding: 1.3em; flex: none; border-radius: 50%; background: var(--a-card); border: 1px solid var(--a-line); color: var(--a-mute); }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -0.12em; background: #A995F5; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* instruction sheet (feature card) */
.screen--sheet { background: #050505; }
.screen--sheet::after { display: none; }
.i-sheet { position: absolute; inset: 2.2em 0 0 0; padding: 1.2em 2em 0; border-radius: 3em 3em 0 0; background: #1A1A19; }
.i-grab { display: block; width: 3.6em; height: 0.36em; margin: 0 auto 1.6em; border-radius: 9px; background: rgba(255, 255, 255, 0.22); }
.i-sheet .a-h { font-size: 2.3em; }
.i-sheet .a-iconbtn { width: 3.2em; height: 3.2em; padding: 0.95em; background: #0F0F0E; }
.i-sheet > .a-sub { font-size: 1.28em; margin-top: 0.6em; }
.i-label { display: block; margin: 1.5em 0 0.8em; font-size: 1.28em; font-weight: 600; }
.i-area { position: relative; min-height: 7.6em; padding: 1.2em 1.4em; border-radius: 1.8em; background: #0F0F0E; border: 1px solid var(--a-line); font-size: 1.3em; line-height: 1.45; }
.i-ph { position: absolute; inset: 1.2em 1.4em auto; color: #5E5C57; transition: opacity 0.3s; }
.i-area.is-typed .i-ph { opacity: 0; }
.i-area .caret { opacity: 0; animation: none; }
.i-area.is-typed .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
.i-sheet > .a-sub + .i-chips, .i-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7em; margin-top: 0.9em; }
.i-chips span { padding: 0.5em 1em; border-radius: 99px; border: 1px solid var(--a-line); font-size: 1.22em; color: #B9B5AD; white-space: nowrap; transition: background 0.4s, color 0.4s, border-color 0.4s, scale 0.5s var(--spring); }
.i-chips span::before { content: "+ "; }
.i-chips span.is-on { background: rgba(169, 149, 245, 0.16); border-color: rgba(169, 149, 245, 0.55); color: #D9CFFF; scale: 1.04; }
.i-chips span.is-on::before { content: "✓ "; }
.i-save { position: absolute; left: 2em; right: 2em; bottom: 1.8em; height: 3.5em; display: flex; align-items: center; justify-content: center; gap: 0.6em; border-radius: 99px; background: var(--a-ink); color: #111; font-size: 1.45em; font-weight: 600; }
.i-save i { width: 1.2em; height: 1.2em; }

/* ---------- why ---------- */
.why { padding: clamp(60px, 10vh, 120px) var(--gutter) 0; text-align: center; }
.why__head { max-width: 900px; margin: 0 auto clamp(40px, 7vh, 80px); }
.focus { display: flex; flex-direction: column; align-items: center; gap: 0.1em; }
.focus li {
    font-weight: 500; font-size: clamp(1.5rem, 4.4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.22;
    opacity: calc(0.14 + 0.86 * var(--k, 1)); filter: blur(calc((1 - var(--k, 1)) * 7px));
    scale: calc(0.94 + 0.06 * var(--k, 1)); will-change: filter, opacity;
}
.statement { max-width: 980px; margin: 0 auto; padding: clamp(90px, 18vh, 200px) 0 clamp(100px, 18vh, 200px); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.statement .fw { opacity: var(--o, 1); transition: opacity 0.2s linear; }

/* ---------- stories ---------- */
.stories { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); }
.stories__head { margin-bottom: clamp(32px, 5vw, 56px); }
.stories__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.story { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.4s; }
.story::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: var(--cc); filter: blur(100px); opacity: 0.22; transition: opacity 0.6s; }
.story:hover { border-color: var(--line-2); }
.story:hover::before { opacity: 0.42; }
.story__tag { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; font-size: 13px; letter-spacing: 0.02em; color: var(--muted); }
.story__tag i { width: 22px; height: 22px; display: block; transition: rotate 0.9s var(--spring), scale 0.6s var(--spring); }
.story:hover .story__tag i { rotate: 16deg; scale: 1.15; }
.story h3 { font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.story--main h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.04em; }
.story > p { margin: 12px 0 26px; color: var(--muted); text-wrap: pretty; }
.story__notes { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: auto 0 16px; }
.story__notes li { padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 14px; rotate: var(--r, 0deg); transition: rotate 0.7s var(--spring), margin 0.7s var(--spring), opacity 0.6s var(--ease), translate 0.8s var(--spring); }
.story__notes li:nth-child(1) { --r: -2deg; --n: 0; }
.story__notes li:nth-child(2) { --r: 1.6deg; --n: 1; margin-left: 22px; }
.story__notes li:nth-child(3) { --r: -1.2deg; --n: 2; margin-left: 6px; }
.story__notes li:nth-child(4) { --r: 2deg; --n: 3; margin-left: 30px; }
.story:hover .story__notes li { rotate: 0deg; margin-left: 0; }
.story__betty { --n: 4; padding: 12px 14px 13px; border-radius: 16px; background: rgba(185, 168, 247, 0.12); border: 1px solid rgba(185, 168, 247, 0.3); font-size: 14px; line-height: 1.4; transition: opacity 0.6s var(--ease), translate 0.8s var(--spring); }
.story__betty b { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-weight: 500; font-size: 12px; color: var(--lilac); }
.story__betty i { width: 14px; height: 14px; }
.js .story .story__notes li, .js .story .story__betty { opacity: 0; translate: 0 16px; }
.js .story.in .story__notes li, .js .story.in .story__betty { opacity: 1; translate: 0 0; transition-delay: calc(var(--n) * 150ms + 350ms); }

/* ---------- versus ---------- */
.versus { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.versus .lead { margin-top: 18px; max-width: 28em; }
.checks { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; background: rgba(185, 168, 247, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11.4 3 3 6-6.6' fill='none' stroke='%23B9A8F7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.versus__card { position: relative; overflow: hidden; isolation: isolate; min-height: 430px; padding: 22px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.versus__card::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; bottom: -260px; border-radius: 50%; background: #6F6C7A; filter: blur(110px); opacity: 0.22; transition: background 0.8s, opacity 0.8s; }
.versus__card[data-mode="con"]::before { background: #8E78FF; opacity: 0.5; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.switch button { position: relative; z-index: 1; padding: 10px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.4s; }
.switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform 0.6s var(--spring); }
[data-mode="con"] .switch__thumb { transform: translateX(100%); }
[data-mode="sin"] .switch [data-set="sin"], [data-mode="con"] .switch [data-set="con"] { color: var(--bg); }
.threads { display: grid; margin-top: 26px; }
.thread { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; }
.thread > * { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.3s, transform 0.3s; }
.thread > :nth-child(1) { --i: 0; } .thread > :nth-child(2) { --i: 1; } .thread > :nth-child(3) { --i: 2; } .thread > :nth-child(4) { --i: 3; } .thread > :nth-child(5) { --i: 4; }
[data-mode="sin"] [data-thread="sin"] > *, [data-mode="con"] [data-thread="con"] > * { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--spring); transition-delay: calc(var(--i) * 280ms + 250ms); }
.thread__day, .thread__meta { align-self: center; font-size: 12px; color: var(--dim); }
.thread__meta { align-self: flex-start; }
.msg { max-width: 82%; padding: 11px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.msg--them { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.msg--betty { max-width: none; background: rgba(185, 168, 247, 0.12); border: 1px solid rgba(185, 168, 247, 0.32); border-radius: 18px; }
.msg--betty b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12px; color: var(--lilac); margin-bottom: 4px; }
.msg--betty i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 400 12px/1 var(--logo); }

/* ---------- circles ---------- */
.circles { padding: 0 var(--gutter) clamp(90px, 14vh, 160px); text-align: center; }
.circles__head .lead { margin-top: 16px; }
.circles__shapes { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(6px, 2vw, 26px); margin: clamp(34px, 5vw, 56px) auto clamp(26px, 4vw, 44px); }
.cshape { width: clamp(88px, 11.5vw, 138px); aspect-ratio: 1; display: grid; place-items: center; color: #17130A; font-weight: 600; font-size: clamp(0.82rem, 1.15vw, 1.02rem); opacity: 0.55; scale: 0.86; filter: saturate(0.7); transition: scale 0.7s var(--spring), opacity 0.4s, filter 0.4s; animation: bob 6s ease-in-out infinite; }
.cshape:nth-child(2) { animation-delay: -1.2s; } .cshape:nth-child(3) { animation-delay: -2.6s; } .cshape:nth-child(4) { animation-delay: -3.8s; } .cshape:nth-child(5) { animation-delay: -5s; }
@keyframes bob { 50% { translate: 0 -9px; } }
.cshape > svg.sh { transition: rotate 1.1s var(--spring); }
.cshape:hover { opacity: 0.8; scale: 0.92; filter: none; }
.cshape.is-on { opacity: 1; scale: 1.1; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--cc) 55%, transparent)); }
.cshape.is-on > svg.sh { rotate: 12deg; }
.circles__panel { position: relative; overflow: hidden; isolation: isolate; max-width: 640px; margin: 0 auto; padding: 34px 30px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.circles__panel::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 460px; height: 320px; translate: -50% 0; border-radius: 50%; background: var(--cc, #F5A623); filter: blur(90px); opacity: 0.3; transition: background 0.7s; }
.circles__panel h3 { font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; }
.circles__panel p { margin: 10px auto 20px; max-width: 30em; color: var(--muted); font-size: 1.06rem; text-wrap: balance; }
.circles__panel .pills { justify-content: center; }
.circles__panel > * { transition: opacity 0.3s, transform 0.5s var(--ease); }
.circles__panel.is-swap > * { opacity: 0; transform: translateY(10px); transition-duration: 0.18s; }

/* ---------- features ---------- */
.features { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); }
.features__head { margin-bottom: clamp(32px, 5vw, 56px); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card {
    --mx: 50%; --my: 0%;
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; padding: 26px; min-height: 250px;
    border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
    transition: border-color 0.4s;
}
.card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(185, 168, 247, 0.16), transparent 60%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card__icon { width: 42px; height: 42px; padding: 10px; margin-bottom: 20px; border-radius: 13px; background: rgba(185, 168, 247, 0.12); color: var(--lilac); transition: transform 0.6s var(--spring); }
.card:hover .card__icon { transform: scale(1.1) rotate(-6deg); }
.card h3 { font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; text-wrap: pretty; margin-bottom: 18px; }

.card--wide { grid-column: span 2; grid-row: span 2; flex-direction: row; gap: 20px; padding: 32px 0 0 32px; min-height: 514px; background: radial-gradient(90% 80% at 100% 100%, rgba(128, 104, 255, 0.2), transparent 65%), var(--surface); }
.card--wide .card__copy { flex: 1 1 50%; padding-bottom: 32px; display: flex; flex-direction: column; }
.card--wide h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.05; }
.card--wide p { margin-bottom: 22px; font-size: 1.02rem; }
.card--wide .pills { margin-top: auto; }
.card--wide .pills li { white-space: normal; }
.card__phone { --w: 250px; position: relative; flex: 0 0 var(--w); align-self: flex-end; margin-right: 26px; height: 452px; border-radius: 30px 30px 0 0; overflow: hidden; border: 6px solid #0C0B13; border-bottom: 0; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2); transition: transform 0.9s var(--ease); transform: translateY(22px); }
.card--wide:hover .card__phone { transform: none; }

.mini { margin-top: auto; font-size: 13px; }
.mini--tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.mini--tabs span { flex: 1; text-align: center; padding: 7px 8px; border-radius: 999px; color: var(--dim); white-space: nowrap; }
.mini--tabs .is-on { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.mini--tabs b { font-weight: 500; color: var(--lilac); margin-left: 2px; }
.mini--date, .mini--pin { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.mini__day { display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-size: 24px; line-height: 0.95; }
.mini__day small, .mini__who small { font-family: var(--sans); font-size: 10px; letter-spacing: 0.08em; color: var(--dim); }
.mini__who { display: flex; flex-direction: column; font-weight: 500; line-height: 1.2; }
.mini__who small { font-size: 12px; letter-spacing: 0; font-weight: 400; }
.mini__badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: linear-gradient(180deg, var(--coral), #F58A7A); color: #1A0D0F; font-weight: 600; font-size: 12px; white-space: nowrap; }
.mini--pin i { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #FFD3B5; color: #15121F; font-style: normal; font-weight: 600; font-size: 13px; }
.mini--pin span { display: flex; flex-direction: column; font-weight: 500; line-height: 1.15; }
.mini--pin em { font-size: 15px; color: var(--coral); }
.mini--tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mini--tags span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ---------- steps ---------- */
.steps { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); }
.steps__head { margin-bottom: clamp(36px, 5vw, 60px); }
.steps__list { --p: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps__list::before, .steps__list::after { content: ""; position: absolute; top: 22px; left: 22px; right: calc(33.33% - 40px); height: 1px; background: var(--line-2); }
.steps__list::after { background: linear-gradient(90deg, var(--lilac), #F7C7DD); transform: scaleX(var(--p)); transform-origin: left; box-shadow: 0 0 14px rgba(185, 168, 247, 0.8); }
.steps__n { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-weight: 500; color: var(--muted); transition: background 0.5s, color 0.5s, border-color 0.5s, scale 0.6s var(--spring), box-shadow 0.5s; }
.steps__list li.is-on .steps__n { background: var(--ink); color: var(--bg); border-color: var(--ink); scale: 1.1; box-shadow: 0 0 0 6px rgba(185, 168, 247, 0.16); }
.steps__list h3 { font-weight: 500; font-size: 1.4rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.steps__list p { color: var(--muted); max-width: 22em; }
.steps__list li > :not(.steps__n) { opacity: 0.45; transition: opacity 0.6s; }
.steps__list li.is-on > * { opacity: 1; }

/* ---------- faq ---------- */
.faq { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, transform 0.6s var(--spring); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 0.4s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item summary:hover .faq__plus { background: rgba(255, 255, 255, 0.08); }
.faq__item[open] .faq__plus { background: var(--ink); color: var(--bg); transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 48px 24px 0; color: var(--muted); max-width: 40em; }
.faq__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.faq__body a:hover { text-decoration-color: var(--lilac); }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; min-height: 86svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 80px var(--gutter) 24vh; }
.cta__title { position: relative; font-weight: 500; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.cta__sub { position: relative; color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.2rem); margin-bottom: 14px; }
.cta .store-btn { position: relative; }
.horizon--cta { top: 76%; }
.cta__orbit { position: absolute; left: 50%; top: 46%; width: min(980px, 130vw); aspect-ratio: 2.4; translate: -50% -50%; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; pointer-events: none; }
.cta__orbit i { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 22px 2px var(--c); offset-path: ellipse(50% 50% at 50% 50%); offset-rotate: 0deg; animation: orbit 34s linear infinite; }
.cta__orbit i:nth-child(1) { --c: #C9B8FF; }
.cta__orbit i:nth-child(2) { --c: #FFD3B5; animation-delay: -6s; width: 11px; height: 11px; }
.cta__orbit i:nth-child(3) { --c: #B9E8D2; animation-delay: -12s; }
.cta__orbit i:nth-child(4) { --c: #BDD3FF; animation-delay: -17s; width: 10px; height: 10px; }
.cta__orbit i:nth-child(5) { --c: #F7C7DD; animation-delay: -23s; }
.cta__orbit i:nth-child(6) { --c: #C9B8FF; animation-delay: -29s; width: 9px; height: 9px; }
@keyframes orbit { to { offset-distance: 100%; } }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; }
.footer__top { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__brand p { margin-top: 12px; color: var(--muted); max-width: 20em; font-size: 15px; }
.footer__col h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer__col a { display: block; padding: 4px 0; font-size: 15px; color: var(--muted); transition: color 0.25s, translate 0.3s var(--ease); }
.footer__col a:hover { color: var(--ink); translate: 3px 0; }
.footer__copy { max-width: var(--wrap); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity 0.9s var(--ease), translate 1s var(--ease), border-color 0.4s; transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card--wide { grid-row: auto; }
}

@media (max-width: 900px) {
    .ticks { display: none; }
    .caps { top: 86px; left: var(--gutter); right: var(--gutter); width: auto; text-align: center; }
    .cap { translate: 0 0; }
    .cap__n { margin-bottom: 8px; font-size: 12px; }
    .cap h2 { font-size: clamp(1.45rem, 6.2vw, 2rem); }
    .cap p { margin: 8px auto 0; font-size: 0.95rem; max-width: 30em; }
    .cap .pills { display: none; }
    .device { --w: min(64vw, calc((100svh - 300px) * 0.4905), 300px); top: auto; bottom: 22px; translate: -50% 0; }
    .versus, .faq { grid-template-columns: 1fr; }
    .stories__grid { grid-template-columns: 1fr; }
    .node--small .node__name, .node__name small { display: none; }
    .clabel { font-size: 9.5px; letter-spacing: 0.16em; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav { inset: 10px 0 auto 0; }
    .nav__links { display: none; }
    .nav__bar { padding: 6px 6px 6px 20px; }
    .hero__title { font-size: clamp(2.3rem, 10.4vw, 3rem); }
    .hero__cta { margin-top: 26px; }
    .hint { display: none; }
    .grid { grid-template-columns: 1fr; }
    .card { min-height: 0; }
    .card--wide { grid-column: auto; flex-direction: column; padding: 26px 26px 0; min-height: 0; }
    .card--wide .card__copy { padding-bottom: 6px; }
    .card--wide .pills { margin-top: 0; }
    .card__phone { --w: min(270px, 100%); flex: none; align-self: center; width: var(--w); height: 470px; margin: 22px 0 0; }
    .versus__card { min-height: 400px; }
    .steps__list { grid-template-columns: 1fr; gap: 30px; padding-left: 66px; }
    .steps__list::before, .steps__list::after { top: 22px; bottom: 100px; left: 22px; right: auto; width: 1px; height: auto; }
    .steps__list::after { transform: scaleY(var(--p)); transform-origin: top; }
    .steps__list li { position: relative; }
    .steps__n { position: absolute; left: -66px; top: -8px; margin: 0; }
    .faq__body p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
    .focus li { filter: none; }
}
