/* ==========================================================================
   rumo landing: "Your personal AI CFO"
   Tokens come from rumo-design-system/tokens/*.json and RUMO-BRAND-GUIDELINES.md (warm paper and ink).
   Shape rule (documented): cards 24px, buttons 16px, inputs 12px, status pills full-round.
   Motion rule: reassurance, not excitement. Exponential ease-out, nothing bounces, nothing pulses in alarm.
   ========================================================================== */

@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* brand tokens */
  --espresso: #2d1e1b;
  --parchment: #fcf9f3;
  --solar: #ffc247;
  --moss: #2e4735;
  --clay: #ebe4d8;
  --white: #ffffff;
  /* semantic extensions proposed in the brand book (section 4.1) */
  --ink-soft: #6b5d57;
  --moss-light: #4a6b54;
  --terracotta: #b4552d;
  --moss-deep: #243a2b;
  --line-strong: #8a7f7a; /* 3.9:1 on white: input boundaries must clear 3:1 */

  --r-card: 24px;
  --r-btn: 16px;
  --r-input: 12px;

  --shadow-tactile: 0 10px 40px rgba(45, 30, 27, 0.03);
  --shadow-lift: 0 30px 70px -28px rgba(45, 30, 27, 0.32);

  --font-display: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4.2vw, 56px);
  --maxw: 1280px;
  --section: clamp(88px, 10vw, 152px);
  --nav-h: 72px;
}

/* ---------- reset + browser surfaces themed from the palette ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: #cdbfae var(--parchment);
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--parchment);
  color: var(--espresso);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: rgba(255, 194, 71, 0.55); color: var(--espresso); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: #cdbfae; border-radius: 10px; border: 2px solid var(--parchment); }
input, textarea, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--moss); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
.on-moss :focus-visible { outline-color: var(--parchment); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--espresso); color: var(--parchment); border-radius: var(--r-btn); text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1rem + 3.2vw, 3.6rem); line-height: 1.04; }
h3 { font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.6rem); line-height: 1.08; }
.lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--ink-soft); max-width: 52ch; text-wrap: pretty; }
.fine { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- buttons + fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.5rem; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 500 1rem/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--moss); color: var(--parchment); }
.btn--primary:hover { background: var(--moss-deep); box-shadow: 0 14px 30px -14px rgba(46, 71, 53, 0.7); }
.btn--primary:active { transform: translateY(1px) scale(0.985); }
.btn--primary[disabled] { opacity: 0.7; cursor: progress; }
.btn--lg { min-height: 56px; padding: 0 1.75rem; }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.9375rem; }
.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--clay); }
.btn .ic { transition: transform 0.3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 0 1rem; background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--r-input);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.field textarea { padding: 14px 1rem; min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--moss); outline-offset: 0; border-color: var(--moss);
  box-shadow: 0 0 0 7px rgba(255, 194, 71, 0.3);
}
.field input[aria-invalid="true"] { border-color: var(--terracotta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- O Farol: the ambient solar glow (never a fill on foreground UI) ---------- */
.farol {
  position: absolute; pointer-events: none; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 194, 71, 0.6), rgba(255, 194, 71, 0.26) 46%, rgba(255, 194, 71, 0) 100%);
  animation: breathe 8s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1); opacity: 0.85; } to { transform: scale(1.07); opacity: 1; } }

/* ---------- reveal on scroll (content stays visible if JS fails) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--parchment) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--clay); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: inline-flex; flex: none; }
.wordmark { height: 30px; width: auto; aspect-ratio: 4.72 / 1; color: var(--espresso); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  padding: 10px 14px; border-radius: 12px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--espresso); background: var(--clay); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--clay); border-radius: 999px; background: var(--white); }
.lang button {
  min-width: 40px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--espresso); color: var(--parchment); }

/* ==========================================================================
   HERO: one huge idea, the phone alive next to it (Lock Screen -> Dashboard)
   ========================================================================== */
