/* MyArc sales page. Colors mirror src/ui/tokens.ts. Instrument Serif for
 * headlines (a film-title serif, italic for the line that matters), Geist for
 * reading, Barlow Condensed for figures and timecodes, as in the app. */
:root {
  --bg: #0b0c0e;
  --card: #16181b;
  --ink: #edeeef;
  --muted: #9a9ea4;
  --line: #2a2d31;
  --accent: #f2f3f4;
  --on-accent: #0b0c0e;
  --scene: #1b2429;
  --surface: rgba(16, 18, 20, 0.7);
  --edge: rgba(255, 255, 255, 0.1);
  --rec: #e5847c;
  --shadow: 0 1px 18px rgba(6, 8, 10, 0.6);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --caps: "Barlow Condensed", "Arial Narrow", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: cubic-bezier(0.45, 0, 0.55, 1);
  --gutter: max(20px, 4.5vw);
  --top: 92px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 28px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(242, 243, 244, 0.9);
  color: var(--on-accent);
}

a {
  color: inherit;
}

a,
button,
summary,
input {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

em {
  font-style: italic;
}

/* ─── Scene ─────────────────────────────────────────────── */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--scene);
  pointer-events: none;
}

/* Opens like a film: black, then the forest surfaces. */
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transition: opacity 1.4s var(--slow);
}
.is-ready .scene::after {
  opacity: 0;
}

.scene__photo,
.scene__mist {
  position: absolute;
  inset: -6%;
  background: url("assets/forest.jpg") center 58% / cover no-repeat;
  will-change: transform;
}

.scene__photo {
  translate: var(--px, 0) var(--py, 0);
  transition: translate 1.6s var(--ease);
  animation: drift 28s var(--slow) infinite alternate;
}

.scene__mist {
  filter: blur(16px);
  translate: calc(var(--px, 0) * 1.8) calc(var(--py, 0) * 1.8);
  transition: translate 1.6s var(--ease);
  animation: mist 17s var(--slow) infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.04) translateX(6px);
  }
  to {
    transform: scale(1.1) translateX(-6px);
  }
}

@keyframes mist {
  from {
    opacity: 0.12;
    transform: scale(1.2) translateX(-22px);
  }
  to {
    opacity: 0.42;
    transform: scale(1.2) translateX(22px);
  }
}

.scene__snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* The veil: the forest stays open behind the hero and darkens as you read on. */
.scene__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 10, 0.72) 0%, rgba(6, 8, 10, 0.36) 55%, rgba(6, 8, 10, 0.28) 100%),
    linear-gradient(to bottom, rgba(6, 8, 10, 0.45) 0%, rgba(6, 8, 10, 0.12) 30%, rgba(6, 8, 10, 0.6) 80%, rgba(6, 8, 10, 0.92) 100%);
  transition: opacity 0.8s var(--ease);
}

/* Past the hero the page reads on dark, with the forest only a memory. */
.scene__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 11, 0.78);
  opacity: var(--deep, 0);
  transition: opacity 0.6s var(--ease);
}

.scene__grain {
  position: absolute;
  inset: 0;
  background: url("assets/grain.png") repeat;
  background-size: 256px;
  opacity: 0.06;
  mix-blend-mode: overlay;
}


/* ─── Shared ────────────────────────────────────────────── */

.label {
  margin: 0;
  font: 500 0.875rem/1.2 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgba(237, 238, 239, 0.66);
}

.timecode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 500 0.9375rem/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgba(237, 238, 239, 0.8);
}

/* The record light: the season is rolling. */
.rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 10px rgba(229, 132, 124, 0.7);
  animation: rec 2s var(--slow) infinite;
}

@keyframes rec {
  50% {
    opacity: 0.25;
  }
}

.sect {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(96px, 13vw, 168px) var(--gutter) 0;
}

.sect__title {
  margin: 0;
  font: 400 clamp(2.5rem, 5.6vw, 4.5rem) / 1 var(--serif);
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}

.sect__title em,
.hero__title em,
.statement__big em,
.last__line em,
.proof__title em {
  color: rgba(255, 255, 255, 0.72);
}

.sect__lede {
  margin: 20px 0 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(237, 238, 239, 0.74);
}

.mark {
  position: relative;
  display: inline-block;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.is-held > .mark {
  background: var(--accent);
  border-color: var(--accent);
}

.is-held > .mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--on-accent);
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.is-min > .mark {
  border-color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%);
}

.is-fresh > .mark {
  animation: pop 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes pop {
  from {
    transform: scale(0.7);
  }
}

/* ─── Buttons ───────────────────────────────────────────── */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 0 7px 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 1.0625rem/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
  box-shadow: 0 18px 50px -18px rgba(255, 255, 255, 0.35);
  transition:
    transform 0.32s var(--ease),
    background-color 0.18s var(--ease),
    box-shadow 0.32s var(--ease);
}

.cta__price {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--on-accent);
  color: #fff;
  font: 500 1.3125rem/1 var(--caps);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.cta--block {
  display: flex;
  width: 100%;
}

@media (hover: hover) {
  .cta:hover {
    background: #fff;
    box-shadow: 0 22px 60px -16px rgba(255, 255, 255, 0.5);
  }
}

/* Every button answers the moment it's pressed and eases back on release. */
.cta:active,
.bar__cta:active,
.buybar:active,
.chips button:active {
  transform: scale(0.97);
  transition: transform 0.1s ease-out;
}

.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(237, 238, 239, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(237, 238, 239, 0.35);
  text-underline-offset: 6px;
}

@media (hover: hover) {
  .quiet:hover {
    color: #fff;
    text-decoration-color: #fff;
  }
}

.checkout-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ─── Top: the founding notice and the bar ──────────────── */

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top);
  transition:
    background-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.is-scrolled .top {
  background: rgba(11, 12, 14, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 var(--gutter);
  background: rgba(242, 243, 244, 0.94);
  color: var(--on-accent);
  font: 500 0.875rem/1 var(--caps);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.notice b {
  font-weight: 600;
}

.notice__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4473c;
  animation: rec 2s var(--slow) infinite;
}

.notice__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter);
}

.bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font: 400 1.625rem/1 var(--serif);
  color: #fff;
}

.bar__brand svg {
  width: 26px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.bar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bar__signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(237, 238, 239, 0.78);
  text-decoration: none;
}

