/* RightLoad landing page (spec 2026-10-31-landing-page). Dark only (R12):
   prefers-color-scheme is deliberately ignored. */
@font-face { font-family: "Display"; src: url(/s/bb27c25be5/fonts/display.woff2) format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Body"; src: url(/s/5d5e9383db/fonts/body.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #111214;
  --raised: #1a1b1e;
  --line: #2a2c31;
  --steel: #8b9099;
  --soft: #c9cbd0;
  --ink: #f3f2ef;
  --flame: #ff5b33;
  --gutter: clamp(16px, 5vw, 72px);
  /* Content stays within 1280 px; wider screens get wider margins (review 1). */
  --edge: max(var(--gutter), calc((100vw - 1280px) / 2));
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
body { font: 400 18px/1.55 "Body", system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 400; color: var(--ink); }
figure { margin: 0; }
figcaption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--steel); }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 4px; border-radius: 6px; }

.label { font-size: 14px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.display { font: italic 800 1em/.86 "Display", sans-serif; text-transform: uppercase; letter-spacing: -.01em; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--edge); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(17, 18, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .home { display: inline-flex; align-items: center; gap: 10px; }
.nav .home img { height: 22px; width: auto; }
.nav .home img:first-child { height: 28px; }
.nav .get { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, color .2s; }
.nav .get:hover { border-color: var(--flame); color: var(--flame); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 40px; padding: 104px var(--edge) 48px; overflow: hidden; }
.glow { position: absolute; width: 900px; height: 900px; right: -180px; top: 50%; translate: 0 -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 91, 51, .30), rgba(255, 91, 51, .08) 55%, transparent 72%); filter: blur(10px); }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(54px, 8.4vw, 140px); }
.hero h1 .line { display: block; overflow: hidden; padding: .04em 0 .02em; }
.hero h1 .w { display: inline-block; }
.flame { color: var(--flame); }
.eyebrow { margin-bottom: 22px; }
.lede { max-width: 36ch; margin-top: 24px; font-size: clamp(19px, 1.5vw, 22px); color: var(--soft); }
.control-line { max-width: 36ch; margin-top: 14px; font-size: clamp(19px, 1.5vw, 22px); color: var(--ink); }
.hero-phone { position: relative; justify-self: center; }
.hero-phone .phone { width: min(370px, 78vw, calc((100svh - 200px) * 1206 / 2622)); }

/* Calls to action. The badge is Apple's artwork: never transformed, only faded (R6). */
.cta { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 14px; margin: -14px; border-radius: 12px; transition: opacity .2s; }
.badge img { height: 56px; width: auto; }
.badge:hover { opacity: .82; }
.badge:active { opacity: .65; }
.qr { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 16px; }
.qr img { width: 84px; height: 84px; border-radius: 8px; background: #fff; }
.qr p { font-size: 15px; line-height: 1.35; color: var(--steel); }
.qr-title { display: block; color: var(--ink); }
/* Before release: a status line, not something that looks clickable (review 3). */
.soon { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; color: var(--ink); }
.soon .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgba(255, 91, 51, .18); }
.nav .soon-nav { border: 0; padding: 11px 0; color: var(--steel); }
.nav .soon-nav:hover { color: var(--steel); }
.price { margin-top: 22px; font-size: 17px; color: var(--soft); }
.fine { margin-top: 4px; font-size: 15px; color: var(--steel); }

