@font-face { font-family: Urbanist; src: url(assets/fonts/Urbanist-Light.ttf) format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: Urbanist; src: url(assets/fonts/Urbanist-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Urbanist; src: url(assets/fonts/Urbanist-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Urbanist; src: url(assets/fonts/Urbanist-SemiBold.ttf) format("truetype"); font-weight: 600 700; font-display: swap; }

/* Colours from ios/CareConnect/Design/CCTokens.swift via motion-studio/assets/orynth/tokens.json */
:root {
  --bg: #0E0C12; --page: #141217; --card: #1B1920; --raised: #232028; --control: #2D2933;
  --fg1: #F4F2F7; --fg2: #BDB7C5; --fg3: #8D8796; --dim: #6F6978;
  --lilac: #B8A3FF; --rose: #D6283C; --plum: #4B1D4A; --slate: #22324A; --record: #FF3B4E;
  --line: rgba(255,255,255,.07); --line-strong: rgba(255,255,255,.13);
  --grad: linear-gradient(92deg, #FF6B7D 0%, #E0609E 34%, #B8A3FF 68%, #8FB0FF 100%);
  --brand-grad: linear-gradient(225deg, #D6283C, #4B1D4A 50%, #22324A);
  --ease: cubic-bezier(.22,1,.36,1);
  --sans: Urbanist, -apple-system, "SF Pro Display", system-ui, sans-serif;
  --cw: clamp(120px, 12.5vw, 220px); /* wall card width */
  --announce: 38px; --nav: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--announce) + var(--nav)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg1); font-family: var(--sans); font-size: 19px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip; text-align: center;
}
/* film grain, as in the reel's finish */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
.lilac { color: var(--lilac); }
@keyframes shimmer { to { background-position: 100% 0; } }

/* ---------- scroll progress (Ledger) ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* ---------- header (Ledger: announcement strip + centred nav) ---------- */
.announce {
  position: fixed; inset: 0 0 auto; z-index: 51; height: var(--announce); display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--fg2); background: #09080C; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden;
}
.announce a { color: var(--fg1); font-weight: 600; text-decoration: none; }
.announce a:hover { color: var(--lilac); }
.nav {
  position: fixed; top: var(--announce); left: 0; right: 0; z-index: 50; height: var(--nav); padding: 0 clamp(18px, 3.5vw, 48px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(rgba(14,12,18,.88), rgba(14,12,18,.6)); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 24px; letter-spacing: -.015em; justify-self: start; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 8px; font-size: 17px; font-weight: 500; color: var(--fg2); }
.nav-links a {
  position: relative; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  transition: color .2s, background .25s, box-shadow .25s, transform .25s var(--ease);
}
/* gradient underline: hidden, grows on hover, full on the current section */
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; border-radius: 2px; background: var(--grad);
  transform: translateX(-50%) scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--fg1); background: rgba(255,255,255,.06); transform: translateY(-1px); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(.5); }
