/* The ASIN Ledger · marketing site
   Layout: a night-to-morning scroll story. Left-aligned editorial type; real product
   screens break the grid. Night sections sell the pain, morning sections the calm. */
:root {
  --night: #0A0F1E;
  --night-deep: #070B16;
  --night-2: #121A33;
  --night-line: rgba(196, 210, 255, .12);
  --on-night: #EEF2FA;
  --mist: #A7B2CC;
  --day: #F4F6FA;
  --day-2: #E9EEF6;
  --day-line: rgba(12, 17, 34, .10);
  --ink: #0C1122;
  --ink-2: #4A546F;
  --sun: #FF8A5C;
  --amber: #FFB86B;
  --gold: #FFE2A8;
  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: 28px;
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, 1.35, .35, 1);
  --screen: #F4F1E9;   /* the Ledger's paper, behind a phone's status bar */
  /* fine grain over the big dark gradients: hides banding on 8-bit screens */
  --grain: 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='.85' 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 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
  interpolate-size: allow-keywords;
}
::selection { background: rgba(255, 184, 107, .38); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the flex / grid rules below would otherwise keep hidden parts on screen */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
/* on the light sections amber is too faint for a focus ring (under 3:1): a deep terracotta there */
[data-tone="day"] :focus-visible, .nav.on-day :focus-visible { outline-color: #B4532E; }
[data-tone="day"] .plan-hot :focus-visible { outline-color: var(--amber); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 11px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: calc(14px + env(safe-area-inset-top, 0px)); }
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mist);
}
[data-tone="day"] .kicker { color: #A0532C; }
.kdot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 184, 107, .16), 0 0 18px rgba(255, 184, 107, .8); }
.h2 {
  font-family: var(--f-display);
  font-weight: 620; font-stretch: 92%;
  font-size: clamp(40px, 6.1vw, 92px);
  line-height: .95; letter-spacing: -.042em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 600; font-stretch: 94%;
  font-size: clamp(27px, 2.6vw, 40px);
  line-height: 1.04; letter-spacing: -.032em;
  text-wrap: balance;
}
.lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 33em; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 600 16px/1 var(--f-body); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn-sun {
  color: #1D1206;
  background: linear-gradient(135deg, #FFEBC2 0%, #FFBE73 46%, #FF8F5E 100%);
  box-shadow: 0 12px 34px -12px rgba(255, 138, 92, .75), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-sun:hover { box-shadow: 0 18px 44px -12px rgba(255, 138, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { color: inherit; background: rgba(196, 210, 255, .07); box-shadow: inset 0 0 0 1px rgba(196, 210, 255, .24); }
.btn-ghost:hover { background: rgba(196, 210, 255, .13); }
.btn-ink { color: #fff; background: var(--ink); }
.btn-ink:hover { background: #222B48; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-night);
  transition: background-color .45s, box-shadow .45s, color .45s, backdrop-filter .45s;
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--f-display); font-weight: 650; font-size: 18px; letter-spacing: -.02em; flex: none; }
.mark { width: 32px; height: 32px; flex: none; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: 15px; opacity: .78; transition: opacity .25s; }
.nav-links a:not(.btn):hover, .nav-links a.is-here { opacity: 1; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(255, 184, 107, .8); opacity: 0; transform: scale(.3); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.nav-links a.is-here::after { opacity: 1; transform: none; }
.nav.on-day .nav-links a:not(.btn)::after { background: var(--sun); box-shadow: none; }
.nav-menu-cta { display: none; }
.burger { display: none; }
.nav-demo { flex: none; }
.nav.on-day .nav-demo { background: rgba(12, 17, 34, .04); box-shadow: inset 0 0 0 1px rgba(12, 17, 34, .16); }
.nav.on-day .nav-demo:hover { background: rgba(12, 17, 34, .08); }
/* "live": a small green light in front of every live-demo link */
.live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .2), 0 0 10px rgba(61, 220, 151, .55); }
.nav.on-day .live { background: #1FA971; box-shadow: 0 0 0 3px rgba(31, 169, 113, .16); }
.nav.solid { background: rgba(10, 15, 30, .72); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 rgba(196, 210, 255, .08); }
.nav.on-day { color: var(--ink); }
.nav.on-day.solid { background: rgba(244, 246, 250, .8); box-shadow: 0 1px 0 rgba(12, 17, 34, .08); }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--amber), var(--sun)); opacity: .9; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow-x: clip;
  padding-top: calc(132px + env(safe-area-inset-top, 0px));
  background: var(--grain), linear-gradient(180deg, #060A15 0%, var(--night) 40%, #0E1430 76%, var(--night-deep) 100%);
}
.k-short { display: none; }
.stars { position: absolute; inset: 0 0 30% 0; width: 100%; height: 70%; pointer-events: none; opacity: .9; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  grid-template-areas: "kicker kicker" "title side";
  column-gap: clamp(32px, 4vw, 72px); align-items: end;
}
.hero-kicker { grid-area: kicker; }
.hero-title {
  grid-area: title;
  font-family: var(--f-display); font-weight: 640; font-stretch: 90%;
  font-size: clamp(60px, 11.6vw, 176px);
  line-height: .86; letter-spacing: -.055em;
  margin-left: -.04em;
}
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; }
.knowing {
  font-weight: 720; letter-spacing: -.06em;
  padding: 0 .06em .16em 0; margin-bottom: -.16em;   /* room for the g's descender inside the clipped gradient */
  background: linear-gradient(180deg, #FFF3DA 0%, #FFC67E 32%, #FF8E5E 58%, #8C5BA6 82%, #2E3A73 100%);
  background-size: 100% 300%; background-position: 50% 4%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-side { grid-area: side; display: grid; gap: 26px; padding-bottom: 14px; }
.hero-side .lede { color: #C9D2E8; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--mist); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--amber) 0 3px, transparent 3.5px), rgba(255, 184, 107, .16); }

.hero-stage { position: relative; margin-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(70px, 9vw, 130px); perspective: 1700px; }
.sun {
  position: absolute; left: 50%; top: 0; z-index: 0;
  width: min(1500px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, var(--sun-y, -34%));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 176, .62) 0%, rgba(255, 170, 112, .42) 14%, rgba(240, 110, 120, .2) 30%, rgba(90, 70, 150, .08) 46%, transparent 62%);
  pointer-events: none;
}
.horizon { position: absolute; left: 0; right: 0; top: 34px; height: 1px; z-index: 0; background: linear-gradient(90deg, transparent, rgba(255, 214, 160, .55) 30%, rgba(255, 214, 160, .55) 70%, transparent); }
.hero-shot {
  position: relative; z-index: 1;
  width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto;
  transform-origin: 50% 0%;
  transform: rotateX(var(--tilt, 22deg)) scale(var(--scale, .95));
  will-change: transform;
}
.phone.hero-phone {
  position: absolute; z-index: 2;
  right: max(3vw, calc(50% - 650px)); bottom: clamp(20px, 3vw, 50px);
  width: clamp(130px, 16vw, 236px);
  transform: translateY(var(--ph-y, 0px)) rotate(-5deg);
}

/* ---------- frames ---------- */
.frame { position: relative; border-radius: 14px; overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .22; flex: none; }
.frame-url { margin-left: 10px; padding: 4px 12px; border-radius: 6px; background: rgba(130, 145, 190, .13); font-family: var(--f-mono); font-size: 11.5px; opacity: .75; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; }
.frame-dark { background: #10172D; color: #C8D2EC; box-shadow: 0 0 0 1px rgba(196, 210, 255, .12), 0 50px 130px -30px rgba(0, 0, 0, .8), 0 0 180px -30px rgba(255, 166, 110, .4); }
.frame-light { background: #FFFFFF; color: #4C5672; box-shadow: 0 0 0 1px rgba(12, 17, 34, .07), 0 40px 90px -36px rgba(18, 28, 60, .38); }

/* ---------- phone ----------
   Sized from its own width (container units), so the bezel, island and status bar look the
   same at 120 px in the hero and at 300 px in a step. */
.phone {
  position: relative;
  container-type: inline-size;
  border-radius: 15.5% / 7.4%;
  background: linear-gradient(150deg, #5A6386 0%, #1C2238 16%, #0A0E1B 48%, #1C2238 84%, #4A5378 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 2.5px rgba(0, 0, 0, .55), 0 44px 80px -34px rgba(0, 0, 0, .62), 0 14px 26px -16px rgba(0, 0, 0, .45);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 1.1%; border-radius: 2px; background: linear-gradient(90deg, #3A4263, #161B2E); }
.phone::before { left: -1%; top: 19%; height: 15%; background: linear-gradient(#2E3554 0 42%, transparent 42% 56%, #2E3554 56%); }   /* volume */
.phone::after { right: -1%; top: 24%; height: 9%; }                                                                                  /* power */
.phone-screen {
  position: relative; overflow: hidden;
  margin: 9px; margin: 3.3cqw;
  aspect-ratio: 393 / 852;
  border-radius: 12.4cqw;
  background: var(--screen);
  box-shadow: 0 0 0 2.1cqw #04060B;
}
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; background: linear-gradient(116deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 26%, rgba(255, 255, 255, 0) 40%); }
.status {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: 11.6cqw; padding: 0 6.6cqw 0 9.2cqw;
  font: 650 4.3cqw/1 var(--f-body); letter-spacing: -.01em; color: #15120F;
  background: var(--screen);
}
.status::before { content: ""; position: absolute; left: 50%; top: 2.5cqw; width: 28cqw; height: 8.2cqw; transform: translateX(-50%); border-radius: 99px; background: #04060B; }
.status .sb { width: 17.6cqw; height: 3.2cqw; fill: currentColor; color: #15120F; }
.phone-screen img { width: 100%; }

/* ---------- pain ---------- */
.pain { position: relative; height: 330vh; background: var(--grain), var(--night-deep); }
.pain-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pain-sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 60%, rgba(120, 60, 80, .16), transparent 70%); pointer-events: none; }
.pain-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pain-copy { position: relative; z-index: 2; }
.moments { list-style: none; margin: clamp(26px, 3.4vh, 44px) 0 0; padding: 0; display: grid; gap: clamp(12px, 2.2vh, 22px); }
.moments li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: baseline; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }
.moments time { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #F2A27E; }
.moments p { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 1.75vw, 26px); line-height: 1.22; letter-spacing: -.018em; }
.js .moments li { opacity: .12; filter: blur(4px); transform: translateY(12px); }
.js .moments li.on { opacity: 1; filter: none; transform: none; }
.pain-end { margin-top: clamp(26px, 4vh, 48px); max-width: 17em; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; color: var(--amber); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .pain-end { opacity: 0; transform: translateY(14px); }
.js .pain-end.on { opacity: 1; transform: none; }
.pile { position: relative; height: min(68vh, 600px); }
.file {
  position: absolute; left: var(--x); top: var(--y);
  width: min(380px, 86%);
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 13px;
  background: linear-gradient(180deg, #19213F, #131A33);
  border: 1px solid rgba(196, 210, 255, .1);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .8);
  transform: rotate(var(--r));
  transition: opacity .55s var(--ease), transform .8s cubic-bezier(.2, .9, .25, 1.15);
}
.js .file { opacity: 0; transform: translateY(-70px) rotate(calc(var(--r) * 2.4)) scale(.94); }
.js .file.on { opacity: 1; transform: rotate(var(--r)); }
.ext { padding: 8px 0; border-radius: 8px; text-align: center; font: 500 10.5px/1 var(--f-mono); letter-spacing: .04em; color: #E7FFF1; background: #1F7A4D; }
.ext.x { background: #17603D; }
.ext.t { background: #3B4462; color: #E2E8F6; }
.fn { font-family: var(--f-mono); font-size: 12.5px; color: #DCE3F4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs { font-family: var(--f-mono); font-size: 11px; color: var(--mist); }

/* ---------- turn (sunrise) ---------- */
.turn { position: relative; height: 300vh; --n: 1; --d: 0; --m: 0; --sr: 0; }
.turn-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--on-night); transition: color .8s var(--ease); }
.turn.is-day .turn-sticky { color: var(--ink); }
.turn .kicker { transition: color .8s var(--ease); }
.turn.is-day .kicker { color: #A0532C; }
.turn-sky { position: absolute; inset: 0; background: var(--grain), linear-gradient(180deg, var(--s1, #070B16) 0%, var(--s2, #0B1128) 55%, var(--s3, #111839) 100%); }
.turn-sun {
  position: absolute; left: 62%; bottom: 0;
  width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, calc(68% - var(--sr) * 46%));
  background: radial-gradient(circle, rgba(255, 244, 214, 1) 0%, rgba(255, 214, 150, .95) 12%, rgba(255, 170, 110, .55) 26%, rgba(255, 140, 100, .18) 42%, transparent 62%);
  opacity: calc(.25 + var(--d) * .75 + var(--m) * .2);
}
.turn-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.clock { margin: clamp(18px, 3vh, 34px) 0 clamp(14px, 2.4vh, 26px); font-family: var(--f-mono); font-weight: 500; font-size: clamp(54px, 7vw, 108px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.colon { display: inline-block; margin: 0 -.1em; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.story { display: grid; gap: clamp(10px, 1.8vh, 18px); max-width: 32em; }
.story p { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.story p:first-child { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.js .story p, .js .calm { opacity: 0; transform: translateY(16px); }
.js .story p.on, .js .calm.on { opacity: 1; transform: none; }
.calm { margin-top: clamp(18px, 3vh, 34px); font-family: var(--f-display); font-weight: 620; font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.05; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.turn-phone { width: clamp(220px, 21vw, 300px); justify-self: center; transform: translateY(var(--php, 40px)) rotate(4deg); }

/* the notification: in the copy on phones, on the lock screen on wider screens */
.notif {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start;
  width: min(380px, 100%); padding: 12px 14px 13px; border-radius: 20px;
  color: #10131F; text-align: left;
  background: rgba(250, 250, 253, .78);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .5), 0 18px 40px -16px rgba(5, 8, 20, .55);
  transition: opacity .5s var(--ease), transform .8s var(--spring);
}
.notif-ic { width: 38px; height: 38px; border-radius: 9px; }
.notif-b { display: grid; gap: 1px; min-width: 0; }
.notif-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #5C6279; }
.notif-h b { font-weight: 600; letter-spacing: .01em; text-transform: uppercase; font-size: 11.5px; }
.notif-t { font-weight: 650; font-size: 15px; letter-spacing: -.01em; margin-top: 2px; }
.notif-m { font-size: 14px; line-height: 1.35; color: #2C3246; }
.js .notif { opacity: 0; transform: translateY(-16px) scale(.94); }
.js .notif.on { opacity: 1; transform: none; }
.notif-flow { display: none; }

.lock {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  padding: 17cqw 4.6cqw 0;
  color: #fff;
  background: radial-gradient(120% 60% at 50% 112%, #F2A273 0%, #A55E7E 26%, #3B3168 52%, transparent 74%), linear-gradient(180deg, #070B18 0%, #10173A 58%, #2A2A5C 100%);
  transition: opacity .9s var(--ease), filter .9s var(--ease);
}
.lock::before { content: ""; position: absolute; left: 50%; top: 2.5cqw; width: 28cqw; height: 8.2cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.lock-day { font-size: 5cqw; font-weight: 600; letter-spacing: .01em; opacity: .9; }
.lock-time { margin-top: .5cqw; font-family: var(--f-display); font-weight: 560; font-stretch: 88%; font-size: 23cqw; line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lock .notif { width: 100%; margin-top: 9cqw; grid-template-columns: 10.5cqw minmax(0, 1fr); gap: 3cqw; padding: 3.4cqw 3.8cqw 3.8cqw; border-radius: 5.6cqw; background: rgba(240, 242, 250, .72); }
.lock .notif-ic { width: 10.5cqw; height: 10.5cqw; border-radius: 2.6cqw; }
.lock .notif-h { font-size: 3.5cqw; }
.lock .notif-h b { font-size: 3.3cqw; }
.lock .notif-t { font-size: 4.3cqw; }
.lock .notif-m { font-size: 3.9cqw; }
.turn-phone.unlocked .lock { opacity: 0; filter: blur(6px); }

/* ---------- inside (scrollytelling) ---------- */
.inside { position: relative; background: var(--day); color: var(--ink); padding-block: clamp(110px, 12vw, 180px) clamp(40px, 6vw, 90px); }
.inside-head { display: grid; gap: 22px; }
.inside-head .lede { color: var(--ink-2); }
.scrolly { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 5vw, 84px); margin-top: clamp(10px, 1.5vw, 24px); }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 48px; transition: opacity .6s var(--ease); }
.js .step { opacity: .22; }
.js .step.is-on { opacity: 1; }
.step > p:not(.feel):not(.fact) { color: var(--ink-2); font-size: 18px; max-width: 30em; }
.feel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #B4532E; }
.feel span { width: 26px; height: 2px; background: linear-gradient(90deg, var(--sun), var(--amber)); border-radius: 2px; }
.fact { display: grid; gap: 4px; margin-top: 6px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--day-line); max-width: 30em; }
.fact b { font-family: var(--f-display); font-weight: 650; font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.fact span { font-size: 15px; color: var(--ink-2); }
.step:first-child { min-height: 62vh; }
.step-shot, .step-phone { display: none; }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.mid-cta > span { font-size: 14.5px; color: var(--mist); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.stage-inner { position: relative; width: 100%; aspect-ratio: 1440 / 936; }
.stage-shot {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; transform: translateY(26px) scale(.975);
  clip-path: inset(0 0 100% 0 round 14px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), clip-path .9s var(--ease);
}
.stage-shot.is-on { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); }
.shot-img { position: relative; overflow: hidden; }
/* spotlight: a light veil over the rest of the screen, a warm ring around the part that matters */
.hl {
  position: absolute; border-radius: 10px; pointer-events: none;
  outline: 2px solid var(--sun); outline-offset: 3px;
  box-shadow: 0 0 0 200vmax rgba(244, 246, 250, 0);
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s var(--ease) .35s, transform .8s var(--ease) .35s, box-shadow .9s var(--ease) .35s;
}
.stage-shot.is-on .hl {
  opacity: 1; transform: none;
  box-shadow: 0 0 0 7px rgba(255, 138, 92, .16), 0 0 44px 8px rgba(255, 150, 96, .34), 0 0 0 200vmax rgba(244, 246, 250, .42);
  animation: hlBreathe 2.8s ease-in-out 1.4s infinite;
}
@keyframes hlBreathe { 50% { outline-offset: 6px; outline-color: rgba(255, 138, 92, .55); } }
.hl b {
  position: absolute; right: 12px; top: 0; transform: translateY(-50%);
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font: 600 13.5px/1 var(--f-body); color: #1D1206;
  background: linear-gradient(135deg, #FFEBC2, #FFB36B);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), 0 12px 26px -10px rgba(255, 120, 80, .8);
}
.hl.in b { top: 10px; transform: none; }   /* label inside the top-right corner, over an empty title row */

/* ---------- night shift ---------- */
/* the day fades into the night at the top and comes back at the bottom */
.night {
  position: relative; overflow: clip;
  padding-block: clamp(150px, 15vw, 230px) clamp(170px, 17vw, 260px);
  background:
    var(--grain),
    linear-gradient(180deg, var(--day) 0, #DCE1EE 30px, #9AA3C6 74px, #4A5285 124px, #1A2148 178px, rgba(10, 15, 30, 0) 250px),
    linear-gradient(0deg, var(--day) 0, #F2E4DA 26px, #DDB3A6 64px, #8E6E98 108px, #343A6E 158px, #141A3C 206px, rgba(10, 15, 30, 0) 270px),
    radial-gradient(70% 60% at 85% 12%, #1A2350 0%, var(--night) 62%);
}
.night .stars { inset: 0; height: 100%; opacity: .55; }
.night-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.night-copy { display: grid; gap: 22px; position: sticky; top: 150px; }
.night-copy .lede { color: #C3CCE2; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: grid; gap: clamp(40px, 5vw, 64px); --lp: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 8px; top: 10px; width: 2px; border-radius: 2px; }
.timeline::before { bottom: 10px; background: rgba(196, 210, 255, .13); }
.timeline::after { height: calc((100% - 20px) * var(--lp)); background: linear-gradient(var(--gold), var(--sun)); box-shadow: 0 0 14px rgba(255, 160, 100, .7); }
.timeline li { position: relative; display: grid; gap: 8px; transition: opacity .6s var(--ease); }
.timeline li::before { content: ""; position: absolute; left: -44px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--night); border: 2px solid rgba(196, 210, 255, .3); transition: background-color .45s, border-color .45s, box-shadow .45s; }
.js .timeline li { opacity: .32; }
.js .timeline li.on { opacity: 1; }
.timeline li.on::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 7px rgba(255, 184, 107, .15), 0 0 22px rgba(255, 184, 107, .7); }
.timeline time { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.timeline h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.028em; line-height: 1.1; }
.timeline p { color: #B9C3DB; max-width: 30em; }

/* ---------- pocket ---------- */
.pocket { position: relative; overflow-x: clip; background: var(--day); color: var(--ink); padding-block: clamp(110px, 12vw, 180px) clamp(70px, 8vw, 120px); }
.pocket-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.pocket-copy { display: grid; gap: 22px; }
.pocket-copy .lede { color: var(--ink-2); }
.phones { position: relative; height: clamp(440px, 46vw, 660px); }
.phones .phone { position: absolute; width: clamp(150px, 15vw, 226px); }
.ph-l { left: 3%; top: 14%; transform: translateY(var(--py, 0px)) rotate(-8deg); }
.ph-c { left: 50%; top: 0; z-index: 2; width: clamp(170px, 17vw, 258px) !important; transform: translate(-50%, var(--py, 0px)); }
.ph-r { right: 3%; top: 16%; transform: translateY(var(--py, 0px)) rotate(8deg); }

/* ---------- proof ---------- */
section.proof { background: var(--day); color: var(--ink); padding-block: clamp(40px, 5vw, 70px) clamp(100px, 11vw, 160px); overflow-x: clip; }
section.proof > .wrap:first-child { display: grid; gap: 22px; }
section.proof .lede { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--day-line); }
.stat { padding: 28px 24px 0 0; display: grid; gap: 12px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--day-line); }
.stat b { font-family: var(--f-display); font-weight: 640; font-size: clamp(42px, 5vw, 78px); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 15px; max-width: 16em; }
.gallery { display: grid; gap: 18px; margin-top: clamp(64px, 8vw, 110px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.g-row { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.g-b { animation-duration: 84s; animation-direction: reverse; }
.gallery:hover .g-row { animation-play-state: paused; }
.g-card { flex: none; height: clamp(140px, 14vw, 206px); margin-right: 18px; border-radius: 12px; overflow: hidden; background: #F5F1EA; box-shadow: 0 0 0 1px rgba(12, 17, 34, .07), 0 18px 40px -24px rgba(18, 28, 60, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.g-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(12, 17, 34, .08), 0 28px 50px -24px rgba(18, 28, 60, .5); }
.g-card img { height: 100%; width: auto; max-width: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.founder { display: grid; gap: 28px; max-width: 1000px; margin-top: clamp(70px, 9vw, 120px); }
.founder blockquote { position: relative; margin: 0; padding-top: clamp(46px, 5vw, 76px); }
.founder blockquote::before {
  content: "“"; position: absolute; left: -.04em; top: 0;
  font: 700 clamp(110px, 12vw, 190px)/.8 var(--f-display);
  background: linear-gradient(180deg, #FFD9A0 0%, #FF9A63 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.founder blockquote p { position: relative; font-family: var(--f-display); font-weight: 520; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.034em; text-wrap: balance; }
.founder figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.founder figcaption b { display: block; color: var(--ink); font-size: 16px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--f-display); color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FF9A63); }

/* ---------- how it works: four steps from sign-up to the first morning ----------
   A line runs from each step to the next; when the row comes into view the steps light up one
   after another (site.js adds .arm, then .lit). Without the script they are simply all lit. */
.how { position: relative; background: var(--day); color: var(--ink); padding-block: 0 clamp(100px, 11vw, 160px); }
.how-head { display: grid; gap: 22px; }
.how-head .lede { color: var(--ink-2); }
.how-steps { --gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: clamp(46px, 5vw, 76px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.hs { position: relative; display: grid; align-content: start; gap: 10px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.hs:not(:last-child)::before, .hs:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; right: calc(14px - var(--gap)); height: 2px; border-radius: 2px; }
.hs:not(:last-child)::before { background: rgba(12, 17, 34, .1); }
.hs:not(:last-child)::after { background: linear-gradient(90deg, var(--amber), var(--sun)); transform-origin: 0 50%; transition: transform .75s var(--ease); }
.hs-node { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FF9A63); box-shadow: 0 0 0 6px rgba(255, 170, 110, .15), 0 14px 30px -14px rgba(255, 120, 80, .7); transition: background-color .5s, color .5s, box-shadow .5s, transform .7s var(--spring); }
.hs-node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hs-when { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #A0532C; }
.hs-when b { font-weight: 500; color: var(--ink); }
.hs-h { font-family: var(--f-display); font-weight: 620; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.hs-p { max-width: 22em; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hs-tag { justify-self: start; margin-top: 4px; padding: 6px 10px 5px; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8A3F1E; background: #FFE9D6; }
/* the "before" state, only while the script is waiting for the row to come into view */
.how-steps.arm:not(.lit) .hs { opacity: 0; translate: 0 18px; }
.how-steps.arm:not(.lit) .hs::after { transform: scaleX(0); }
.how-steps.arm:not(.lit) .hs-node { transform: scale(.82); }
.how-steps.lit .hs:nth-child(2), .how-steps.lit .hs:nth-child(2) .hs-node { transition-delay: .32s; }
.how-steps.lit .hs:nth-child(3), .how-steps.lit .hs:nth-child(3) .hs-node { transition-delay: .64s; }
.how-steps.lit .hs:nth-child(4), .how-steps.lit .hs:nth-child(4) .hs-node { transition-delay: .96s; }
.how-steps.lit .hs:nth-child(1)::after { transition-delay: .2s; }
.how-steps.lit .hs:nth-child(2)::after { transition-delay: .52s; }
.how-steps.lit .hs:nth-child(3)::after { transition-delay: .84s; }
.how-alt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: clamp(40px, 4.4vw, 60px); padding-top: 26px; border-top: 1px solid var(--day-line); font-size: 16px; color: var(--ink-2); }
.how-alt a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid rgba(255, 138, 92, .65); transition: border-color .25s; }
.how-alt a:hover { border-bottom-color: var(--sun); }
.how-alt > span:last-child { font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { background: var(--day-2); color: var(--ink); padding-block: clamp(100px, 11vw, 170px); }
.pricing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.pricing-head > div:first-child { display: grid; gap: 22px; }
.pricing-head .lede { color: var(--ink-2); }
.billing { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--day-line); }
.billing button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 15px/1 var(--f-body); cursor: pointer; transition: color .35s var(--ease); }
.billing button[aria-pressed="true"] { color: #fff; }
.bill-thumb { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 6px 16px -8px rgba(12, 17, 34, .6); }
.bill-thumb.ready { transition: transform .55s var(--spring), width .55s var(--spring); }
.no-thumb .billing button[aria-pressed="true"] { background: var(--ink); }
.billing em { font-style: normal; color: #C2562F; margin-left: 4px; }
.billing button[aria-pressed="true"] em { color: var(--gold); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 30px 34px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--day-line), 0 24px 60px -40px rgba(18, 28, 60, .4); }
.plan h3 { font-family: var(--f-display); font-weight: 640; font-size: 30px; letter-spacing: -.03em; }
.plan-for { color: var(--ink-2); font-size: 15px; margin-top: -8px; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 10px 0 6px; font-family: var(--f-display); }
.cur { font-size: 26px; font-weight: 600; align-self: flex-start; margin-top: 10px; }
.amt { font-size: clamp(56px, 5vw, 72px); font-weight: 650; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { margin-left: 6px; font-family: var(--f-body); font-size: 14.5px; color: var(--ink-2); }
.plan .btn { width: 100%; margin-bottom: 8px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15.5px; }
.feat li { display: flex; gap: 11px; align-items: baseline; }
.feat li::before { content: ""; flex: none; width: 15px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(-45deg); opacity: .55; }
.plan-hot { color: var(--on-night); background: radial-gradient(120% 70% at 50% 120%, rgba(255, 150, 100, .45), transparent 60%), linear-gradient(180deg, #121A36, var(--night)); box-shadow: 0 40px 90px -40px rgba(10, 15, 30, .8); }
.plan-hot .plan-for, .plan-hot .per { color: var(--mist); }
.plan-hot .feat li::before { color: var(--amber); opacity: 1; }
.tag { position: absolute; top: 26px; right: 26px; padding: 7px 12px; border-radius: 999px; font: 600 12px/1 var(--f-body); color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FFB36B); }
/* founding price under each list price */
.fnd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: -8px 0 6px; font-size: 14px; color: var(--ink-2); }
.fnd-tag { padding: 5px 8px 4px; border-radius: 999px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #8A3F1E; background: #FFE9D6; }
.fnd b { margin-right: 2px; font-family: var(--f-display); font-weight: 650; font-size: 17px; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-hot .fnd { color: var(--mist); }
.plan-hot .fnd-tag { color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FFB36B); }
.plan-hot .fnd b { color: #fff; }
/* what every plan has, once, instead of repeating it in each card */
.every { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 30px; margin-top: 18px; padding: 22px 26px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--day-line); }
.every-h { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #A0532C; white-space: nowrap; }
.every-l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.every-l li { display: inline-flex; align-items: baseline; gap: 9px; }
.every-l li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: translateY(-3px) rotate(-45deg); }
/* the three promises that take the risk away */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.pr-i { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-content: start; gap: 5px 14px; padding: 22px 22px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--day-line); }
.pr-ic { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); background: #F1F3F9; }
.pr-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pr-i b { font-family: var(--f-display); font-weight: 650; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.pr-i > span:last-child { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.pr-fnd { background: linear-gradient(135deg, #FFF7EA 0%, #FFE6D1 100%); box-shadow: 0 0 0 1px rgba(255, 138, 92, .32), 0 22px 44px -30px rgba(255, 120, 80, .6); }
.pr-fnd .pr-ic { color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FF9A63); }
.final-fnd { display: inline-flex; align-items: center; gap: 11px; margin-top: -8px; font-size: 14.5px; font-weight: 600; color: var(--gold); text-wrap: balance; }
.pulse { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--sun); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- faq ---------- */
.faq { background: var(--day-2); color: var(--ink); padding-block: 0 clamp(110px, 12vw, 180px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-more { margin-top: 28px; max-width: 21em; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.faq-more a, .qa .a a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 138, 92, .7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .25s; }
.faq-more a:hover, .qa .a a:hover { text-decoration-color: var(--sun); }
.qa { border-bottom: 1px solid var(--day-line); }
.qa details { border-top: 1px solid var(--day-line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.018em; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa .a { padding: 0 40px 26px 0; color: var(--ink-2); font-size: 17px; max-width: 40em; }
.qa details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }

/* ---------- final ---------- */
.final { position: relative; overflow: clip; color: var(--on-night); padding-block: clamp(150px, 16vw, 240px) clamp(130px, 14vw, 200px); background: var(--grain), linear-gradient(180deg, var(--day-2) 0%, #C9D3EA 6%, #4E5786 18%, #18204A 34%, var(--night) 56%, #0D1230 100%); --fp: 0; }
.final-sky { position: absolute; inset: 0; pointer-events: none; }
.final-sun { position: absolute; left: 50%; bottom: 0; width: min(1300px, 170vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, calc(78% - var(--fp) * 22%)); background: radial-gradient(circle, rgba(255, 240, 205, .95) 0%, rgba(255, 196, 130, .75) 10%, rgba(255, 140, 100, .35) 24%, rgba(170, 80, 130, .14) 38%, transparent 58%); opacity: calc(.35 + var(--fp) * .65); }
.final-in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 24px; }
.final-title { font-family: var(--f-display); font-weight: 640; font-stretch: 90%; font-size: clamp(46px, 8.4vw, 132px); line-height: .9; letter-spacing: -.052em; max-width: 12em; text-wrap: balance; }
.final .lede { color: #C9D2E8; }
/* the sign-up card: Google, or a code by email; both carry the plan and billing picked above */
.join { display: grid; gap: 12px; width: min(460px, 100%); margin-top: 8px; padding: 22px; border-radius: 28px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(196, 210, 255, .18), 0 40px 90px -46px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* "Continue with Google", per Google's button guidelines: white fill, #747775 stroke, #1F1F1F Roboto Medium, the four-colour G */
.gbtn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 20px; border-radius: 999px;
  background: #FFFFFF; color: #1F1F1F; box-shadow: inset 0 0 0 1px #747775;
  font: 500 16px/1 Roboto, var(--f-body); letter-spacing: .015em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
}
.gbtn:hover { background: #F7F8FA; box-shadow: inset 0 0 0 1px #747775, 0 1px 2px rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15); }
.gbtn:active { background: #ECEEF1; }
.g-mark { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mist); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(196, 210, 255, .18); }
.signup { display: grid; gap: 10px; margin: 0; }
.signup input { width: 100%; min-width: 0; height: 52px; padding: 0 20px; text-align: left; border: 0; border-radius: 999px; background: rgba(7, 11, 22, .42); color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(196, 210, 255, .24); font: 500 16.5px/1 var(--f-body); transition: box-shadow .25s; }
.signup input::placeholder { color: #8E99B6; }
.signup input:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(255, 190, 120, .85), 0 0 0 4px rgba(255, 184, 107, .18); }
.signup input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px rgba(255, 160, 140, .9); }
.signup .btn { width: 100%; height: 52px; }
.form-note { font-size: 14px; color: var(--mist); min-height: 1.4em; }
.form-note:empty { display: none; }
/* three promises in three even columns, a tick over each */
.join-assure { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; line-height: 1.35; color: #C9D2E8; }
.join-assure li { display: grid; justify-items: center; align-content: start; gap: 8px; text-wrap: balance; }
.join-assure li::before { content: ""; width: 11px; height: 6px; margin-top: 2px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.no-app .gbtn, .no-app .or, .no-app .join-assure { display: none; }
.prelaunch .nav-login, .prelaunch .foot-login { display: none; }   /* before app.asinledger.com is online: nothing to log in to */
.pl-only { display: none; }
.prelaunch .pl-only { display: block; }
.prelaunch .app-only, .prelaunch .fa-br { display: none; }   /* the founding-list fallback has no app to open */
.join-legal { font-size: 12.5px; line-height: 1.5; color: #8692B0; text-wrap: pretty; }
.join-legal a { color: #C9D2E8; text-underline-offset: 2px; }
.join-legal a:hover { color: #fff; }
.final-alt { font-size: 15px; line-height: 1.6; color: var(--mist); }
.final-alt a { color: var(--on-night); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 184, 107, .7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.final-alt a:hover { text-decoration-color: var(--amber); }
.fa-br::before { content: "·"; margin: 0 12px; opacity: .5; }
/* the plan picked on a pricing card rides along to the sign-up */
.plan-pick { display: inline-flex; align-items: center; justify-self: center; gap: 4px; margin: 0 0 2px; padding: 5px 6px 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gold); background: rgba(255, 184, 107, .12); box-shadow: inset 0 0 0 1px rgba(255, 184, 107, .32); }
.pp-x { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; font: 400 18px/1 var(--f-body); color: inherit; background: transparent; cursor: pointer; opacity: .7; transition: opacity .2s, background-color .2s; }
.pp-x:hover { opacity: 1; background: rgba(255, 184, 107, .18); }
/* honeypot: off screen for people, filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn { position: relative; }
.spin { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid rgba(29, 18, 6, .25); border-top-color: #1D1206; opacity: 0; animation: spin .8s linear infinite; }
.signup.sending .b-t { opacity: 0; }
.signup.sending .spin { opacity: 1; }
.signup button:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
/* after signing up: the founding spot, then one optional question */
.signup-done { display: grid; justify-items: center; gap: 12px; width: min(560px, 100%); margin-top: 8px; padding: 30px 28px 28px; border-radius: 24px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 210, 160, .26), 0 30px 70px -40px rgba(255, 150, 100, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--spring); }
.signup-done.in { opacity: 1; transform: none; }
.signup-done:focus { outline: none; }
.sd-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FF9A63); box-shadow: 0 0 0 8px rgba(255, 184, 107, .14), 0 0 34px rgba(255, 170, 110, .6); }
.sd-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.signup-done.in .sd-ic svg { animation: tick .6s var(--ease) .35s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.sd-t { font-family: var(--f-display); font-weight: 640; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.sd-m { max-width: 30em; font-size: 16px; color: #C9D2E8; text-wrap: pretty; }
.sd-q { display: grid; justify-items: center; gap: 10px; width: 100%; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(196, 210, 255, .14); }
.sd-q > p:first-child { font-size: 14.5px; color: var(--mist); }
.sd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sd-chips button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: 600 14.5px/1 var(--f-body); color: var(--on-night); background: rgba(196, 210, 255, .1); box-shadow: inset 0 0 0 1px rgba(196, 210, 255, .24); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s, opacity .25s; }
.sd-chips button:hover:not(:disabled) { background: rgba(196, 210, 255, .18); }
.sd-chips button.on { color: #1D1206; background: linear-gradient(135deg, #FFEBC2, #FFB36B); box-shadow: none; }
.sd-chips button:disabled:not(.on) { opacity: .45; cursor: default; }
.sd-ok { font-size: 14px; color: var(--gold); }
.form-note.err { color: #FFB4A0; }
.form-note.ok { color: var(--gold); }

/* ---------- footer ---------- */
.foot { background: #0D1230; color: var(--mist); padding-block: 44px calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--night-line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.foot-brand { display: grid; gap: 8px; }
.foot .brand { color: var(--on-night); font-size: 17px; }
.foot .mark { width: 28px; height: 28px; border-radius: 8px; }
.foot-tag { font-family: var(--f-display); font-weight: 520; font-size: 15px; letter-spacing: -.01em; color: var(--amber); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }
.foot-links a { text-decoration: none; color: #C9D2E8; transition: color .25s; }
.foot-links a:hover { color: #fff; }
.foot-legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13px; }
.foot-legal p { max-width: 60em; }
.foot-legal-links { margin-bottom: 8px; font-size: 14px; }
.foot-legal-links a { color: #C9D2E8; text-decoration: none; transition: color .25s; }
.foot-legal-links a:hover, .foot-legal-links a[aria-current="page"] { color: #fff; }
.mbar { display: none; }   /* the phone bar, see the phone rules */

/* ---------- reveal (from a visible resting state) ---------- */
.rv-wait { opacity: 0; translate: 0 28px; }
.rv-wait.in { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.plans > .rv-wait.in:nth-child(2), .promise > .rv-wait.in:nth-child(2) { transition-delay: .08s; }
.plans > .rv-wait.in:nth-child(3), .promise > .rv-wait.in:nth-child(3) { transition-delay: .16s; }

/* ---------- load sequence ---------- */
.intro .hero-kicker, .intro .hero-title .w, .intro .hero-side > *, .intro .nav-in > * { animation: rise 1.1s var(--ease) both; animation-play-state: paused; }
.intro .hero-shot { animation: shotIn 1.7s cubic-bezier(.16, .84, .24, 1) .55s both; animation-play-state: paused; }
.intro .hero-phone { animation: phoneIn 1.6s cubic-bezier(.16, .84, .24, 1) 1s both; animation-play-state: paused; }
.intro .sun, .intro .horizon { animation: glowIn 2.8s ease-out .2s both; animation-play-state: paused; }
.intro .knowing { animation: rise 1.1s var(--ease) .42s both, wake 2.6s cubic-bezier(.3, .6, .1, 1) .7s both; animation-play-state: paused; }
.intro.go .hero-kicker, .intro.go .hero-title .w, .intro.go .hero-side > *, .intro.go .nav-in > *, .intro.go .hero-shot, .intro.go .hero-phone, .intro.go .sun, .intro.go .horizon, .intro.go .knowing { animation-play-state: running; }
.intro .nav-in > * { animation-delay: .05s; }
.intro .hero-kicker { animation-delay: .1s; }
.intro .hero-title .line:first-child .w:first-child { animation-delay: .2s; }
.intro .hero-title .line:first-child .w:nth-child(2) { animation-delay: .3s; }
.intro .hero-side > :nth-child(1) { animation-delay: .7s; }
.intro .hero-side > :nth-child(2) { animation-delay: .82s; }
.intro .hero-side > :nth-child(3) { animation-delay: .94s; }
@keyframes rise { from { opacity: 0; translate: 0 30px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes shotIn { from { opacity: 0; translate: 0 160px; } to { opacity: 1; translate: 0 0; } }
@keyframes phoneIn { from { opacity: 0; translate: 0 120px; } to { opacity: 1; translate: 0 0; } }
@keyframes glowIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wake {
  from { font-weight: 200; letter-spacing: -.02em; background-position: 50% 100%; }
  to { font-weight: 720; letter-spacing: -.06em; background-position: 50% 4%; }
}

/* ---------- motion preferences: calm the loops only (the scroll story stays) ---------- */
@media (prefers-reduced-motion: reduce) {
  .g-row { animation-duration: 240s; }
  .g-b { animation-duration: 280s; }
  .colon, .pulse::after, .stage-shot.is-on .hl { animation: none; }
  .spin { animation-duration: 1.6s; }
}

/* ---------- laptop ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "side"; row-gap: 36px; }
  .hero-side { max-width: 640px; padding-bottom: 0; }
  .moments li { grid-template-columns: 150px minmax(0, 1fr); }
}

/* ---------- tablet + phone ---------- */
/* ---------- the menu folds into the burger before the links run out of room ---------- */
@media (max-width: 1020px) {
  /* full-screen menu: the links rise in one after another, the live demo and Start free wait at the bottom */
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; z-index: -1;
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: calc(84px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    color: var(--on-night);
    background: radial-gradient(90% 46% at 50% 112%, rgba(255, 150, 100, .3), transparent 70%), #080C1A;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .nav-links a:not(.btn) {
    padding: 15px 2px; font-family: var(--f-display); font-size: clamp(28px, 8.4vw, 36px); font-weight: 600; letter-spacing: -.03em;
    border-bottom: 1px solid var(--night-line);
    opacity: 0; transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .6s var(--ease);
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav.open .nav-links a:not(.btn) { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: .04s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: .08s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: .12s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: .16s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: .2s; }
  .nav-links a.is-here { color: var(--amber); }
  .nav-demo, .nav-menu-cta { height: 54px; font-size: 16px; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease) .22s, transform .6s var(--ease) .22s; }
  .nav-demo { margin-top: auto; gap: 10px; }
  .nav-menu-cta { display: inline-flex; margin-top: 10px; transition-delay: .28s; }
  .nav.open .nav-demo, .nav.open .nav-menu-cta { opacity: 1; transform: none; }
  .nav-cta { transition: opacity .3s, visibility .3s; }
  .nav.open .nav-cta { opacity: 0; pointer-events: none; }
  .nav.open.solid { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(196, 210, 255, .1); color: inherit; cursor: pointer; }
  .nav.on-day .burger { background: rgba(12, 17, 34, .07); }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.open { color: var(--on-night); }
}

@media (max-width: 860px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .nav-in { height: 62px; gap: 14px; }
  .nav-cta { height: 38px; padding: 0 16px; font-size: 14px; }

  /* the phone bar: Start free in reach of the thumb from the product sections to the sign-up */
  .mbar {
    position: fixed; z-index: 55;
    left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex; gap: 8px; padding: 7px; border-radius: 999px;
    color: var(--on-night); background: rgba(10, 15, 30, .8);
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: inset 0 0 0 1px rgba(196, 210, 255, .14), 0 18px 40px -16px rgba(5, 8, 20, .75);
    transform: translateY(calc(100% + 40px)); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .mbar.show { transform: none; visibility: visible; transition: transform .6s var(--spring); }
  .nav.open ~ .mbar { transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  .mbar .btn { height: 46px; font-size: 15px; }
  .mbar-demo { flex: none; gap: 9px; padding: 0 16px; }
  .mbar-go { flex: 1 1 auto; }
  /* while the bar is up, the small Start free in the top bar steps aside: one button, not two */
  .mbar-on .nav-cta { opacity: 0; visibility: hidden; pointer-events: none; }

  .hero { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
  .hero-title { font-size: clamp(60px, 18.6vw, 120px); }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; line-height: 1.5; }
  .k-long { display: none; }
  .k-short { display: inline; }
  .ctas .btn { flex: 1 1 auto; }
  .hero-stage { margin-top: 54px; padding-bottom: 64px; perspective: 1000px; }
  .hero-shot { width: calc(100% - 2 * var(--gutter)); border-radius: 10px; }
  .frame-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .frame-bar i { width: 7px; height: 7px; }
  .frame-url { font-size: 9.5px; padding: 3px 8px; }
  .phone.hero-phone { width: 30vw; max-width: 170px; right: 10px; bottom: 18px; }

  /* the text sits at the top, the reports pile up in the free space under it */
  .pain { height: 300vh; }
  .pain-sticky { align-items: flex-start; padding-top: calc(92px + env(safe-area-inset-top, 0px)); }
  .pain-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .moments li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .moments time { font-size: 11px; }
  .pile { height: clamp(150px, 27svh, 250px); margin-right: -40px; z-index: 0; pointer-events: none; }   /* runs off the bottom on short screens, which is fine */
  .file { width: min(300px, 80vw); grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px 13px; border-radius: 11px; }
  .file .ext { font-size: 9.5px; padding: 7px 0; }
  .file .fn { font-size: 11.5px; }
  .file .fs { font-size: 10px; }

  .turn { height: 260vh; }
  .turn-grid { grid-template-columns: minmax(0, 1fr); }
  .turn-phone { display: none; }
  .turn-sun { left: 70%; }
  .notif-flow { display: grid; margin: 0 0 clamp(16px, 2.6vh, 24px); }
  .clock { margin-bottom: clamp(14px, 2.2vh, 22px); }

  .scrolly { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage { display: none; }
  .step { min-height: 0; padding-block: 36px 30px; gap: 14px; }
  .js .step { opacity: 1; }
  .step-shot { display: none; }
  .step-phone { display: block; width: min(300px, 76vw); margin: 18px auto 0; max-height: 500px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .step > p:not(.feel):not(.fact) { font-size: 16.5px; }

  .night-grid { grid-template-columns: minmax(0, 1fr); }
  .night-copy { position: static; }

  .pocket-grid { grid-template-columns: minmax(0, 1fr); }
  .phones { height: 118vw; max-height: 560px; margin-top: 10px; }
  .phones .phone { width: 34vw; max-width: 190px; }
  .ph-c { width: 40vw !important; max-width: 220px; }
  .ph-l { left: 0; }
  .ph-r { right: 0; }

  /* how it works: the four steps stack, the line runs down beside them */
  .how-steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hs { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; row-gap: 8px; }
  .hs > :not(.hs-node) { grid-column: 2; }
  .hs-node { grid-row: 1 / span 4; }
  .hs-when { margin-top: 2px; }
  .hs:not(:last-child)::before, .hs:not(:last-child)::after { top: 62px; bottom: -22px; left: 25px; right: auto; width: 2px; height: auto; }
  .hs:not(:last-child)::after { background: linear-gradient(180deg, var(--amber), var(--sun)); transform-origin: 50% 0; }
  .how-steps.arm:not(.lit) .hs::after { transform: scaleY(0); }
  .faq-side { position: static; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 22px 14px 18px 0; border-left: 0; border-bottom: 1px solid var(--day-line); }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--day-line); }
  .stat span { font-size: 14px; }

  .plans { grid-template-columns: minmax(0, 1fr); }
  .every { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .every-l { display: grid; gap: 9px; }
  .promise { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pr-i { padding: 18px 18px 20px; }
  .final-fnd { font-size: 13.5px; text-align: left; }
  .signup-done { padding: 26px 18px 22px; }
  .sd-chips { gap: 6px; }
  .sd-chips button { padding: 0 12px; font-size: 14px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .qa summary { padding-right: 40px; }
  .qa .a { padding-right: 0; }

  .join { padding: 18px; border-radius: 24px; }
  .fa-br { display: block; height: 4px; }
  .fa-br::before { content: none; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 18.4vw; }
  .assure { font-size: 13px; gap: 6px 14px; }
}

/* phones too short for the pile under the text */
@media (max-width: 860px) and (max-height: 620px) {
  .pile { display: none; }
}

/* short phones: tighten the sunrise scene so the whole story fits */
@media (max-width: 860px) and (max-height: 760px) {
  .turn .h2 { font-size: 36px; }
  .clock { font-size: 46px; margin-block: 12px 12px; }
  .notif-flow { padding: 10px 12px; margin-bottom: 12px; }
  .notif-flow .notif-m { display: none; }
  .story { gap: 8px; }
  .story p { font-size: 16px; }
  .story p:first-child { font-size: 20px; }
  .calm { font-size: 26px; margin-top: 12px; }
}

/* short landscape phones: the sticky scenes become normal flow */
@media (max-height: 560px) and (orientation: landscape) {
  .pain, .turn { height: auto; }
  .pain-sticky, .turn-sticky { position: relative; height: auto; padding-block: 90px; }
  .js .moments li, .js .file, .js .story p, .js .calm, .js .pain-end, .js .notif { opacity: 1; filter: none; transform: none; }
  .stage { display: none; }
  .scrolly { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }
  .js .step { opacity: 1; }
  .step-shot { display: block; }
}
