/* ============================================================================
   Viska - viska.vip
   A private language of touch for two people.
   Design language taken from the app: warm-dark plum, a rose/coral accent,
   and the "._." tap mark (dit dah dit) that doubles as the app icon.
   Single committed dark theme. Type is SF Pro to match the SwiftUI app.
   ============================================================================ */

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* warm-dark surfaces */
  --bg:        #141019;
  --bg-deep:   #0F0B15;
  --bg-2:      #1A1522;
  --surface:   rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline:  rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --text:       #F4EEF2;
  --text-muted: #B7ABC0;
  --text-faint: #8E85A0;

  /* accent - the app's warm rose/coral whisper */
  --rose:        #FF6F9C;
  --rose-strong: #FF4E85;
  --coral:       #FF8A5B;
  --cream:       #FFD9B8;
  --glow:        rgba(255, 122, 92, 0.55);
  --accent-grad: linear-gradient(120deg, #FF9264 0%, #FF6F9C 55%, #F2578E 100%);

  /* radii - one system: pills for interactive, soft for panels */
  --r-pill: 999px;
  --r-lg:   26px;
  --r-md:   18px;
  --r-sm:   12px;

  /* layout */
  --maxw: 1120px;
  --pad:  clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(5.5rem, 13vw, 10rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  overflow-x: hidden;
}

/* Ambient warmth that anchors the whole page to the icon's mood */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 55vw at 50% -8%, rgba(255, 122, 92, 0.16), transparent 62%),
    radial-gradient(55vw 55vw at 88% 12%, rgba(255, 78, 133, 0.10), transparent 60%),
    radial-gradient(70vw 60vw at 8% 100%, rgba(150, 90, 200, 0.08), transparent 60%),
    var(--bg);
}
/* Fine grain, fixed and non-interactive (perf-safe) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(4rem, 9vw, 7rem); }

/* ---- Typography ----------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.4rem;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--text); }
.display {
  font-size: clamp(2.7rem, 1.6rem + 5.4vw, 5.1rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.15rem); }
h3 { font-size: clamp(1.22rem, 1.05rem + 0.8vw, 1.55rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.14rem, 1.02rem + 0.6vw, 1.42rem); color: var(--text-muted); line-height: 1.58; max-width: 44ch; margin-top: 1.3rem; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.balance { text-wrap: balance; }
.measure { max-width: 62ch; }

/* subtle gradient tint on a highlighted word */
.hl {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.975); }

.btn--primary {
  background: var(--accent-grad);
  color: #21121C;
  box-shadow: 0 10px 34px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,0.4); }

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* the button-in-button trailing mark */
.btn__mark {
  display: inline-grid;
  place-items: center;
  width: 1.55rem; height: 1.55rem;
  border-radius: 999px;
  background: rgba(33, 18, 28, 0.18);
  transition: transform 0.4s var(--ease);
}
.btn--primary .btn__mark { background: rgba(33, 18, 28, 0.22); }
.btn--ghost .btn__mark { background: var(--surface-2); }
.btn:hover .btn__mark { transform: translateX(3px); }
.btn__mark svg { width: 0.85rem; height: 0.85rem; stroke: currentColor; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---- Beads: the dot / dash language -------------------------------------- */
.beads { display: inline-flex; align-items: center; gap: 0.5rem; }
.bead { display: inline-block; height: 0.72rem; border-radius: 999px; background: var(--accent-grad); box-shadow: 0 0 14px -2px var(--glow); }
.bead.dot  { width: 0.72rem; }
.bead.dash { width: 1.7rem; }
.beads--sm .bead { height: 0.5rem; box-shadow: 0 0 10px -3px var(--glow); }
.beads--sm .bead.dot { width: 0.5rem; }
.beads--sm .bead.dash { width: 1.15rem; }
.beads--muted .bead { background: var(--text-faint); box-shadow: none; opacity: 0.8; }

/* ---- The mark: the "._." pattern (dit dah dit), Viska's little mascot ------
   Two tall "dits" flank a shorter, wider "dah". Reads as the pattern and as a
   shy ._. face. Static and calm; the beauty is in the geometry, not motion. */
.mark {
  display: inline-flex;
  align-items: center;
  --u: 0.9rem;                    /* --u is the dit (dot) diameter */
  gap: calc(var(--u) * 0.85);
}
.mark i {
  display: block;
  border-radius: 999px;
  background: var(--accent-grad);
  box-shadow: 0 0 calc(var(--u) * 1.9) calc(var(--u) * -0.5) var(--glow);
}
.mark .dit { width: var(--u); height: var(--u); }                       /* round dot */
.mark .dah { width: calc(var(--u) * 2.5); height: calc(var(--u) * 0.6); }
.mark--md { --u: 2rem; }
.mark--lg { --u: clamp(2.4rem, 1.5rem + 4vw, 4.2rem); }

/* soft warm glow cradling the mark */
.markwrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
}
.markwrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 135%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,110,0.32), rgba(255,110,150,0.14) 42%, transparent 68%);
  filter: blur(26px);
}
.markwrap--hero { padding: clamp(1.6rem, 5vw, 3rem); }
.markwrap--hero::before {
  width: 158%;
  background: radial-gradient(circle, rgba(255,150,110,0.42), rgba(255,110,150,0.18) 40%, transparent 66%);
  filter: blur(40px);
}