.nav-links a[aria-current] { color: var(--fg1); background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav-links a[aria-current]::after { transform: translateX(-50%) scaleX(1); }
.nav-links a:focus-visible { border-radius: 999px; }
.nav .badge { justify-self: end; }
@media (max-width: 760px) {
  :root { --nav: 68px; }
  .nav-links { display: none; } .nav { grid-template-columns: 1fr auto; } .brand { font-size: 21px; }
  .announce { font-size: 12.5px; } .announce a { display: none; }
}

/* ---------- coming-soon badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 17px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,.55); color: #fff; text-align: left; line-height: 1.05;
  font-size: 22px; font-weight: 600; letter-spacing: -.01em; cursor: default;
}
.badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.badge small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.badge-sm { padding: 8px 15px 8px 12px; border-radius: 11px; font-size: 17px; gap: 9px; }
.badge-sm svg { width: 19px; height: 19px; }
.badge-sm small { font-size: 10.5px; }

/* ---------- reveal (blur-rise, from the reel's style guide) ---------- */
.reveal { opacity: 0; transform: translateY(.5em); filter: blur(12px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--announce) + var(--nav) + 40px) 20px 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-rose { width: 60vmax; height: 60vmax; top: -30vmax; right: -12vmax; background: radial-gradient(circle, rgba(214,40,60,.55), rgba(75,29,74,.35) 45%, transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.glow-slate { width: 55vmax; height: 55vmax; bottom: -30vmax; left: -18vmax; background: radial-gradient(circle, rgba(34,50,74,.9), rgba(42,31,60,.4) 50%, transparent 70%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-6vmax, 4vmax) scale(1.08); } }

/* Ledger's halftone wordmark: gradient text masked to a dot grid */
.wordmark {
  position: absolute; z-index: -1; left: 50%; bottom: -6vw; transform: translateX(-50%) translateY(var(--py, 0));
  font-size: 31vw; font-weight: 700; letter-spacing: -.06em; line-height: .8; white-space: nowrap; user-select: none;
  background: linear-gradient(100deg, #D6283C, #4B1D4A 40%, #22324A 70%, #B8A3FF); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask: radial-gradient(circle, #000 1.3px, transparent 1.8px) 0 0 / 6px 6px; mask: radial-gradient(circle, #000 1.3px, transparent 1.8px) 0 0 / 6px 6px;
  opacity: .55;
}
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); font-size: 15px; font-weight: 500; color: var(--fg2); }
.pill-play { width: 14px; height: 14px; fill: var(--lilac); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--record); box-shadow: 0 0 0 0 rgba(255,59,78,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,59,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,78,0); } }
.hero-title { font-weight: 600; font-size: clamp(3.4rem, 9.4vw, 8.6rem); line-height: .98; letter-spacing: -.045em; }
.hero-title .line { display: block; }
.hero-title .line:nth-child(2) { --d: .08s; } .hero-title .line:nth-child(3) { --d: .16s; }
.rotator { position: relative; height: 1.08em; }
.rot-word { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; padding: 0 .05em .06em; opacity: 0; filter: blur(14px); translate: 0 .35em; transition: opacity .6s var(--ease), filter .6s var(--ease), translate .6s var(--ease); }
.rot-word.is-in { opacity: 1; filter: none; translate: 0 0; }
.rot-word.is-out { opacity: 0; filter: blur(14px); translate: 0 -.35em; }
.lede { max-width: 32em; font-size: clamp(19px, 1.7vw, 23px); color: var(--fg2); --d: .24s; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; --d: .32s; }
.ghost { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 14px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 18px; font-weight: 500; color: var(--fg2); transition: background .2s, color .2s; }
.ghost:hover { background: rgba(255,255,255,.06); color: var(--fg1); }
.ghost-play { width: 18px; height: 18px; fill: currentColor; }
/* small print: the brand sans, not a typewriter mono */
.fineprint { font-size: 15px; font-weight: 500; letter-spacing: .01em; color: var(--fg3); --d: .4s; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--fg3); padding-left: .28em; }
.scroll-hint::before { content: ""; display: block; width: 2px; height: 46px; margin: 0 auto 12px; border-radius: 2px; background: linear-gradient(transparent, var(--fg2)); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ---------- wall (Latent) ---------- */
.wall-section { position: relative; height: 420vh; }
.wall-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.wall { display: flex; gap: 14px; align-items: center; transform-origin: 0 0; will-change: transform; }
.col { display: flex; flex-direction: column; gap: 14px; flex: none; width: var(--cw); transform: translateY(var(--shift, 0)); }
.col img, .row img { width: var(--cw); aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: calc(var(--cw) * .11); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.col > img, .row { opacity: var(--others, 1); }
.col-center { width: calc(var(--cw) * 3 + 28px); }
.row { display: flex; gap: 14px; }
.row.focus { opacity: 1; } /* the row the zoom starts on stays lit */
.wall-shade { position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0); background: radial-gradient(ellipse at center, rgba(14,12,18,.72), rgba(14,12,18,.92) 70%); }
.statement { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15em; padding: 0 20px; pointer-events: none; font-weight: 600; font-size: clamp(2.3rem, 6.2vw, 5.8rem); line-height: 1.04; letter-spacing: -.04em; }
.s-line { display: block; max-width: 15em; }
.statement .w { display: inline-block; white-space: pre; opacity: var(--o, 0); filter: blur(var(--b, 12px)); transition: opacity .25s linear, filter .25s linear; }
.statement em { font-style: normal; color: var(--lilac); }

/* ---------- generic sections ---------- */
.section { padding: clamp(110px, 14vw, 190px) 20px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.h2 { font-weight: 600; font-size: clamp(2.8rem, 6.8vw, 6rem); line-height: 1; letter-spacing: -.045em; }
.sub { color: var(--fg2); font-size: clamp(19px, 1.6vw, 22px); max-width: 32em; }

/* ---------- film player: poster + Play video button ---------- */
.film-section { background: linear-gradient(180deg, var(--bg), var(--page) 20%, var(--page) 80%, var(--bg)); }
.player { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9; margin-top: 14px; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 140px -30px rgba(214,40,60,.55), 0 30px 80px -40px rgba(143,176,255,.35); }
.player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(ellipse at center, rgba(14,12,18,.25), rgba(14,12,18,.7)); transition: opacity .4s var(--ease), visibility .4s;
}
.play-ring { width: clamp(84px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 20px 60px rgba(0,0,0,.4); transition: transform .35s var(--ease), background .35s; }
.play-ring svg { width: 40%; height: 40%; fill: #fff; margin-left: 6%; }
.play-label { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; padding: 10px 22px; border-radius: 99px; background: #fff; color: #0E0C12; }
.play-time { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); }
.play:hover .play-ring, .play:focus-visible .play-ring { transform: scale(1.08); background: rgba(255,255,255,.22); }
.player.is-playing .play { opacity: 0; visibility: hidden; }
@media (max-width: 600px) { .player { border-radius: 20px; } .play { gap: 10px; } .play-ring { width: 60px; } .play-label { font-size: 17px; padding: 7px 16px; } .play-time { display: none; } }

/* ---------- pinned phone (Latent) ---------- */
.phone-section { position: relative; height: calc(var(--steps) * 85vh + 100vh); }
.phone-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.8vh, 20px); padding: calc(var(--announce) + var(--nav) + 8px) 20px 24px; overflow: hidden; }
.phone-head { display: flex; align-items: baseline; gap: 16px; }
.num { font-weight: 300; font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -.04em; color: var(--lilac); }
.phone-kicker { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; }
.phone-copy { min-height: 5.2em; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .35s var(--ease), filter .35s var(--ease), transform .35s var(--ease); }
.phone-copy.is-swapping { opacity: 0; filter: blur(10px); transform: translateY(-.4em); }
.phone-title { font-size: clamp(1.8rem, 3.4vw, 2.9rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.phone-sub { color: var(--fg2); font-size: clamp(17px, 1.4vw, 19px); max-width: 30em; }
.phone-stage { position: relative; height: min(48vh, 600px); aspect-ratio: 1206 / 2622; }
.phone { position: absolute; inset: 0; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(145deg, #3a3640, #17151b 40%, #2a2730); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 100px -30px rgba(214,40,60,.5), 0 20px 60px rgba(0,0,0,.6); }
.screen { position: absolute; inset: 3.2%; width: 93.6%; height: 93.6%; object-fit: cover; border-radius: 10.5% / 4.9%; opacity: 0; transform: scale(1.04); filter: blur(6px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease); }
.screen.is-on { opacity: 1; transform: none; filter: none; }
.chip {
  position: absolute; top: var(--top, 30%); display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(35,32,40,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-strong), 0 18px 40px rgba(0,0,0,.45); white-space: nowrap;
  opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .45s var(--ease), transform .55s cubic-bezier(.34,1.4,.64,1);
}
.chip.is-on { opacity: 1; transform: none; transition-delay: .15s; }
.chip-l { right: 84%; --top: 28%; } .chip-r { left: 84%; --top: 58%; }
.chip-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(184,163,255,.16); color: var(--lilac); font-size: 15px; font-weight: 600; }
.chip-ico.rec { background: rgba(255,59,78,.18); } .chip-ico.rec::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--record); animation: pulse 2s infinite; }
.chip b { font-size: 15.5px; font-weight: 600; } .chip small { font-size: 13px; color: var(--fg3); }
@media (max-width: 760px) { .chip-l, .chip-r { left: 50%; right: auto; top: auto; bottom: 6%; translate: -50% 0; } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ticks li { width: clamp(52px, 8.5vw, 104px); font-size: 14px; font-weight: 500; color: var(--dim); display: flex; flex-direction: column; gap: 8px; transition: color .3s; }
.ticks i { height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; position: relative; }
.ticks i::after { content: ""; position: absolute; inset: 0; background: var(--fg1); transform-origin: left; transform: scaleX(var(--f, 0)); }
.ticks li.is-on { color: var(--fg1); }
@media (max-width: 560px) { .ticks li { font-size: 12px; } }

/* ---------- FAQ ---------- */
.faq { width: 100%; max-width: 780px; margin-top: 18px; text-align: left; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 2px; font-size: 21px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; color: var(--fg3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 2px 26px; color: var(--fg2); max-width: 36em; animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); filter: blur(6px); } }

/* ---------- final ---------- */
.final { position: relative; min-height: 92vh; padding: 130px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; overflow: hidden; isolation: isolate; }
.final-wall { position: absolute; inset: -10% -5%; z-index: -2; display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px; align-items: center; opacity: .26; filter: blur(1.5px) saturate(.8); transform: rotate(-6deg) scale(1.15); }
.final-wall img { border-radius: 18px; }
.final-wall img:nth-child(even) { transform: translateY(18%); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14,12,18,.35), var(--bg) 72%); }
.final .glow-rose { top: auto; bottom: -40vmax; right: auto; left: 50%; translate: -50% 0; opacity: .7; }
.final-title { font-weight: 600; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .98; letter-spacing: -.045em; }

