/* ==========================================================================
   FURLONG  |  styles
   1  Brand settings       change these first
   2  Base and type
   3  Colour worlds
   4  Page furniture       canvas, nav, buttons, rail
   5  Plain layout         what shows when the 3D scene is off
   6  Live layout          the 3D phone is behind the page
   7  Sections
   8  Footer
   9  Tall screens
   10 Reduced motion
   ========================================================================== */

/* 1 ---------------------------------------------------------------------- */
/* BRAND SETTINGS
   Change these first. js/screens.js and js/live.js read the colours from here,
   so the phone's screens and the pattern behind it follow. */
:root {
  --t-track: #b3391f;     /* hero and last call: the running track */
  --t-field: #0f3a27;     /* the infield: routes, ratings */
  --t-night: #0a1322;     /* live pace, questions */
  --t-lime: #cdf23b;      /* the accent: buttons, the app's own colour */
  --t-chalk: #efe9da;     /* light pages, and text on dark ones */
  --t-ink: #0b0f0d;       /* darkest colour, text on light pages */
  --t-ice: #8fd8ff;       /* second accent, used on the night pages */

  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Fonts (SIL Open Font License, files in /fonts) */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-mono-latin-700-normal.woff2') format('woff2'); }

/* 2 ---------------------------------------------------------------------- */
:root {
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--t-track); }
html:not(.live):not(.reduced) { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  color: var(--t-chalk);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--hot, var(--t-lime)); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--t-lime); color: var(--t-ink); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 99px; background: var(--t-lime); color: var(--t-ink); font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: .92; letter-spacing: .004em;
  font-size: clamp(46px, min(7.2vw, 12.4vh), 120px);
}
/* each line of a headline sits in a mask, so it can rise into place */
.display .ln { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .07em; margin-bottom: -.07em; }
.display .ln > span { display: block; }
.display .hot { color: var(--hot); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 700 12.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: clamp(16px, 2.8vh, 28px);
}
.eyebrow b { display: inline-grid; place-items: center; min-width: 2.7em; height: 2.1em; padding: 0 .7em; border-radius: 99px; background: var(--hot); color: var(--bg); }
.lede { max-width: 34em; margin-top: clamp(18px, 3vh, 30px); font-size: clamp(17px, .5vw + 11px, 21px); line-height: 1.55; color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.55em; border-radius: 99px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.btn-ghost { border-color: color-mix(in srgb, var(--fg) 42%, transparent); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 38px); }