/* A gentle "tap": each dot then the dash presses and glows in sequence, then
   a long rest, as if the pattern is being tapped out. */
@media (prefers-reduced-motion: no-preference) {
  .markwrap--hero .mark i,
  .finale__mark .mark i { animation: tap 4.2s var(--ease) infinite; transform-origin: center; }
  .markwrap--hero .mark i:nth-child(2),
  .finale__mark .mark i:nth-child(2) { animation-delay: 0.34s; }
  .markwrap--hero .mark i:nth-child(3),
  .finale__mark .mark i:nth-child(3) { animation-delay: 0.68s; }
}
@keyframes tap {
  0%   { transform: scale(1);    filter: brightness(1); }
  5%   { transform: scale(1.16); filter: brightness(1.35); }
  14%  { transform: scale(1);    filter: brightness(1); }
  100% { transform: scale(1);    filter: brightness(1); }
}

/* ---- Nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding-top: clamp(0.9rem, 2vw, 1.4rem);
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: rgba(20, 16, 25, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.nav.is-scrolled .nav__inner { background: rgba(18, 14, 23, 0.82); box-shadow: 0 14px 40px -20px rgba(0,0,0,0.8); border-color: var(--hairline-strong); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand img { width: 1.85rem; height: 1.85rem; border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__link { padding: 0.5rem 0.85rem; border-radius: var(--r-pill); color: var(--text-muted); font-size: 0.92rem; font-weight: 500; transition: color 0.3s, background 0.3s; }
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.86rem; font-weight: 600;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--hairline-strong);
}
.nav__pill .dotmark { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--accent-grad); box-shadow: 0 0 10px -1px var(--glow); }
@media (max-width: 640px) {
  .nav__link { display: none; }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; text-align: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.hero__mark { margin-bottom: clamp(1.6rem, 4vw, 2.8rem); display: grid; place-items: center; }
.hero .display { margin-inline: auto; max-width: 15ch; }
.hero__sub { margin: 1.5rem auto 2.3rem; max-width: 46ch; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--text-muted); }
.hero .cta-row { justify-content: center; }
.hero__platforms { margin-top: 1.8rem; font-size: 0.9rem; color: var(--text-faint); display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__platforms .beads { transform: translateY(1px); }

/* ---- Concept / bento ------------------------------------------------------ */
.concept__lead { max-width: 20ch; margin-bottom: 3rem; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.tile {
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.tile h3 { margin-top: 0.1rem; }
.tile p { color: var(--text-muted); font-size: 1rem; }
.tile--wide { grid-column: span 4; }
.tile--sm   { grid-column: span 2; }
.tile--half { grid-column: span 3; }
.tile--feature { background: linear-gradient(150deg, rgba(255,122,92,0.14), rgba(255,78,133,0.05) 60%, transparent), var(--surface); border-color: rgba(255,122,92,0.22); }
.tile .beads { margin-top: auto; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide, .tile--sm, .tile--half, .tile--feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--sm, .tile--half, .tile--feature { grid-column: span 1; }
}

/* ---- How it works: vertical flow ----------------------------------------- */
.flow { display: grid; gap: clamp(1rem, 2vw, 1.4rem); margin-top: 3.2rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.step__visual { width: clamp(58px, 11vw, 90px); aspect-ratio: 1; display: grid; place-items: center; }
.step__n { font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-bottom: 0.55rem; }
.step p { color: var(--text-muted); max-width: 52ch; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; text-align: left; }
  .step__visual { width: 64px; place-items: center start; }
}

/* ---- Vocabulary ----------------------------------------------------------- */
.vocab { margin-top: 3rem; border-radius: var(--r-lg); border: 1px solid var(--hairline); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); }
.vocab__grid { display: grid; grid-template-columns: 1fr 1fr; }
.vrow { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.15rem, 2.4vw, 1.6rem) clamp(1.3rem, 3vw, 2rem); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.vrow:nth-child(1), .vrow:nth-child(2) { border-top: none; }
.vrow:nth-child(odd) { border-left: none; }
.vrow__meaning { font-weight: 500; letter-spacing: -0.01em; }
.vrow__note { display: block; font-size: 0.85rem; color: var(--text-faint); font-weight: 400; margin-top: 0.15rem; }
@media (max-width: 620px) {
  .vocab__grid { grid-template-columns: 1fr; }
  .vrow { border-left: none; }
  .vrow:nth-child(2) { border-top: 1px solid var(--hairline); }
}
.vocab__foot { padding: clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.3rem, 3vw, 2rem); border-top: 1px solid var(--hairline); color: var(--text-faint); font-size: 0.95rem; text-align: center; }

