/* Richly website. One stylesheet for every page; no build step. Structure after the Debet and Whitepoint sites. */

@font-face { font-family: Jakarta; font-weight: 400; font-display: swap; src: url(../fonts/PlusJakartaSans_400Regular.ttf) format('truetype'); }
@font-face { font-family: Jakarta; font-weight: 500; font-display: swap; src: url(../fonts/PlusJakartaSans_500Medium.ttf) format('truetype'); }
@font-face { font-family: Jakarta; font-weight: 600; font-display: swap; src: url(../fonts/PlusJakartaSans_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Jakarta; font-weight: 700; font-display: swap; src: url(../fonts/PlusJakartaSans_700Bold.ttf) format('truetype'); }
@font-face { font-family: Jakarta; font-weight: 800; font-display: swap; src: url(../fonts/PlusJakartaSans_800ExtraBold.ttf) format('truetype'); }
@font-face { font-family: Mono; font-weight: 400; font-display: swap; src: url(../fonts/GeistMono_400Regular.ttf) format('truetype'); }
@font-face { font-family: Mono; font-weight: 500; font-display: swap; src: url(../fonts/GeistMono_500Medium.ttf) format('truetype'); }

:root {
  /* The App Store screenshots' bronze gradient, top to bottom. */
  --g1: #a87c24;
  --g2: #94691a;
  --g3: #7e5915;
  --g4: #684811;
  --deep: #2a1f0b; /* warm bronze-black for the privacy band */
  --accent: #8c6516; /* the app's one accent: bullion gold */
  --champ: #f8dc9e; /* the screenshots' highlight word */
  --wash: #f4eee1; /* the app's tint */
  --wash-2: #eadfc6; /* the app's tint2 */
  --ink: #17150f;
  --body: #57534a;
  --muted: #7b776e;
  --line: rgba(23, 21, 15, 0.08);
  --page: #f7f5f0; /* the app's canvas */
  --gray: #f0eee9; /* the app's raised fill */
  --card: #ffffff;
  --shade: 52, 36, 6; /* rgb of the warm shadow colour */

  --sans: Jakarta, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: Mono, ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --radius: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, .h2, .h3 { margin: 0; font-weight: 800; letter-spacing: -0.04em; word-spacing: 0.04em; text-wrap: balance; }
/* Jakarta sets . and , far from the word at display tracking; headings wrap them in .pn to pull them in. */
.pn { margin-left: -0.07em; }
.h2 b, .h3 b { font-weight: 800; color: var(--accent); }
/* Hero and closer: the screenshots' all-caps headline with one champagne word. */
.display { font-size: clamp(56px, 8.4vw, 120px); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.045em; }
.display em, .caps em { font-style: normal; color: var(--champ); }
.h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1.02; }
.h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.lede { margin: 0; font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--body); max-width: 34em; text-wrap: pretty; }
.label {
  display: inline-block;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
p { text-wrap: pretty; }

/* ---------- App Store button ---------- */
.store {
  display: inline-flex; align-items: center; gap: 11px;
  height: 58px; padding: 0 24px 0 20px;
  border-radius: 16px;
  background: #000; color: #fff;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 18px 40px -18px rgba(var(--shade), 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 24px 46px -18px rgba(var(--shade), 0.8); }
.store:active { transform: translateY(0) scale(0.98); }
.store svg { width: 25px; height: 30px; flex: none; margin-top: -3px; }
.store span { display: flex; flex-direction: column; line-height: 1; }
.store small { font-size: 12px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.92; margin-bottom: 4px; }
.store strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.store--sm { height: 42px; padding: 0 16px 0 14px; border-radius: 12px; gap: 8px; box-shadow: none; }
.store--sm svg { width: 17px; height: 21px; margin-top: -2px; }
.store--sm strong { font-size: 15px; letter-spacing: -0.01em; }
.store--sm small { display: none; }

/* ---------- Brand (icon + wordmark) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; line-height: 1; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: 72px; color: #fff;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s, backdrop-filter 0.35s;
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.store) { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.84); text-decoration: none; transition: color 0.2s; }
.nav__links a:not(.store):hover { color: #fff; }
.nav.is-solid { color: var(--ink); background: rgba(247, 245, 240, 0.84); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .brand img { box-shadow: none; }
.nav.is-solid .nav__links a:not(.store) { color: var(--body); }
.nav.is-solid .nav__links a:not(.store):hover { color: var(--ink); }
.nav--doc { background: rgba(247, 245, 240, 0.9); }
@media (max-width: 920px) {
  .nav { height: 64px; }
  .nav__links a:not(.store) { display: none; }
  .brand { font-size: 22px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 40%, var(--g3) 72%, var(--g4) 100%);
  isolation: isolate;
}
.hero::before { /* the screenshots' soft gold light pool */
  content: ''; position: absolute; z-index: -1;
  width: 120vmax; height: 120vmax; left: 34%; top: -60vmax;
  background: radial-gradient(closest-side, rgba(255, 226, 160, 0.42), rgba(255, 226, 160, 0) 70%);
  pointer-events: none;
}
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  min-height: min(100svh, 940px); padding-top: 112px; padding-bottom: 64px;
}
.hero__copy { position: relative; z-index: 3; }
.hero .display { margin: 0 0 22px; }
/* The screenshots' champagne sticker under the headline. */
.sticker {
  display: inline-block; margin: 0 0 30px; padding: 10px 16px 9px; border-radius: 12px;
  background: var(--champ); color: #5a3f0c;
  font: 800 clamp(16px, 1.6vw, 20px)/1 var(--sans); letter-spacing: -0.01em; text-transform: uppercase;
  box-shadow: 0 14px 30px -14px rgba(var(--shade), 0.6);
  transform: rotate(-2deg);
}
.hero .lede { color: rgba(255, 255, 255, 0.88); margin-bottom: 40px; max-width: 27em; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__note { font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.hero__art { position: relative; height: min(760px, 80vh); min-height: 560px; }
.hero__phone {
  position: absolute; left: 50%; top: 50%; width: min(500px, 56vh); min-width: 380px; max-width: none;
  transform: translate(-46%, -50%);
  filter: drop-shadow(0 70px 60px rgba(var(--shade), 0.5)) drop-shadow(0 20px 24px rgba(var(--shade), 0.28));
}
.coin { position: absolute; max-width: none; pointer-events: none; }
.coin--far { width: min(150px, 17vh); right: -6%; top: 10%; transform: rotate(14deg); filter: blur(0.8px) drop-shadow(0 30px 40px rgba(var(--shade), 0.35)); opacity: 0.95; }
.coin--near { width: min(210px, 24vh); left: -4%; bottom: 2%; transform: rotate(-10deg); filter: drop-shadow(0 50px 50px rgba(var(--shade), 0.45)); z-index: 2; }
.hero__facts {
  position: relative; z-index: 2;
  display: flex; gap: 48px; flex-wrap: wrap;
  margin: 0; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__facts li { list-style: none; font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.84); }

@media (prefers-reduced-motion: no-preference) {
  .coin--far { animation: float 9s ease-in-out infinite; }
  .coin--near { animation: float 11s ease-in-out -4s infinite; }
  @keyframes float { 50% { translate: 0 -14px; } }
}

@media (max-width: 1080px) {
  .hero__phone { width: 430px; }
  .hero__art { height: 660px; }
  .coin--far { width: 130px; }
  .coin--near { width: 170px; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 108px; padding-bottom: 0; gap: 8px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
  .hero__cta { justify-content: center; flex-direction: column; gap: 14px; }
  /* The whole phone shows: it hangs from the top of its box instead of being centred and cropped. */
  .hero__art { height: 600px; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; }
  .hero__phone { width: 360px; min-width: 0; top: 28px; transform: translate(-46%, 0); }
  .hero__art .coin--far { width: 100px; left: auto; right: calc(50% - 210px); top: 40px; z-index: 0; }
  .hero__art .coin--near { width: 140px; left: calc(50% - 220px); bottom: 50px; }
  .hero__facts { justify-content: center; gap: 14px 28px; padding: 22px 0 28px; }
}
@media (max-width: 420px) {
  .hero__art { height: 560px; }
  .hero__phone { width: 330px; }
  .hero__art .coin--far { width: 86px; right: calc(50% - 190px); top: 36px; }
  .hero__art .coin--near { width: 120px; left: calc(50% - 196px); bottom: 44px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section--flush { padding-top: 0; }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 80px); max-width: 800px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* How it works: sticky phone beside the steps (desktop), phone per step (mobile). */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.steps__list { display: grid; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 480px; padding: 40px 0; }
.step__num { display: flex; align-items: center; gap: 10px; color: var(--accent); }
/* Step and privacy numbers: a small filled badge. */
.step__num em, .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 13px/1 var(--sans); font-style: normal; letter-spacing: 0; }
.privacy .num { background: rgba(248, 220, 158, 0.16); color: var(--champ); }
.step .lede { font-size: 19px; }
.step__note { margin: 0; font-size: 14px; color: var(--muted); }
.step__phone { display: none; }
.steps__stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.stage { position: relative; width: min(370px, 100%); aspect-ratio: 675 / 1400; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(18px) scale(0.985); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); filter: drop-shadow(0 50px 50px rgba(var(--shade), 0.2)) drop-shadow(0 14px 18px rgba(var(--shade), 0.12)); }
.stage img.is-on { opacity: 1; transform: none; }
.stage__halo { position: absolute; inset: -10% -30%; background: radial-gradient(closest-side, rgba(168, 124, 36, 0.22), rgba(168, 124, 36, 0)); z-index: -1; }
.stage__dots { position: absolute; right: -44px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.stage__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(23, 21, 15, 0.16); transition: height 0.4s var(--ease), background 0.4s; }
.stage__dots span.is-on { height: 26px; background: var(--accent); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps__stage { display: none; }
  .step { min-height: 0; max-width: none; padding: 0 0 72px; text-align: center; align-items: center; }
  .step__phone { display: block; width: min(300px, 78vw); margin: 18px auto 0; filter: drop-shadow(0 40px 40px rgba(var(--shade), 0.18)); }
}

/* Privacy band */
.privacy { background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.privacy::before { content: ''; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -420px; background: radial-gradient(closest-side, rgba(232, 190, 110, 0.22), rgba(232, 190, 110, 0)); }
.privacy .h2 { max-width: 13em; }
.privacy .h2 b { color: var(--champ); }
.privacy .label { color: rgba(255, 255, 255, 0.58); }
.privacy__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.privacy__grid h3 { margin: 14px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.privacy__grid p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.74); }
.privacy__grid a { color: var(--champ); }
@media (max-width: 860px) { .privacy__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; display: grid; gap: 6px; align-content: start; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius); background: var(--card); box-shadow: 0 1px 0 var(--line); }
.plan--best { box-shadow: 0 0 0 2px var(--accent), 0 40px 80px -50px rgba(var(--shade), 0.45); }
.plan__tag { position: absolute; top: 24px; right: 24px; padding: 7px 12px; border-radius: 999px; background: var(--wash); color: var(--accent); font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.plan h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 800 clamp(48px, 5vw, 64px)/1 var(--sans); letter-spacing: -0.05em; }
.plan__price span { font-size: 18px; color: var(--muted); }
.plan__sub { margin: 4px 0 18px; font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--body); }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.plans__cta { display: grid; justify-items: center; gap: 16px; margin-top: 44px; text-align: center; }
.plans__fine { max-width: 44em; font-size: 13px; color: var(--muted); margin: 0; }
.plans__fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.plans__fine a:hover { color: var(--ink); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.faq__head a { color: var(--accent); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { text-wrap: balance; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: -8px 0 26px; color: var(--body); max-width: 40em; }
.faq details p a { color: var(--accent); }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__head { position: static; }
  .faq summary { font-size: 18px; padding: 22px 0; }
}

/* Closing call to action */
.closer { text-align: center; color: #fff; overflow: hidden; padding-bottom: 0; }
.closer .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; }
.closer__icon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 40px 70px -20px rgba(var(--shade), 0.6); }
.caps { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; font-size: clamp(48px, 8.6vw, 124px); }
.closer .lede { color: rgba(255, 255, 255, 0.86); }
.closer .hero__note { margin-top: -6px; }
.closer__pile { position: relative; width: min(1200px, 120vw); max-width: none; margin: clamp(20px, 4vw, 56px) auto -9%; z-index: 0; filter: drop-shadow(0 40px 50px rgba(var(--shade), 0.4)); }
.closer .coin { z-index: 0; }
.closer .coin--far { width: 130px; left: auto; right: 8%; top: 12%; transform: rotate(16deg); }
.closer .coin--near { width: 170px; left: 6%; right: auto; bottom: auto; top: 34%; transform: rotate(-14deg); }
@media (max-width: 860px) {
  .closer .coin--far { width: 84px; right: -24px; top: 5%; }
  .closer .coin--near { width: 100px; left: -34px; top: 18%; }
}