/* Phone frame */
.phone { position: relative; width: min(370px, 78vw); aspect-ratio: 1206 / 2622; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #3a3c41, #141517 40%, #26282c);
  box-shadow: 0 0 0 1px #000, 0 40px 120px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(255, 91, 51, .45); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.clip.out { opacity: 0; transform: scale(1.04); }
.island { position: absolute; z-index: 2; top: 20px; left: 50%; translate: -50% 0; width: 32%; height: 28px; border-radius: 20px; background: #000; }

/* Pause / play for all clips (WCAG 2.2.2): a quiet text control in the caption */
.pause { font: inherit; color: var(--steel); background: none; border: 0; padding: 4px 2px; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.pause:hover { color: var(--ink); text-decoration-color: var(--flame); }

/* Story */
.story { position: relative; padding: 0 var(--edge); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.chapter { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 520px; position: relative; z-index: 2;
  padding: 96px 0 25vh; /* clear of the nav above and the ledger band below (review 2) */ }
.chapter h2 { font-size: clamp(48px, 5.2vw, 84px); margin: 18px 0 22px; }
.chapter h2 em { font-style: inherit; color: var(--flame); }
.chapter p { color: var(--soft); max-width: 40ch; }
.chapter ul { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.chapter li { display: flex; gap: 14px; align-items: baseline; }
.chapter .note { margin-top: 22px; font-size: 15px; color: var(--steel); }
.chapter li::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--flame); translate: 0 -5px; }
.chapter .in-chapter { display: none; }
.stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding-top: 64px; z-index: 2; }
.stage .phone { width: min(390px, calc((100vh - 150px) * 1206 / 2622)); }

/* Signature: the top set climbs week by week with the scroll */
.ledger { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ledger-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--edge) 3vh; }
.ledger .kg { display: flex; align-items: baseline; gap: .12em; font: italic 800 clamp(100px, min(19vh, 16vw), 240px)/.8 "Display", sans-serif;
  color: transparent; -webkit-text-stroke: 1.5px #3c3f45; white-space: nowrap; }
.ledger .digits { position: relative; display: inline-block; overflow: hidden; height: .82em; }
.ledger .digits span { display: block; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.ledger .unit { font-size: .26em; }
.ledger .meta { display: flex; gap: 28px; margin-bottom: 14px; }
.ledger .meta-title { color: var(--soft); }
.ledger .meta b { color: var(--flame); font-weight: 400; }

/* Close */
.close { position: relative; padding: 18vh var(--gutter) 14vh; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.close .glow { right: 50%; translate: 50% -50%; top: 55%; width: 1100px; height: 700px; }
.close h2 { position: relative; font-size: clamp(60px, 9vw, 150px); }
.close h2 span { color: var(--flame); }
.close .cta { position: relative; justify-content: center; }
.close .price, .close .fine { position: relative; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 32px var(--edge) 40px; border-top: 1px solid var(--line); color: var(--steel); font-size: 15px; }
footer nav { display: flex; gap: 28px; }
footer a { text-decoration: none; padding: 6px 0; }
footer a:hover { color: var(--ink); }

/* Motion: only once JS is running, never with reduced motion (R7, R10, R16) */
.js .hero h1 .w { transform: translateY(105%); transition: transform .8s var(--ease); }
.js .eyebrow, .js .lede, .js .control-line, .js .hero .price, .js .hero .fine { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .hero-phone { opacity: 0; transition: opacity .9s var(--ease); }
.js .hero-phone .phone { transform: translateY(80px) rotate(7deg); transition: transform 1s var(--ease); transition-delay: inherit; }
.js .hero .glow { opacity: 0; transition: opacity 1.2s ease; }
.js.ready .hero h1 .w, .js.ready .eyebrow, .js.ready .lede, .js.ready .control-line, .js.ready .hero .price, .js.ready .hero .fine { transform: none; opacity: 1; translate: 0 0; }
.js.ready .hero-phone { opacity: 1; }
.js.ready .hero-phone .phone { transform: translateY(var(--py, 0px)) rotate(var(--rot, -3deg)); }
.js.ready.settled .hero-phone .phone { transition: none; }
.js.ready .hero .glow { opacity: 1; }
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.static .reveal { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Small screens: no pinned phone, each chapter carries its own clip (R8, R17) */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .hero-phone { margin-top: 24px; }
  .qr { display: none; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .stage, .ledger { display: none; }
  .chapter { min-height: auto; padding: 72px 0; border-top: 1px solid var(--line); }
  .chapter .in-chapter { display: block; margin: 36px auto 0; width: min(300px, 78vw); }
  .chapter .in-chapter .phone { width: 100%; }
  .close { padding: 96px var(--gutter); }
  .nav .get { padding: 10px 14px; font-size: 13px; }
}
