/* NatPay website. Brand: forest, emerald, marigold, navy ink, paper. */

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-latin-normal.woff2") format("woff2");
  font-weight: 500 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-latin-ext-normal.woff2") format("woff2");
  font-weight: 500 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  /* Only for the rupee sign */
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-devanagari-normal.woff2") format("woff2");
  font-weight: 500 800; font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-latin-normal.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-latin-ext-normal.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-latin-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --forest: #025333;
  --canopy: #013D26;
  --emerald: #018549;
  --marigold: #FCAB00;
  --marigold-soft: #FFE3A1;
  --ink: #0A1627;
  --asphalt: #18233A;
  --paper: #FFFFFF;
  --mist: #E7E9EE;
  --leaf: #F1F3F6;
  --text: var(--ink);
  --text-soft: #46546A;

  --display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.9vw, 3.2rem);
  --step-4: clamp(2.7rem, 1.9rem + 4vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--marigold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */

.bar {
  position: relative;
  z-index: 20;
  color: var(--paper);
}
.bar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.bar .brand { display: inline-flex; line-height: 0; }
.bar .brand img { height: 30px; width: auto; }
.bar nav ul { display: flex; gap: clamp(14px, 2.6vw, 30px); list-style: none; margin: 0; padding: 0; }
.bar nav a {
  color: inherit; text-decoration: none; font-size: var(--step--1); font-weight: 700;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--marigold); border-bottom-color: var(--marigold); }

/* Store buttons: two-line pills, no store trademarks */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 16px; border-radius: 999px;
  text-decoration: none; line-height: 1.15;
  transition: transform 0.25s var(--ease-out), background-color 0.25s;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.75rem; opacity: 0.8; }
.store strong { font-family: var(--display); font-size: 1.08rem; font-weight: 700; }
.store.primary { background: var(--marigold); color: var(--ink); }
.store.primary:hover { background: #FFC23A; color: var(--ink); transform: translateY(-2px); }
.store.ghost { color: var(--paper); box-shadow: inset 0 0 0 2px rgba(248, 250, 246, 0.55); }
.store.ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); transform: translateY(-2px); }

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100svh;
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero .bar { position: absolute; inset: 0 0 auto 0; }
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(96px, 12vh, 140px);
  position: relative; z-index: 2;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 1.4rem + 4.6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.02em; }
