/* Sophia start page. Own look: icy white, editorial hairlines, cherry red as the main colour, midnight as the second
   (Max is the one dark card). Full-bleed in-game film in the hero, pixel frost field behind the rest. Used only by index.html. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-var.woff2) format("woff2"); }

:root {
  --film-r: clamp(22px, 1.6vw, 40px);
  --ice: #F6F9FC; --ice-2: #EBF1F7; --white: #FFFFFF;
  --ink: #120C1F; --ink-2: #2B2438; --soft: #5D5870; --faint: #9A96A8; --off: #C3C0CC;
  --line: rgb(18 12 31 / .10); --line-2: rgb(18 12 31 / .18);
  /* cherry: the brand red (logo), a darker press state, a pale tint and a blossom pink for use on dark/film */
  --rose: #B3123F; --rose-2: #8E0D31; --rose-ink: #9E1038; --rose-tint: #F8E3EA; --rose-soft: #F4B6C8; --rose-rgb: 179 18 63;
  --night: #120C1F; --night-2: #1E1631; --night-line: rgb(255 255 255 / .12); --on-night: #F4F0FA; --on-night-2: #A9A2BC;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wide: "Archivo", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; background: var(--ice); color: var(--ink); font: 450 17px/1.55 var(--wide); -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--wide); font-weight: 800; font-stretch: 125%; letter-spacing: -.025em; line-height: .98; }
p { margin: 0; }

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60vmax 45vmax at 92% 8%, #F7E6EC 0%, transparent 60%), radial-gradient(55vmax 40vmax at -10% 108%, #E6EEF9 0%, transparent 60%), var(--ice); }
#frost { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }
.page { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 2200px) { .wrap { max-width: 1480px; } } /* 21:9 and 4K: less empty margin */

/* ── hero: full-bleed in-game film (3440x1440 native, 30 real fps), the top bar floats on it ── */
.hero-wrap { position: relative; isolation: isolate; margin-top: -68px; padding-top: 68px; min-height: clamp(640px, calc(100svh - 34px), 1040px);
  display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-film { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #1a1424;
  /* no fade, no veil: the film stays fully opaque to a clean edge with round lower corners */
  border-radius: 0 0 var(--film-r) var(--film-r); }
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-film video.on { opacity: 1; }
/* a little darker towards the edge (never lighter), so the cut reads as intended */
.hero-film::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 1;
  background: linear-gradient(180deg, rgb(10 6 18 / 0), rgb(10 6 18 / .32)); }
/* shade only where the copy sits (left) and a little under the top bar; the right half shows the film untouched */
.hero-film::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(10 6 18 / .5) 0, rgb(10 6 18 / .16) 260px, rgb(10 6 18 / 0) 440px),
    linear-gradient(90deg, rgb(10 6 18 / .78) 0%, rgb(10 6 18 / .58) 30%, rgb(10 6 18 / .18) 52%, rgb(10 6 18 / 0) 64%); }