/* ---------- footer (Latent: one row, brand + © left, links right) ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 20px; }
.footer-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-l { display: flex; align-items: center; gap: 18px; }
.footer .brand { font-size: 20px; gap: 10px; }
.footer .brand img { border-radius: 7px; }
.copy { font-size: 15px; color: var(--dim); }
.footer-r { display: flex; gap: 26px; font-size: 15px; color: var(--fg3); }
.footer-r a { text-decoration: none; transition: color .2s; }
.footer-r a:hover { color: var(--fg1); }
@media (max-width: 600px) { .footer-in { justify-content: center; } .footer-r { gap: 18px; } }

/* ---------- legal pages (Latent: narrow reading column) ---------- */
.legal-head { position: sticky; top: 0; z-index: 50; background: rgba(14,12,18,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal-head-in { max-width: 760px; margin: 0 auto; height: 76px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.back { font-size: 16px; color: var(--fg3); text-decoration: none; } .back:hover { color: var(--fg1); }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 110px; text-align: left; color: var(--fg2); font-size: 18px; line-height: 1.7; }
.legal h1 { color: var(--fg1); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.legal .effective { margin: 14px 0 34px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.legal h2 { color: var(--fg1); font-size: 25px; font-weight: 600; letter-spacing: -.02em; margin: 52px 0 12px; }
.legal h3 { color: var(--fg1); font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--fg1); font-weight: 600; }
.legal a { color: var(--lilac); }
.legal .note { padding: 16px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* ---------- jump to top: arrow in a circle, widens to show its label on hover ---------- */
.to-top {
  position: fixed; left: 50%; bottom: 24px; z-index: 55; height: 48px; padding: 0 13px; border-radius: 999px;
  display: inline-flex; align-items: center; color: var(--fg1); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  background: rgba(27,25,32,.72); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translate(-50%, 12px); opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.to-top svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s var(--ease), opacity .2s, margin .35s var(--ease); }
.to-top:hover, .to-top:focus-visible { background: rgba(45,41,51,.9); }
.to-top:hover span, .to-top:focus-visible span { max-width: 120px; opacity: 1; margin: 0 6px 0 8px; }
.to-top:focus-visible { border-radius: 999px; }

/* ---------- reduced motion: no zooms, no blur animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .wall-section { height: auto; } .wall-sticky { position: relative; height: 80vh; }
  .statement { display: none; }
}
