/*
 * The landing page (design round 2026-11-13, claude_design/2026-11-landing/), drawn in the app's own
 * pieces. The app is set in one face (tokens.ts `ONE_FACE`): Newsreader for everything, so is this.
 *
 * `--app-*` are copied from apps/mobile/theme/tokens.ts — `light` and `dark` — because CSS cannot
 * import TypeScript. Change one and change it there. A `.scene` is night in every theme, as the app's
 * way in is (`entrance`), so it carries the dark palette whatever the visitor's setting.
 */

:root {
  --app-ground-1: #f6f2e8;
  --app-ground-2: #f0eadd;
  --app-ground-3: #e6dfce;
  --app-surface: #fffdf5;
  --app-edge: rgba(150, 118, 56, 0.14);
  --app-chip: rgba(189, 148, 74, 0.16);
  --app-field: #f5f1eb;
  --app-control: rgba(169, 128, 58, 0.3);
  --app-control-on: rgba(169, 128, 58, 0.5);
  --app-rule: rgba(33, 29, 56, 0.16);
  --app-t1: #211d38;
  --app-t2: #3a3357;
  --app-t3: #8a8399;
  --app-t4: #9a9384;
  --app-accent: #a27c39;
  --app-bright: #bd944a;
  --app-positive: #3f8a5f;
  --app-lift: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 48px -32px rgba(33, 29, 56, 0.25);
  --night-1: #14132f;
  --night-2: #100f29;
  --night-3: #08071a;
  --glow: rgba(214, 173, 95, 0.28);
  --serif: 'Newsreader', Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --app-ground-1: #14132f;
    --app-ground-2: #100f29;
    --app-ground-3: #08071a;
  }
  :root,
  .scene {
    --app-surface: #1a1932;
    --app-edge: rgba(255, 255, 255, 0.06);
    --app-chip: rgba(233, 216, 184, 0.14);
    --app-field: #242343;
    --app-control: rgba(233, 216, 184, 0.22);
    --app-control-on: rgba(233, 216, 184, 0.4);
    --app-rule: rgba(255, 255, 255, 0.12);
    --app-t1: #f3efe6;
    --app-t2: #e9d8b8;
    --app-t3: #9c99b6;
    --app-t4: #8b88a4;
    --app-accent: #c9b485;
    --app-bright: #e9d8b8;
    --app-positive: #86c9a3;
    --app-lift: 0 1px 0 rgba(233, 216, 184, 0.08) inset;
  }
}

/*
 * The Light / Dark toggle in the top bar. Until one is picked, the device's setting decides (above).
 * A pick overrides it in either direction, for the app tokens and for site.css's (the draft banner,
 * the skip link). Both blocks repeat values from above and from site.css: change them together.
 */
:root:has(#theme-light:checked) {
  color-scheme: light;
  --app-ground-1: #f6f2e8;
  --app-ground-2: #f0eadd;
  --app-ground-3: #e6dfce;
  --app-surface: #fffdf5;
  --app-edge: rgba(150, 118, 56, 0.14);
  --app-chip: rgba(189, 148, 74, 0.16);
  --app-field: #f5f1eb;
  --app-control: rgba(169, 128, 58, 0.3);
  --app-control-on: rgba(169, 128, 58, 0.5);
  --app-rule: rgba(33, 29, 56, 0.16);
  --app-t1: #211d38;
  --app-t2: #3a3357;
  --app-t3: #8a8399;
  --app-t4: #9a9384;
  --app-accent: #a27c39;
  --app-bright: #bd944a;
  --app-positive: #3f8a5f;
  --app-lift: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 48px -32px rgba(33, 29, 56, 0.25);
  --ground: #f6f2e8;
  --surface: #fdfaf1;
  --edge: rgba(120, 96, 48, 0.14);
  --rule: rgba(33, 29, 56, 0.16);
  --text: #211d38;
  --text-soft: #3a3357;
  --text-quiet: #6f6880;
  --accent: #8a6220;
  --mark: rgba(189, 148, 74, 0.32);
}
:root:has(#theme-dark:checked) {
  color-scheme: dark;
  --app-ground-1: #14132f;
  --app-ground-2: #100f29;
  --app-ground-3: #08071a;
  --app-surface: #1a1932;
  --app-edge: rgba(255, 255, 255, 0.06);
  --app-chip: rgba(233, 216, 184, 0.14);
  --app-field: #242343;
  --app-control: rgba(233, 216, 184, 0.22);
  --app-control-on: rgba(233, 216, 184, 0.4);
  --app-rule: rgba(255, 255, 255, 0.12);
  --app-t1: #f3efe6;
  --app-t2: #e9d8b8;
  --app-t3: #9c99b6;
  --app-t4: #8b88a4;
  --app-accent: #c9b485;
  --app-bright: #e9d8b8;
  --app-positive: #86c9a3;
  --app-lift: 0 1px 0 rgba(233, 216, 184, 0.08) inset;
  --ground: #100f29;
  --surface: #1a1932;
  --edge: rgba(255, 255, 255, 0.08);
  --rule: rgba(255, 255, 255, 0.12);
  --text: #f3efe6;
  --text-soft: #e9d8b8;
  --text-quiet: #a5a2bd;
  --accent: #c9b485;
  --mark: rgba(201, 180, 133, 0.28);
}

