@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #111111;
  --hairline: #e6e6e6;
  --fir: #1f3b2d;
  --night: #1b2a3f;
  --muted: #6e726f;
  /* One comp pixel. The approved comp is 1344 x 752; the first viewport scales with the window. */
  --u: calc(100vw / 1344);
  --bar-h: calc(62 * var(--u));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--fir); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* ---------- Walnut bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--bar-h);
  background: #3f2116 url("../plates/walnut.png") center / cover;
  color: #fff;
  font-weight: 700;
}
.bar a { text-decoration: none; }
.bar__mark { position: absolute; left: calc(48 * var(--u)); top: calc(2 * var(--u)); width: calc(98 * var(--u)); height: calc(60 * var(--u)); display: grid; place-items: center; }
.bar__mark img { width: calc(84 * var(--u)); }
.bar__rule { position: absolute; top: calc(14 * var(--u)); width: 1px; height: calc(36 * var(--u)); background: rgba(255, 255, 255, 0.55); }
.bar__rule--left { left: calc(162 * var(--u)); }
.bar__rule--right { left: calc(1083 * var(--u)); }
.bar__brand { position: absolute; left: calc(183 * var(--u)); top: calc(17 * var(--u)); font-size: calc(21 * var(--u)); letter-spacing: -0.01em; line-height: 1.4; }
.bar__nav { position: absolute; inset: 0; font-size: calc(19 * var(--u)); line-height: 1.4; letter-spacing: -0.01em; pointer-events: none; }
.bar__nav a { position: absolute; top: calc(17 * var(--u)); pointer-events: auto; }
.bar__nav a:nth-child(1) { left: calc(525 * var(--u)); letter-spacing: -0.02em; top: calc(17.5 * var(--u)); }
.bar__nav a:nth-child(2) { left: calc(691 * var(--u)); }
.bar__nav a:nth-child(3) { left: calc(819 * var(--u)); }
.bar__nav a:nth-child(4) { left: calc(979 * var(--u)); }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-4 * var(--u)); height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.bar__nav a:hover::after, .bar__nav a:focus-visible::after { transform: scaleX(1); }
.bar__date { position: absolute; left: calc(1108 * var(--u)); top: calc(17 * var(--u)); font-size: calc(20 * var(--u)); line-height: 1.4; letter-spacing: -0.015em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(752 * var(--u));
  overflow: hidden;
  background: var(--night);
  color: #fff;
  isolation: isolate;
}
.hero__forest {
  position: absolute; left: 0; top: var(--bar-h); z-index: -1;
  width: 100%; height: calc(100% - var(--bar-h));
  object-fit: cover; object-position: 50% 50%;
}
.hero__title {
  position: absolute; left: 0; right: 0; top: calc(70 * var(--u));
  text-align: center;
  font-size: calc(78 * var(--u)); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2;
  text-shadow: 0 calc(2 * var(--u)) calc(18 * var(--u)) rgba(10, 16, 24, 0.35);
}
.hero__sub {
  position: absolute; left: 0; right: 0; top: calc(158 * var(--u));
  text-align: center;
  font-size: calc(42 * var(--u)); font-weight: 700; letter-spacing: 0; line-height: 1.3;
  text-shadow: 0 calc(1 * var(--u)) calc(12 * var(--u)) rgba(10, 16, 24, 0.4);
}