.hero h1 .line span { display: inline-block; }
.hero .lede { max-width: 46ch; font-size: var(--step-1); line-height: 1.5; margin: 0 0 32px; color: #DDEBE1; }
.hero .stores { justify-content: center; }

/* The road scene: full width, vanishing point on the page's centre line */
.scene {
  --horizon: 24%;
  position: relative;
  flex: 1 0 auto;
  height: 0;
  min-height: 400px;
  container-type: size;
  margin-top: clamp(8px, 2vh, 24px);
}
.sky-glow {
  position: absolute; left: 0; right: 0; top: calc(var(--horizon) - 22%); height: 34%;
  background: radial-gradient(closest-side, rgba(252, 171, 0, 0.34), transparent);
  pointer-events: none;
}
.hills {
  position: absolute; left: 0; right: 0; top: calc(var(--horizon) - 62px); height: 64px;
  color: var(--canopy);
}
.hills svg { width: 100%; height: 100%; display: block; }
.ground {
  position: absolute; left: 0; right: 0; top: var(--horizon); bottom: 0;
  background: linear-gradient(var(--canopy), #01331F);
}
.road {
  position: absolute; left: 0; right: 0; top: var(--horizon); bottom: 0;
  width: 100%; height: calc(100% - var(--horizon));
  overflow: visible;
}
.road .tar { fill: var(--asphalt); }
.road .edge { fill: rgba(248, 250, 246, 0.8); }
.road .dash { fill: var(--marigold); }

.jeep {
  position: absolute;
  left: 50%; bottom: 3%;
  width: min(64cqh, 78cqw, 400px);
  translate: -50% 0;
  transform-origin: 50% 100%;
  z-index: 3;
}
.jeep img { width: 100%; height: auto; filter: drop-shadow(0 26px 20px rgba(1, 25, 16, 0.45)); }
.jeep-body { animation: bob 0.55s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }

/* Bill split moment */
.bill {
  position: absolute;
  left: 50%; top: 2%;
  translate: -50% 0;
  z-index: 4;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 18px 14px;
  min-width: 220px;
  box-shadow: 0 18px 40px rgba(1, 25, 16, 0.35);
  opacity: 0;
}
.bill::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 7px -1px, transparent 6px, var(--paper) 6.5px) 0 0 / 14px 10px repeat-x;
}
.bill p { margin: 0; font-size: 0.86rem; color: var(--text-soft); }
.bill strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 2rem; line-height: 1.05; letter-spacing: -0.01em;
}
.share {
  position: absolute; z-index: 5;
  left: 50%; top: 12%;
  translate: -50% -50%;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: clamp(0.66rem, 2.5cqh, 0.95rem);
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 6px 14px rgba(1, 25, 16, 0.3);
}
.split-note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 auto 16px; width: fit-content; max-width: calc(100% - 24px);
  padding: 8px 10px 8px 18px; border-radius: 999px;
  background: rgba(10, 22, 39, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: var(--step--1);
  color: var(--paper);
  opacity: 0;
}
.split-note button {
  font: inherit; font-weight: 700; color: var(--ink);
  background: var(--marigold); border: 0; padding: 5px 14px; border-radius: 999px; cursor: pointer;
}
.split-note button:hover { background: #FFC23A; }
.split-note button:disabled { opacity: 0.6; cursor: default; }

/* ---------- Home: trip road ---------- */

.trip { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); }
.section-head { max-width: 44rem; margin: 0 0 clamp(40px, 6vw, 80px); }
.section-head h2, .doc-hero h1, .promise h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.section-head p { margin: 0; color: var(--text-soft); font-size: var(--step-1); line-height: 1.45; }

.route { position: relative; }
.route-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.route-svg .tar { fill: none; stroke: var(--asphalt); stroke-width: 34; stroke-linecap: round; }
.route-svg .lane { fill: none; stroke: var(--marigold); stroke-width: 3; stroke-dasharray: 16 18; stroke-linecap: round; }
.route-svg .travelled { fill: none; stroke: var(--emerald); stroke-width: 34; stroke-linecap: round; opacity: 0.28; }
.route-jeep {
  position: absolute; left: 0; top: 0; width: 76px; height: auto;
  translate: -50% -60%;
  z-index: 2;
  filter: drop-shadow(0 8px 8px rgba(10, 22, 39, 0.3));
  will-change: transform;
}

.stops { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.stop {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: 420px;
}
.stop-copy { grid-column: 1 / span 5; }
.stop-demo { grid-column: 8 / span 5; }
.stop:nth-child(even) .stop-copy { grid-column: 8 / span 5; grid-row: 1; }
.stop:nth-child(even) .stop-demo { grid-column: 1 / span 5; grid-row: 1; }
.stop-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--marigold); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 18px;
}
.stop h3 {
  font-family: var(--display); font-weight: 750;
  font-size: var(--step-2); line-height: 1.05; margin: 0 0 12px;
}
.stop p { margin: 0; max-width: 40ch; color: var(--text-soft); }