.hero-copy { max-width: 780px; padding: 56px 0 104px; text-shadow: 0 1px 18px rgb(10 6 18 / .35); }
.hero-copy .kicker { color: #fff; }
.hero-copy .kicker i { background: var(--rose-soft); }
.hero-copy h1 { color: #fff; }
.hero .hero-copy h1 em { color: var(--rose-soft); }
.hero-copy .lead { color: rgb(255 255 255 / .9); }
.hero-copy .talk { border-top-color: rgb(255 255 255 / .32); }
.hero-copy .talk-row { border-bottom-color: rgb(255 255 255 / .2); }
.hero-copy .talk-who { color: rgb(255 255 255 / .62); }
.hero-copy .talk-row p { color: #fff; }
.hero-copy .talk-row.you p { color: rgb(255 255 255 / .78); }
.hero-copy .cta small { color: rgb(255 255 255 / .78); }
.hero-copy .cta small b { color: #fff; }
.hero-copy .btn-line { color: #fff; border-color: rgb(255 255 255 / .72); text-shadow: none; background: rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-copy .btn-line:hover { border-color: #fff; color: var(--night); }
.hero-copy .btn-line::before { background: #fff; }
.hero-copy .btn { text-shadow: none; }
.film-tag { position: absolute; right: 24px; bottom: 112px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgb(255 255 255 / .86);
  text-shadow: 0 1px 8px rgb(10 6 18 / .6); }
.film-tag i { width: 6px; height: 6px; background: var(--rose-soft); }
.draft { position: relative; z-index: 30; padding: 8px 24px; background: var(--night); color: var(--on-night-2); font-size: 13.5px; text-align: center; }

/* ── top bar ───────────────────────────────────── */
/* top bar: clear on the film (white type), frosted ice once the film has scrolled away */
.top { position: sticky; top: 0; z-index: 20; color: #fff; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.top.over { background: rgb(14 9 22 / .62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgb(255 255 255 / .08); }
.top.solid { color: var(--ink); background: rgb(246 249 252 / .97); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom-color: var(--line); }
.top .wrap { position: relative; display: flex; align-items: center; gap: 28px; height: 68px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--rose); transform-origin: 0 50%; transform: scaleX(0); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { width: 36px; height: 36px; flex: none; image-rendering: pixelated; transition: transform .45s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px) rotate(-4deg); }
.wm { font-weight: 750; font-stretch: 100%; font-size: 25px; letter-spacing: -.035em; line-height: 1; transform: translateY(-1px); }
.nav { margin-left: auto; display: flex; gap: 24px; }
.nav a { position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .82); transition: color .25s var(--ease); }
.nav a span { margin-right: 6px; font-size: 12px; color: rgb(255 255 255 / .55); font-variant-numeric: tabular-nums; }
.top.solid .nav a { color: var(--soft); }
.top.solid .nav a span { color: var(--faint); }
.top:not(.solid) .nav a:hover, .top:not(.solid) .nav a.on { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.top.solid .nav a:hover, .top.solid .nav a.on { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

/* buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px;
  border: 1px solid var(--rose); border-radius: 4px; background: var(--rose); color: #fff; font-size: 16px; font-weight: 650;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .3s var(--ease), color .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--night); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { color: #fff; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── hero ──────────────────────────────────────── */
.hero { position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--rose-ink); }
.kicker i { width: 8px; height: 8px; background: var(--rose); }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 4.6vw, 68px); font-stretch: 112%; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--rose); }
.lead { margin-top: 22px; max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.cta small { font-size: 14px; color: var(--soft); }
.cta small b { color: var(--ink); font-weight: 650; }

.talk { margin-top: 30px; max-width: 620px; border-top: 1px solid var(--line-2); }
.talk-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.talk-who { font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.talk-row p { font-size: 18px; font-weight: 550; line-height: 1.4; }
.talk-row.you p { color: var(--soft); }
.talk-her { display: flex; align-items: center; gap: 14px; }

/* play button + meter */
.play { flex: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--rose); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease); }
.play:hover { transform: scale(1.06); background: var(--rose-2); }
.play:active { transform: scale(.96); }
.play svg { width: 18px; height: 18px; }
.play .i-stop { display: none; }
.playing .play .i-play { display: none; }
.playing .play .i-stop { display: block; }
.play::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.playing .play::after { opacity: .35; transform: none; animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { 50% { transform: scale(1.12); opacity: .1; } }
.meter { width: 64px; height: 26px; flex: none; }

/* skin preview */
.frame { position: relative; border: 1px solid var(--line-2); border-radius: 6px; background: var(--white); padding: 10px;
  box-shadow: 0 30px 60px -40px rgb(18 12 31 / .45); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease); will-change: transform; }
.frame.tilting { transition: transform .15s linear; }
.frame-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 10px; font-size: 13px; font-weight: 600; color: var(--soft); }
.frame-top b { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 650; }
.shot { position: relative; aspect-ratio: 640 / 820; overflow: hidden; border-radius: 3px; background: var(--ice-2); }
.shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.shot video.on { opacity: 1; }

/* what she does: three hairline columns right under the hero */
.does { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.does li { padding: 20px 28px 4px 0; }
.does li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.does b { display: block; font-size: 19px; font-weight: 750; font-stretch: 112%; }
.does p { margin-top: 4px; color: var(--soft); font-size: 16px; }

/* ── gameplay reel: one big first-person clip, three tabs that switch it (and advance on their own) ── */
.reel { margin-top: 32px; }
.reel-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #120C1F; box-shadow: 0 40px 80px -48px rgb(18 12 31 / .55); }
.reel-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.reel-stage video.on { opacity: 1; }
.reel-live { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 4px;
  background: rgb(18 12 31 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 650; }
.reel-live i { width: 7px; height: 7px; background: var(--rose-soft); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.reel-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.reel-tabs button { position: relative; display: grid; gap: 4px; padding: 18px 24px 18px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--soft); }
.reel-tabs button + button { padding-left: 24px; border-left: 1px solid var(--line); }
.reel-tabs b { font-size: 19px; font-weight: 750; font-stretch: 112%; color: var(--ink-2); transition: color .25s var(--ease); }
.reel-tabs small { font-size: 15px; font-style: italic; }
.reel-tabs button[aria-selected="true"] b { color: var(--rose); }
.reel-tabs button:hover b { color: var(--ink); }
.reel-tabs .tab-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; }
.reel-tabs button + button .tab-bar { left: 24px; }

/* ── looks: the 360° viewer next to a short text ── */
.looks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; padding-top: 40px; }
.looks-copy p { color: var(--ink-2); max-width: 520px; font-size: 19px; }
.looks-copy p + p { margin-top: 14px; }
.looks-copy ul { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-2); max-width: 520px; }
.looks-copy li { border-bottom: 1px solid var(--line); }
.looks-copy li button { position: relative; width: 100%; display: grid; grid-template-columns: 22px 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 30px 12px 30px 0;
  border: 0; background: none; text-align: left; cursor: pointer; color: var(--soft); transition: color .25s var(--ease), padding .35s var(--ease); }
.looks-copy li button::before { content: ""; position: absolute; left: -16px; top: 14px; bottom: 14px; width: 3px; background: var(--rose); transform: scaleY(0); transition: transform .35s var(--ease); }
.looks-copy li i { width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.looks-copy li b { font-size: 25px; font-weight: 750; font-stretch: 112%; color: var(--ink-2); }
.looks-copy li span { font-size: 16.5px; }
.looks-copy li button:hover b, .looks-copy li button[aria-pressed="true"] b { color: var(--ink); }
.looks-copy li button[aria-pressed="true"] { color: var(--ink-2); }
.looks-copy li button[aria-pressed="true"]::before { transform: none; }
.looks-copy li button[aria-pressed="true"] b { color: var(--rose); }

/* ── sections ──────────────────────────────────── */
.sec { padding-top: 112px; }
.sec-head { display: grid; grid-template-columns: 120px minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: last baseline; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.sec-no { font-size: 14px; font-weight: 650; color: var(--rose-ink); font-variant-numeric: tabular-nums; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 60px); }
.sec-head p { color: var(--soft); max-width: 460px; justify-self: end; }

/* voice list */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.line { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 64px; gap: 18px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line);
  background: rgb(246 249 252 / .72); transition: background .3s var(--ease); }
.line:hover, .line.playing { background: rgb(255 255 255 / .92); }
.line p { font-size: 18px; font-weight: 550; line-height: 1.35; }
.line small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--faint); }
.line .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; }
.note { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* ── plans ─────────────────────────────────────── */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: stretch; padding-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line-2); border-radius: 6px; background: rgb(255 255 255 / .86); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name h3 { font-size: 30px; }
.plan-tag { font-size: 12.5px; font-weight: 650; color: var(--soft); }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 46px; font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.plan-price small { font-size: 13px; color: var(--faint); }
.plan-sub { margin-top: 8px; font-size: 15px; color: var(--soft); min-height: 46px; }
.plan .btn { margin-top: 18px; }
.feats { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.feat { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 550; line-height: 1.35; }
.feat svg { width: 18px; height: 18px; margin-top: 1px; color: var(--rose); }
.feat small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--soft); }
.feat.off { color: var(--off); }
.feat.off svg { color: var(--off); }
.feat.off small { color: var(--off); }
.feat.off span { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgb(195 192 204 / .8); }