.stars { display: inline-flex; gap: 3px; color: var(--hot); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* 3 ---------------------------------------------------------------------- */
/* Colour worlds. Every section names one in data-world; the nav follows the section under it. */
[data-world="track"] { --bg: var(--t-track); --fg: #f8f2e4; --dim: rgba(248, 242, 228, .95); --hot: var(--t-lime); --line: rgba(248, 242, 228, .3); --btn-bg: var(--t-lime); --btn-fg: #0b1006; }
[data-world="field"] { --bg: var(--t-field); --fg: var(--t-chalk); --dim: rgba(239, 233, 218, .76); --hot: var(--t-lime); --line: rgba(239, 233, 218, .24); --btn-bg: var(--t-lime); --btn-fg: #0b1006; }
[data-world="night"] { --bg: var(--t-night); --fg: var(--t-chalk); --dim: rgba(239, 233, 218, .74); --hot: var(--t-ice); --line: rgba(143, 216, 255, .28); --btn-bg: var(--t-lime); --btn-fg: #0b1006; }
[data-world="lime"] { --bg: var(--t-lime); --fg: var(--t-ink); --dim: rgba(11, 15, 13, .78); --hot: var(--t-track); --line: rgba(11, 15, 13, .3); --btn-bg: var(--t-ink); --btn-fg: var(--t-lime); }
[data-world="chalk"] { --bg: var(--t-chalk); --fg: var(--t-ink); --dim: rgba(11, 15, 13, .72); --hot: var(--t-track); --line: rgba(11, 15, 13, .22); --btn-bg: var(--t-ink); --btn-fg: var(--t-chalk); }
[data-world="ink"] { --bg: var(--t-ink); --fg: var(--t-chalk); --dim: rgba(239, 233, 218, .74); --hot: var(--t-lime); --line: rgba(239, 233, 218, .22); --btn-bg: var(--t-lime); --btn-fg: #0b1006; }

.scene { position: relative; color: var(--fg); }
/* The section colour is a layer behind the canvas, so the canvas can draw the pattern and the phone on top of it. */
.scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.scene > .wrap, .scene > .stage { position: relative; z-index: 1; }

/* 4 ---------------------------------------------------------------------- */
#stage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
html.ready #stage { opacity: 1; }
html:not(.live) #stage { display: none; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  color: var(--fg); transition: color .45s var(--ease), transform .6s var(--ease);
}
.nav::before { content: ''; position: absolute; inset: 0 0 -26px; z-index: -1; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--bg) 82%, transparent), transparent); transition: background .45s; }
/* Scrolled: the bar leaves while you read downwards and comes back, with a firmer fade behind it, when you scroll up (js/live.js sets the two classes). */
.nav::after { content: ''; position: absolute; inset: 0 0 -34px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: linear-gradient(color-mix(in srgb, var(--bg) 96%, transparent) 0 68%, transparent); }
.nav.solid::after { opacity: 1; }
.nav.away { transform: translateY(-120%); }
.nav.away:focus-within { transform: none; }
.nav-brand { display: inline-flex; align-items: center; gap: 11px; font: 400 27px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.nav-brand::before { content: 'F'; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--t-lime); color: var(--t-ink); font-size: 18px; letter-spacing: 0; }
[data-world="lime"] .nav-brand::before { background: var(--t-ink); color: var(--t-lime); }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 38px); font: 700 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { position: relative; padding: 8px 0; opacity: .94; transition: opacity .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav { padding: .85em 1.3em; font-size: 14px; background: var(--btn-bg); color: var(--btn-fg); transition: background-color .45s, color .45s, transform .3s var(--ease); }
.btn-nav:hover { transform: translateY(-2px); }

/* the chapter rail: ticks down the right edge, one per section (added by js/live.js) */
.rail { position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; z-index: 15; transform: translateY(-50%); display: grid; gap: 7px; color: var(--fg); transition: color .45s; }
.rail li { display: flex; justify-content: flex-end; }
.rail i { display: block; width: 12px; height: 2px; border-radius: 2px; background: currentColor; opacity: .38; transition: width .5s var(--ease), opacity .4s, background-color .4s; }
.rail li.on i { width: 30px; opacity: 1; background: var(--hot); }
.rail span { display: none; }

/* 5 ---------------------------------------------------------------------- */
/* Plain layout: each section is a coloured band; the phone is a picture beside the words. */
.scene { padding-block: clamp(84px, 13vh, 150px); }
.nav { position: absolute; }
html.live .nav { position: fixed; }
.stage.wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.stage[data-side="right"] .copy { order: 2; }
.still { justify-self: center; width: min(100%, 460px); }
.still img { width: 100%; height: auto; filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .32)); }
.cue { display: none; }