.hero { position: relative; overflow: clip; padding-block: clamp(16px, 3vw, 40px) clamp(48px, 6vw, 84px); }
.farol--hero { width: min(1100px, 130vw); aspect-ratio: 1; left: 75%; margin-left: calc(min(1100px, 130vw) / -2); top: -10%; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); align-items: center; }
.hero__copy { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: clamp(12px, 2vw, 28px); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78); border: 1px solid var(--clay); box-shadow: var(--shadow-tactile);
  font-size: 0.8125rem; font-weight: 600; color: var(--espresso); letter-spacing: -0.01em;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--moss);
  box-shadow: 0 0 0 4px rgba(46, 71, 53, 0.16);
}
.hero__title { font-size: clamp(3.1rem, 0.9rem + 6.2vw, 5.5rem); line-height: 0.98; letter-spacing: -0.04em; }
.hl { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hl__in { display: block; }
.hl:nth-child(2) { --i: 1; }
.hl:nth-child(3) { --i: 2; }
.hl__in > span:empty { display: none; }
.hero__title mark {
  position: relative; isolation: isolate; background: none; color: inherit; white-space: nowrap;
}
.hero__title mark::after {
  content: ""; position: absolute; z-index: -1; left: -0.05em; right: -0.05em; bottom: 0.06em; height: 0.36em;
  background: var(--solar); opacity: 0.85; border-radius: 0.06em; transform-origin: left center;
}
.hero__sub { font-size: clamp(1.15rem, 1rem + 0.65vw, 1.4375rem); line-height: 1.5; max-width: 32ch; text-wrap: pretty; color: #3c2c28; }

.hero__stage {
  --hp-w: clamp(268px, 23.5vw, 316px);
  grid-column: 8 / span 5; position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero__scene {
  position: relative; width: 100%; display: flex; justify-content: center; align-items: center;
  padding-block: 6px;
}
.hero__phone { position: relative; z-index: 2; }
.hero__phone .phone { --w: var(--hp-w); }
.hero__callout {
  position: absolute; z-index: 4; left: max(-18px, calc(50% - var(--hp-w) / 2 - 72px)); top: 11%;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(252, 249, 243, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 30, 27, 0.08); box-shadow: 0 20px 44px -18px rgba(45, 30, 27, 0.34);
  font-size: 0.78rem; line-height: 1.25; max-width: 215px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.hero__callout.is-ping {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(46, 71, 53, 0.35);
  box-shadow: 0 24px 48px -16px rgba(46, 71, 53, 0.38), 0 0 0 4px rgba(255, 194, 71, 0.32);
}
.hero__callout-ic {
  width: 34px; height: 34px; border-radius: 11px; background: var(--espresso); color: var(--parchment);
  display: grid; place-items: center; flex: none;
}
.hero__callout-ic .ic { width: 18px; height: 18px; }
.hero__callout b { display: block; font-weight: 700; color: var(--espresso); white-space: nowrap; }
.hero__callout span { display: block; color: var(--ink-soft); font-size: 0.72rem; margin-top: 2px; }

.hero__widget {
  position: absolute; z-index: 3; right: max(-16px, calc(50% - var(--hp-w) / 2 - 64px)); bottom: 7%;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.hero__widget .widget { --s: 13px; box-shadow: 0 24px 54px -20px rgba(45, 30, 27, 0.42), 0 0 0 1px rgba(45, 30, 27, 0.08); }

.hero__switcher {
  position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.86); border: 1px solid var(--clay);
  box-shadow: var(--shadow-tactile); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__sw-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  font: 600 0.8125rem/1 var(--font-body); color: var(--ink-soft); cursor: pointer;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.hero__sw-btn:hover { color: var(--espresso); }
.hero__sw-btn.is-active { background: var(--espresso); color: var(--parchment); }
.hero__sw-btn .ic { width: 1.15em; height: 1.15em; opacity: 0.85; }
.hero__sw-btn.is-active .ic { color: var(--solar); opacity: 1; }
.hero__sw-bar {
  position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 99px;
  background: rgba(255, 194, 71, 0.25); overflow: hidden; opacity: 0;
}
.hero__sw-btn.is-active .hero__sw-bar { opacity: 1; }
.hero__sw-bar::after {
  content: ""; display: block; height: 100%; width: 100%; background: var(--solar);
  transform: scaleX(var(--sw-p, 0)); transform-origin: left center;
  transition: transform 0.15s linear;
}

.step__phone .phone { --w: inherit; }
.link-play {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 4px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); transition: border-color 0.25s var(--ease);
}
.link-play:hover { border-color: var(--espresso); }
.link-play .ic { width: 1.1em; height: 1.1em; }

/* entrance: one orchestrated moment, once */
@keyframes line-up { from { transform: translateY(112%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(56px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero__eyebrow { animation: rise 0.9s var(--ease) 0.05s both; }
.js .hl__in { animation: line-up 1.15s var(--ease) calc(var(--i, 0) * 100ms + 120ms) both; }
.js .hero__title mark::after { animation: sweep 1s var(--ease) 1.05s both; }
.js .hero__sub { animation: rise 1s var(--ease) 0.55s both; }
.js .hero__copy .wl { animation: rise 1s var(--ease) 0.7s both; }
.js .hero__copy .link-play { animation: rise 1s var(--ease) 0.82s both; }
.js .hero__phone { animation: rise-phone 1.25s var(--ease) 0.25s both; }
.js .hero__callout { animation: rise 1.1s var(--ease) 0.75s both; }
.js .hero__widget { animation: rise 1.1s var(--ease) 0.95s both; }
.js .hero__switcher { animation: rise 1s var(--ease) 1.05s both; }

/* ---------- waitlist form ---------- */
.wl { width: 100%; max-width: 540px; }
.wl__perk {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 13px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 194, 71, 0.34), rgba(255, 194, 71, 0.16));
  border: 1px solid rgba(45, 30, 27, 0.14); font-size: 0.8125rem; font-weight: 700; color: var(--espresso);
}
.wl__perk .ic { width: 1.1em; height: 1.1em; color: var(--moss); flex: none; }
.wl__row { display: flex; align-items: flex-end; gap: 12px; }
.wl__row .field { flex: 1; }
.wl__err { margin-top: 10px; font-size: 0.9375rem; color: var(--terracotta); font-weight: 500; }
.wl__help { margin-top: 10px; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); max-width: 48ch; }
.wl__trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; padding: 0; list-style: none;
}
.wl__trust li {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.8125rem; font-weight: 600; color: var(--espresso);
}
.wl__trust .ic { width: 1.15em; height: 1.15em; color: var(--moss); flex: none; }

/* ---------- hero social proof momentum ---------- */
.hero__proof {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero__avatars { display: inline-flex; align-items: center; }
.hero__avatars .av {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--parchment);
  display: grid; place-items: center; font: 700 0.72rem/1 var(--font-display); color: var(--parchment);
  margin-left: -9px; box-shadow: 0 2px 6px rgba(45, 30, 27, 0.12);
}
.hero__avatars .av:first-child { margin-left: 0; }
.av--1 { background: var(--moss); }
.av--2 { background: var(--espresso); }
.av--3 { background: #6b4c3b; }
.av--4 { background: var(--moss-deep); }
.av--more { background: var(--solar); color: var(--espresso) !important; font-size: 0.65rem !important; }
.hero__proof-txt { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.4; }
.hero__proof-txt b { color: var(--espresso); font-weight: 700; font-variant-numeric: tabular-nums; }
.js .hero__proof { animation: rise 0.9s var(--ease) 0.56s both; }

.wl__done { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--white); border: 1px solid var(--clay); border-radius: var(--r-card); box-shadow: var(--shadow-tactile); animation: rise 0.8s var(--ease) both; }
.done__head { display: flex; gap: 16px; align-items: flex-start; }
.done__check { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--moss); color: var(--parchment); display: grid; place-items: center; }
.done__title { font: 800 1.5rem/1.15 var(--font-display); letter-spacing: -0.03em; }
.done__sub { margin-top: 4px; color: var(--ink-soft); font-size: 0.9375rem; overflow-wrap: anywhere; }
.done__sub b { color: var(--espresso); font-weight: 600; }
.done__vip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 194, 71, 0.24), rgba(235, 228, 216, 0.65));
  border: 1px solid rgba(45, 30, 27, 0.12);
}
.done__pos { font-size: 0.875rem; color: var(--ink-soft); }
.done__pos b { color: var(--espresso); font: 800 1rem/1 var(--font-display); font-variant-numeric: tabular-nums; margin-left: 4px; }
.done__pos.is-boosted b { color: var(--moss); }
.done__perk-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--moss);
}
.done__perk-tag .ic { width: 1.1em; height: 1.1em; }
.done__more { border-top: 1px solid var(--clay); padding-top: 16px; }
.done__more summary { cursor: pointer; font-weight: 600; font-size: 0.9375rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.done__more summary::-webkit-details-marker { display: none; }
.done__more summary .ic { transition: transform 0.3s var(--ease); }
.done__more[open] summary .ic { transform: rotate(180deg); }
.prof { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.prof fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.prof legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--line-strong); background: var(--white); transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip input:hover + span { background: var(--clay); }
.chip input:checked + span { background: var(--moss); color: var(--parchment); border-color: var(--moss); }
.chip input:focus-visible + span { outline: 3px solid var(--moss); outline-offset: 2px; }
.done__thanks { margin-top: 14px; color: var(--moss); font-weight: 600; font-size: 0.9375rem; }
.done__share { border-top: 1px solid var(--clay); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.done__share-h { font: 800 1.05rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--espresso); }
.done__share p { font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); }
.done__share .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn--wa { background: var(--espresso); color: var(--parchment); }
.btn--wa:hover { background: #3d2b27; }

/* ==========================================================================
   BEFORE VS AFTER: WHY RUMO WORKS
   ========================================================================== */
.compare { padding-block: clamp(40px, 6vw, 88px) var(--section); position: relative; z-index: 2; }
.compare__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.cmp-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3.2vw, 38px); border-radius: var(--r-card); border: 1px solid var(--clay);
}
.cmp-card--old { background: rgba(235, 228, 216, 0.52); }
.cmp-card--new {
  background: linear-gradient(155deg, var(--white) 0%, #FDF9F0 65%, rgba(255, 194, 71, 0.16) 100%);
  border: 1.5px solid rgba(46, 71, 53, 0.28);
  box-shadow: var(--shadow-lift);
}
.cmp-card__head { display: flex; flex-direction: column; gap: 12px; }
.cmp-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
}
.cmp-badge--old { background: rgba(45, 30, 27, 0.08); color: var(--ink-soft); }
.cmp-badge--new { background: var(--moss); color: var(--parchment); }
.cmp-badge--new .ic { width: 1.1em; height: 1.1em; }
.cmp-list { display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 0; list-style: none; }
.cmp-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.cmp-ic {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; flex: none; margin-top: 2px;
}
.cmp-ic--no { background: rgba(168, 74, 58, 0.14); color: var(--terracotta); }
.cmp-ic--yes { background: rgba(46, 71, 53, 0.14); color: var(--moss); }
.cmp-ic--yes .ic { width: 16px; height: 16px; }
.cmp-list b { display: block; font-size: 1.02rem; font-weight: 700; color: var(--espresso); margin-bottom: 3px; }
.cmp-list p { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }
.cmp-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--clay);
}
.cmp-card__note { font-size: 0.8125rem; font-weight: 600; color: var(--moss); }

