/* Rivius: nav, hero and footer, structure and values taken from the Sola template (sola.framer.media).
   Every size, colour, spacing and timing below is the computed value measured on the live
   template on 2026-09-28 (research/refs/sola/computed/). Framer token ids are kept in comments. */

:root {
  /* Sola colour tokens */
  --token-bg:        #fffefa;   /* --token-8a1540df */
  --token-surface:   #f7f6f0;   /* --token-b6262f1a */
  --token-ink:       #262626;   /* --token-d1fa08ee */
  --token-ink-2:     #3d3d3d;   /* --token-ccd97a69 */
  --token-grey-54:   #545454;   /* --token-994646e0 */
  --token-grey-61:   #616161;   /* --token-66b55331 */
  --token-grey-7a:   #6e6e6e;   /* --token-46244ad7; Sola's #7a7a7a darkened (integrator, v14): the 12px captions and
                                   source lines now pass WCAG AA 4.5:1 on cream (5.05) and on the surface (4.71) */
  --token-grey-ad:   #adadad;   /* --token-4d926bee */
  --token-grey-d1:   #d1d5db;   /* --token-e3a90888 */
  --token-line:      #c7c7c740; /* --token-c4c80469 */
  /* Rivius brand (replaces Sola's navy #021b42 and mint #33e9bb) */
  --brand-deep:      #081511;   /* evergreen, the hero field's base */
  --brand-accent:    #F2C979;   /* gold, the hero field's light */
  --brand-accent-glow: rgba(242, 201, 121, .5);
  --token-white:     #fff;      /* --token-33c8dbd0 */
  --token-black:     #000;      /* --token-2759885a */
  --token-black-65:  #000000a6; /* --token-0da849d6 */

  --font-sans: "Inter", "Inter Placeholder", sans-serif;
  --font-serif: "Hedvig Letters Serif", "Hedvig Letters Serif Placeholder", serif;

  /* Framer springs, turned into CSS linear() curves by main.js.
     appear: stiffness 242, damping 100, mass 3.2 (fallback = measured 2.92 s curve)
     shader: stiffness 647, damping 100, mass 3.2
     hover:  stiffness 1000, damping 70, mass .5 */
  --ease-appear: linear(0, .1042, .2526, .3826, .4909, .5802, .6539, .7146, .7647, .806, .84, .8681, .8913, .9104, .9261, .9391, .9498, .9586, .9658, .9718, .9768, .9809, .9842, .987, .9893, .9912, .9927, .994, .995, .9959, .9966, .9972, .9977, .9981, .9984, .9987, .9989, .9991, .9993, .9994, 1);
  --dur-appear: 2.92s;
  --ease-shader: var(--ease-appear);
  --dur-shader: 1.1s;
  --ease-hover: cubic-bezier(.2, .8, .2, 1);
  --dur-hover: .36s;

  --max: 1600px;
  --pad: 32px;      /* container side padding */
  --nav-h: 50px;
}

/* Metric-matched fallbacks (integrator, v14). Until Inter and Hedvig arrive (display=swap), Arial and Georgia are
   scaled to the web fonts' widths, so the hero doesn't re-wrap and jump when they swap in. Values measured
   2026-10-01 with canvas text metrics on the page's own headings and body copy (Inter 500 vs Arial: 107.5%,
   Inter 600 vs Arial Bold: 101.1%, Hedvig vs Georgia: 102.7%). --font-sans / --font-serif already list these. */