/* Night, in every theme. */
.scene {
  --app-surface: #1a1932;
  --app-edge: rgba(255, 255, 255, 0.06);
  --app-chip: rgba(233, 216, 184, 0.14);
  --app-field: #242343;
  --app-control: rgba(233, 216, 184, 0.22);
  --app-control-on: rgba(233, 216, 184, 0.4);
  --app-rule: rgba(255, 255, 255, 0.12);
  --app-t1: #f3efe6;
  --app-t2: #e9d8b8;
  --app-t3: #9c99b6;
  --app-t4: #8b88a4;
  --app-accent: #c9b485;
  --app-bright: #e9d8b8;
  --app-positive: #86c9a3;
  --app-lift: 0 1px 0 rgba(233, 216, 184, 0.08) inset;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 60%, var(--night-3) 100%);
  color: var(--app-t1);
}
.scene a {
  color: var(--app-t2);
}

body.landing {
  background: linear-gradient(
    180deg,
    var(--app-ground-1) 0%,
    var(--app-ground-2) 45%,
    var(--app-ground-3) 100%
  );
  color: var(--app-t1);
  font: 400 1.125rem/1.55 var(--serif);
  overflow-x: hidden;
}

.landing .draft {
  font-family: var(--serif);
}

/* ── shared pieces ───────────────────────────────────────────────────────────────────────────── */

.inner {
  max-width: 75rem;
  margin: 0 auto;
  padding-inline: clamp(1rem, 5vw, 4rem);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.split.middle {
  align-items: center;
}

.part {
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}
.part + .part {
  border-top: 1px solid var(--app-rule);
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--app-t2);
  font: 400 0.8125rem/1 var(--serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-line::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--app-bright);
}