/* Demo panels: phone-sized slips of the app */
.demo {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 1px 0 var(--mist), 0 24px 50px -24px rgba(10, 22, 39, 0.35);
  max-width: 380px;
  margin-inline: auto;
}
.demo-title { font-size: var(--step--1); color: var(--text-soft); margin: 0 0 4px; }
.pool-figure {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); line-height: 1; margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.faces { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.faces li {
  flex: 1; text-align: center; font-family: var(--display); font-weight: 600; font-size: 0.78rem; color: var(--text-soft);
}
.faces span {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; color: #fff;
  transform: scale(0.6); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
}
.in-view .faces span { transform: none; opacity: 1; }
.faces li:nth-child(2) span { transition-delay: 0.08s; }
.faces li:nth-child(3) span { transition-delay: 0.16s; }
.faces li:nth-child(4) span { transition-delay: 0.24s; }
.faces li:nth-child(5) span { transition-delay: 0.32s; }

.expenses { list-style: none; margin: 0; padding: 0; }
.expenses li {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--mist);
}
.expenses li:first-child { border-top: 0; }
.expenses .cat {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--leaf); font-size: 1.2rem;
}
.expenses .what { line-height: 1.25; }
.expenses .what small { display: block; color: var(--text-soft); font-size: 0.8rem; }
.expenses .amt { font-family: var(--display); font-weight: 750; text-align: right; line-height: 1.2; }
.expenses .tag {
  display: block; font-family: var(--body); font-size: 0.74rem; font-weight: 700; color: var(--emerald);
  opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.in-view .expenses .tag { opacity: 1; transform: none; }
.expenses li:nth-child(1) .tag { transition-delay: 0.35s; }
.expenses li:nth-child(2) .tag { transition-delay: 0.75s; }
.expenses li:nth-child(3) .tag { transition-delay: 1.15s; }

.payments { list-style: none; margin: 0; padding: 0; }
.payments li { display: grid; grid-template-columns: 36px 1fr 36px auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--mist); }
.payments li:first-child { border-top: 0; }
.payments .who { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-family: var(--display); font-weight: 800; font-size: 0.9rem; }
.pay-line { width: 100%; height: 12px; overflow: visible; }
.pay-line path { fill: none; stroke: var(--emerald); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pay-line path:first-child { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.8s var(--ease-out); }
.pay-line .head { opacity: 0; transition: opacity 0.2s 0.6s; }
.in-view .pay-line path:first-child { stroke-dashoffset: 0; }
.in-view .pay-line .head { opacity: 1; }
.payments li:nth-child(2) .pay-line path { transition-delay: 0.3s; }
.payments li:nth-child(2) .pay-line .head { transition-delay: 0.9s; }
.payments li:nth-child(3) .pay-line path { transition-delay: 0.6s; }
.payments li:nth-child(3) .pay-line .head { transition-delay: 1.2s; }
.payments .sum { min-width: 86px; text-align: right; font-family: var(--display); font-weight: 750; line-height: 1.2; }
.payments .state { display: block; font-family: var(--body); font-size: 0.74rem; font-weight: 700; color: var(--text-soft); }
.payments .state.ok { color: var(--emerald); }
.payments .state.paid { color: #B07800; }
.settle-sum { margin: 10px 0 0; font-size: var(--step--1); color: var(--text-soft); }

/* ---------- Home: promise ---------- */

.promise { background: var(--forest); color: var(--paper); padding: clamp(80px, 11vw, 140px) 0; }
.promise-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.promise h2 { color: var(--paper); }
.promise .intro { color: #CFE3D5; max-width: 36ch; font-size: var(--step-1); line-height: 1.45; margin: 0; }
.promise ul { list-style: none; margin: 0; padding: 0; }
.promise li { padding: 20px 0; border-top: 1px solid rgba(248, 250, 246, 0.18); display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.promise li:last-child { border-bottom: 1px solid rgba(248, 250, 246, 0.18); }
.promise li svg { width: 26px; height: 26px; color: var(--marigold); margin-top: 3px; }
.promise li strong { display: block; font-family: var(--display); font-size: var(--step-1); font-weight: 750; line-height: 1.2; margin-bottom: 4px; }
.promise li p { margin: 0; color: #CFE3D5; }
.promise li a { color: var(--marigold); }

/* ---------- Footer ---------- */

.foot { background: var(--ink); color: #C9D2DE; padding: clamp(64px, 9vw, 110px) 0 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.foot .wordmark { width: min(100%, 520px); height: auto; }
.foot .natpu { margin: 22px 0 0; max-width: 40ch; }
.foot .natpu span { color: var(--marigold); font-weight: 700; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: start; }
.foot nav a { color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: var(--step-1); }
.foot nav a:hover { color: var(--marigold); }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(201, 210, 222, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); }
.foot-base a { color: #C9D2DE; }

/* ---------- Document pages ---------- */

.doc-head { background: var(--forest); color: var(--paper); position: sticky; top: 0; z-index: 30; }
.progress-road {
  position: relative; height: 14px; background: var(--asphalt);
}
.progress-road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--marigold) 0 14px, transparent 14px 26px);
  opacity: 0.85;
}
.progress-road .done { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--emerald); }
.progress-road img {
  position: absolute; top: -21px; left: 0; width: 38px; height: auto;
  translate: -50% 0;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}

.doc-hero { background: var(--forest); color: var(--paper); padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.doc-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; margin: 0 0 18px; max-width: 14ch; }
.doc-hero p { margin: 0; color: #CFE3D5; max-width: 52ch; font-size: var(--step-1); line-height: 1.45; }
.doc-hero .updated { margin-top: 22px; font-size: var(--step--1); color: var(--marigold-soft); }

.doc-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: 112px; align-self: start; font-size: var(--step--1); }
.toc p { font-weight: 700; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mist); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-soft); text-decoration: none; line-height: 1.3; }
.toc a:hover { color: var(--forest); }
.toc a.active { color: var(--forest); font-weight: 700; border-left-color: var(--marigold); }