@font-face { font-family: "Inter Placeholder"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 107.5%; ascent-override: 90.2%; descent-override: 22.3%; line-gap-override: 0%; }
@font-face { font-family: "Inter Placeholder"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 101.1%; ascent-override: 96%; descent-override: 23.8%; line-gap-override: 0%; }
@font-face { font-family: "Hedvig Letters Serif Placeholder"; src: local("Georgia"); size-adjust: 102.7%; ascent-override: 99.3%; descent-override: 31.2%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--token-bg);
  color: var(--token-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
/* Email addresses in running copy (footer, FAQ, the note, the closing CTA). They keep the colour of the line they sit
   in; the hairline underline says "clickable" and turns gold on hover, like .security-link and .pricing-link. The
   address never breaks across lines. */
.mail-link {
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-hover) var(--ease-hover);
}
.mail-link:hover, .mail-link:focus-visible { text-decoration-color: var(--brand-accent); }
p, h1, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* In-page anchors land just below the sticky nav (main.js makes link jumps smooth, only while one runs) */
html { scroll-padding-top: var(--nav-h); }

/* Skip link: off-screen until focused, then an evergreen pill above the sticky nav */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 20;
  padding: 8px 16px; border-radius: 30px;
  background: var(--brand-deep); color: var(--token-white);
  font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -0.04em;
  transform: translateY(calc(-100% - 12px));
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.skip:focus { transform: none; outline: 2px solid var(--brand-accent); outline-offset: 2px; }
main:focus { outline: none; }

/* Focus rings: 2px evergreen on light grounds, gold on the dark hero and footer (both >= 3:1 against the ground).
   They follow each control's own radius. */
:focus-visible { outline: 2px solid var(--focus-ring, var(--brand-deep)); outline-offset: 3px; }
.hero, .foot-wrap { --focus-ring: var(--brand-accent); }
.nav-link:focus-visible { outline-width: 1.5px; outline-offset: -9px; border-radius: 10px; }
.phone-inside a:focus-visible { outline-offset: 0; border-radius: 4px; }
.logo:focus-visible { outline-offset: 2px; border-radius: 6px; }

/* Sola text preset: 13px / 600 / 150% / -0.035em */
.t13, .nav-link span, .login > span:first-child, .btn-dark, .assure, .hero-how, .foot-col p, .foot-col a {
  font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: -0.035em;
}

/* ---------------- NAV ---------------- */
.nav-sticky { position: sticky; top: 0; z-index: 9; height: var(--nav-h); }
.nav {
  position: relative;
  height: var(--nav-h);
  background: var(--token-bg);
  border-bottom: 1px solid var(--token-line);
  display: flex; flex-direction: column; align-items: center;
}
.nav-main { width: 100%; max-width: var(--max); padding: 0 var(--pad); height: 100%; position: relative; z-index: 2; }
.nav-box {
  height: 100%;
  padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-left: 1px solid var(--token-line);
  border-right: 1px solid var(--token-line);
}

.logo { display: flex; align-items: center; gap: 7px; height: 50px; color: var(--token-black); }
.logo span { font-size: 18px; font-weight: 600; letter-spacing: -0.045em; line-height: 25px; }
.logo-mark { width: 20px; height: 20px; flex: none; }
.logo-mark path { fill: currentColor; }
.logo-light { color: var(--token-bg); }
.logo-light .logo-mark path { fill: currentColor; }

.nav-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 18px; height: 100%; }
.nav-links { display: flex; justify-content: flex-end; align-items: center; gap: 12px; height: 100%; }
.nav-link { position: relative; display: flex; align-items: center; height: 50px; padding: 10px 12px; color: var(--token-ink); }
.nav-link i {
  position: absolute; left: 0; right: 0; top: 48px; height: 2px;
  background: var(--brand-accent);
  box-shadow: var(--brand-accent-glow) 0 0 10px 1px;
  opacity: 0;
  transition: opacity .45s cubic-bezier(.44, 0, .56, 1);
}
.nav-link:hover i, .nav-link:focus-visible i { opacity: 1; }
.nav-divider { width: 1px; height: 50px; background: var(--token-line); flex: none; }

.nav-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 8px 0; }

.login {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px;
  color: var(--token-ink);
  background: rgba(247, 246, 240, 0);
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover);
}
.login:hover, .login:focus-visible { background: var(--token-surface); box-shadow: inset 0 0 0 1px var(--token-line); }