/* ==========================================================================
   DEMO STAGE (slot for the promotional video)
   ========================================================================== */
.demo { padding-block: 0 var(--section); position: relative; z-index: 2; }
.demo__head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; background: var(--clay); isolation: isolate; box-shadow: var(--shadow-lift); }
.stage .farol { width: 78%; aspect-ratio: 1; left: 50%; top: 52%; margin: -39% 0 0 -39%; }
.stage__poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); z-index: 1; padding-bottom: 8%; }
.stage__mark { width: min(24%, 240px); color: var(--espresso); }
.stage__soon { font: 800 clamp(1.25rem, 0.8rem + 1.6vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -0.03em; text-align: center; padding-inline: 20px; }
.stage__play {
  display: none; width: clamp(68px, 8vw, 104px); aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--moss); color: var(--parchment); cursor: pointer;
  place-items: center; box-shadow: 0 24px 50px -18px rgba(46, 71, 53, 0.8); transition: transform 0.35s var(--ease), background-color 0.25s var(--ease);
}
.stage__play:hover { transform: scale(1.06); background: var(--moss-deep); }
.stage__play .ic { width: 38%; height: 38%; margin-left: 6%; }
.stage.has-video .stage__play { display: grid; }
.stage.has-video .stage__soon, .stage.has-video .stage__slot { display: none; }
.stage__chapters { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: clamp(14px, 2.4vw, 28px); background: linear-gradient(to top, rgba(235, 228, 216, 0.96), rgba(235, 228, 216, 0)); }
.stage__chapters li { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1.5px solid var(--espresso); font-size: clamp(0.75rem, 0.6rem + 0.45vw, 0.9375rem); font-weight: 600; }
.stage__chapters li span { font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stage__frame { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; }

/* ==========================================================================
   HOW IT WORKS: a pinned phone that changes screen as the story advances
   ========================================================================== */
.chapters { padding-block: var(--section); background: var(--white); border-block: 1px solid var(--clay); }
.chapters__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 56px); }
.chapters__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 8vw, 128px); align-items: start; }
.chapters__sticky {
  --w: clamp(250px, calc((100svh - 160px) / 2.2), 330px);
  position: sticky; top: max(calc(var(--nav-h) + 16px), calc((100svh - var(--w) * 2.14) / 2)); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 12px;
}
.chapters__sticky .phone { --w: inherit; }
.chapters__sticky .fine { text-align: center; max-width: 30ch; }
.chapters__sticky .farol { width: 150%; aspect-ratio: 1; left: 50%; top: 42%; margin: -75% 0 0 -75%; opacity: 0.9; }
.chapters__steps { display: flex; flex-direction: column; }
.step { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 40px; opacity: 0.38; transition: opacity 0.7s var(--ease); }
.step.is-active { opacity: 1; }
.step > p { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 36px; padding: 8px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: var(--clay); }
.pill .ic { width: 1.15em; height: 1.15em; color: var(--moss); }
.try-ai {
  display: flex; flex-direction: column; gap: 10px; max-width: 460px; padding: 14px 16px;
  border-radius: 20px; background: var(--parchment); border: 1px solid var(--clay);
}
.try-ai__lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--moss); }
.try-ai__lbl .ic { width: 1.1em; height: 1.1em; }
.try-ai__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.try-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--espresso);
  font: 600 0.8125rem/1.25 var(--font-body); text-align: left; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.try-chip:hover { background: var(--clay); }
.try-chip.is-active { background: var(--espresso); color: var(--parchment); border-color: var(--espresso); }
.step__phone { display: none; }
.chapters__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 24px 8px; }
.chapters__cta p { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1.12 var(--font-display); letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }

/* ==========================================================================
   PHONE (rendered in em so one custom property scales the whole device)
   ========================================================================== */