.landing h2 {
  margin: 1.25rem 0 0;
  font: 400 clamp(2.125rem, 4.6vw, 3.5rem) / 1.05 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.landing h2 .fig {
  font-size: 1.25em;
  letter-spacing: -0.02em;
  color: var(--app-t2);
}

.say {
  margin: 1.5rem 0 0;
  max-width: 44ch;
  color: var(--app-t2);
  font-size: 1.1875rem;
  text-wrap: pretty;
}

.facts {
  margin: 2.25rem 0 0;
  padding: 0;
}
.facts div {
  padding-block: 1rem;
  border-top: 1px solid var(--app-rule);
}
.facts div:last-child {
  border-bottom: 1px solid var(--app-rule);
}
.facts dt {
  font-size: 1.1875rem;
  line-height: 1.3;
}
.facts dd {
  margin: 0.25rem 0 0;
  color: var(--app-t2);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* ── the app's pieces ────────────────────────────────────────────────────────────────────────── */

.card {
  box-sizing: border-box;
  padding: 1.125rem;
  background: var(--app-surface);
  border: 1px solid var(--app-edge);
  border-radius: 22px;
  box-shadow: var(--app-lift);
  color: var(--app-t1);
}
.label {
  margin: 0;
  color: var(--app-t3);
  font: 400 0.6875rem/1.2 var(--serif);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card-say {
  margin: 0;
  color: var(--app-t2);
  font-size: 1.375rem;
  line-height: 1.3;
}
.big {
  display: block;
  margin: 0.25rem 0;
  color: var(--app-accent);
  font: 400 3.25rem/1 var(--serif);
  letter-spacing: -0.02em;
}
.big .per {
  margin-left: 0.2rem;
  color: var(--app-t3);
  font-size: 1rem;
  letter-spacing: 0;
}
.data {
  margin: 0;
  color: var(--app-t3);
  font-size: 0.875rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.figures {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.875rem;
}
.rule {
  height: 1px;
  margin-block: 0.5rem;
  background: var(--app-rule);
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--app-rule);
  font-size: 0.9375rem;
}
.row:last-child {
  border-bottom: 0;
}
.row .amt {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mark-ours,
.mark-private {
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: 0.05em;
}
.mark-ours {
  width: 15px;
  height: 10px;
  background:
    radial-gradient(
      circle at 5px 5px,
      transparent 3.6px,
      var(--app-accent) 3.7px,
      var(--app-accent) 4.6px,
      transparent 4.7px
    ),
    radial-gradient(
      circle at 10px 5px,
      transparent 3.6px,
      var(--app-accent) 3.7px,
      var(--app-accent) 4.6px,
      transparent 4.7px
    );
}
.mark-private {
  width: 30px;
  height: 10px;
  border-radius: 2px;
  background: var(--app-chip);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.875rem;
}
.stack {
  display: grid;
  gap: 0.875rem;
  align-content: start;
}

/* Onboarding's question: chips, then the way to type it. */
.question {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}
.chips {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 0.75rem;
}
.chip {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--app-control);
  border-radius: 999px;
  background: var(--app-field);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.toggle {
  margin: 0.25rem 0 0;
  color: var(--app-accent);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

/* What you keep: living and kept, side by side in one bar. */
.flow {
  display: flex;
  gap: 4px;
  height: 9px;
  margin-top: 1rem;
}
.flow span {
  border-radius: 3px;
}
.flow .living {
  flex: 2100;
  background: var(--app-t4);
}
.flow .kept {
  flex: 1400;
  background: var(--app-accent);
}
.flow-captions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.grow {
  height: 6px;
  margin: 1.25rem 0 0.5rem;
  border-radius: 3px;
  background: var(--app-chip);
}
.grow span {
  display: block;
  width: 17%;
  height: 100%;
  border-radius: 3px;
  background: var(--app-accent);
}

/* The ladder's rungs. */
.rungs-pick {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.875rem;
}
.rung-pick {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--app-control);
  border-radius: 14px;
  background: var(--app-field);
}
.rung-pick.on {
  border-color: var(--app-control-on);
  background: var(--app-chip);
}
.rung-pick .between {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.rung-pick.on .between {
  color: var(--app-accent);
}
.rung-pick .when {
  color: var(--app-t2);
  white-space: nowrap;
}
.rung-pick.on .when {
  color: var(--app-accent);
}

/* The lever. */
.slider {
  position: relative;
  height: 4px;
  margin: 1.5rem 0.5rem 0.75rem;
  border-radius: 3px;
  background: var(--app-chip);
}
.slider .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50.79%;
  border-radius: 3px;
  background: var(--app-bright);
}
.slider .tick {
  position: absolute;
  top: -5px;
  left: 66.7%;
  width: 1.5px;
  height: 14px;
  background: var(--app-t4);
}
.slider .thumb {
  position: absolute;
  top: 50%;
  left: 50.79%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid var(--app-bright);
  border-radius: 50%;
  background: var(--app-surface);
  box-sizing: border-box;
  animation: thumb 10s ease-in-out infinite;
}
.slider .fill {
  animation: fill 10s ease-in-out infinite;
}
/*
 * The thumb steps down €100 at a time on a €1,260–€2,520 track: €1,900 (50.79%), €1,800 (42.86%),
 * €1,700 (34.92%), €1,600 (26.98%), then slides back. Each figure in a .step switches as the thumb
 * passes the midpoint between two stops, on the way down and on the way back.
 */
@keyframes thumb {
  0%,
  14% {
    left: 50.79%;
  }
  20%,
  34% {
    left: 42.86%;
  }
  40%,
  54% {
    left: 34.92%;
  }
  60%,
  80% {
    left: 26.98%;
    animation-timing-function: linear;
  }
  92%,
  100% {
    left: 50.79%;
  }
}
@keyframes fill {
  0%,
  14% {
    width: 50.79%;
  }
  20%,
  34% {
    width: 42.86%;
  }
  40%,
  54% {
    width: 34.92%;
  }
  60%,
  80% {
    width: 26.98%;
    animation-timing-function: linear;
  }
  92%,
  100% {
    width: 50.79%;
  }
}
/* A figure's values share one cell, so only the digits change and nothing around them moves.
   Without animation the first value (€200 less) is the one shown, matching the thumb's resting place. */
.step {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
}
.step > span {
  grid-area: 1 / 1;
  visibility: hidden;
  animation: 10s step-end infinite;
}
.step > span:nth-child(1) {
  visibility: visible;
  animation-name: step-1;
}
.step > span:nth-child(2) {
  animation-name: step-2;
}
.step > span:nth-child(3) {
  animation-name: step-3;
}
.step > span:nth-child(4) {
  animation-name: step-4;
}
@keyframes step-1 {
  0% {
    visibility: visible;
  }
  17% {
    visibility: hidden;
  }
  90%,
  100% {
    visibility: visible;
  }
}
@keyframes step-2 {
  0% {
    visibility: hidden;
  }
  17% {
    visibility: visible;
  }
  37% {
    visibility: hidden;
  }
  86% {
    visibility: visible;
  }
  90%,
  100% {
    visibility: hidden;
  }
}
@keyframes step-3 {
  0% {
    visibility: hidden;
  }
  37% {
    visibility: visible;
  }
  57% {
    visibility: hidden;
  }
  82% {
    visibility: visible;
  }
  86%,
  100% {
    visibility: hidden;
  }
}
@keyframes step-4 {
  0% {
    visibility: hidden;
  }
  57% {
    visibility: visible;
  }
  82%,
  100% {
    visibility: hidden;
  }
}
.scale {
  display: flex;
  justify-content: space-between;
  color: var(--app-t4);
  font-size: 0.6875rem;
}

/* ── the header: night, a horizon, and the phone rising ──────────────────────────────────────── */

.top {
  text-align: center;
}
.top nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.375rem clamp(1rem, 5vw, 4rem);
  font-size: 0.9375rem;
}
.top .brand {
  color: var(--app-t2);
  font-style: normal;
  font-size: 1.125rem;
}
.top .nav-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
/* The toggle: two words, the one in effect bright. The radios stay in the page for keyboards and
   screen readers, drawn as nothing. */
.theme {
  display: inline-flex;
  gap: 0.75rem;
}
.theme label {
  color: var(--app-t4);
  cursor: pointer;
}
.theme input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.theme label:has(input:focus-visible) {
  outline: 1px solid var(--app-t2);
  outline-offset: 3px;
}
.theme label:has(input:checked),
:root:not(:has(.theme input:checked)) .theme label:has(#theme-light) {
  color: var(--app-t1);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
@media (prefers-color-scheme: dark) {
  :root:not(:has(.theme input:checked)) .theme label:has(#theme-light) {
    color: var(--app-t4);
    text-decoration: none;
  }
  :root:not(:has(.theme input:checked)) .theme label:has(#theme-dark) {
    color: var(--app-t1);
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }
}
.top h1 {
  position: relative;
  margin: clamp(1.5rem, 5vw, 3.5rem) 0 0;
  padding: 0 1rem;
  font: italic 400 clamp(3.5rem, 10vw, 8.75rem) / 0.94 var(--serif);
  letter-spacing: -0.02em;
}
.top .promise {
  position: relative;
  max-width: 24ch;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
  color: var(--app-t2);
  font: 400 clamp(1.375rem, 3vw, 2.125rem) / 1.2 var(--serif);
  text-wrap: balance;
}
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: 0 1rem;
}
.sun {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 56rem;
  height: 32rem;
  margin: -16rem 0 0 -28rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), rgba(214, 173, 95, 0));
  animation:
    bloom 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s both,
    breathe 12s ease-in-out 2.9s infinite;
}
.horizon-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  height: 1.5px;
  background: var(--app-accent);
  transform-origin: 50% 50%;
  animation: line 1.6s cubic-bezier(0.65, 0, 0.25, 1) both;
}
.phone {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 21rem;
  aspect-ratio: 9 / 17;
  padding: 9px 9px 0;
  border-radius: 48px 48px 0 0;
  background: #05040f;
  box-shadow:
    0 0 0 1px rgba(233, 216, 184, 0.14),
    0 -20px 120px -40px rgba(214, 173, 95, 0.4);
  text-align: left;
  animation: rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(180deg, var(--night-1), var(--night-2) 60%, var(--night-3));
  padding: 0 1.125rem;
}
.status {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0.5rem 0;
  color: var(--app-t2);
  font-size: 0.6875rem;
}
.greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}
.greet span:first-child {
  font-size: 1.125rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--app-control);
  border-radius: 50%;
  color: var(--app-accent);
  font-size: 0.9375rem;
}
.screen .label {
  margin-top: 0.5rem;
}
.screen .rule {
  margin-block: 0.6rem 0;
}
.hero {
  margin: 0.9rem 0 0.25rem;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}