/* The 3D "L" key: 20px cap, #262626 well, #545454 face tilted 10deg, #7a7a7a skirt */
.key { position: relative; width: 20px; height: 20px; padding: 2px; border-radius: 6px; background: var(--token-ink); perspective: 1200px; flex: none; }
.key-bottom { position: absolute; top: 10px; left: 2px; right: 2px; bottom: 4px; background: var(--token-grey-7a); border-radius: 0 0 5px 5px; }
.key-face {
  position: absolute; inset: 2px;
  display: flex; align-items: center; justify-content: center;
  background: var(--token-grey-54);
  border-radius: 31.25%;
  box-shadow: rgba(0, 0, 0, .15) 1px 0 3px 1px inset;
  transform: rotateX(10deg) translateY(0);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}
.key-face b { font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: -0.035em; color: var(--token-white); transform: rotateX(30deg); }
.key.is-pressed .key-face, .login:active .key-face { transform: rotateX(10deg) translateY(2.5px); }

/* Text roll used by every Sola button: the top copy leaves upward, the bottom copy rises in */
.roll { position: relative; isolation: isolate; }
.roll-box { position: relative; display: flex; overflow: clip; }
.roll-top, .roll-bottom { display: block; white-space: nowrap; transition: transform var(--dur-hover) var(--ease-hover), opacity var(--dur-hover) var(--ease-hover), filter var(--dur-hover) var(--ease-hover); }
.roll-bottom { position: absolute; left: 0; top: 0; transform: translateY(20px); opacity: 0; }
.roll:hover .roll-top, .roll:focus-visible .roll-top { transform: translateY(-20px); opacity: 0; }
.roll:hover .roll-bottom, .roll:focus-visible .roll-bottom { transform: translateY(0); opacity: 1; }
.ring {
  position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit; background: inherit; opacity: .2;
  transition: inset var(--dur-hover) var(--ease-hover), opacity var(--dur-hover) var(--ease-hover);
}

.btn-dark {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 8px;
  background: var(--token-ink); color: var(--token-white);
}
.btn-dark .ring { border-radius: 10px; background: var(--token-ink); }

.burger { display: none; position: relative; width: 20px; height: 34px; border-radius: 30px; }
.burger i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 10px; background: var(--token-ink); transition: transform .4s cubic-bezier(.44, 0, .56, 1), top .4s cubic-bezier(.44, 0, .56, 1); }
.burger .b-top { top: 12px; }
.burger .b-bottom { top: 20px; }
.nav.is-open .burger .b-top { top: 16px; transform: rotate(45deg); }
.nav.is-open .burger .b-bottom { top: 16px; transform: rotate(-45deg); }

.phone-links {
  position: fixed; inset: 0; z-index: 1;
  padding: 74px 0 24px;
  background: rgba(255, 254, 250, .8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; filter: blur(5px); visibility: hidden;
  transition: opacity .4s cubic-bezier(.44, 0, .56, 1), filter .4s cubic-bezier(.44, 0, .56, 1), visibility 0s .4s;
  overflow: auto;
}
.nav.is-open .phone-links { opacity: 1; filter: blur(0); visibility: visible; transition-delay: 0s; }
.phone-inside { display: flex; flex-direction: column; gap: 6px; padding: 0 24px; }
.phone-inside a { position: relative; display: flex; align-items: center; height: 50px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.04em; color: var(--token-ink); }
.phone-inside a i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand-accent); opacity: 0; transition: opacity .3s; }
.phone-inside a:hover i { opacity: 1; }
.phone-inside .phone-login { margin-top: 12px; border-top: 1px solid var(--token-line); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 85vh;
  padding: 128px 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 48px;
  overflow: clip;
}
.hero-bg, .hero-lines { position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none; }
.hero-bg-box, .hero-lines-box { position: relative; width: 100%; max-width: var(--max); height: 100%; }
.hero-bg-box::before { content: ""; }
.hero-bg-color, .hero-shader { position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad); overflow: clip; }
.hero-bg-color { background: var(--brand-deep); }
.hero-shader { opacity: 0; transition: opacity .6s cubic-bezier(.2, .8, .2, 1) .5s; }
.hero-grain {
  position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad);
  pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-shader.is-on { opacity: 1; }