.phone { --w: 300px; position: relative; z-index: 1; width: var(--w); aspect-ratio: 9 / 19.3; font-size: calc(var(--w) / 23.5); flex: none; }
.phone__frame {
  position: absolute; inset: 0; padding: 0.62em; border-radius: 3.55em;
  background: linear-gradient(145deg, #40302b, #1d1311 62%);
  box-shadow: inset 0 0 0 0.1em #55433d, var(--shadow-lift), 0 1em 2em -1em rgba(45, 30, 27, 0.3);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 2.95em; overflow: hidden;
  background: var(--parchment); display: flex; flex-direction: column;
  transition: background-color 0.65s var(--ease);
}
.phone[data-tab="lock"] .phone__screen { background: #221714; }
.phone__island {
  position: absolute; z-index: 7; top: 0.98em; left: 50%; transform: translateX(-50%);
  width: 6.3em; height: 1.8em; border-radius: 1em; background: #140b09;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.phone.is-ping .phone__island { transform: translateX(-50%) scaleX(1.18) scaleY(1.06); box-shadow: 0 0 0 0.12em rgba(255, 194, 71, 0.45); }

.sbar {
  position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1em 2em 0.3em 2.2em; font: 600 0.78em/1 var(--font-body);
  transition: color 0.55s var(--ease);
}
.sbar__carrier { display: none; letter-spacing: 0.02em; }
.phone[data-tab="lock"] .sbar { color: rgba(252, 249, 243, 0.9); }
.phone[data-tab="lock"] .sbar__time { display: none; }
.phone[data-tab="lock"] .sbar__carrier { display: inline; }
.sbar__icons { display: flex; align-items: center; gap: 0.3em; }
.sbar__icons .ic { width: 1.35em; height: 1.35em; }

/* Dynamic Island Live Activity toast for Dashboard screen */
.p-toast {
  position: absolute; z-index: 8; left: 0.9em; right: 0.9em; top: 0.72em;
  display: flex; align-items: center; gap: 0.58em; padding: 0.55em 0.72em; border-radius: 1.55em;
  background: #140b09; color: var(--parchment);
  box-shadow: 0 1em 2.2em -0.5em rgba(20, 11, 9, 0.65), 0 0 0 0.08em rgba(255, 194, 71, 0.38);
  opacity: 0; transform: translateY(-0.45em) scaleX(0.42) scaleY(0.52); transform-origin: top center; pointer-events: none;
  transition: opacity 0.38s var(--ease), transform 0.52s var(--ease);
}
.p-toast.is-in { opacity: 1; transform: none; }
.p-toast__ic {
  width: 2.05em; height: 2.05em; border-radius: 50%; background: rgba(255, 194, 71, 0.2); color: var(--solar);
  display: grid; place-items: center; flex: none;
}
.p-toast__ic .ic { width: 1.15em; height: 1.15em; }
.p-toast__body { min-width: 0; flex: 1; }
.p-toast__body b { display: block; font-size: 0.7em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--parchment); }
.p-toast__body span { display: block; font-size: 0.6em; color: rgba(252, 249, 243, 0.76); margin-top: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-toast__tag {
  display: inline-flex; align-items: center; gap: 0.22em; padding: 0.3em 0.52em; border-radius: 999px;
  background: rgba(46, 71, 53, 0.85); color: var(--solar); font: 700 0.58em/1 var(--font-body); flex: none;
}
.p-toast__tag .ic { width: 1.1em; height: 1.1em; }

.screens { position: relative; flex: 1; min-height: 0; }
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.85em; padding: 0.85em 1.3em 4.4em; overflow: hidden;
  opacity: 0; transform: translateY(0.9em) scale(0.975); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.screen.is-on { opacity: 1; transform: none; pointer-events: auto; }
.phone.is-ping .screen[data-screen="1"].is-on { transform: translateY(1.45em); }

.tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.55em 0.4em 1.45em;
  border-top: 1px solid var(--clay); background: color-mix(in srgb, var(--parchment) 94%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.phone[data-tab="lock"] .tabs { opacity: 0; transform: translateY(100%); pointer-events: none; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 0.3em; font: 500 0.7em/1 var(--font-body); color: var(--ink-soft); }
.tab .ic { width: 2.2em; height: 2.2em; }
.phone[data-tab="today"] .tab--today, .phone[data-tab="rumo"] .tab--rumo { color: var(--moss); font-weight: 700; }
.hind {
  position: absolute; z-index: 5; left: 50%; bottom: 0.5em; transform: translateX(-50%);
  width: 8em; height: 0.3em; border-radius: 1em; background: var(--espresso); opacity: 0.85;
  transition: background-color 0.55s var(--ease), opacity 0.55s var(--ease);
}
.phone[data-tab="lock"] .hind { background: var(--parchment); opacity: 0.65; }

/* ==========================================================================
   SCREEN 0: THE LOCK SCREEN + RICH SPEND WIDGET
   ========================================================================== */
.screen--lock {
  inset: -2.4em 0 0 0; padding: 3em 1.12em 1.15em; gap: 0.65em;
  background: linear-gradient(170deg, #211613 0%, #2d1f1b 46%, #1f3326 100%);
  color: var(--parchment);
  transform: scale(1.05);
}
.screen--lock.is-on { transform: none; }
.ls-glow {
  position: absolute; width: 19em; height: 19em; left: 50%; top: 44%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 194, 71, 0.34), rgba(255, 194, 71, 0.1) 52%, transparent 100%);
}
.ls-top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ls-lock {
  width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center;
  background: rgba(252, 249, 243, 0.1); color: rgba(252, 249, 243, 0.88); margin-bottom: 0.2em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.ls-lock .ic { width: 0.95em; height: 0.95em; grid-area: 1 / 1; transition: opacity 0.3s var(--ease), transform 0.35s var(--ease); }
.ls-lock__open { opacity: 0; transform: scale(0.75); }
.phone.is-unlocking .ls-lock { background: var(--solar); color: var(--espresso); transform: scale(1.12); }
.phone.is-unlocking .ls-lock__closed { opacity: 0; transform: scale(0.75); }
.phone.is-unlocking .ls-lock__open { opacity: 1; transform: scale(1); }

.ls-date { font: 600 0.76em/1.2 var(--font-body); color: rgba(252, 249, 243, 0.84); letter-spacing: 0.01em; }
.ls-time {
  font: 800 3.35em/0.95 var(--font-display); letter-spacing: -0.045em; color: var(--parchment);
  margin-top: 0.04em; text-shadow: 0 0.08em 0.3em rgba(0, 0, 0, 0.25);
}

/* Rich Lock Screen Widget (.lsw) */
.lsw {
  position: relative; z-index: 2; overflow: hidden; border-radius: 1.5em; padding: 0.9em 1em;
  background: rgba(252, 249, 243, 0.96); color: var(--espresso);
  box-shadow: 0 1.2em 2.8em -1em rgba(12, 8, 6, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.22);
  display: flex; flex-direction: column; gap: 0.56em;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.lsw.is-updating {
  box-shadow: 0 1.4em 3em -0.8em rgba(12, 8, 6, 0.7), 0 0 0 0.16em var(--solar);
}
.lsw__glow {
  position: absolute; width: 12em; height: 12em; right: -4em; top: -4.5em; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 194, 71, 0.48), rgba(255, 194, 71, 0));
}
.lsw__tap {
  position: absolute; z-index: 5; right: 1.4em; bottom: 1.4em; width: 2.6em; height: 2.6em; border-radius: 50%;
  background: rgba(46, 71, 53, 0.22); border: 0.14em solid var(--moss); pointer-events: none;
  opacity: 0; transform: scale(0.4);
}
.phone.is-unlocking .lsw { transform: scale(0.975); }
.phone.is-unlocking .lsw__tap { animation: tap-pulse 0.65s var(--ease) both; }
@keyframes tap-pulse {
  0% { opacity: 0; transform: scale(0.4); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.65); }
}

.lsw__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.5em; }
.lsw__brand { display: inline-flex; align-items: center; gap: 0.4em; font: 700 0.7em/1 var(--font-body); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.lsw__brand svg { width: 1.25em; height: 1.15em; color: var(--espresso); }
.lsw__chip { font-size: 0.62em; padding: 0.36em 0.68em 0.36em 0.5em; }

.lsw__hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5em; }
.lsw__val {
  display: block; font: 800 1.9em/1 var(--font-display); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; white-space: nowrap;
}
.lsw__of { font-size: 0.64em; color: var(--ink-soft); margin-top: 0.18em; white-space: nowrap; }
.lsw__of b { color: var(--espresso); font-weight: 700; }
.lsw__ring-pill {
  display: flex; flex-direction: column; align-items: flex-end; padding: 0.35em 0.58em; border-radius: 0.8em;
  background: var(--clay); line-height: 1.15; flex: none;
}
.lsw__ring-pill--priv {
  background: rgba(46, 71, 53, 0.1); border: 1px solid rgba(46, 71, 53, 0.2);
}
.lsw__ring-lbl {
  display: inline-flex; align-items: center; gap: 0.28em;
  font-size: 0.56em; font-weight: 700; color: var(--moss); text-transform: uppercase; letter-spacing: 0.04em;
}
.lsw__ring-lbl .ic { width: 1.1em; height: 1.1em; }
.lsw__ring-val { font: 800 0.82em/1.1 var(--font-display); color: var(--espresso); font-variant-numeric: tabular-nums; margin-top: 0.12em; letter-spacing: 0.04em; }

.lsw__gauge { margin-block: 0.12em 0.04em; height: 0.46em; }

.lsw__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; }
.lsw__stat {
  padding: 0.42em 0.6em; border-radius: 0.8em; background: rgba(235, 228, 216, 0.58);
  display: flex; flex-direction: column; gap: 0.1em;
}
.lsw__stat-lbl { font-size: 0.58em; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.lsw__stat-val { font: 700 0.74em/1.15 var(--font-body); color: var(--espresso); font-variant-numeric: tabular-nums; white-space: nowrap; }

.lsw__cats { display: flex; flex-direction: column; gap: 0.24em; padding-top: 0.18em; border-top: 1px solid var(--clay); }
.lsw__cats li { display: grid; grid-template-columns: 0.5em 6.6em 1fr auto; align-items: center; gap: 0.45em; font-size: 0.7em; }
.lsw__cats .cname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.lsw__cats .bar { height: 0.44em; border-radius: 99px; background: var(--clay); overflow: hidden; }
.lsw__cats .bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--moss); transition: width 1s var(--ease); }
.lsw__cats li[data-up] .bar i { background: var(--terracotta); }
.lsw__cats b, .lsw__cat-ok { font-weight: 600; font-size: 0.92em; color: var(--moss); min-width: 4.2em; text-align: right; }
.lsw__dot, .cat-dot { width: 0.5em; height: 0.5em; border-radius: 50%; display: inline-block; flex: none; background: var(--moss); }
.lsw__dot--dine, .cat-dot--dine { background: var(--terracotta); }
.lsw__dot--trans, .cat-dot--trans { background: #5a7b65; }
.cat-dot--leis { background: #d4942a; }
.cat-dot--oth { background: var(--ink-soft); }

/* Lock screen notification toast */
.ls-notif {
  position: relative; z-index: 2; display: grid; grid-template-columns: 2.25em 1fr; gap: 0.6em; align-items: center;
  padding: 0.62em 0.8em; border-radius: 1.2em;
  background: rgba(252, 249, 243, 0.94); color: var(--espresso);
  box-shadow: 0 1em 2.2em -0.8em rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(0.85em) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.ls-notif.is-in { opacity: 1; transform: none; }
.ls-notif__icon { width: 2.25em; height: 2.25em; border-radius: 0.58em; overflow: hidden; background: var(--parchment); box-shadow: inset 0 0 0 1px rgba(45, 30, 27, 0.08); }
.ls-notif__icon img { width: 100%; height: 100%; }
.ls-notif__top { display: flex; justify-content: space-between; font-size: 0.62em; color: var(--ink-soft); }
.ls-notif__top b { color: var(--espresso); font-weight: 700; }
.ls-notif__t { font-size: 0.74em; font-weight: 700; line-height: 1.2; margin-top: 0.08em; }
.ls-notif__b { display: flex; align-items: center; gap: 0.3em; font-size: 0.66em; color: #4b3d38; margin-top: 0.08em; }
.ls-notif__b .ic { width: 1.15em; height: 1.15em; color: var(--moss); }

/* Lock Screen AI CFO insight pill */
.ls-ai {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 0.55em;
  padding: 0.58em 0.78em; border-radius: 1.1em;
  background: rgba(252, 249, 243, 0.11); border: 1px solid rgba(252, 249, 243, 0.16);
  color: rgba(252, 249, 243, 0.9); font-size: 0.66em; line-height: 1.35;
}
.ls-ai__ic {
  width: 1.85em; height: 1.85em; border-radius: 50%; background: rgba(255, 194, 71, 0.2); color: var(--solar);
  display: grid; place-items: center; flex: none;
}
.ls-ai__ic .ic { width: 1.1em; height: 1.1em; }
.ls-ai b { color: var(--solar); font-weight: 700; }

.ls-bottom {
  position: relative; z-index: 2; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5em;
  padding-inline: 0.2em;
}
.ls-quick {
  width: 2.15em; height: 2.15em; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(252, 249, 243, 0.14); border: 1px solid rgba(252, 249, 243, 0.18); color: rgba(252, 249, 243, 0.88);
}
.ls-quick .ic { width: 1.05em; height: 1.05em; }
.ls-foot {
  text-align: center; font: 500 0.64em/1.2 var(--font-body);
  color: rgba(252, 249, 243, 0.72); letter-spacing: 0.01em;
}

.lbl { font: 600 0.72em/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.muted { font-size: 0.78em; line-height: 1.35; color: var(--ink-soft); }
.s-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8em; }
.s-head .muted { margin-top: 0.25em; }

/* spending overview (Dashboard Screen 1) */
.chip-ok { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.45em 0.8em 0.45em 0.6em; border-radius: 999px; background: rgba(46, 71, 53, 0.1); color: var(--moss); font: 600 0.66em/1 var(--font-body); white-space: nowrap; transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.chip-ok .ic { width: 1.3em; height: 1.3em; }
.chip-ok[data-state="over"] { background: rgba(180, 85, 45, 0.1); color: var(--terracotta); }
.spend {
  display: flex; flex-direction: column; gap: 0.42em; padding: 0.85em 0.95em;
  border-radius: 1.25em; background: var(--white); border: 1px solid var(--clay); box-shadow: var(--shadow-tactile);
}
.spend__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5em; }
.spend__val, .widget__val, .widget__spent { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; white-space: nowrap; }
.spend__val { font-size: 2.15em; line-height: 1.02; }
.spend__of { display: block; font-size: 0.74em; color: var(--ink-soft); margin-top: 0.15em; }
.spend__of b { color: var(--espresso); font-weight: 700; }
.spend__pace-pill {
  display: flex; flex-direction: column; align-items: flex-end; padding: 0.35em 0.6em; border-radius: 0.8em;
  background: var(--parchment); border: 1px solid var(--clay); line-height: 1.15; flex: none;
}
.spend__pace-pill small { font-size: 0.58em; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.spend__pace-pill b { font: 800 0.84em/1.1 var(--font-display); color: var(--moss); font-variant-numeric: tabular-nums; margin-top: 0.1em; }
.m-cur { font-size: 0.72em; }
.m-dec { opacity: 0.55; }
/* odometer roll: cells clip to one line, the stack slides up (45ms cascade is set per cell) */
.rc { display: inline-block; overflow: hidden; height: 1.04em; vertical-align: bottom; }
.rc__in { display: flex; flex-direction: column; transition: transform 0.8s var(--ease) var(--d, 0ms); }
.rc__in > span { display: block; height: 1.04em; line-height: 1.04; }
.rc.go .rc__in { transform: translateY(-1.04em); }
.gauge { position: relative; height: 0.48em; border-radius: 99px; background: var(--clay); margin-block: 0.25em 0.08em; }
.gauge i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 99px; background: var(--moss); transition: width 1.1s var(--ease); }
.gauge__pace { position: absolute; top: -0.28em; bottom: -0.28em; left: var(--p); width: 0.16em; border-radius: 1em; background: var(--espresso); }
.cats { display: flex; flex-direction: column; }
.cats li { display: grid; grid-template-columns: 7.2em 1fr auto; align-items: center; gap: 0.65em; padding: 0.34em 0; font-size: 0.8em; }
.cats .cname { display: inline-flex; align-items: center; gap: 0.42em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cats .bar { height: 0.52em; border-radius: 99px; background: rgba(235, 228, 216, 0.75); overflow: hidden; }
.cats .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--moss); transition: width 1.1s var(--ease) var(--d, 0ms); }
.screen.is-on .cats .bar i, .widget .cats .bar i { width: var(--w, 0%); }
.cats li[data-up] .bar i { background: var(--terracotta); }
.cats b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 5em; text-align: right; }
.up { display: inline-flex; align-items: center; gap: 0.15em; margin-left: 0.4em; color: var(--terracotta); font-weight: 700; font-size: 0.85em; }
.up .ic { width: 1.1em; height: 1.1em; }

.feed { display: flex; flex-direction: column; border-top: 1px solid var(--clay); padding-top: 0.25em; }
.tx { display: grid; grid-template-columns: 2.3em 1fr auto; gap: 0.7em; align-items: center; padding: 0.42em 0; overflow: hidden; }
.tx__ic { width: 2.4em; height: 2.4em; border-radius: 0.8em; background: var(--clay); display: grid; place-items: center; color: var(--moss); }
.tx__ic .ic { width: 1.35em; height: 1.35em; }
.tx b { display: block; font: 600 0.82em/1.2 var(--font-body); }
.tx small { display: flex; align-items: center; gap: 0.35em; font-size: 0.66em; color: var(--ink-soft); margin-top: 0.15em; }
.tx small .ic { width: 1.2em; height: 1.2em; color: var(--moss); }
.tx__amt { font: 600 0.82em/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx.is-new { animation: tx-in 0.9s var(--ease) both; }
.tx.is-new .tx__ic { animation: pop 1.2s var(--ease) 0.2s both; }
@keyframes tx-in { from { opacity: 0; transform: translateY(-1em); max-height: 0; padding-block: 0; } to { opacity: 1; transform: none; max-height: 5em; } }
@keyframes pop { 0% { background: var(--solar); } 100% { background: var(--clay); } }

/* staggered entrance every time a screen comes on */
.screen .st { opacity: 0; }
.screen.is-on .st { animation: rise-in 0.8s var(--ease) calc(var(--i, 0) * 110ms + 140ms) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(1.1em); } to { opacity: 1; transform: none; } }

.insight { padding: 1em 1.05em; border-radius: 1.4em; background: var(--white); border: 1px solid var(--clay); box-shadow: var(--shadow-tactile); display: flex; flex-direction: column; gap: 0.5em; }
.insight .lbl { display: inline-flex; align-items: center; gap: 0.4em; }
.insight .lbl .ic { width: 1.4em; height: 1.4em; color: var(--terracotta); }
.insight--ok .lbl .ic { color: var(--moss); }
.insight__obs { font: 800 1.12em/1.15 var(--font-display); letter-spacing: -0.03em; }
.insight__imp { font-size: 0.8em; line-height: 1.45; color: var(--ink-soft); }
.insight__step { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.2em; font: 600 0.78em/1 var(--font-body); color: var(--moss); }
.insight__step .ic { width: 1.2em; height: 1.2em; }

.chat { display: flex; flex-direction: column; gap: 0.8em; }
.bubble { max-width: 90%; padding: 0.75em 1em; border-radius: 1.3em; font-size: 0.84em; line-height: 1.45; }
.bubble--q { align-self: flex-end; background: var(--espresso); color: var(--parchment); border-bottom-right-radius: 0.4em; }
.bubble--a { align-self: flex-start; background: var(--white); border: 1px solid var(--clay); border-bottom-left-radius: 0.4em; }
.bubble small { display: block; margin-top: 0.6em; font-size: 0.8em; color: var(--ink-soft); }
.reply { display: grid; }
.reply > * { grid-area: 1 / 1; }
.typing { align-self: flex-start; display: inline-flex; gap: 0.3em; padding: 1em 1.1em; border-radius: 1.3em; border-bottom-left-radius: 0.4em; background: var(--white); border: 1px solid var(--clay); width: fit-content; opacity: 0; }
.typing i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--ink-soft); }
.screen.is-on .typing i { animation: dot 1s ease-in-out infinite; }
.screen.is-on .typing i:nth-child(2) { animation-delay: 0.15s; }
.screen.is-on .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.screen.is-on .typing { animation: typing-life 1.5s var(--ease) 0.9s both; }
.screen .reply .bubble--a { opacity: 0; }
.screen.is-on .reply .bubble--a { animation: rise-in 0.8s var(--ease) 2.3s both; }
.chat.is-answering .typing { animation: typing-life 0.65s var(--ease) 0s both !important; }
.chat.is-answering .reply .bubble--a { animation: rise-in 0.55s var(--ease) 0.45s both !important; }
.chat.is-answered .typing { animation: none !important; opacity: 0 !important; }
.chat.is-answered .reply .bubble--a { animation: rise-in 0.45s var(--ease) 0s both !important; opacity: 1 !important; }
@keyframes typing-life { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
.composer { margin-top: auto; margin-bottom: 1em; display: flex; align-items: center; justify-content: space-between; gap: 0.8em; padding: 0.7em 0.7em 0.7em 1.2em; border-radius: 999px; background: var(--white); border: 1px solid var(--clay); box-shadow: var(--shadow-tactile); font-size: 0.78em; color: var(--ink-soft); }
.composer .ic { width: 2.5em; height: 2.5em; padding: 0.65em; border-radius: 50%; background: var(--moss); color: var(--parchment); }
.suggest { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.3em; }
.suggest span, .suggest__btn {
  padding: 0.55em 0.9em; border-radius: 999px; background: var(--clay); border: 1px solid rgba(45, 30, 27, 0.08);
  font: 600 0.7em/1.2 var(--font-body); color: var(--espresso); cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.suggest__btn:hover { background: var(--moss); color: var(--parchment); }

/* ==========================================================================
   WIDGET SECTION: the live stage
   ========================================================================== */
.wid { padding-block: var(--section); }
.wid__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.wid__copy { display: flex; flex-direction: column; gap: 22px; }
.benefits { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--clay); }
.benefits li:last-child { border-bottom: 1px solid var(--clay); }
.benefits .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--clay); color: var(--moss); }
.benefits b { display: block; font: 800 1.1875rem/1.2 var(--font-display); letter-spacing: -0.025em; }
.benefits span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