/* ---- Split media/text (wrist) -------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; display: grid; place-items: center; min-height: 340px; }

/* Apple Watch mockup framing the whispers */
.watch {
  position: relative;
  width: min(64%, 210px);
  aspect-ratio: 0.82;
  margin-inline: auto;
  border-radius: 32% / 26%;
  background: linear-gradient(155deg, #38313e 0%, #221c29 46%, #17131d 100%);
  box-shadow: 0 34px 66px -26px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.12);
  padding: 7.5%;
  isolation: isolate;
}
/* faint bands fading off the top and bottom */
.watch::before, .watch::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60%; height: 30%; z-index: -1;
  background: linear-gradient(#2a2431, #1b1622);
}
.watch::before { bottom: 84%; border-radius: 14px 14px 6px 6px; -webkit-mask: linear-gradient(#000, transparent 92%); mask: linear-gradient(#000, transparent 92%); }
.watch::after  { top: 84%; border-radius: 6px 6px 14px 14px; -webkit-mask: linear-gradient(transparent 8%, #000); mask: linear-gradient(transparent 8%, #000); }
.watch__crown {
  position: absolute; z-index: 2; right: -3%; top: 34%;
  width: 5.5%; height: 14%; border-radius: 4px;
  background: linear-gradient(90deg, #4a4251, #2a2432);
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.watch__button {
  position: absolute; z-index: 2; right: -2%; top: 53%;
  width: 4%; height: 11%; border-radius: 4px;
  background: linear-gradient(90deg, #3a3340, #241f2b);
}
.watch__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 26% / 21%;
  background: radial-gradient(120% 85% at 50% 32%, rgba(255,140,110,0.16), transparent 62%), #0A0710;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.55), inset 0 2px 14px rgba(0,0,0,0.8);
  display: grid; place-items: center; overflow: hidden;
}

.whispers {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  justify-items: center;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  isolation: isolate;
}
/* whispers tuned to sit inside the watch screen */
.watch .whispers { padding: 14% 10%; gap: clamp(0.6rem, 2.2vw, 0.95rem); }
.watch .whispers::before { inset: 12%; filter: blur(20px); }
.watch .whispers .mark { --u: clamp(0.5rem, 0.38rem + 0.6vw, 0.68rem); }
.whispers::before {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 44%;
  background: radial-gradient(circle, rgba(255,150,110,0.3), rgba(255,110,150,0.12) 46%, transparent 66%);
  filter: blur(34px);
}
.whispers .mark { --u: clamp(0.95rem, 0.65rem + 1.2vw, 1.35rem); }
.whispers .mark:nth-child(1) { transform: translateX(-9%); }
.whispers .mark:nth-child(2) { transform: translateX(11%); opacity: 0.82; }
.whispers .mark:nth-child(3) { transform: translateX(-4%); opacity: 0.6; }
.split__list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.split__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; color: var(--text-muted); }
.split__list .tick { margin-top: 0.15rem; width: 1.4rem; height: 1.4rem; flex: none; }
.split__list .tick svg { width: 100%; height: 100%; stroke: var(--rose); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; min-height: 260px; }
}

/* ---- Private by design ---------------------------------------------------- */
.privacy-band { text-align: center; }
.privacy-band h2 { max-width: 18ch; margin-inline: auto; }
.privacy-band .lead { margin: 1.4rem auto 0; max-width: 54ch; }
.guarantees { margin-top: 3.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.guarantee { padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.1rem, 2vw, 1.5rem); border-left: 1px solid var(--hairline); text-align: center; }
.guarantee:first-child { border-left: none; }
.guarantee__n { display: flex; justify-content: center; margin-bottom: 0.9rem; }
.guarantee strong { display: block; font-size: 1.02rem; font-weight: 600; margin-bottom: 0.45rem; }
.guarantee span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 760px) {
  .guarantees { grid-template-columns: 1fr 1fr; }
  .guarantee:nth-child(2) { border-left: 1px solid var(--hairline); }
  .guarantee:nth-child(3), .guarantee:nth-child(4) { border-top: 1px solid var(--hairline); }
  .guarantee:nth-child(3) { border-left: none; }
}
@media (max-width: 440px) {
  .guarantees { grid-template-columns: 1fr; }
  .guarantee { border-left: none; border-top: 1px solid var(--hairline); }
  .guarantee:first-child { border-top: none; }
}

/* ---- Pricing -------------------------------------------------------------- */
.price-wrap { display: grid; place-items: center; }
.price-card {
  width: min(100%, 460px);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px solid rgba(255,122,92,0.25);
  background: linear-gradient(160deg, rgba(255,122,92,0.12), rgba(255,78,133,0.05) 55%, transparent), var(--surface);
  box-shadow: 0 30px 80px -40px rgba(255,90,130,0.4);
  text-align: center;
}
.price-card__tag { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); }
.price-card__amount { font-size: clamp(3rem, 8vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 0.8rem 0 0.2rem; }
.price-card__once { color: var(--text-muted); font-size: 1rem; }
.price-card__list { list-style: none; text-align: left; display: grid; gap: 0.85rem; margin: 1.8rem 0; padding-top: 1.6rem; border-top: 1px solid var(--hairline); }
.price-card__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; color: var(--text-muted); }
.price-card__list .tick { width: 1.3rem; height: 1.3rem; flex: none; }
.price-card__list .tick svg { width: 100%; height: 100%; stroke: var(--rose); }
.price-card__note { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.4rem; }

/* ---- Final CTA ------------------------------------------------------------ */
.finale { text-align: center; position: relative; }
.finale__mark { margin: 0 auto 2rem; display: grid; place-items: center; }
.finale h2 { max-width: 16ch; margin-inline: auto; }
.finale .lead { margin: 1.3rem auto 2.2rem; }
.finale .cta-row { justify-content: center; }
.finale__meta { margin-top: 1.6rem; font-size: 0.9rem; color: var(--text-faint); }

/* ---- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer__brand { display: grid; gap: 0.9rem; max-width: 34ch; }
.footer__brand .brand { font-size: 1.15rem; }
.footer__brand p { color: var(--text-faint); font-size: 0.95rem; }
.footer__links { display: flex; gap: clamp(2.5rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__col { display: grid; gap: 0.75rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.footer__col a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--text); }
.footer__base { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--text-faint); font-size: 0.85rem; }
.footer__base .beads { opacity: 0.7; }

/* ---- Legal (privacy / terms) --------------------------------------------- */
.legal { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.legal__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.legal__head .display { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); }
.legal__updated { color: var(--text-faint); font-size: 0.92rem; margin-top: 1rem; }
.legal__body { max-width: 68ch; }
.legal__body h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.8rem; margin-bottom: 0.9rem; }
.legal__body h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.legal__body p { color: var(--text-muted); margin-bottom: 1rem; }
.legal__body ul { color: var(--text-muted); margin: 0 0 1.1rem 1.2rem; display: grid; gap: 0.5rem; }
.legal__body li { padding-left: 0.3rem; }
.legal__body a { color: var(--rose); }
.legal__body a:hover { text-decoration: underline; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.legal__toc a { font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--hairline); color: var(--text-muted); transition: all 0.3s; }
.legal__toc a:hover { color: var(--text); border-color: var(--hairline-strong); background: var(--surface); }
.legal__callout { margin: 1.4rem 0 1.6rem; padding: 1.3rem 1.5rem; border-radius: var(--r-md); border: 1px solid rgba(255,122,92,0.22); background: linear-gradient(150deg, rgba(255,122,92,0.09), transparent); }
.legal__callout p { margin-bottom: 0; color: var(--text); }

/* ---- Scroll reveal --------------------------------------------------------
   JS-gated enhancement: without JS (no `.js` on <html>) content stays visible. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---- Skip link + focus ---------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--bg-2); color: var(--text); padding: 0.7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