.hero-shader canvas { display: block; width: 100%; height: 100%; }
.hero-lines-box { margin: 0 auto; }
.hero-lines-box::before, .hero-lines-box::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--token-line); }
.hero-lines-box::before { left: var(--pad); }
.hero-lines-box::after { right: var(--pad); }
.dot { position: absolute; bottom: -3px; width: 5px; height: 5px; border-radius: 100%; background: var(--token-grey-ad); z-index: 1; }
.dot-l { left: calc(var(--pad) - 2px); }
.dot-r { right: calc(var(--pad) - 2px); }

.hero-inside {
  position: relative;
  width: 100%; max-width: var(--max);
  padding: 0 64px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
/* Sola's centred hero column */
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; width: 100%; }

.pill {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--token-line);
  overflow: clip;
  font-size: 14px; font-weight: 500; line-height: 1.5;
  max-width: 100%;
}
.pill-new { position: relative; color: var(--brand-accent); letter-spacing: -0.03em; flex: none; }
.pill-shimmer {
  position: absolute; inset: 0;
  color: transparent;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40.4%, var(--brand-deep) 50%, rgba(0, 0, 0, 0) 59.6%, rgba(0, 0, 0, 0) 100%);
  background-size: 200% 200%;
  background-position: 200% 50%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 3.2s linear 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 50%; } 40%, 100% { background-position: -100% 50%; } }
.pill-text { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--token-white); letter-spacing: -0.04em; }
.pill-clip { display: flex; min-width: 0; overflow: clip; }
.pill-track { display: flex; gap: 16px; white-space: nowrap; }
.pill-track > span + span { display: none; }
.pill-text svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--token-white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-content { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; }
.hero-header { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.hero h1 {
  max-width: 740px;
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--token-white);
  text-align: center;
  text-wrap: balance;
}
.hero h1 .ln { display: block; }
.hero-sub {
  max-width: 580px;
  font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -0.035em;
  color: var(--token-grey-d1);
  text-align: center;
  text-wrap: pretty;
}
/* The terms: same column, one step quieter, each sentence on its own line where there is room */
.hero-terms {
  max-width: 580px;
  margin-top: -8px;
  font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -0.03em;
  color: var(--token-grey-ad);
  text-align: center;
}
.hero-terms .ln { display: block; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }

/* ---------------- NPI lookup (hero #numbers; the closing CTA reuses it) ----------------
   Markup: form.lookup[data-lookup] > .lookup-row > (label.sr-only + input.lookup-input[name=q] + button.btn-pill)
           + p.lookup-msg[data-lookup-msg]. Add .lookup-dark on dark grounds. main.js does validation + the GET. */