.hero .fig {
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.dial {
  display: block;
  width: 100%;
  height: auto;
}
.dial .track {
  fill: none;
  stroke: var(--app-chip);
  stroke-width: 11;
  stroke-linecap: round;
}
.dial .fill {
  fill: none;
  stroke: var(--app-bright);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: dial 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
}
.dial .head {
  fill: var(--app-bright);
  animation: appear 0.4s ease-out 2.4s both;
}
.dial .head-dot {
  fill: var(--app-surface);
  animation: appear 0.4s ease-out 2.4s both;
}
.dial .tick {
  stroke: var(--app-t4);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.dial .tick.on {
  stroke: var(--app-bright);
}
.dial text {
  fill: var(--app-t4);
  font: 400 15px var(--serif);
}
.dial text.on {
  fill: var(--app-accent);
}
.dial .pct {
  fill: var(--app-t1);
  font-size: 58px;
  letter-spacing: -1px;
}
.dial .sign {
  fill: var(--app-accent);
  font-size: 21px;
}
.dial .toward {
  fill: var(--app-t3);
  font-size: 15px;
}
.recap-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
}
.recap-line i {
  color: var(--app-accent);
}
.recap-line .chev {
  color: var(--app-t2);
}
.screen .spending {
  margin-top: 0.75rem;
  padding: 0.875rem 1rem;
}
.spending .total {
  margin: 0.2rem 0;
  font-size: 1.125rem;
}
.spending .total span {
  color: var(--app-t3);
}

/* ── Home, larger, in the night band ─────────────────────────────────────────────────────────── */

.home-pieces {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 26rem;
  justify-self: center;
}
.home-pieces .hero-card {
  padding: 1.25rem 1rem 0.5rem;
}
.home-pieces .hero {
  font-size: 1.25rem;
}
.home-pieces .hero .fig {
  font-size: 3.5rem;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0.6rem 0.25rem;
  border-radius: 22px;
  color: var(--app-t3);
  font-size: 0.75rem;
  text-align: center;
}
.tabs .here {
  color: var(--app-accent);
}
.tabs .add {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--app-control-on);
  border-radius: 50%;
  color: var(--app-accent);
  font-size: 1.5rem;
  line-height: 1;
}