/* Footer */
.footer { padding: 64px 0 48px; font-size: 15px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.footer .brand img { box-shadow: none; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: var(--body); }
.footer nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .footer__top { flex-direction: column; align-items: flex-start; gap: 18px; } .footer nav { gap: 10px 22px; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }

/* Sticky download bar on phones: shows once the hero's button has scrolled away */
.dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -16px rgba(var(--shade), 0.4); transform: translateY(140%); transition: transform 0.45s var(--ease); }
.dock img { width: 42px; height: 42px; border-radius: 11px; }
.dock div { flex: 1; min-width: 0; line-height: 1.25; }
.dock strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.dock span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .store { height: 44px; padding: 0 16px; border-radius: 14px; box-shadow: none; }
.dock .store strong { font-size: 15px; }
.dock .store small { display: none; }
.dock .store svg { width: 17px; height: 21px; }
.dock .store span { color: #fff; font-size: inherit; overflow: visible; }
.dock.is-on { transform: none; }
@media (max-width: 860px) { .dock { display: flex; } }

/* Scroll reveal (only when JS has run and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Legal and support pages ---------- */
.doc { padding: 150px 0 120px; }
.doc .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.doc .label { color: var(--accent); }
.doc h1 { margin: 18px 0 14px; font-size: clamp(42px, 6vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.doc h1 b { color: var(--accent); }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 48px; }
.doc h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.doc h2[id], .doc h3 { scroll-margin-top: 110px; }
.doc h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--body); font-size: 17px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); overflow-wrap: anywhere; }
.doc .card { background: var(--card); border-radius: 24px; padding: 28px 30px; margin: 28px 0; box-shadow: 0 1px 0 var(--line); }
.doc .card p { margin: 0; }
.doc .card p + p { margin-top: 10px; }
.doc .card--wash { background: var(--wash); box-shadow: none; }
.doc .toc { background: var(--card); border-radius: 24px; padding: 24px 30px; margin: 36px 0 8px; box-shadow: 0 1px 0 var(--line); }
.doc .toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.doc .toc li { margin: 4px 0; font-size: 15px; break-inside: avoid; }
.doc .toc a { text-decoration: none; }
.doc .toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .doc { padding: 120px 0 88px; } .doc .toc ol { columns: 1; } .doc .toc { padding: 20px 22px; } .doc .card { padding: 22px; } }