.facts { margin-top: clamp(24px, 4.4vh, 44px); max-width: 38em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts li { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; border-top: 2px solid var(--line); }
.facts b { font: 400 clamp(23px, 2vw, 32px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.facts span { font-size: 14px; line-height: 1.4; color: var(--dim); }

.hero { padding-top: clamp(120px, 18vh, 190px); }
.proof { display: flex; align-items: center; gap: 12px; margin-top: clamp(20px, 3.4vh, 32px); font-size: 14.5px; color: var(--dim); }

/* how it works */
.steps { margin-top: clamp(26px, 4.6vh, 46px); display: grid; gap: 0; position: relative; max-width: 36em; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0 20px; border-top: 1.5px solid var(--line); }
.step .n { grid-row: 1 / span 2; font: 700 14px/1.6 var(--font-mono); letter-spacing: .1em; color: var(--hot); padding-top: 3px; }
.step h3 { font: 700 clamp(19px, 1.5vw, 23px)/1.25 var(--font-body); letter-spacing: -.01em; }
.step p { font-size: 16px; line-height: 1.5; color: var(--dim); max-width: 30em; }

/* ratings */
.ratings-head { display: grid; gap: 0; }
.score { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: center; margin-top: clamp(22px, 3.6vh, 34px); }
.score-num { grid-row: 1 / span 2; font: 400 clamp(76px, 8vw, 124px)/.82 var(--font-display); color: var(--hot); }
.score .stars svg { width: 22px; height: 22px; }
.score-note { font: 400 13px/1.4 var(--font-mono); color: var(--dim); margin-top: 8px; }
.quotes { margin-top: clamp(26px, 4.6vh, 50px); display: grid; }
.quote { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; padding: clamp(18px, 2.8vh, 28px) 0; border-top: 1.5px solid var(--line); }
.quote::before { content: '\201C'; grid-row: 1 / span 2; font: 400 76px/.8 var(--font-display); color: var(--hot); }
.quote blockquote p { font: 500 clamp(19px, 1.45vw + 3px, 26px)/1.36 var(--font-body); letter-spacing: -.012em; }
.who { grid-column: 2; margin-top: 12px; font: 400 13px/1.4 var(--font-mono); color: var(--dim); }
.who b { color: var(--fg); font-weight: 700; margin-right: .7em; }

/* plans */
.cards { margin-top: clamp(32px, 5.4vh, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.card {
  --pad: clamp(24px, 2.2vw, 34px);
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: var(--pad);
  border: 1.5px solid var(--line); border-radius: 30px;
}
.card h3 { font: 400 28px/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.price .amount { display: block; font: 400 clamp(66px, 6vw, 96px)/.9 var(--font-display); }
.price .per { display: block; margin-top: 8px; font: 400 13px/1.4 var(--font-mono); color: var(--dim); }
.ticks { display: grid; gap: 13px; font: 500 16px/1.4 var(--font-body); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ''; flex: none; width: 19px; height: 19px; margin-top: 1px; border-radius: 50%;
  background: var(--hot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f0d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.card .btn { margin-top: auto; }
.card-plus { --fg: var(--t-chalk); --dim: rgba(239, 233, 218, .76); --line: rgba(239, 233, 218, .24); --hot: var(--t-lime); --btn-bg: var(--t-lime); --btn-fg: #0b1006; background: var(--t-ink); border-color: var(--t-ink); color: var(--fg); }
.flag { position: absolute; top: -13px; left: var(--pad); padding: 7px 12px; border-radius: 99px; background: var(--t-lime); color: var(--t-ink); font: 700 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.section-head .lede { max-width: 31em; }

/* questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.qa details { border-top: 1.5px solid var(--line); }
.qa details:last-child { border-bottom: 1.5px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(18px, .6vw + 12px, 22px)/1.3 var(--font-body); letter-spacing: -.012em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform .45s var(--ease), background-color .25s, border-color .25s;
}
.qa summary:hover::after { border-color: var(--hot); }
.qa details[open] summary::after { transform: rotate(135deg); border-color: var(--hot); }
.answer { max-width: 38em; padding: 0 0 26px; color: var(--dim); font-size: 17px; line-height: 1.62; animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* last call */
.final .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.final .still { margin-top: 40px; }

/* 6 ---------------------------------------------------------------------- */
/* Live layout: the 3D scene is on. Sections are see-through to the canvas except their colour layer. */
html.live .still { display: none; }
html.live .cue { display: flex; position: absolute; left: var(--gutter); bottom: 26px; z-index: 2; align-items: center; gap: 12px; font: 700 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
html.live .cue span { width: 1.5px; height: 40px; background: currentColor; transform-origin: top; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

html.live .scene { padding-block: 0; }
html.live .hero { min-height: 100vh; min-height: 100svh; padding: 0; }
html.live .stage.wrap { display: flex; align-items: center; height: 100vh; height: 100svh; padding-block: 88px 56px; }
html.live .stage[data-side="right"] { justify-content: flex-end; }
html.live .stage .copy { width: min(48%, 640px); }
html.live .hero .copy { width: min(58%, 780px); }
html.live .hero .display { font-size: clamp(52px, min(8.3vw, 13.8vh), 124px); }

/* chapters: the facts appear one at a time as you scroll */
html.live .facts li { opacity: .22; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.live .facts li.on { opacity: 1; transform: none; }

/* how it works: the steps light up in turn */
html.live .how .copy { width: min(46%, 600px); }
html.live .steps::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: linear-gradient(var(--hot) calc(var(--steps, 0) * 100%), transparent 0); opacity: .9; }
html.live .step { opacity: .38; padding-left: 22px; transition: opacity .5s var(--ease); }
html.live .step.is-on { opacity: 1; }

/* the scene sections without a pinned stage */
html.live .ratings .wrap, html.live .plans .wrap, html.live .faq .wrap, html.live .final .wrap { min-height: 100vh; min-height: 100svh; padding-block: clamp(96px, 15vh, 150px) clamp(64px, 10vh, 110px); justify-content: center; }
html.live .ratings .wrap > *, html.live .faq .wrap > * { max-width: min(60%, 760px); }
html.live .faq-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 4vh, 40px); }
html.live .plans .wrap > * { margin-left: auto; width: min(60%, 820px); }
html.live .final .wrap { align-items: flex-start; }
html.live .final .wrap > * { margin-left: auto; width: min(52%, 640px); }
html.live .final .actions { width: min(52%, 640px); }
html.live .final .display { font-size: clamp(50px, min(7.6vw, 14vh), 124px); }

/* things that rise in as they arrive (js/scroll.js adds .reveal, then .in) */
html.live .reveal .ln > span { transform: translateY(112%); transition: transform .85s var(--ease); }
html.live .reveal .ln:nth-child(2) > span { transition-delay: .07s; }
html.live .reveal .ln:nth-child(3) > span { transition-delay: .14s; }
html.live .reveal.in .ln > span { transform: none; }
html.live .reveal .eyebrow, html.live .reveal .lede, html.live .reveal .actions, html.live .reveal .proof, html.live .reveal .steps, html.live .reveal .score, html.live .reveal .answer { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.live .reveal .eyebrow { transition-delay: 0s; }
html.live .reveal .lede { transition-delay: .22s; }
html.live .reveal .actions { transition-delay: .3s; }
html.live .reveal .proof { transition-delay: .38s; }
html.live .reveal .steps { transition-delay: .26s; }
html.live .reveal.in .eyebrow, html.live .reveal.in .lede, html.live .reveal.in .actions, html.live .reveal.in .proof, html.live .reveal.in .steps, html.live .reveal.in .score, html.live .reveal.in .answer { opacity: 1; transform: none; }
html.live .quote.reveal, html.live .card.reveal, html.live .qa.reveal, html.live .final .wrap > .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.live .quote.reveal.in, html.live .card.reveal.in, html.live .qa.reveal.in, html.live .final .wrap > .reveal.in { opacity: 1; transform: none; }
html.live .quote:nth-child(2).reveal { transition-delay: .1s; }
html.live .quote:nth-child(3).reveal { transition-delay: .2s; }
html.live .card:nth-child(2).reveal { transition-delay: .12s; }

/* 8 ---------------------------------------------------------------------- */
.footer { position: relative; z-index: 2; overflow: hidden; background: var(--t-ink); color: var(--t-chalk); padding: clamp(56px, 9vh, 96px) 0 26px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 12px 30px; font: 700 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-cols a { padding: 6px 0; opacity: .82; transition: opacity .2s, color .2s; }
.footer-cols a:hover { opacity: 1; color: var(--t-lime); }
.mail { font: 600 clamp(17px, 1.3vw, 21px)/1.2 var(--font-body); border-bottom: 2px solid var(--t-lime); padding-bottom: 3px; }
.wordmark { margin-top: clamp(28px, 6vh, 64px); font: 400 calc(min(100vw - var(--gutter) * 2, var(--max)) / 3.24)/.78 var(--font-display); text-transform: uppercase; letter-spacing: -.012em; color: var(--t-lime); white-space: nowrap; text-align: center; user-select: none; }
.lanes { height: clamp(70px, 12vh, 130px); margin-top: clamp(14px, 2.4vh, 26px); background:
  linear-gradient(90deg, transparent 0 24%, rgba(239, 233, 218, .55) 24% calc(24% + 3px), transparent calc(24% + 3px)),
  repeating-linear-gradient(180deg, rgba(239, 233, 218, .34) 0 1.5px, transparent 1.5px 14px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 22px; font-size: 13.5px; color: rgba(239, 233, 218, .66); }

/* 9 ---------------------------------------------------------------------- */
/* Tall screens: phones, and tablets held upright. The phone moves to the top, the words go below it. */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .stage.wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stage[data-side="right"] .copy { order: 0; }
  .nav-links { display: none; }
  .nav { padding-block: 12px; }
  .rail { display: none; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .cards, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .display { font-size: clamp(42px, 11.4vw, 84px); }

  html.live .stage.wrap { flex-direction: column; justify-content: flex-end; align-items: stretch; padding-block: 0 clamp(20px, 3.4svh, 36px); }
  html.live .stage[data-side="right"] { justify-content: flex-end; }
  html.live .stage .copy, html.live .hero .copy, html.live .how .copy { width: 100%; }
  html.live .hero .display { font-size: clamp(44px, 12.4vw, 92px); }
  html.live .display { font-size: clamp(40px, 11.4vw, 84px); }
  html.live .lede { margin-top: 14px; font-size: 16px; line-height: 1.48; }
  html.live .eyebrow { margin-bottom: 12px; }
  html.live .actions { margin-top: 18px; gap: 10px; }
  html.live .actions { flex-wrap: nowrap; }
  html.live .actions .btn { flex: 1 1 auto; padding: .95em .8em; font-size: 14px; gap: .45em; }
  html.live .actions .btn svg { width: 1.1em; height: 1.1em; }
  html.live .proof { display: none; }
  html.live .facts { margin-top: 18px; }
  html.live .facts b { font-size: 22px; }
  html.live .facts span { font-size: 12.5px; }
  html.live .cue { display: none; }
  html.live .steps { margin-top: 16px; }
  html.live .step { padding: 11px 0 11px 18px; grid-template-columns: 44px minmax(0, 1fr); }
  html.live .step h3 { font-size: 17px; }
  html.live .step p { font-size: 14.5px; }
  html.live .steps .step:not(.is-on) p { display: none; }
  html.live .ratings .wrap > *, html.live .faq .wrap > *, html.live .plans .wrap > *, html.live .final .wrap > *, html.live .final .actions { max-width: none; width: 100%; margin-left: 0; }
  html.live .ratings .wrap, html.live .plans .wrap, html.live .faq .wrap { min-height: 0; padding-block: 96px 72px; }
  html.live .final .wrap { justify-content: flex-start; align-items: stretch; padding-top: clamp(96px, 14svh, 120px); }
  html.live .final .display { font-size: clamp(42px, 12vw, 80px); }
  .quote { grid-template-columns: 40px minmax(0, 1fr); }
  .quote::before { font-size: 60px; }
  .score-num { font-size: 80px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  html.live .lede { font-size: 15px; }
  html.live .facts { display: none; }
}
/* Short windows (a laptop with a tall browser toolbar): the same layout, a little tighter. */
@media (min-width: 761px) and (max-height: 700px) {
  html.live .stage.wrap { padding-block: 76px 28px; }
  html.live .display { font-size: clamp(44px, min(7.2vw, 11vh), 120px); }
  html.live .hero .display { font-size: clamp(46px, min(8.3vw, 12vh), 124px); }
  html.live .final .display { font-size: clamp(44px, min(7.6vw, 11vh), 124px); }
  html.live .lede { margin-top: 14px; font-size: 16px; line-height: 1.5; }
  html.live .eyebrow { margin-bottom: 14px; }
  html.live .actions { margin-top: 20px; }
  html.live .proof { display: none; }
  html.live .facts { margin-top: 18px; }
}

/* 10 --------------------------------------------------------------------- */
/* The page asks for less motion, or the 3D scene is off: nothing is hidden and nothing waits to appear. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* a single still of the phone, drawn by ?still=N (see README) */
html.still-mode, html.still-mode body { background: transparent !important; }
html.still-mode body > :not(#stage) { display: none !important; }
html.still-mode #stage { opacity: 1; transition: none; }