/* ── the month's recap ───────────────────────────────────────────────────────────────────────── */

.recap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}
.recap .card {
  display: flex;
  flex-direction: column;
  min-height: 11rem;
}
.recap .lead {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1932, var(--night-2));
}
.recap .lead::after {
  content: '';
  position: absolute;
  right: -4rem;
  bottom: -9rem;
  width: 24rem;
  height: 19rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), rgba(214, 173, 95, 0));
}
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.steps span {
  height: 2px;
  border-radius: 2px;
  background: rgba(233, 216, 184, 0.25);
}
.steps span:first-child {
  background: var(--app-t2);
}
.recap .lead .end {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  margin-top: auto;
  padding-top: 1.75rem;
}
.recap .lead .month {
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  line-height: 1.05;
}
.recap .lead .rate {
  color: var(--app-t2);
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.recap .lead .rate span {
  margin-left: 0.4rem;
  color: var(--app-t3);
  font-size: 0.875rem;
  letter-spacing: 0;
}
.recap .figure {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.recap .figure.kept {
  color: var(--app-accent);
}
.recap .figure.closer {
  color: var(--app-positive);
}
.recap .after {
  margin: 0.5rem 0 0;
  color: var(--app-t2);
  font-size: 1rem;
  line-height: 1.3;
}

/* ── with a partner: the lens menu ──────────────────────────────────────────────────────────── */

.lens {
  display: grid;
  gap: 0.25rem;
  margin: 0.5rem 0 0.75rem;
}
.lens div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
}
.lens div.on {
  background: var(--app-chip);
}
.lens small {
  display: block;
  color: var(--app-t3);
  font-size: 0.8125rem;
}
.lens .check {
  color: var(--app-accent);
}
/*
 * A phone that holds a screenshot: `<div class="device"><img …></div>`. The bezel is the phone's own
 * black in every theme; the punch-hole camera sits over the screenshot's status bar. Shots are
 * 1080 × 2274 from the emulator (Android's own buttons cropped off), saved at half size.
 */
.device {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 17rem;
  margin: 0 auto;
  padding: 7px;
  border-radius: 36px;
  background: #05040f;
  box-shadow:
    0 0 0 1px rgba(233, 216, 184, 0.14),
    0 30px 60px -30px rgba(8, 7, 26, 0.45);
}
.device::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #05040f;
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
}