.bar__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 0.9375rem/1 var(--sans);
  text-decoration: none;
  transition: transform 0.32s var(--ease);
}

@media (hover: hover) {
  .bar__signin:hover {
    color: #fff;
  }
  .bar__cta:hover {
    background: #fff;
  }
}

/* ─── Hero ──────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--top) + 64px + env(safe-area-inset-top)) var(--gutter) 72px;
  text-shadow: var(--shadow);
}

/* Camera corners around the hero: this is a film still of your season. */
.viewfinder {
  position: absolute;
  inset: calc(var(--top) + 18px + env(safe-area-inset-top)) var(--gutter) 22px;
  pointer-events: none;
}

.viewfinder i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(255, 255, 255, 0.5);
}
.viewfinder i:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}
.viewfinder i:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}
.viewfinder i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}
.viewfinder i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.hero__title {
  margin: 22px 0 0;
  font: 400 clamp(3.25rem, 7.4vw, 6.75rem) / 0.94 var(--serif);
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

.hero__lede {
  margin: 26px 0 0;
  max-width: 30rem;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  color: rgba(237, 238, 239, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 34px;
}

.hero__spots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 20px 0 0;
  font-size: 0.9375rem;
  color: rgba(237, 238, 239, 0.86);
}

/* Twenty pips: one per founding spot. */
.hero__pips {
  display: inline-grid;
  grid-template-columns: repeat(20, 6px);
  gap: 3px;
}

.hero__pips i,
.spots__grid i {
  display: block;
  border-radius: 2px;
  background: #fff;
  transition:
    background-color 0.5s var(--ease),
    opacity 0.5s var(--ease);
}

.hero__pips i {
  height: 14px;
}

.hero__pips i.is-taken,
.spots__grid i.is-taken {
  background: rgba(255, 255, 255, 0.16);
}

.rise {
  opacity: 0;
}

.is-ready .rise {
  animation: rise 1.1s var(--ease) forwards;
}

.is-ready .rise:nth-child(1) {
  animation-delay: 0.3s;
}
.is-ready .rise:nth-child(2) {
  animation-delay: 0.45s;
}
.is-ready .rise:nth-child(3) {
  animation-delay: 0.6s;
}
.is-ready .rise:nth-child(4) {
  animation-delay: 0.75s;
}
.is-ready .rise:nth-child(5) {
  animation-delay: 0.85s;
}
.is-ready .hero__app {
  animation-delay: 0.95s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The working piece of the app: the film card and today, as in the tracker. */
.mini {
  max-width: 420px;
  margin-left: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1113;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-shadow: none;
}

.mini__film {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 190px;
  padding: 20px 24px;
  color: #fff;
  text-shadow: var(--shadow);
  isolation: isolate;
}

.mini__film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(6, 8, 10, 0.35), rgba(6, 8, 10, 0.2) 50%, rgba(6, 8, 10, 0.85)),
    url("assets/forest.jpg") center 60% / cover;
  filter: saturate(0.55);
}

.mini__tick {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 0 solid rgba(255, 255, 255, 0.7);
}
.mini__tick.tl {
  top: 11px;
  left: 11px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}
.mini__tick.tr {
  top: 11px;
  right: 11px;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}
.mini__tick.bl {
  bottom: 11px;
  left: 11px;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}