.wstage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: clamp(24px, 3.4vw, 48px);
  background: linear-gradient(165deg, #f5eee1 0%, var(--clay) 100%); box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; align-items: center; gap: 26px; container-type: inline-size;
}
.wstage .farol { width: 130%; aspect-ratio: 1; left: 50%; top: 56%; margin: -65% 0 0 -65%; opacity: 0.95; }
.banner {
  position: relative; z-index: 3; width: min(100%, 25.5em); font-size: clamp(13px, 1.15vw, 16px); min-height: 5.1em;
}
.banner__in {
  position: absolute; inset: 0; display: grid; grid-template-columns: 2.7em 1fr; gap: 0.2em 0.9em; align-content: center; padding: 0.9em 1.1em;
  border-radius: 1.6em; background: rgba(252, 249, 243, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1.4em 3em -1.4em rgba(45, 30, 27, 0.45), 0 0 0 1px rgba(45, 30, 27, 0.06);
  opacity: 0; transform: translateY(-1.6em) scale(0.97); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.banner.is-in .banner__in { opacity: 1; transform: none; }
.banner__icon { grid-row: 1 / 4; width: 2.7em; height: 2.7em; border-radius: 0.7em; overflow: hidden; background: var(--parchment); box-shadow: inset 0 0 0 1px rgba(45, 30, 27, 0.08); }
.banner__icon img { width: 100%; height: 100%; }
.banner__top { display: flex; justify-content: space-between; font-size: 0.78em; color: var(--ink-soft); }
.banner__top b { font-weight: 600; color: var(--espresso); }
.banner__t { font-weight: 700; font-size: 0.95em; line-height: 1.25; grid-column: 2; }
.banner__b { font-size: 0.85em; line-height: 1.35; color: #4b3d38; grid-column: 2; display: flex; align-items: center; gap: 0.4em; }
.banner__b .ic { width: 1.2em; height: 1.2em; color: var(--moss); }
.wgrid { --ws: min(19px, calc(100cqw / 24.2)); position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 11.2em); gap: 1.6em; font-size: var(--ws); }
.wgrid [data-mount="widget-cats"] { grid-column: 1 / -1; }
.wgrid .widget { --s: var(--ws); }
.wstage .caption { position: relative; z-index: 2; }

/* ---------- widgets (iOS grid: small 11.2em square, medium 24em x 11.2em) ---------- */
.widget {
  --s: 15px; position: relative; flex: none; overflow: hidden; font-size: var(--s); color: var(--espresso);
  background: var(--parchment); border-radius: 1.5em; padding: 1.05em 1.1em; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 0 0 1px rgba(45, 30, 27, 0.06), var(--shadow-lift);
}
.widget--s { width: 11.2em; height: 11.2em; }
.widget--m { width: 24em; height: 11.2em; }
.widget__glow { position: absolute; width: 11em; aspect-ratio: 1; right: -4.6em; top: -5.2em; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 194, 71, 0.5), rgba(255, 194, 71, 0)); pointer-events: none; }
.widget__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.45em; font: 600 0.84em/1 var(--font-body); color: var(--ink-soft); }
.widget__head > span:first-child { display: inline-flex; align-items: center; gap: 0.45em; }
.widget__head svg { width: 1.3em; height: 1.2em; color: var(--espresso); }
.widget__val { font-size: 1.75em; line-height: 1.05; }
.widget__of { font: 500 0.78em/1.3 var(--font-body); color: var(--ink-soft); margin-top: 0.25em; }
.widget__gauge { margin: 0; }
.widget__foot { position: relative; font: 500 0.8em/1.25 var(--font-body); color: var(--ink-soft); }
.widget__foot b { font-weight: 700; color: var(--espresso); font-variant-numeric: tabular-nums; }
.widget__last { position: relative; display: flex; align-items: center; gap: 0.5em; font: 600 0.8em/1.2 var(--font-body); min-height: 2.4em; }
.widget__last .ic { width: 1.5em; height: 1.5em; color: var(--moss); }
.widget__last > span:last-child { display: flex; flex-direction: column; }
.widget__last small { font-weight: 500; color: var(--ink-soft); font-size: 0.92em; font-variant-numeric: tabular-nums; }
.widget__last.is-new { animation: rise-in 0.8s var(--ease) both; }
.widget--m .cats { margin-top: 0.2em; gap: 0.05em; }
.widget--m .widget__chip { position: absolute; top: 0.85em; right: 1.1em; }
.widget--m .cats li { font-size: 0.82em; padding: 0.22em 0; grid-template-columns: 6.8em 1fr auto; }
.widget--m .cats b { min-width: 4.6em; }
.widget__chip { display: inline-flex; align-items: center; gap: 0.35em; min-height: 2em; padding: 0 0.85em 0 0.6em; border-radius: 999px; background: var(--moss); color: var(--parchment); font: 600 0.8em/1 var(--font-body); }
.widget__chip .ic { width: 1.25em; height: 1.25em; }
.widget .bump { animation: bump 0.9s var(--ease); }
@keyframes bump { 0% { color: var(--moss); } 100% { color: inherit; } }