/* A feature section: the words and a phone. `.flip` puts the phone first when they sit side by
   side, so the sections alternate; on a narrow screen the words always come first. */
@media (min-width: 56rem) {
  .split.flip > .device {
    order: -1;
  }
}

/* With a partner: a suggested change's two answers. */
.answers {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.answers span {
  padding: 0.45rem 1rem;
  border: 1px solid var(--app-control);
  border-radius: 999px;
  font-size: 0.9375rem;
}
.answers span.on {
  border-color: var(--app-bright);
  background: var(--app-bright);
  color: var(--app-surface);
}
.aside-line {
  margin: 2rem 0 0;
  color: var(--app-t2);
  font-size: 1.0625rem;
}

/* ── what it won't do, and what it costs ─────────────────────────────────────────────────────── */

.wont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem 2.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.wont li {
  padding-top: 1rem;
  border-top: 1px solid var(--app-rule);
  color: var(--app-t2);
}
.wont strong {
  display: block;
  color: var(--app-t1);
  font-weight: 400;
  font-size: 1.1875rem;
}

/* ── the foot: night again, the chair on the horizon ─────────────────────────────────────────── */

.foot {
  text-align: center;
}
.foot .sun {
  top: auto;
  bottom: -12rem;
  margin-top: 0;
  animation: breathe 12s ease-in-out infinite;
}
.foot .inner {
  position: relative;
  max-width: 50rem;
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(2.5rem, 6vw, 4rem);
}
.foot .eyebrow-line {
  justify-content: center;
  color: var(--app-t2);
}
.foot .eyebrow-line::before {
  display: none;
}
.foot h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 12rem;
  margin-top: 2.25rem;
  padding: 0.875rem 1.375rem;
  border: 1px solid var(--app-control);
  border-radius: 16px;
  background: var(--app-surface);
  color: var(--app-t1);
  text-align: left;
  text-decoration: none;
}
.scene a.store {
  color: var(--app-t1);
}
.store:hover {
  border-color: var(--app-accent);
}
.store small {
  color: var(--app-t3);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.store span {
  font-size: 1.5rem;
  line-height: 1;
}
.foot .note {
  margin: 0.75rem 0 0;
  color: var(--app-t3);
  font-size: 0.9375rem;
}
.foot .ask {
  margin: 1.75rem 0 0;
  color: var(--app-t2);
  font-size: 1.0625rem;
}
.foot .ask a {
  color: #d6ad5f;
  font-style: italic;
  font-size: 1.1875rem;
}
.chair {
  position: relative;
  display: block;
  width: 100%;
  height: 96px;
  color: var(--app-accent);
}
.chair path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.foot nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  padding: 1.75rem 1.25rem 2.5rem;
  font-size: 0.9375rem;
}

/* ── motion ──────────────────────────────────────────────────────────────────────────────────── */

@keyframes rise {
  from {
    transform: translateY(70%);
  }
}
@keyframes line {
  from {
    transform: scaleX(0);
  }
}
@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 0.8;
    transform: scale(1);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes dial {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes appear {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing *,
  .landing *::before,
  .landing *::after {
    animation: none !important;
  }
}

/* site.css styles every footer for the legal pages; this one is a scene. */
footer.foot {
  padding: 0;
  border-top: 0;
  color: var(--app-t1);
  font-size: inherit;
}
footer.foot nav {
  margin-bottom: 0;
}
footer.foot nav a {
  color: var(--app-t2);
}

/* Fixes after the first look (2026-11-13). */
.screen .recap-line {
  padding: 0.7rem 0.9rem;
  font-size: 0.8125rem;
}
.big.outcome {
  font-size: 2.25rem;
  line-height: 1.1;
}
.recap .card > .label + .after {
  margin-top: auto;
  padding-top: 1.25rem;
}