.lookup { width: 100%; max-width: 480px; display: flex; flex-direction: column; }
#numbers { scroll-margin-top: 38vh; }
.lookup-row { display: flex; align-items: center; gap: 8px; }
.lookup-input {
  flex: 1 1 auto; min-width: 0; height: 44px; min-height: 44px; margin: 0;
  padding: 0 20px;
  border: 0; border-radius: 30px;
  background: var(--token-white);
  box-shadow: inset 0 0 0 1px var(--token-line);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em;
  color: var(--token-ink);
  caret-color: var(--brand-deep);
  -webkit-appearance: none; appearance: none;
  transition: box-shadow var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.lookup-input::placeholder { color: var(--token-grey-7a); opacity: 1; }
.lookup-input:hover { box-shadow: inset 0 0 0 1px var(--token-grey-ad); }
.lookup-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brand-deep), 0 0 0 4px rgba(8, 21, 17, .1); }
.lookup .btn-pill { flex: none; height: 44px; padding: 0 20px; }
.lookup .btn-mint:hover, .lookup .btn-mint:focus-visible { padding: 0 26px; }
.lookup-msg {
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 20px;
  font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: -0.02em;
  color: #8A520D;
  transition: max-height .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, margin-top .3s cubic-bezier(.2, .8, .2, 1);
}
.lookup.is-invalid .lookup-msg { max-height: 4.5em; opacity: 1; margin-top: 10px; }
.lookup.is-invalid .lookup-input { box-shadow: inset 0 0 0 1px #B06A12; }
@media (pointer: coarse) { .lookup-input { font-size: 16px; } } /* no iOS zoom on focus */
/* Phones: the field and the button stack, both full width and 44px tall */
@media (max-width: 809px) {
  .lookup-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .lookup .btn-pill, .lookup .btn-mint:hover, .lookup .btn-mint:focus-visible { width: 100%; padding: 0 20px; }
  .lookup-input { text-align: center; padding: 0 16px; }
}

/* Dark ground: the field is the hero pill's twin (evergreen fill, hairline ring), gold when focused */
.lookup-dark .lookup-input {
  background: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  color: var(--token-white);
  caret-color: var(--brand-accent);
}
.lookup-dark .lookup-input::placeholder { color: rgba(255, 255, 255, .5); }
.lookup-dark .lookup-input:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.lookup-dark .lookup-input:focus { box-shadow: inset 0 0 0 1px rgba(242, 201, 121, .8), 0 0 0 4px rgba(242, 201, 121, .14); }
.lookup-dark.is-invalid .lookup-input { box-shadow: inset 0 0 0 1px var(--brand-accent), 0 0 0 4px rgba(242, 201, 121, .14); }
.lookup-dark .lookup-msg { color: var(--brand-accent); }
.hero .lookup-msg { text-align: center; }

/* Reassurance line: three plain facts, gold dot separators */
.assure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 2px; color: var(--token-grey-d1); }
.assure li { display: flex; align-items: center; }
.assure li + li::before { content: ""; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: var(--brand-accent); }

/* Quiet scroll cue to How it works: pinned to the hero's foot on tablet/desktop, in flow on phones */
.hero-cue { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; justify-content: center; pointer-events: none; }
.hero-cue a { pointer-events: auto; }
.hero-how { display: flex; align-items: center; gap: 4px; color: var(--token-grey-ad); transition: color .25s; border-radius: 6px; }
.hero-how:hover { color: var(--token-white); }
.hero-how svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-hover) var(--ease-hover); }
.hero-how:hover svg { transform: translateY(2px); }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.btn-pill {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -0.04em;
  color: var(--token-ink);
  transition: padding var(--dur-hover) var(--ease-hover);
}
.btn-mint { background: var(--brand-accent); }
.btn-light { background: var(--token-bg); padding: 8px 16px 8px 8px; }
.btn-mint:hover, .btn-mint:focus-visible { padding: 8px 24px; }
.btn-light:hover, .btn-light:focus-visible { padding: 8px 24px 8px 16px; }
.btn-pill:hover .ring, .btn-pill:focus-visible .ring { inset: -3px; opacity: .5; }
.play { display: flex; width: 20px; height: 20px; transition: transform var(--dur-hover) var(--ease-hover); }
.play svg { width: 20px; height: 20px; fill: var(--token-black); }
.btn-light:hover .play { transform: scale(1.1); }


/* Appear: opacity 0 → 1, y 10 → 0 on the 242/100/3.2 spring */
.appear, .lines .w {
  opacity: 0.001;
  transform: translateY(var(--y, 10px));
  transition: opacity var(--dur-appear) var(--ease-appear) var(--delay, 0s), transform var(--dur-appear) var(--ease-appear) var(--delay, 0s);
}
.lines .w { display: inline-block; white-space: pre; }
.is-in .appear, .is-in .lines .w { opacity: 1; transform: none; }
.no-js .appear, .no-js .lines .w { opacity: 1; transform: none; }