/* Max: the one dark card */
.plan.max { isolation: isolate; overflow: hidden; border-color: var(--night); color: var(--on-night); transform: translateY(-14px);
  background: radial-gradient(120% 70% at 100% 0%, #5A1028 0%, rgb(90 16 40 / 0) 60%), radial-gradient(90% 60% at 0% 100%, #2B1A4A 0%, rgb(43 26 74 / 0) 65%), linear-gradient(165deg, #1C1030 0%, var(--night) 55%, #160B20 100%);
  box-shadow: 0 40px 80px -40px rgb(var(--rose-rgb) / .6), inset 0 1px 0 rgb(255 255 255 / .14); }
.plan.max::before { content: ""; position: absolute; inset: -1px; border-radius: 6px; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--rose-soft) 0%, rgb(var(--rose-rgb) / 0) 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan.max .plan-tag { color: var(--night); background: var(--rose-soft); padding: 4px 10px; border-radius: 3px; }
.plan.max .feat svg { color: var(--rose-soft); }
.max-fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.plan-price s { font-size: 20px; font-weight: 650; color: var(--on-night-2); text-decoration-thickness: 2px; text-decoration-color: var(--rose-soft); }
.plan.max .plan-price small, .plan.max .plan-sub, .plan.max .feat small { color: var(--on-night-2); }
.plan.max .feats, .plan.max .feat { border-color: var(--night-line); }
.plan.max .feat.hot { color: #fff; }
.plan.max .btn:hover::before { background: #fff; }
.plan.max .btn:hover { color: var(--night); border-color: #fff; }

.plans-note { margin-top: 22px; color: var(--soft); font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 12px; padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-no { font-size: 60px; font-weight: 800; font-stretch: 125%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.step h3 { font-size: 25px; font-stretch: 112%; }
.step p { color: var(--ink-2); }
kbd { display: inline-block; min-width: 26px; padding: 1px 7px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--white); font: 650 14px/1.4 var(--wide); text-align: center; }

/* questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.faq div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 21px; font-stretch: 112%; line-height: 1.2; }
.faq p { margin-top: 8px; color: var(--ink-2); }

.foot { margin-top: 120px; padding: 28px 0 48px; border-top: 1px solid var(--line-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { font-size: 14px; font-weight: 600; color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { margin-left: auto; font-size: 12.5px; color: var(--faint); }

/* buy dialog: pops from the centre, closes on X or outside */
.buy-dlg { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgb(18 12 31 / .5); }
.buy-dlg[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.buy-dlg::backdrop { background: rgb(18 12 31 / .38); backdrop-filter: blur(3px); }
.buy-in { position: relative; padding: 26px 24px 22px; }
.buy-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 4px; background: none; cursor: pointer; display: grid; place-items: center; color: var(--soft); }
.buy-x:hover { background: var(--ice); color: var(--ink); }
.buy-x svg { width: 18px; height: 18px; }
.buy-in h3 { font-size: 26px; padding-right: 40px; }
.buy-in .sum { margin-top: 6px; color: var(--soft); }
.buy-in label { display: block; margin-top: 20px; font-size: 14px; font-weight: 650; }
.buy-in input { width: 100%; height: 50px; margin-top: 6px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ice); font-size: 17px; outline: none; transition: border-color .2s; }
.buy-in input:focus { border-color: var(--rose); background: #fff; }
.buy-in .hint { margin-top: 8px; font-size: 13.5px; color: var(--faint); }
.buy-in .btn { margin-top: 18px; }
.buy-msg { margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: var(--rose-tint); color: var(--rose-ink); font-size: 14.5px; font-weight: 550; }
.buy-alt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }

/* waitlist: one email field, the age box, one consent line; calm answer below */
.wl { max-width: 640px; padding-top: 36px; }
.wl-row { display: flex; gap: 12px; }
.wl-row input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); font-size: 17px; outline: none; transition: border-color .2s; }
.wl-row input:focus { border-color: var(--rose); }
.wl-check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 550; cursor: pointer; }
.wl-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--rose); }
.wl small { display: block; margin-top: 10px; font-size: 13.5px; color: var(--soft); }
.wl small a { color: inherit; }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { max-width: 640px; margin-top: 16px; font-size: 15px; font-weight: 550; color: var(--rose-ink); }
.wl-msg.ok { margin-top: 36px; padding: 14px 16px; border-radius: 4px; background: var(--rose-tint); }
@media (max-width: 600px) { .wl-row { flex-direction: column; } }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.hero .rv { transition-delay: calc(var(--d, 0) * 90ms); }
.plan.max.rv.in { transform: translateY(-14px); }
/* Pearl waving from behind the Max card: same grid cell, a window that ends exactly at the card's top edge (her hips) */
.plan.max, .peek { grid-row: 1; grid-column: 3; }
.peek { --h: clamp(300px, 22vw, 420px); align-self: start; justify-self: end; margin: calc(var(--h) * -.58 - 14px) 9% 0 0; height: calc(var(--h) * .58); overflow: hidden; pointer-events: none; }
.peek img { display: block; height: var(--h); width: auto; transform: translateY(101%); transition: transform 1.1s var(--ease) .3s; }
.peek:has(+ .plan.max.in) img { transform: none; }
#plans .sec-head { grid-template-columns: 120px minmax(0, 1fr); }
#plans .sec-head p { grid-column: 2; justify-self: start; }