/* ---------- Phones: shorter copy and fewer elements ----------
   Copy that differs on phones is a pair: <span class="on-d">desktop</span><span class="on-m">phone</span>.
   .on-d-block hides a whole element on phones. */
.on-m, .steps__dots { display: none; }
@media (max-width: 640px) {
  .on-d, .on-d-block { display: none !important; }
  .on-m { display: inline; }
  .section { padding: 76px 0; }
  .section--flush { padding-top: 0; }
  .section__head { gap: 16px; margin-bottom: 32px; }
  .lede { font-size: 17px; }
  .sticker { margin-bottom: 24px; }

  /* How it works: a swipeable row of cards instead of four full-screen steps. */
  .steps__list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .steps__list::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 84%; scroll-snap-align: center; justify-content: flex-start; gap: 10px; padding: 26px 18px 0; border-radius: 28px; background: var(--card); box-shadow: 0 1px 0 var(--line), 0 24px 50px -44px rgba(var(--shade), 0.5); overflow: hidden; }
  .step .h3 { font-size: min(25px, 6.4vw); white-space: nowrap; }
  .step .lede { font-size: 16px; min-height: 3em; }
  .step__note { font-size: 13px; }
  .step__phone { width: 210px; margin: 6px auto -150px; }
  .steps__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .steps__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(23, 21, 15, 0.16); transition: width 0.4s var(--ease), background 0.4s; }
  .steps__dots span.is-on { width: 22px; background: var(--accent); }

  body:has(.dock) .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .privacy__grid { gap: 24px; padding-top: 28px; }
  .privacy__grid h3 { margin: 8px 0 6px; font-size: 19px; }
}