/* ==========================================================================
   PROMISE (the one committed color band)
   ========================================================================== */
.promise { position: relative; overflow: clip; padding-block: var(--section); background: var(--moss); color: var(--parchment); }
.promise .farol { width: min(900px, 120vw); aspect-ratio: 1; right: -22%; top: -42%; opacity: 0.5; }
.promise__inner { position: relative; z-index: 1; }
.promise h2 { font-size: clamp(2.3rem, 0.8rem + 5.2vw, 5.25rem); line-height: 1; letter-spacing: -0.04em; max-width: 15ch; }
.promise__p { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.55; color: rgba(252, 249, 243, 0.84); max-width: 50ch; text-wrap: pretty; }
.promise__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 96px); }
.promise__list li { padding-top: 22px; border-top: 1px solid rgba(252, 249, 243, 0.3); display: flex; flex-direction: column; gap: 12px; }
.promise__list .ic { width: 1.9em; height: 1.9em; }
.promise__list b { font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.03em; }
.promise__list p { font-size: 0.9375rem; line-height: 1.55; color: rgba(252, 249, 243, 0.8); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq details { border-bottom: 1px solid var(--clay); }
.faq details:first-child { border-top: 1px solid var(--clay); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 800 clamp(1.1rem, 1rem + 0.5vw, 1.375rem)/1.25 var(--font-display); letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.35s var(--ease); color: var(--moss); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }

/* ==========================================================================
   FINAL CTA + CONTACT
   ========================================================================== */
.final { position: relative; overflow: clip; padding-block: var(--section); background: var(--clay); isolation: isolate; }
.final__mark { position: absolute; z-index: 0; width: min(760px, 90vw); right: -6%; top: 50%; transform: translateY(-50%); color: var(--parchment); }
.final .farol { width: min(980px, 120vw); aspect-ratio: 1; right: -16%; top: 50%; margin-top: -490px; opacity: 0.95; }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; max-width: 640px; }
.final h2 { font-size: clamp(2.4rem, 1rem + 4.6vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
.final .lede { color: #54453f; }

.contact { padding-block: var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; width: fit-content; }
.mail .ic { color: var(--moss); }
.cform { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--clay); border-radius: var(--r-card); box-shadow: var(--shadow-tactile); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__ok { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-input); background: var(--clay); font-weight: 600; }
.cform__ok .ic { color: var(--moss); }

.footer { padding: 56px 0 44px; border-top: 1px solid var(--clay); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer__tag { font: 800 clamp(1.125rem, 1rem + 0.5vw, 1.4rem)/1.2 var(--font-display); letter-spacing: -0.03em; max-width: 24ch; }
.footer__links { display: flex; gap: 6px; flex-wrap: wrap; }
.footer__links a { padding: 8px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.footer__links a:hover { color: var(--espresso); background: var(--clay); }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--clay); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
.footer__legal p { max-width: 70ch; }

/* ==========================================================================
   STICKY FLOATING CONVERSION BAR
   ========================================================================== */
.float-cta {
  position: fixed; z-index: 45; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  transform: translate3d(-50%, 24px, 0); opacity: 0; pointer-events: none;
  width: min(calc(100vw - 28px), 680px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.float-cta.is-visible {
  transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto;
}
.float-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(45, 30, 27, 0.94); color: var(--parchment);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -14px rgba(45, 30, 27, 0.45), 0 0 0 1px rgba(252, 249, 243, 0.14);
}
.float-cta__copy { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; line-height: 1.3; }
.float-cta__copy b { color: var(--solar); font-weight: 700; }
.float-cta__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--solar); flex: none;
  box-shadow: 0 0 0 4px rgba(255, 194, 71, 0.22);
}
.float-cta .btn--primary { background: var(--solar); color: var(--espresso); flex: none; }
.float-cta .btn--primary:hover { background: #ffca5c; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1061px) and (max-width: 1220px) {
  .hero__callout { left: -12px; max-width: 185px; }
  .hero__widget { right: -12px; }
  .hero__widget .widget { --s: 11.5px; }
}
@media (max-width: 1060px) {
  .stage { aspect-ratio: 4 / 3; }
  .stage__poster { padding-bottom: 16%; }
  .hero__copy { grid-column: 1 / -1; padding-bottom: 8px; }
  .hero__stage { --hp-w: min(72vw, 304px); grid-column: 1 / -1; margin-top: 20px; }
  .hero__callout { left: max(4px, calc(50% - var(--hp-w) / 2 - 54px)); top: 8%; }
  .hero__widget { right: max(4px, calc(50% - var(--hp-w) / 2 - 48px)); bottom: 6%; }
  .farol--hero { left: 50%; top: 44%; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .compare__grid { grid-template-columns: 1fr; }
  .chapters__sticky { display: none; }
  .chapters__grid { grid-template-columns: 1fr; }
  .step { min-height: 0; opacity: 1; padding-block: 28px 48px; gap: 16px; align-items: flex-start; }
  .step__phone { display: block; --w: min(78vw, 290px); width: var(--w); margin: 16px auto 0; }
  .step__phone .phone { margin-inline: auto; }
  .step h3, .step p, .step .pill { align-self: flex-start; }
  .wid__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .promise__list { grid-template-columns: 1fr; }
  .stage { border-radius: 24px; }
  .stage__chapters { grid-template-columns: repeat(2, 1fr); }
  .stage__mark { width: min(30%, 140px); }
  .final__mark { opacity: 0.8; right: -30%; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .stage { aspect-ratio: 1 / 1.08; }
  .stage__poster { padding-bottom: 30%; }
  .stage__mark { width: min(34%, 120px); }
  .wordmark { height: 24px; }
  .nav__inner { gap: 12px; }
  .nav__actions { gap: 8px; }
  .lang button { min-width: 36px; padding: 0 8px; }
  .wl__row { flex-direction: column; align-items: stretch; }
  .wl__row .btn { width: 100%; }
  .btn--sm { padding-inline: 14px; font-size: 0.875rem; }
  .hero__callout { display: none; }
  .hero__widget { display: none; }
  .hero__sw-btn { padding: 0 12px; font-size: 0.78rem; }
  .cform__row { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .stage__chapters li:nth-child(n + 3) { display: none; }
  .float-cta__inner { border-radius: 22px; padding: 12px 14px; }
  .float-cta__copy span { display: none; }
}

/* ==========================================================================
   REDUCED MOTION: Farol becomes a static glow, rolls become cuts, nothing travels
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .farol { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .js .hero__eyebrow, .js .hl__in, .js .hero__sub, .js .hero__copy .wl, .js .hero__proof, .js .hero__copy .link-play, .js .hero__callout, .js .hero__widget, .js .hero__phone, .js .hero__switcher { animation: none; }
  .js .hero__title mark::after { animation: none; }
  .screen, .step, .gauge i, .cats .bar i, .lsw__cats .bar i, .banner__in, .ls-notif, .p-toast, .tabs, .float-cta { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .screen .st, .screen.is-on .st, .screen .reply .bubble--a, .screen.is-on .reply .bubble--a { animation: none; opacity: 1; }
  .screen.is-on .typing { animation: none; opacity: 0; }
  .tx.is-new, .tx.is-new .tx__ic, .widget__last.is-new, .widget .bump, .phone.is-unlocking .lsw__tap { animation: none; }
}