@media (max-width: 1040px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan.max, .plan.max.rv.in { transform: none; }
  .plan.max { order: -1; }
  .plan.max, .peek { grid-column: 1; }
  .plans { padding-top: 172px; }
  .peek { margin-top: calc(var(--h) * -.58); } /* the card sits flat here */
}
@media (max-width: 980px) {
  .hero-film video { object-position: 50% 50%; }
  .hero-film::after { background: linear-gradient(180deg, rgb(10 6 18 / .5) 0%, rgb(10 6 18 / .38) 55%, rgb(10 6 18 / .52) 100%); }
  .film-tag { display: none; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .looks { grid-template-columns: 1fr; gap: 32px; }
  .frame { max-width: 460px; }
  .looks-copy { order: 1; }
  #plans .sec-head { grid-template-columns: 1fr; }
  #plans .sec-head p { grid-column: 1; } /* the film first, the list below picks the look */
  .reel-tabs button, .reel-tabs button + button { padding: 14px 10px 14px 0; }
  .reel-tabs button + button { padding-left: 10px; }
  .reel-tabs button + button .tab-bar { left: 10px; }
  .reel-tabs b { font-size: 16px; }
  .reel-tabs small { display: none; }
  .does { grid-template-columns: 1fr; }
  .does li, .does li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sec { padding-top: 80px; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-head p { justify-self: start; }
  .lines, .faq { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .top .wrap { gap: 12px; height: 60px; }
  /* phones: film on top showing all of her, copy below on the dark ground (text never covers her) */
  .hero-wrap { margin-top: -60px; padding-top: 0; min-height: 0; display: block; background: #140f1c; border-radius: 0 0 var(--film-r) var(--film-r); }
  .hero-film { position: relative; inset: auto; height: min(66svh, 580px); z-index: 0; }
  /* on phones the film runs on into the dark copy block (dark into dark, no milk), the block itself has the round edge */
  .hero-film { border-radius: 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 160px), transparent); }
  .hero-film::before { display: none; }
  .hero-film::after { background: linear-gradient(180deg, rgb(10 6 18 / .55) 0, rgb(10 6 18 / 0) 130px); }
  .hero-copy { position: relative; margin-top: -64px; padding: 0 0 56px; }
  .wm { font-size: 22px; }
  .logo-mark { width: 26px; height: 26px; }
  .talk-row { grid-template-columns: 1fr; gap: 6px; }
  .line { grid-template-columns: 44px minmax(0, 1fr); }
  .line .meter { display: none; }
  .foot p { margin-left: 0; }
  .peek { --h: 260px; margin-right: 6%; }
  .reel-tabs .lg { display: none; }
  .hero-copy .cta .btn { width: 100%; justify-content: center; }
  .plans { padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .hero-film video, .reel-stage video, .shot video { transition: none; }
  .peek img { transform: none; transition: none; }
}
@media (min-width: 2200px) { .looks { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); } } /* after the base rule, so it wins */