/* ---------------- FOOTER ---------------- */
.foot-wrap { background: var(--brand-deep); padding: 8px; }
.foot {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 64px 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  color: var(--token-white);
}
.foot-inside { width: 100%; max-width: var(--max); padding: 0 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 96px; }
.foot-logo-links { width: 100%; display: flex; flex-direction: column; gap: 48px; }
.foot-logo-row { display: flex; align-items: center; gap: 32px; }
.foot-logo-row .logo { flex: 1; height: 25px; }
/* text-wrap: balance so the real address (longer than the old placeholder) does not leave "day." alone on line 2 */
.foot-slogan { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.04em; color: var(--token-white); text-wrap: balance; }
.foot-links-social { display: flex; justify-content: center; align-items: flex-start; padding-top: 48px; border-top: 1px solid var(--token-line); }
.socials { flex: 1; display: flex; align-items: center; gap: 16px; }
.socials a { display: flex; width: 17px; height: 17px; }
.socials svg { width: 17px; height: 17px; fill: var(--token-white); transition: opacity .2s; }
.socials a:hover svg { opacity: .6; }
.foot-links { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.foot-col { display: flex; flex-direction: column; gap: 24px; }
.foot-col p { color: var(--token-grey-d1); }
.foot-col ul { display: flex; flex-direction: column; gap: 16px; }
.foot-col li { display: flex; }
.foot-col a { color: var(--token-white); transition: opacity .2s; }
.foot-col a:hover { opacity: .7; }
.fine { font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: -0.03em; color: var(--token-grey-d1); }

/* ---------------- Breakpoints (Framer: desktop ≥1200, tablet 810–1199, phone <810) ---------------- */
@media (max-width: 1199px) {
  .nav-links, .nav-divider, .login { display: none; }
  .burger { display: block; }
  .hero h1 { font-size: 42px; }
  .foot { padding: 48px 0; }
}
@media (max-width: 809px) {
  :root { --pad: 8px; }
  .nav-box { padding: 0 16px; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-inside { padding: 0 32px; }
  /* phone: the pill text runs as a ticker (Framer ticker, velocity 50, gap 16, reversed) */
  .pill-clip { width: 160px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .pill-track > span + span { display: inline; }
  .pill-track { animation: ticker var(--ticker-dur, 5s) linear infinite; }
  .foot { padding: 32px 0; }
  .foot-inside { padding: 0 16px; gap: 48px; }
  .foot-logo-links { gap: 32px; }
  .foot-logo-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .foot-slogan { font-size: 16px; }
  .foot-links-social { flex-direction: column; gap: 48px; padding-top: 32px; }
  .socials { flex: none; }
  .foot-links { width: 100%; grid-template-columns: repeat(2, 1fr); }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }

@media (prefers-reduced-motion: reduce) {
  .appear, .lines .w, .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .pill-shimmer, .pill-track { animation: none !important; }
  .hero-shader { transition: none; }
  /* buttons keep their colour change but the text no longer rolls or slides */
  .roll-top, .roll-bottom, .btn-pill, .ring, .hero-how svg, .skip { transition: none !important; }
  .roll:hover .roll-top, .roll:focus-visible .roll-top { transform: none; opacity: 1; }
  .roll-bottom { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 809px) {
  /* no ticker: the pill sentence wraps onto two balanced lines instead */
  .pill { gap: 10px; padding: 8px 16px 8px 14px; border-radius: 18px; font-size: 13px; line-height: 1.4; }
  .pill-text svg { display: none; }
  .pill-clip { width: auto; -webkit-mask: none; mask: none; }
  .pill-track { white-space: normal; text-wrap: balance; }
  .pill-track > span + span { display: none; }
}