/* The Today card: the app's own checklist */
.today {
  position: absolute; left: calc(463 * var(--u)); top: calc(225 * var(--u));
  width: calc(418 * var(--u)); height: calc(286 * var(--u));
  padding: calc(26 * var(--u)) calc(26 * var(--u)) 0;
  background: var(--paper); color: var(--ink);
  border-radius: calc(18 * var(--u));
  box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(8, 14, 20, 0.28);
}
.today__title { font-size: calc(16 * var(--u)); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fir); line-height: 1.5; }
.today__count { margin-top: calc(10 * var(--u)); font-size: calc(14.5 * var(--u)); font-weight: 600; color: var(--muted); line-height: 1.4; }
.today__stamp {
  position: absolute; left: calc(246 * var(--u)); top: calc(13 * var(--u));
  padding: calc(5 * var(--u)) calc(9 * var(--u));
  border: calc(2.5 * var(--u)) solid var(--fir); border-radius: calc(7 * var(--u));
  font-size: calc(17 * var(--u)); font-weight: 800; color: var(--fir); line-height: 1.3; white-space: nowrap;
  transform: rotate(-4deg);
}
.today__rows { margin-top: calc(10 * var(--u)); border-top: 1px solid var(--hairline); }
.today__row {
  display: grid; grid-template-columns: calc(40 * var(--u)) 1fr calc(14 * var(--u));
  align-items: center; column-gap: calc(12 * var(--u));
  height: calc(60 * var(--u));
  border-bottom: 1px solid var(--hairline);
}
.today__row:last-child { border-bottom: 0; }
.today__check { width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: var(--fir); display: grid; place-items: center; }
.today__check svg { width: 70%; height: 70%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.today__text { display: flex; flex-direction: column; line-height: 1.25; }
.today__text strong { font-size: calc(20 * var(--u)); font-weight: 700; }
.today__text span { font-size: calc(14.5 * var(--u)); font-weight: 500; color: var(--muted); letter-spacing: -0.015em; }
.today__chev { width: calc(10 * var(--u)); height: calc(17 * var(--u)); fill: none; stroke: #5f6361; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons: every button looks like a button */
.hero__actions { position: absolute; left: calc(416 * var(--u)); top: calc(533 * var(--u)); display: flex; gap: calc(21 * var(--u)); }
.btn {
  display: inline-grid; place-items: center;
  width: calc(247 * var(--u)); height: calc(58 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(22 * var(--u)); font-weight: 700; letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--paper); color: var(--fir); box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(8, 14, 20, 0.25); }
.btn--light:hover { box-shadow: 0 calc(10 * var(--u)) calc(26 * var(--u)) rgba(8, 14, 20, 0.32); }
.btn--ghost { border: calc(2.5 * var(--u)) solid #fff; color: #fff; background: rgba(14, 20, 16, 0.55); }
.btn--ghost:hover { background: rgba(14, 20, 16, 0.72); }

/* The mission: 28 days */
.days { position: absolute; left: 0; right: 0; top: calc(620 * var(--u)); }
.days__label { text-align: center; font-size: calc(23 * var(--u)); font-weight: 700; line-height: 1.3; text-shadow: 0 1px calc(10 * var(--u)) rgba(10, 16, 24, 0.45); }
.days__band { position: absolute; left: calc(45 * var(--u)); top: calc(41 * var(--u)); width: calc(1255 * var(--u)); height: calc(67 * var(--u)); }
.days__lit { position: absolute; left: 0; top: 0; width: calc(553 * var(--u)); height: 100%; }
.days__cells { position: absolute; inset: 0; }
.days__cells li {
  position: absolute; top: calc(5.5 * var(--u));
  width: calc(43 * var(--u)); height: calc(56 * var(--u));
  display: grid; place-items: center;
  font-size: calc(17 * var(--u)); font-weight: 700; color: #fff;
  text-shadow: 0 1px calc(4 * var(--u)) rgba(0, 0, 0, 0.55);
}
/* Days 1-12 sit over the lit picture; 13-28 are still night. */
.days__cells li:nth-child(-n + 12) { left: calc((4 + (var(--i) - 1) * 45.8) * var(--u)); }
.days__cells li:nth-child(n + 13) {
  left: calc((556 + (var(--i) - 13) * 43.7) * var(--u));
  width: calc(40 * var(--u));
  background: linear-gradient(#1d2d44, #142034);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ---------- Hero: the night layer the dawn lifts ---------- */
.hero__pic { position: absolute; inset: 0; z-index: -2; }
.hero__pic .hero__forest { z-index: auto; }
.hero__night {
  position: absolute; left: 0; top: var(--bar-h); z-index: -1;
  width: 100%; height: calc(100% - var(--bar-h));
  object-fit: cover; object-position: 50% 50%;
  opacity: var(--night-fade, 0);
  transition: opacity 1.4s var(--ease-out);
  pointer-events: none;
}
.today__row { cursor: pointer; }
.today__check { transition: background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.today__check svg path { stroke-dasharray: 20; stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease-out) 0.1s; }
.today__row.is-open .today__check { background: transparent; box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--ink); }
.today__row.is-open .today__check svg path { stroke-dashoffset: 20; transition-delay: 0s; }
.today__stamp { transition: opacity 0.4s var(--ease-out), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.today.is-unfinished .today__stamp { opacity: 0; transform: rotate(-12deg) scale(1.35); }
.days__cells li.is-today::before { content: ""; position: absolute; inset: 0; background: #142034; border: 1px solid rgba(255, 255, 255, 0.7); opacity: 0; transition: opacity 1.2s var(--ease-out); z-index: -1; }
.days__cells li.is-today { z-index: 0; isolation: isolate; }
.hero.is-unfinished .days__cells li.is-today::before { opacity: 1; }

/* ---------- Shared section type ---------- */
.section-title {
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  text-wrap: balance;
  max-width: 16ch;
}
.lede { margin-top: 1.5rem; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); line-height: 1.5; max-width: 34em; color: #3a3d3b; text-wrap: pretty; }
.btn--outline { width: auto; height: auto; padding: 0.95rem 1.6rem; font-size: 1.1rem; border: 2px solid var(--fir); color: var(--fir); background: transparent; border-radius: 8px; }
.btn--outline:hover { background: var(--fir); color: #fff; }
.btn--big { width: auto; height: auto; padding: 1.15rem 2.2rem; font-size: 1.25rem; border-radius: 10px; }

/* ---------- The Morning ---------- */
.morning { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem); }
.morning__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(2rem, 7vw, 8rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.steps { counter-reset: none; }
.step { padding: clamp(3rem, 9vh, 6rem) 0; border-top: 1px solid var(--hairline); min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.step:first-child { border-top: 0; padding-top: 0; min-height: 52vh; justify-content: flex-start; }
.step__name { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--fir); transition: color 0.5s var(--ease-out); }
.step p { margin-top: 1.25rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); line-height: 1.55; max-width: 30em; color: #3a3d3b; }
.step:not(.is-active) .step__name { color: #c9cfcb; }
.step__shot { display: none; }
.screen { position: sticky; top: calc(var(--bar-h) + 6vh); margin: 0; }
.screen__glass { position: relative; aspect-ratio: 1206 / 2622; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hairline), 0 30px 60px -20px rgba(17, 17, 17, 0.25); max-height: 78vh; margin-left: auto; }
.screen__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(6px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), filter 0.7s var(--ease-out); }
.screen__img.is-on { opacity: 1; transform: none; filter: none; }
.screen__cap { margin-top: 1rem; text-align: right; font-size: 0.9rem; color: var(--muted); }

/* ---------- Missions ---------- */
.missions {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
  background: #142034; color: #fff;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center;
}
.missions .lede { color: #c6d0dc; }
.facts { margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.facts dt { font-weight: 800; font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; color: #c6d0dc; line-height: 1.5; }
.ledger__head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 0.9rem; }
.ledger__head span:last-child { color: #8f9db0; font-weight: 600; }
.ledger__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, 0.6vw, 8px); }
.ledger__grid li {
  --x: calc(var(--c) / 6 * 100%); --y: calc(var(--r) / 3 * 100%);
  position: relative; aspect-ratio: 1; display: grid; place-items: start;
  padding: 0.45em 0.55em; font-weight: 800; font-size: clamp(0.8rem, 0.6rem + 0.5vw, 1.05rem); font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: url("../plates/forest-night.jpg") var(--x) var(--y) / 700% 400% no-repeat;
  overflow: hidden; isolation: isolate;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.ledger__grid li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../plates/forest.jpg") var(--x) var(--y) / 700% 400% no-repeat;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s var(--ease-out);
  transition-delay: calc(var(--n) * 70ms);
}
.ledger.is-lit .ledger__grid li.is-done::before { clip-path: inset(0 0 0 0); }
.ledger__grid li.is-today { outline: 2px solid #fff; outline-offset: -2px; }
.lent { grid-column: 1 / -1; margin-top: clamp(1rem, 3vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: #c6d0dc; max-width: 52em; }
.lent strong { color: #fff; }

/* ---------- Price ---------- */
.price { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem); }
.price .section-title { max-width: 14ch; }
.price__cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 2px solid var(--ink); }
.price__col { padding: 2rem 2rem 2rem 0; }
.price__col--paid { padding-left: 2rem; border-left: 1px solid var(--hairline); }
.price__tag { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.price__col--paid .price__tag { color: var(--fir); }
.ticks { margin-top: 1.25rem; }
.ticks li { display: grid; grid-template-columns: 1.6rem 1fr; padding: 0.8rem 0; border-bottom: 1px solid var(--hairline); font-size: 1.15rem; line-height: 1.4; }
.ticks li::before { content: ""; width: 1rem; height: 0.55rem; margin-top: 0.35rem; border-left: 2.5px solid var(--fir); border-bottom: 2.5px solid var(--fir); transform: rotate(-45deg); }
.price__note { margin-top: 2rem; color: var(--muted); font-size: 1.05rem; max-width: 40em; }

/* ---------- Private ---------- */
.private { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem); border-top: 1px solid var(--hairline); }
.private .section-title { max-width: 18ch; }
.private .btn { margin-top: 2rem; }

/* ---------- Beta ---------- */
.beta { position: relative; overflow: hidden; color: #fff; background: #142034; isolation: isolate; }
.beta__forest { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.85; }
.beta__inner { padding: clamp(6rem, 14vw, 12rem) clamp(1.5rem, 6vw, 6rem); display: flex; flex-direction: column; align-items: flex-start; }
.beta .btn { margin-top: 2.25rem; }
.beta__date { margin-top: 1.5rem; font-weight: 600; color: #c6d0dc; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding: 2rem clamp(1.5rem, 6vw, 6rem); background: #3f2116 url("../plates/walnut.png") center / cover; color: #fff; font-weight: 600; }
.foot__mark { width: 56px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__verse { margin-left: auto; font-weight: 500; opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- Responsive ---------- */
/* Very wide windows: keep the comp's proportions but stop the hero growing past the screen. */
@media (min-width: 1700px) {
  :root { --u: calc(1700px / 1344); }
  .hero { height: min(calc(752 * var(--u)), 100vh); }
}

@media (max-width: 1000px) {
  .morning__body { grid-template-columns: 1fr; }
  .screen { display: none; }
  .step { min-height: 0; padding: 3rem 0; }
  .step:first-child { min-height: 0; }
  .step:not(.is-active) .step__name { color: var(--fir); }
  .step__shot {
    display: block; margin-top: 2rem; width: min(100%, 340px);
    border-radius: 28px; box-shadow: 0 0 0 1px var(--hairline), 0 24px 48px -20px rgba(17, 17, 17, 0.25);
  }
  .missions { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0.3rem; }
  .price__cols { grid-template-columns: 1fr; }
  .price__col, .price__col--paid { padding: 1.75rem 0; border-left: 0; }
  .price__col--paid { border-top: 1px solid var(--hairline); }
  .foot__verse { margin-left: 0; width: 100%; }
}

/* Phones and narrow windows: the first viewport reflows as a column. */
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  .bar__nav, .bar__date, .bar__rule--right { display: none; }
  .bar__mark { left: 12px; top: 4px; width: 64px; height: 50px; }
  .bar__mark img { width: 56px; }
  .bar__rule--left { left: 84px; top: 14px; height: 30px; }
  .bar__brand { left: 98px; top: 16px; font-size: 18px; }

  .hero {
    /* inside the hero one comp pixel is a fraction of the card's width */
    --u: calc(min(100vw - 32px, 418px) / 418);
    height: auto; min-height: 100svh;
    padding: calc(var(--bar-h) + 28px) 16px 28px;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero__title, .hero__sub, .today, .hero__actions, .days { position: static; }
  .hero__title { font-size: clamp(2.2rem, 10.5vw, 3.1rem); line-height: 1.05; max-width: 11ch; text-wrap: balance; }
  .hero__sub { margin-top: 0.75rem; font-size: clamp(1.15rem, 5.2vw, 1.4rem); }
  .today { position: relative; margin-top: 24px; flex: none; }
  .hero__actions { margin-top: 20px; width: min(100%, 418px); flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; height: 54px; font-size: 19px; border-radius: 8px; }
  .days { margin-top: 28px; width: min(100%, 418px); }
  .days__label { font-size: 17px; }
  .days__band { position: static; width: 100%; height: auto; margin-top: 12px; }
  .days__lit { display: none; }
  .days__cells { position: static; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .days__cells li:nth-child(n) {
    --x: calc(var(--c) / 6 * 100%); --y: calc(var(--r) / 3 * 100%);
    position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 1;
    font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.7);
    background: url("../plates/forest-night.jpg") var(--x) var(--y) / 700% 400% no-repeat;
  }
  .days__cells li.is-done { background-image: url("../plates/forest.jpg"); }
  .hero.is-unfinished .days__cells li.is-today { background-image: url("../plates/forest-night.jpg"); }
  .days__cells li.is-today::before { display: none; }

  .section-title { max-width: none; }
  .foot { gap: 0.6rem 1.25rem; }
}

/* ---------- Document pages (privacy) ---------- */
.doc { max-width: 46rem; padding: calc(var(--bar-h) + clamp(3rem, 8vw, 6rem)) clamp(1.5rem, 6vw, 3rem) clamp(4rem, 8vw, 6rem); margin: 0 auto 0 clamp(0rem, 8vw, 9rem); }
.doc__date { margin-top: 1rem; color: var(--muted); font-weight: 600; }
.doc h2 { margin-top: 3rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; }
.doc p:not(.lede):not(.doc__date) { margin-top: 0.85rem; font-size: 1.1rem; line-height: 1.65; color: #2c2f2d; }
.doc a { color: var(--fir); text-underline-offset: 3px; }

/* ---------- Finish-review fixes ---------- */
/* Day numbers read on any slice of sky; day 12 carries the sun. */
.days__cells li { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 calc(8 * var(--u)) rgba(0, 0, 0, 0.45); }
.days__cells li.is-today::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 55% 45%, rgba(255, 196, 92, 0.85), rgba(244, 140, 48, 0.35) 55%, rgba(244, 140, 48, 0) 80%);
  mix-blend-mode: screen; transition: opacity 1.2s var(--ease-out);
}
.hero.is-unfinished .days__cells li.is-today::after { opacity: 0; }

/* The Morning: tighter steps */
.step { min-height: 40vh; padding: clamp(2.5rem, 6vh, 4rem) 0; }
.step:first-child { min-height: 36vh; }

/* Missions: the hero's strip of 28 unfolds into the ledger */
.ledger.is-strip { min-height: var(--ledger-h, auto); }
.ledger.is-strip .ledger__grid { grid-template-columns: repeat(28, 1fr); gap: 4px; }
.ledger.is-strip .ledger__grid li { font-size: clamp(0.6rem, 0.4rem + 0.35vw, 0.85rem); padding: 0.25em; }
.ledger__grid li { will-change: transform; }

/* Beta: the page closes on its own dawn */
.beta__forest--night { opacity: 1; transition: opacity 2.2s var(--ease-out); }
.beta.is-dawn .beta__forest--night { opacity: 0; }
.beta__forest--day { opacity: 0.9; }

@media (max-width: 760px) {
  .today { left: auto; top: auto; width: calc(418 * var(--u)); }
  .ledger.is-strip .ledger__grid { grid-template-columns: repeat(14, 1fr); }
}

/* Beta copy stays legible once the sky turns bright: a dark ground rises behind the words. */
.beta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 22, 34, 0.82) 0%, rgba(14, 22, 34, 0.6) 38%, rgba(14, 22, 34, 0) 70%);
}
.beta .lede, .beta__date { color: #e9eef4; }
@media (max-width: 760px) {
  .beta::before { background: linear-gradient(180deg, rgba(14, 22, 34, 0.2) 0%, rgba(14, 22, 34, 0.66) 28%, rgba(14, 22, 34, 0.66) 78%, rgba(14, 22, 34, 0.25) 100%); }
}