.mini__tick.br {
  bottom: 11px;
  right: 11px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.mini__row {
  display: flex;
  justify-content: space-between;
  font: 600 0.75rem/1 var(--caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mini__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
  font-family: var(--caps);
}

.mini__day small {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.mini__day b {
  font-weight: 300;
  font-size: 4.75rem;
  line-height: 0.95;
}

.mini__today {
  padding: 14px 12px 16px;
}

.mini__head {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 8px;
  font: 600 0.75rem/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini__head span:last-child {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8125rem;
}

.mini__rep {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.mini__rep.is-pressing {
  transform: scale(0.985);
  background: rgba(255, 255, 255, 0.06);
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
}

@media (hover: hover) {
  .mini__rep:hover {
    background: rgba(255, 255, 255, 0.035);
  }
  .mini__rep:hover .mark {
    border-color: rgba(255, 255, 255, 0.8);
  }
}

.mini__rep:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: -2px;
}

/* While a rep is held down, a ring sweeps round the mark toward the floor. */
@property --hold {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.mini__rep .mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(#fff calc(var(--hold) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: 0.9;
  transition: --hold 0.16s ease-out;
}

.mini__rep.is-pressing .mark::before {
  --hold: 1;
  transition: --hold 0.36s linear 0.09s;
}

.mini__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mini__text b {
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}

.mini__text small {
  font-size: 0.75rem;
  color: rgba(154, 158, 164, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-held .mini__text b,
.is-min .mini__text b {
  color: var(--muted);
}

.mini__line {
  min-height: 1.4em;
  margin: 10px 10px 0;
  font: italic 400 1.25rem/1.35 var(--serif);
  color: rgba(237, 238, 239, 0.72);
}

.mini__line.is-held {
  color: #fff;
}

/* ─── Statement ─────────────────────────────────────────── */

.statement {
  text-align: center;
  max-width: 900px;
}

.statement__big {
  margin: 0;
  font: 400 clamp(2.5rem, 6vw, 4.75rem) / 1.02 var(--serif);
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}

.statement__small {
  margin: 26px auto 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(237, 238, 239, 0.72);
}

/* ─── The future self ───────────────────────────────────── */

.future {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.future .sect__title {
  margin-top: 14px;
}

.becoming {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
  padding: 16px 20px 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: text;
  transition: box-shadow 0.3s var(--ease);
}

.becoming:focus-within {
  box-shadow: inset 0 0 0 1.5px #fff;
}

.becoming__lead {
  font: 500 0.8125rem/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.becoming input {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: italic 400 1.75rem/1.25 var(--serif);
  outline: none;
}

.becoming input::placeholder {
  color: rgba(237, 238, 239, 0.4);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chips button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: rgba(237, 238, 239, 0.86);
  font: 400 0.875rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.chips button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

@media (hover: hover) {
  .chips button:hover {
    background: rgba(255, 255, 255, 0.13);
  }
  .chips button[aria-pressed="true"]:hover {
    background: #fff;
  }
}

/* The final day, as a film frame. */
.final {
  margin: 0;
}

.final__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  min-height: 460px;
  padding: 30px 30px 26px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 60px 120px -40px rgba(0, 0, 0, 0.95);
  text-shadow: var(--shadow);
}

.final__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(6, 8, 10, 0.25), rgba(6, 8, 10, 0.15) 40%, rgba(6, 8, 10, 0.88)),
    url("assets/forest.jpg") center 40% / cover;
  filter: saturate(0.4) brightness(1.15);
}

.final__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 600 0.8125rem/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.final__line {
  margin: 0;
  font: italic 400 clamp(2.25rem, 4.4vw, 3.25rem) / 1.05 var(--serif);
  color: #fff;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.final__line span {
  transition: opacity 0.25s var(--ease);
}

.final__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.final__stats dt {
  font: 500 0.75rem/1.2 var(--caps);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.final__stats dd {
  margin: 6px 0 0;
  font: 300 2rem/1 var(--caps);
  color: #fff;
}

.final figcaption {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* ─── The next 84 days ──────────────────────────────────── */

.road {
  max-width: 900px;
}

.road__list {
  position: relative;
  margin: 48px 0 0;
  padding: 0 0 0 40px;
  list-style: none;
}

/* The line fills as you scroll: how far into the season you've read. */
.road__list::before,
.road__list::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.road__list::after {
  background: #fff;
  transform-origin: top;
  transform: scaleY(var(--road, 0));
}

.road__list li {
  position: relative;
  padding-bottom: 40px;
}

.road__list li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.road__list li.is-last {
  padding-bottom: 0;
}

.road__list li.is-last::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}

.road__list h3 {
  margin: 8px 0 0;
  font: 400 clamp(1.75rem, 3vw, 2.25rem) / 1.1 var(--serif);
  color: #fff;
}

.road__list li > p:last-child {
  margin: 8px 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(237, 238, 239, 0.72);
}

.road__list li.is-last h3 {
  font-style: italic;
}

/* ─── How it works ──────────────────────────────────────── */

.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.card h3 {
  margin: 10px 0 0;
  font: 400 1.875rem/1.1 var(--serif);
  color: #fff;
}

.card > p:last-child {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(237, 238, 239, 0.72);
}

.min-rep {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.min-rep span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.min-rep b {
  font-weight: 600;
}

.min-rep small {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Seven days. Held is filled, minimum is half, the miss is an outline. */
.strip {
  display: flex;
  gap: 8px;
  padding-top: 18px;
}

.strip span {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.strip .h {
  background: var(--accent);
  border-color: var(--accent);
}

.strip .n {
  background: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%);
  border-color: rgba(255, 255, 255, 0.85);
}

.strip .c {
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px rgba(255, 255, 255, 0.75);
}

.strip em {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  font: 600 0.6875rem/1 var(--caps);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.why {
  margin: 0;
  font: italic 400 1.375rem/1.3 var(--serif);
  color: #fff;
  text-align: center;
  text-wrap: balance;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(64px, 9vw, 110px);
}

.proof__number {
  margin: 0;
  font: 300 clamp(4.5rem, 11vw, 8.5rem) / 0.85 var(--caps);
  color: #fff;
}

.proof__title {
  margin: 14px 0 0;
  max-width: 30rem;
  font: 400 clamp(1.625rem, 2.8vw, 2.25rem) / 1.12 var(--serif);
  color: #fff;
}

.proof__cite {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.effort {
  display: grid;
  gap: 2px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.effort div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px;
  background: var(--surface);
}

.effort dt {
  font: 300 2.75rem/1 var(--caps);
  color: #fff;
}

.effort dt small {
  margin-left: 3px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.effort dd {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(237, 238, 239, 0.82);
}

.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.voices figure {
  margin: 0;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--edge);
}

.voices blockquote {
  margin: 0;
  font: italic 400 1.375rem/1.3 var(--serif);
  color: #fff;
}

.voices figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─── The offer ─────────────────────────────────────────── */

.offer__head .sect__title {
  margin-top: 14px;
}

.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
  align-items: start;
}

.stack {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.stack li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.stack__n {
  padding-top: 6px;
  font: 500 0.9375rem/1 var(--caps);
  letter-spacing: 0.1em;
  color: var(--muted);
}

.stack h3 {
  margin: 0;
  font: 400 1.625rem/1.15 var(--serif);
  color: #fff;
}

.stack p {
  margin: 6px 0 0;
  font-size: 0.9688rem;
  line-height: 1.55;
  color: rgba(237, 238, 239, 0.7);
}

.offer__side {
  position: sticky;
  top: calc(var(--top) + 24px);
  display: grid;
  gap: 16px;
}

.price {
  padding: 28px;
  border-radius: 26px;
  background: rgba(20, 22, 25, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 50px 110px -40px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.price__now {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 12px 0 0;
  font: 300 4.5rem/1 var(--caps);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.price__now s {
  font-size: 1.75rem;
  color: rgba(237, 238, 239, 0.45);
  text-decoration-thickness: 2px;
}

.price__terms {
  margin: 6px 0 0;
  font-size: 0.9688rem;
  color: rgba(237, 238, 239, 0.78);
}

.spots {
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.spots__grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}

.spots__grid i {
  aspect-ratio: 1;
  border-radius: 5px;
}

.spots__line {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  color: #fff;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.guarantee__seal {
  flex: none;
  width: 64px;
  height: 64px;
}

.guarantee__seal circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
}

.guarantee__seal circle + circle {
  stroke-dasharray: 2 4;
}

.guarantee__seal text {
  fill: #fff;
  font: 300 24px var(--caps);
}

.guarantee__seal .small {
  font: 600 9px var(--caps);
  letter-spacing: 0.2em;
}

.guarantee p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.5;
  color: rgba(237, 238, 239, 0.74);
}

.guarantee b {
  color: #fff;
  font-weight: 600;
}

.others {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
}

.others dl {
  margin: 12px 0 0;
}

.others div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.others dt {
  font-size: 0.9375rem;
  color: rgba(237, 238, 239, 0.8);
}

.others dd {
  margin: 0;
  text-align: right;
  font: 500 1.375rem/1 var(--caps);
  color: #fff;
  white-space: nowrap;
}

.others dd small {
  display: block;
  margin-top: 4px;
  font: 400 0.75rem/1.2 var(--sans);
  color: var(--muted);
  white-space: normal;
}

/* ─── Questions ─────────────────────────────────────────── */

.faq-wrap {
  max-width: 780px;
}

.faq {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px 44px 14px 0;
  list-style: none;
  cursor: pointer;
  font: 400 1.5rem/1.2 var(--serif);
  color: #fff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.35s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  margin: 0 0 22px;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(237, 238, 239, 0.74);
}

/* ─── Last call ─────────────────────────────────────────── */

.last {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(110px, 16vw, 190px) var(--gutter) clamp(80px, 11vw, 120px);
  text-align: center;
}

.last__line {
  margin: 22px 0 0;
  font: 400 clamp(3rem, 8vw, 6.25rem) / 0.95 var(--serif);
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

.last__small {
  margin: 18px 0 34px;
  font-size: 1.125rem;
  color: rgba(237, 238, 239, 0.74);
}

.last__spots {
  margin: 16px 0 0;
  font: 500 0.875rem/1 var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Footer ────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.footer__mark {
  font: 400 1.375rem/1 var(--serif);
  color: var(--ink);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

@media (hover: hover) {
  .footer__links a:hover {
    color: var(--ink);
  }
}

/* ─── Mobile buy bar ────────────────────────────────────── */

.buybar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(20, 22, 25, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 20px 50px -10px rgba(0, 0, 0, 0.8);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}

.buybar.is-on {
  transform: none;
}

.buybar__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.buybar__text b {
  font-size: 1rem;
  font-weight: 600;
}

.buybar__text small {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buybar__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 1rem;
}

/* ─── Reveal ────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ─── What you actually want ────────────────────────────── */

.wants__head .sect__title {
  margin-top: 14px;
}

.wants__tabs {
  display: flex;
  gap: 8px;
  margin: 32px calc(var(--gutter) * -1) 0;
  padding: 2px var(--gutter) 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.wants__tabs::-webkit-scrollbar {
  display: none;
}

.wants__tabs button {
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: rgba(237, 238, 239, 0.86);
  font: 500 0.9688rem/1 var(--sans);
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.wants__tabs button[aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: none;
}

@media (hover: hover) {
  .wants__tabs button:hover:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.12);
  }
}

.want {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: rgba(16, 18, 20, 0.86);
  border: 1px solid var(--edge);
  overflow: hidden;
}

/* A thin line across the top counts down to the next want. */
.want__timer {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: left;
  transform: scaleX(0);
}

.want.is-playing .want__timer {
  animation: want-timer var(--want-ms, 6000ms) linear forwards;
}

@keyframes want-timer {
  to {
    transform: scaleX(1);
  }
}

.want__copy,
.want__arc {
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.want.is-swapping .want__copy,
.want.is-swapping .want__arc {
  opacity: 0;
  transform: translateY(8px);
}

.want__name {
  margin: 0;
  font: 500 0.9375rem/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.want__line {
  margin: 14px 0 0;
  font: italic 400 clamp(2rem, 4.2vw, 3.25rem) / 1.04 var(--serif);
  color: #fff;
  text-wrap: balance;
}

.want__how {
  margin: 18px 0 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(237, 238, 239, 0.74);
}

.want__reps {
  display: grid;
  gap: 2px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  overflow: hidden;
}

.want__reps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.045);
}

.want__reps .mark {
  width: 24px;
  height: 24px;
}

.want__reps span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.want__reps b {
  font-weight: 600;
  font-size: 0.9688rem;
}

.want__reps small {
  font-size: 0.8125rem;
  color: var(--muted);
}

.cta--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.cta__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.125rem;
}

@media (hover: hover) {
  .cta--ghost:hover {
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  }
}

/* ─── The reel ──────────────────────────────────────────── */

.reel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.reel .sect__title {
  margin-top: 14px;
}

.reel__list {
  margin: 28px 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reel__list li {
  border-bottom: 1px solid var(--line);
}

.reel__list button {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 0 14px 22px;
  border: 0;
  background: none;
  color: rgba(237, 238, 239, 0.55);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.reel__list button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.reel__list b {
  font: 400 1.5rem/1.1 var(--serif);
  color: inherit;
}

.reel__list span {
  font-size: 0.9375rem;
}

.reel__list button[aria-current="true"] {
  color: #fff;
}

.reel__list button[aria-current="true"]::before {
  opacity: 1;
  transform: scale(1.3);
  background: var(--rec);
}

@media (hover: hover) {
  .reel__list button:hover {
    color: rgba(237, 238, 239, 0.9);
  }
}

.reel__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

/* ─── The phone ─────────────────────────────────────────── */

.phone-wrap {
  perspective: 1400px;
  animation: float 7s var(--slow) infinite alternate;
}

@keyframes float {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(8px);
  }
}

/* A phone, drawn: a titanium edge, rounded glass, the app inside. */
.phone {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 390 / 844;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(150deg, #4a4e54 0%, #1a1c1f 30%, #0f1012 60%, #34373c 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.18),
    inset 0 0 0 4px rgba(0, 0, 0, 0.6),
    0 80px 140px -50px rgba(0, 0, 0, 1),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transform: rotateX(var(--tx, 4deg)) rotateY(var(--ty, -8deg)) rotateZ(-1deg);
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}

/* Side buttons. */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a2d31;
}
.phone::before {
  left: -3px;
  top: 22%;
  height: 9%;
  box-shadow: 0 -60px 0 #2a2d31;
}
.phone::after {
  right: -3px;
  top: 28%;
  height: 13%;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #0b0c0e;
  container-type: inline-size;
  isolation: isolate;
}

/* Light across the glass on every new screen. */
.phone__glare {
  position: absolute;
  inset: -20%;
  z-index: 5;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.09) 48%, rgba(255, 255, 255, 0.02) 54%, transparent 60%);
  transform: translateX(-60%);
  pointer-events: none;
}

.phone.is-flash .phone__glare {
  animation: glare 1.3s var(--ease);
}

@keyframes glare {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(60%);
  }
}

/* Story bars above the phone, like a reel. */
.phone__bars {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  top: -22px;
  display: flex;
  gap: 4px;
}

.phone__bars i {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.phone__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.phone__bars i.is-done::after {
  transform: scaleX(1);
}

.phone__bars i.is-on::after {
  animation: want-timer var(--reel-ms, 5200ms) linear forwards;
}

.phone.is-paused .phone__bars i.is-on::after {
  animation-play-state: paused;
}

.phone__tap {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  right: 0;
  width: 60%;
  border: 0;
  background: none;
  cursor: pointer;
}

.phone__tap--back {
  left: 0;
  right: auto;
  width: 40%;
}

.phone__tap:focus-visible {
  outline-offset: -6px;
  border-radius: 44px;
}

/* ─── The app inside: everything in em, scaled to the screen ─── */

.ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font: 400 4.1cqw/1.35 var(--sans);
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
}

.ui__status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.6em;
  padding: 0 2.1em 0 2.3em;
  font-weight: 600;
  font-size: 0.95em;
}

.ui__island {
  position: absolute;
  left: 50%;
  top: 0.9em;
  width: 7.6em;
  height: 2.2em;
  border-radius: 2em;
  background: #000;
  translate: -50% 0;
}

.ui__icons {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.ui__signal {
  display: flex;
  align-items: flex-end;
  gap: 0.12em;
  height: 0.8em;
}

.ui__signal b {
  width: 0.2em;
  border-radius: 0.1em;
  background: #fff;
}
.ui__signal b:nth-child(1) {
  height: 35%;
}
.ui__signal b:nth-child(2) {
  height: 55%;
}
.ui__signal b:nth-child(3) {
  height: 75%;
}
.ui__signal b:nth-child(4) {
  height: 100%;
}

.ui__battery {
  position: relative;
  width: 1.7em;
  height: 0.85em;
  border-radius: 0.25em;
  box-shadow: inset 0 0 0 0.09em rgba(255, 255, 255, 0.5);
}

.ui__battery::after {
  content: "";
  position: absolute;
  inset: 0.17em;
  right: 0.45em;
  border-radius: 0.12em;
  background: #fff;
}

.ui__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 1.3em 0.8em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ui__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font: 400 1.45em/1 var(--serif);
}

.ui__brand svg {
  width: 1.05em;
  height: 0.65em;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
}

.ui__day {
  font: 600 0.82em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui__views {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.v {
  position: absolute;
  inset: 0;
  padding: 1.1em 1.3em 6em;
  opacity: 0;
  transform: translateX(14%);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}

.v.is-on {
  opacity: 1;
  transform: none;
}

.v.is-out {
  opacity: 0;
  transform: translateX(-10%) scale(0.98);
}

.ui__kicker {
  margin: 0;
  font: 600 0.8em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui__hello {
  margin: 0.25em 0 0.6em;
  font: 400 2.1em/1.05 var(--serif);
  color: #fff;
}

.ui__hello--goal {
  font-size: 1.75em;
  margin-bottom: 0.2em;
}

.ui__tabs {
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: 1.6em;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.35em;
  border-radius: 2.4em;
  background: rgba(22, 24, 27, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 1em 2em rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ui__tabs > span:not(.ui__pill) {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  padding: 0.45em 0 0.35em;
  font-size: 0.72em;
  color: rgba(237, 238, 239, 0.62);
  transition: color 0.4s var(--ease);
}

.ui__tabs svg {
  width: 1.9em;
  height: 1.9em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.ui__tabs > span.is-on {
  color: #fff;
}

/* The pill glides to the tab, the way the app's does. */
.ui__pill {
  position: absolute;
  top: 0.35em;
  bottom: 0.35em;
  left: 0.35em;
  width: calc((100% - 0.7em) / 5);
  border-radius: 2em;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform 0.6s var(--spring);
}

/* Shared check mark: a ring that fills and pops when ticked. */
.mk,
.w__ck {
  position: relative;
  flex: none;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.11em rgba(255, 255, 255, 0.4);
}

.mk::after,
.w__ck::after {
  content: "";
  position: absolute;
  left: 0.62em;
  top: 0.32em;
  width: 0.42em;
  height: 0.78em;
  border: solid var(--on-accent);
  border-width: 0 0.16em 0.16em 0;
  transform: rotate(45deg) scale(0);
}

.v.is-on .mk,
.v.is-on .w__ck {
  animation: tick 0.5s var(--spring) var(--d) both;
}

.v.is-on .mk::after,
.v.is-on .w__ck::after {
  animation: check 0.35s var(--spring) calc(var(--d) + 0.12s) both;
}

@keyframes tick {
  0% {
    background: transparent;
    transform: scale(1);
  }
  40% {
    transform: scale(0.8);
  }
  100% {
    background: var(--accent);
    box-shadow: inset 0 0 0 0.11em var(--accent);
    transform: scale(1);
  }
}

@keyframes check {
  from {
    transform: rotate(45deg) scale(0);
  }
  to {
    transform: rotate(45deg) scale(1);
  }
}

/* Today */
.film {
  position: relative;
  height: 9.4em;
  padding: 0.9em 1.1em;
  border-radius: 1.2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(to bottom, rgba(6, 8, 10, 0.3), rgba(6, 8, 10, 0.15) 50%, rgba(6, 8, 10, 0.75)),
    url("assets/forest.jpg") center 55% / cover;
  overflow: hidden;
}

.film__c {
  position: absolute;
  width: 0.75em;
  height: 0.75em;
  border: 0 solid rgba(255, 255, 255, 0.8);
}
.film__c.tl {
  top: 0.55em;
  left: 0.55em;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}
.film__c.tr {
  top: 0.55em;
  right: 0.55em;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}
.film__c.bl {
  bottom: 0.55em;
  left: 0.55em;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}
.film__c.br {
  bottom: 0.55em;
  right: 0.55em;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.film__row {
  display: flex;
  justify-content: space-between;
  font: 600 0.72em/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.film__day {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--caps);
}

.film__day small {
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* The day rolls over, like a counter on a slate. */
.film__roll {
  display: inline-flex;
  flex-direction: column;
  height: 1em;
  overflow: hidden;
  font-size: 3.6em;
  font-weight: 300;
  line-height: 1;
}

.film__roll span {
  display: block;
}

.v.is-on .film__roll span {
  animation: roll 0.9s var(--spring) 0.25s both;
}

@keyframes roll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

.tcard {
  margin-top: 0.9em;
  padding: 1em 1.1em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tcard__head {
  display: flex;
  justify-content: space-between;
  font: 600 0.78em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tcard__head span:last-child {
  font: 400 1.1em/1 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

.tcard__seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3em;
  margin: 0.8em 0 0.4em;
}

.tcard__seg i {
  height: 0.22em;
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.tcard__seg i::after {
  content: "";
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.v.is-on .tcard__seg i::after {
  animation: fill 0.5s var(--ease) var(--d) both;
}

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

.trep {
  display: flex;
  align-items: center;
  gap: 0.85em;
  padding: 0.65em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trep span {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.trep b {
  font-weight: 500;
  font-size: 1.05em;
}

.trep small {
  font-size: 0.82em;
  color: var(--muted);
}

.v.is-on .trep b {
  animation: done 0.4s var(--ease) calc(var(--d) + 0.2s) both;
}

@keyframes done {
  to {
    color: var(--muted);
  }
}

/* The minimum fills halfway: same ring, half filled. */
.v.is-on .trep--min .mk {
  animation-name: tick-min;
}

.trep--min .mk::after {
  display: none;
}

@keyframes tick-min {
  0% {
    background: transparent;
  }
  40% {
    transform: scale(0.8);
  }
  100% {
    background: linear-gradient(90deg, transparent 50%, var(--accent) 50%);
    box-shadow: inset 0 0 0 0.11em var(--accent);
    transform: scale(1);
  }
}

.tcard__held {
  margin: 0.8em 0 0;
  font: italic 400 1.35em/1.2 var(--serif);
  color: #fff;
  opacity: 0;
}

.tcard__held em {
  color: var(--muted);
}

.v.is-on .tcard__held {
  animation: rise 0.8s var(--ease) 2.5s both;
}

.tline {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  margin-top: 0.8em;
  padding: 0.9em 1.1em;
  border-radius: 1.2em;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
}

.tline small {
  font: 600 0.72em/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.tline em {
  font: italic 400 1.2em/1.2 var(--serif);
  color: #fff;
}

.v.is-on .tline {
  animation: rise 0.8s var(--ease) 3s both;
}

/* Workout */
.v-train {
  padding-top: 0.7em;
}

.w__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w__top b {
  display: block;
  font: 400 1.8em/1 var(--serif);
  color: #fff;
}

.w__top small {
  font: 500 0.78em/1 var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.w__finish {
  padding: 0.6em 1.1em;
  border-radius: 2em;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.95em;
}

.w__stats {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  margin: 0.9em 0;
}

.w__stats small {
  display: block;
  font: 600 0.72em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.w__stats b {
  display: block;
  margin-top: 0.25em;
  font: 300 1.75em/1 var(--caps);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.w__card {
  padding: 0.9em 0 0.4em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.w__name {
  margin: 0 1em 0.6em;
  font-weight: 600;
  font-size: 1.1em;
}

.w__head,
.w__row {
  display: grid;
  grid-template-columns: 2em 1fr 2.8em 2.6em 2.2em;
  align-items: center;
  gap: 0.4em;
  padding: 0 1em;
}

.w__head {
  padding-bottom: 0.4em;
  font: 600 0.7em/1 var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.w__row {
  height: 2.9em;
  font-size: 0.98em;
  color: var(--muted);
  position: relative;
}

.w__row > span:first-child {
  font: 600 1em/1 var(--caps);
  color: #fff;
}

.w__row .w__w {
  color: var(--muted);
}

.w__row b {
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.w__row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.07);
  transform-origin: left;
  transform: scaleX(0);
}

.v.is-on .w__row::before {
  animation: fill 0.45s var(--ease) var(--d) both;
}

.w__ck {
  border-radius: 0.45em;
  width: 1.75em;
  height: 1.75em;
}

.w__rest {
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: 5.4em;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em;
  border-radius: 2.4em;
  background: rgba(30, 33, 37, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1.2em 2em rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateY(160%);
}

.v.is-on .w__rest {
  animation: up 0.7s var(--spring) 2.6s both;
}

@keyframes up {
  to {
    transform: none;
  }
}

.w__restline {
  position: absolute;
  left: 1.4em;
  right: 1.4em;
  bottom: 0.2em;
  height: 0.15em;
  border-radius: 1em;
  background: #fff;
  transform-origin: left;
}

.v.is-on .w__restline {
  animation: drain 150s linear 2.7s both;
}

@keyframes drain {
  to {
    transform: scaleX(0);
  }
}

.w__btn {
  padding: 0.65em 0.85em;
  border-radius: 2em;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.9em;
}

.w__btn--on {
  background: var(--accent);
  color: var(--on-accent);
}

.w__clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.w__clock small {
  font: 600 0.62em/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.w__clock b {
  margin-top: 0.15em;
  font: 300 1.55em/1 var(--caps);
  font-variant-numeric: tabular-nums;
}

.w__next {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-top: 0.6em;
  padding: 0.85em 1em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0.55;
}

.w__next b {
  font-weight: 600;
  font-size: 1em;
}

.w__next small {
  font-size: 0.8em;
  color: var(--muted);
}

/* Habits */
.grid {
  padding: 0.9em 0.9em 0.6em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.grid__row {
  display: grid;
  grid-template-columns: 5.6em 1fr 2.6em;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid__row:last-child {
  border-bottom: 0;
}

.grid__name {
  font-size: 0.86em;
  font-weight: 500;
  line-height: 1.2;
}

.grid__cells {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.18em;
}

.grid__cells i {
  aspect-ratio: 1;
  border-radius: 0.25em;
  background: rgba(255, 255, 255, 0.06);
}

.v.is-on .grid__cells i.h {
  animation: cell 0.45s var(--spring) calc(0.25s + var(--i) * 0.055s) both;
}

.v.is-on .grid__cells i.m {
  animation: cell-min 0.45s var(--spring) calc(0.25s + var(--i) * 0.055s) both;
}

.v.is-on .grid__cells i.x {
  animation: cell-miss 0.45s var(--ease) calc(0.25s + var(--i) * 0.055s) both;
}

.v.is-on .grid__cells i.c {
  animation:
    cell 0.45s var(--spring) calc(0.25s + var(--i) * 0.055s) both,
    ring 0.6s var(--ease) calc(0.45s + var(--i) * 0.055s) both;
}

@keyframes cell {
  from {
    transform: scale(0.3);
    background: rgba(255, 255, 255, 0.06);
  }
  to {
    transform: scale(1);
    background: var(--accent);
  }
}

@keyframes cell-min {
  from {
    transform: scale(0.3);
  }
  to {
    transform: scale(1);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 50%, rgba(242, 243, 244, 0.85) 50%);
  }
}

@keyframes cell-miss {
  to {
    background: transparent;
    box-shadow: inset 0 0 0 0.09em rgba(255, 255, 255, 0.4);
  }
}

@keyframes ring {
  to {
    box-shadow: 0 0 0 0.12em #0b0c0e, 0 0 0 0.24em rgba(229, 132, 124, 0.9);
  }
}

.grid__pct {
  text-align: right;
  font: 300 1.25em/1 var(--caps);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.grid__key {
  display: flex;
  gap: 1em;
  margin-top: 0.8em;
  font-size: 0.78em;
  color: var(--muted);
}

.grid__key span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.grid__key i {
  width: 0.9em;
  height: 0.9em;
  border-radius: 0.2em;
}

.k-h {
  background: var(--accent);
}

.k-m {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 50%, rgba(242, 243, 244, 0.85) 50%);
}

.k-x {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

.season-card {
  margin-top: 0.9em;
  padding: 0.9em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.season-card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7em;
  font: 600 0.75em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.season-card__head b {
  color: #fff;
  font-weight: 600;
}

/* Every day of the season, rows of fifteen, filling in a wave. */
.season-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 0.2em;
}

.season-grid i {
  aspect-ratio: 1;
  border-radius: 0.2em;
  background: rgba(255, 255, 255, 0.06);
}

.v.is-on .season-grid i.h {
  animation: cell 0.4s var(--spring) calc(0.9s + var(--i) * 0.045s) both;
}

.v.is-on .season-grid i.m {
  animation: cell-min 0.4s var(--spring) calc(0.9s + var(--i) * 0.045s) both;
}

.v.is-on .season-grid i.x {
  animation: cell-miss 0.4s var(--ease) calc(0.9s + var(--i) * 0.045s) both;
}

.season-grid i.t {
  box-shadow: inset 0 0 0 0.1em #fff;
}

.v.is-on .season-grid i.t {
  animation: today 1.6s var(--ease) 2.1s infinite;
}

@keyframes today {
  50% {
    box-shadow: inset 0 0 0 0.1em #fff, 0 0 0 0.25em rgba(255, 255, 255, 0.15);
  }
}

/* Goal */
.g__pace {
  margin: 0 0 1em;
  font: italic 400 1.1em/1 var(--serif);
  color: var(--muted);
}

.g__now {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.g__now small {
  display: block;
  font: 600 0.75em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.g__now b {
  font: 300 3.2em/1 var(--caps);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.g__now .g__pct {
  font-size: 1.9em;
}

.g__bar {
  height: 0.38em;
  margin-top: 0.7em;
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.g__bar i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: 1em;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.v.is-on .g__bar i {
  animation: fill 1.6s var(--ease) 0.4s both;
}

.g__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5em;
  font-size: 0.82em;
  color: var(--muted);
}

.g__chart {
  display: block;
  width: 100%;
  margin-top: 1em;
  padding: 0.6em;
  border-radius: 1.2em;
  background: #16181b;
  overflow: visible;
}

.g__target {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
}

.g__label {
  fill: var(--muted);
  font: 600 9px var(--caps);
  letter-spacing: 0.14em;
}

.g__pace-line {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1.2;
  stroke-dasharray: 2 4;
}

.g__line {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}

.v.is-on .g__line {
  animation: draw 1.8s var(--ease) 0.6s both;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.g__dot {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}

.v.is-on .g__dot {
  animation:
    pop-in 0.5s var(--spring) 2.3s both,
    halo 1.8s var(--ease) 2.6s infinite;
}

@keyframes pop-in {
  to {
    transform: scale(1);
  }
}

@keyframes halo {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0));
  }
}

.g__log {
  margin-top: 0.7em;
}

.g__log p {
  display: grid;
  grid-template-columns: 3.6em 3.8em 1fr;
  align-items: baseline;
  gap: 0.5em;
  margin: 0;
  padding: 0.55em 0.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9em;
}

.g__log span,
.g__log small {
  color: var(--muted);
}

.g__log b {
  font: 400 1.15em/1 var(--caps);
  color: #fff;
}

.g__log p:first-child small {
  color: #fff;
}

.v.is-on .g__log p {
  animation: rise 0.6s var(--ease) both;
}

.v.is-on .g__log p:nth-child(1) {
  animation-delay: 2.4s;
}
.v.is-on .g__log p:nth-child(2) {
  animation-delay: 2.55s;
}
.v.is-on .g__log p:nth-child(3) {
  animation-delay: 2.7s;
}

/* Journal */
.j__entry {
  padding: 1em 1.1em;
  border-radius: 1.2em;
  background: #16181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-height: 11em;
}

.j__date {
  margin: 0;
  font: 600 0.75em/1 var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.j__title {
  min-height: 1.2em;
  margin: 0.4em 0 0.3em;
  font: 400 1.55em/1.15 var(--serif);
  color: #fff;
}

.j__body {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
  color: rgba(237, 238, 239, 0.82);
}

/* The caret follows whatever is being typed. */
.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.06em;
  vertical-align: -0.12em;
  background: #fff;
  animation: caret 0.9s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.j__list {
  margin-top: 0.8em;
}

.j__list p {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  margin: 0;
  padding: 0.6em 0.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.j__list b {
  width: 1.4em;
  font: 300 1.4em/1 var(--caps);
}

.j__list span {
  font: 400 1.15em/1 var(--serif);
  color: rgba(237, 238, 239, 0.8);
}

.j__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.9em;
  padding: 1em;
  border-radius: 1.2em;
  background: rgba(255, 255, 255, 0.04);
}

.j__prompt small {
  font: 600 0.72em/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.j__prompt em {
  font: italic 400 1.3em/1.1 var(--serif);
  color: #fff;
}

/* Recap */
.r__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 15em;
  border-radius: 1.2em;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(6, 8, 10, 0.25), rgba(6, 8, 10, 0.55)),
    url("assets/forest.jpg") center 40% / cover;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.r__card small {
  font: 600 0.85em/1 var(--caps);
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  text-transform: uppercase;
}

.r__card b {
  font: 400 5.2em/1 var(--serif);
  color: #fff;
}

.r__dates {
  position: absolute;
  bottom: 0.9em;
  font: 600 0.72em/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.v.is-on .r__card {
  animation: push 4.5s var(--ease) both;
}

.v.is-on .r__card small,
.v.is-on .r__card b {
  animation: title-in 1.4s var(--ease) 0.2s both;
}

.v.is-on .r__card b {
  animation-delay: 0.45s;
}

@keyframes push {
  from {
    background-size: 130%;
  }
  to {
    background-size: 112%;
  }
}

@keyframes title-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.25);
    letter-spacing: 0.8em;
  }
}

.r__line {
  margin: 0.9em 0.3em;
  font: italic 400 1.25em/1.25 var(--serif);
  color: #fff;
  text-align: center;
  opacity: 0;
}

.v.is-on .r__line {
  animation: rise 0.9s var(--ease) 1.1s both;
}

.r__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 1.2em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.r__stats > span {
  padding: 0.8em 1em;
  background: #16181b;
}

.r__stats .r__wide {
  grid-column: 1 / -1;
}

.r__stats b {
  display: block;
  font: 300 2em/1 var(--caps);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.r__stats b small {
  font-size: 0.6em;
  color: var(--muted);
}

.r__stats > span > small {
  font-size: 0.85em;
  color: var(--muted);
}

.reel__caption {
  margin: 30px 0 0;
  font: italic 400 1.375rem/1.2 var(--serif);
  color: #fff;
  text-align: center;
}

.reel__note {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ─── Words ─────────────────────────────────────────────── */

.words {
  max-width: 980px;
  text-align: center;
}

.words__stage {
  display: grid;
}

.words figure {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  pointer-events: none;
}

.words figure.is-on {
  opacity: 1;
  transform: none;
}

.words blockquote {
  margin: 0;
  font: italic 400 clamp(2.25rem, 5.4vw, 4.25rem) / 1.05 var(--serif);
  color: #fff;
  text-wrap: balance;
}

.words figcaption {
  margin-top: 22px;
  font: 500 0.9375rem/1 var(--caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.words figcaption::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: currentColor;
}

.words__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.words__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition:
    background-color 0.4s var(--ease),
    width 0.4s var(--ease);
}

.words__dots i.is-on {
  width: 22px;
  border-radius: 3px;
  background: #fff;
}

@media (max-width: 940px) {
  .want,
  .reel {
    grid-template-columns: 1fr;
  }

  .reel__list {
    display: none;
  }
}

@media (max-width: 560px) {
  .want {
    padding: 24px 20px;
  }

  .want .cta {
    width: 100%;
  }

  .reel__list span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .want.is-playing .want__timer,
  .phone__bars i.is-on::after {
    animation: none;
  }

  .phone,
  .phone-wrap {
    animation: none;
    transform: none;
  }
}

/* ─── Narrow screens ────────────────────────────────────── */

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: calc(var(--top) + 52px + env(safe-area-inset-top));
    gap: 44px;
  }

  .mini {
    margin: 0 auto;
  }

  .future,
  .how,
  .proof,
  .offer__grid {
    grid-template-columns: 1fr;
  }

  .offer__side {
    position: static;
  }

  .buybar {
    display: flex;
  }

  .footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  :root {
    --top: 88px;
  }

  .notice {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }

  .notice__wide {
    display: none;
  }

  .bar__signin {
    padding: 0 8px;
  }

  .viewfinder {
    inset-inline: 10px;
  }

  .hero__title {
    font-size: 3.4rem;
  }

  .hero__actions .cta {
    width: 100%;
  }

  .hero__actions .quiet {
    margin-inline: auto;
  }

  .hero__spots {
    justify-content: center;
    text-align: center;
  }

  .final__frame {
    min-height: 400px;
    padding: 24px 22px 22px;
  }

  .final__stats dd {
    font-size: 1.625rem;
  }

  .price {
    padding: 22px 20px;
  }

  .price__now {
    font-size: 3.75rem;
  }

  .others div {
    flex-direction: column;
    gap: 6px;
  }

  .others dd {
    text-align: left;
  }

  .others dd small {
    display: inline;
    margin-left: 6px;
  }
}

/* ─── Preferences ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scene__photo,
  .scene__mist,
  .rec,
  .notice__dot {
    animation: none;
  }

  .rise,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .card,
  .price,
  .others,
  .becoming,
  .effort div,
  .voices figure {
    background: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .is-scrolled .top,
  .buybar {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .label,
  .sect__lede,
  .card > p:last-child,
  .stack p,
  .road__list li > p:last-child,
  .faq details p {
    color: var(--ink);
  }

  .card,
  .price,
  .others {
    border-color: rgba(255, 255, 255, 0.6);
  }
}

/* Stats line up on their figures even when a label wraps. */
.final__stats div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .becoming input {
    font-size: 1.5rem;
  }
}

/* Paid-launch email intake shares the existing scene and type. */
.hero__launch { color: var(--ink); font: 500 1rem/1.4 var(--caps); letter-spacing: .1em; text-transform: uppercase; }
.launch-note, .launch-fine { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.launch-signup { max-width: 820px; }
.launch-signup form { margin-top: 32px; }
.launch-signup form > label:first-child { display: block; margin-bottom: 8px; }
.launch-input { display: flex; gap: 12px; }
.launch-input input { flex: 1; min-width: 0; padding: 16px; border: 1px solid #7c8288; border-radius: 5px; background: rgba(11,12,14,.8); color: var(--ink); font: inherit; }
.launch-input .cta { border: 0; cursor: pointer; }
.launch-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 8px 0; font-size: .9rem; }
.launch-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.launch-consent a, .launch-fine a { text-underline-offset: 3px; }
.launch-status { min-height: 3em; margin-top: 12px; }
.launch-success h3 { font: 400 2.6rem/1.2 var(--serif); margin-bottom: 12px; }
.launch-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.launch-signup [aria-invalid="true"] { outline: 2px solid var(--rec); outline-offset: 2px; }
.launch-input button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 600px) { .launch-input { flex-direction: column; } .launch-input .cta { width: 100%; justify-content: space-between; } }
/* Keep the full landing within narrow phones, including the longer launch CTA. */
.hero__copy, .hero__app { min-width: 0; }
.bar__signin, .bar__cta { white-space: nowrap; }
@media (max-width: 360px) {
  .bar { gap: 12px; }
  .bar__actions { gap: 12px; }
  .bar__cta { padding-inline: 14px; font-size: .8rem; }
  .hero__actions .cta, .price .cta { padding-left: 16px; gap: 8px; font-size: .95rem; }
  .notice { font-size: .68rem; letter-spacing: .09em; }
}