.prose { max-width: 68ch; }
.prose h2 {
  font-family: var(--display); font-weight: 750; font-size: var(--step-2);
  line-height: 1.1; margin: 64px 0 14px; letter-spacing: -0.005em;
}
.prose > section:first-child h2 { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin: 28px 0 8px; line-height: 1.25; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--emerald); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.96em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--mist); }
.prose th { font-weight: 700; width: 34%; }
.table-scroll { overflow-x: auto; }

.note {
  border-left: 4px solid var(--marigold);
  background: #FFF6DE;
  padding: 16px 20px; border-radius: 0 12px 12px 0;
  margin: 0 0 20px;
}
.note p:last-child { margin-bottom: 0; }

/* Delete account and support */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin: 0 0 24px; }
.path { border: 2px solid var(--mist); border-radius: 20px; padding: clamp(22px, 3vw, 32px); background: #fff; }
.path.alt { border-color: var(--forest); }
.path h2 { margin-top: 0 !important; font-size: var(--step-1); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 0.95rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--forest); color: var(--paper);
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--emerald); color: var(--paper); transform: translateY(-1px); }
.btn.gold { background: var(--marigold); color: var(--ink); }
.btn.gold:hover { background: #FFC23A; color: var(--ink); }
.mail { font-family: var(--display); font-weight: 750; font-size: var(--step-2); word-break: break-word; }

.faq details { border-top: 1px solid var(--mist); }
.faq details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--emerald); border-bottom: 3px solid var(--emerald);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { overflow: hidden; }
.faq .answer > div { padding: 0 0 18px; }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--forest); color: var(--paper); padding: 40px var(--gutter); }
.lost img { width: 220px; margin: 0 auto 28px; }
.lost h1 { font-family: var(--display); font-weight: 800; font-size: var(--step-3); margin: 0 0 12px; line-height: 1; }
.lost p { margin: 0 0 28px; color: #CFE3D5; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .scene { min-height: 420px; }
  .stop { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 0 0 72px 64px; }
  .stop .stop-copy, .stop .stop-demo,
  .stop:nth-child(even) .stop-copy, .stop:nth-child(even) .stop-demo { grid-column: 1; grid-row: auto; }
  .demo { margin-inline: 0; }
  .route-jeep { width: 52px; }
  .promise-grid, .foot-top { grid-template-columns: 1fr; }
  .doc-body { grid-template-columns: 1fr; }
  .toc { display: none; }
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar nav ul { gap: 14px; }
  .bar nav li.optional { display: none; }
  .bar .brand img { height: 24px; }
  .scene { min-height: 380px; }
  .bill { min-width: 190px; padding: 10px 14px 12px; }
  .bill strong { font-size: 1.6rem; }
  .share { padding: 3px 7px; }
  .store { padding: 10px 18px 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .jeep-body { animation: none; }
}
