/* Flipworthy website. One stylesheet, no build step, no script, no external requests.

   Brand comes from the App Store creative (Marketing/app-store-1.0.3/source/slides.html):
   obsidian ground, matte cards, hairlines, bone type, mint for emphasis words and links,
   iris for the PRO pill only. Dark only. Mobile first: written for 375px, widened at
   768px and 1200px. */

/* ---------- Tokens ---------- */

:root {
  color-scheme: dark;

  --ground: #0E0E10;
  --card: #161618;
  --line: #2C2C30;
  --ink: #F2F1EC;
  --ink-soft: rgba(242, 241, 236, .86);   /* bone, one step down, for running text */
  --muted: #A0A099;
  --mint: #34D9A5;
  --iris: #A69BC2;

  --font: -apple-system, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --wrap: 1120px;
  --r-card: 24px;
  --r-stage: 28px;

  --fs-body: 1.0625rem;                                       /* 17px */
  --fs-lead: clamp(1.1875rem, 1.06rem + .55vw, 1.375rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4.7vw, 4.75rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 2.9vw, 3.375rem);
  --fs-h3: clamp(1.625rem, 1.2rem + 1.9vw, 2.375rem);
}

@media (min-width: 768px) { :root { --gutter: 24px; --r-card: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */

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

html {
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink-soft);
  font: 400 var(--fs-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}

p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.mint { color: var(--mint); }
/* Keeps a hyphenated compound (buy-or-skip, per-marketplace) on one line instead of breaking at a hyphen. */
.nw { white-space: nowrap; }

.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: absolute;
  left: 12px; top: -100px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Layout helpers ---------- */

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

.section { padding-block: clamp(56px, 9vw, 112px); }
.section + .section { padding-top: 0; }
.section:last-child { padding-bottom: 0; }

.section-head { max-width: 44rem; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead { margin-top: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: .55em; height: .55em;
  border-radius: 50%;
  background: var(--mint);
}
@media (max-width: 359px) { .eyebrow { letter-spacing: .1em; } }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* The PRO pill from the creative: iris on a faint iris wash, a dot, wide tracking. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  height: 2.2em;
  padding: 0 .95em 0 .85em;
  border: 1px solid rgba(166, 155, 194, .5);
  border-radius: 999px;
  background: rgba(166, 155, 194, .14);
  color: var(--iris);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
}
.pill i {
  display: block;
  width: .42em; height: .42em;
  border-radius: 50%;
  background: var(--iris);
}

/* ---------- Header and footer ---------- */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }

.site-nav { display: flex; gap: 2px; margin-right: -12px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer .wrap { display: grid; gap: 20px; }

.foot-top { display: grid; gap: 4px; }
.foot-top p { color: var(--muted); }

.foot-nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.foot-nav a:hover { color: var(--mint); }

.fine {
  max-width: 36rem;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.foot-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.foot-meta a:hover { color: var(--mint); }

@media (min-width: 768px) {
  .site-footer .wrap { gap: 8px; }
  .foot-top { grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
}

/* ---------- Buttons and the App Store badge ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--ground); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: #46464C; }

/* Apple's badge, unaltered. Height is set, width follows the SVG's own ratio.
   The padding keeps Apple's clear space around it. */
.badge { display: inline-block; padding: 6px; line-height: 0; border-radius: 12px; }
.badge img { width: auto; height: 56px; }

/* ---------- Phone frame, drawn in CSS like the creative's .phone ----------
   Proportions are the creative's: bezel 25 on a 1080 screen, outer radius .15 and
   screen radius .13 of the screen width. --pw is the outer width. The frame is cut off
   by its stage, the way the slides hang the phone off the bottom edge. */

.stage {
  --pw: min(72vw, 280px);
  --crop: 1.4;                       /* visible height as a multiple of --pw */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: calc(var(--pw) * var(--crop) + 28px);
  padding-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-stage);
  background: var(--card);
}

.phone {
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * .0221) calc(var(--pw) * .0221) 0;
  border-radius: calc(var(--pw) * .1434) calc(var(--pw) * .1434) 0 0;
  background: linear-gradient(145deg, #2A2A2E, #121214 40%, #1E1E22);
  box-shadow: 0 0 0 1.5px #3A3A40, 0 24px 60px rgba(0, 0, 0, .6);
}
.phone .screen {
  overflow: hidden;
  border-radius: calc(var(--pw) * .1242) calc(var(--pw) * .1242) 0 0;
  background: var(--ground);
}
.phone img { display: block; width: 100%; height: auto; }

@media (min-width: 768px) { .stage { --pw: clamp(236px, 27vw, 320px); } }

/* ---------- Landing hero: the only place with the grid and the mint glow ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(12px, 4vw, 48px);
}
.hero::before {                      /* subtle grid, faded out toward the edges */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(242, 241, 236, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 236, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 45%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 45%, #000 15%, transparent 78%);
}
.hero::after {                       /* mint glow, centred behind the phone */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 68%;
  width: 170vw;
  height: 170vw;
  max-width: 1500px;
  max-height: 1500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(52, 217, 165, .24), transparent 62%);
  pointer-events: none;
}

.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.02; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: 22px; max-width: 34rem; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; }
.cta-row .badge { margin: -6px; }
.cta-note { color: var(--muted); text-wrap: balance; }

.hero .stage {
  --pw: min(74vw, 300px);
  --crop: 1.5;
  justify-self: center;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: none;
  padding-top: 0;
  height: calc(var(--pw) * var(--crop));
}
/* The phone fades out at the bottom of the hero. A mask, not an overlay, so the glow behind it shows through. */
.hero .stage {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.hero .phone { box-shadow: 0 0 0 1.5px #3A3A40; }   /* the hero's own glow does the rest; shadows would be clipped by the stage */

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 32px; }
  .hero .stage { --pw: clamp(250px, 30vw, 300px); --crop: 1.9; align-self: end; margin-bottom: 0; }
  /* Sized from the hero's own height, so it has faded out by the time it reaches the hero's edges. */
  .hero::after { left: 76%; top: 50%; width: auto; height: 118%; max-height: 860px; aspect-ratio: 1; }
}
@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero .stage { --pw: 340px; --crop: 1.75; }
  .hero::before { background-size: 64px 64px; }
}

/* ---------- How it works ---------- */

.steps { display: grid; gap: 12px; margin-top: 36px; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  counter-increment: step;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ground);
  color: var(--mint);
  font-size: 1.125rem;
  font-weight: 800;
}
.steps h3 { grid-column: 2; align-self: center; min-height: 44px; display: flex; align-items: center; font-size: 1.5rem; letter-spacing: -.04em; }
.steps p { grid-column: 2; margin-top: 6px; }

/* Below 900px the text runs the full width of the card, under the number and title, so a line is
   about 40 characters at 390px rather than 29. */
@media (max-width: 899px) {
  .steps p { grid-column: 1 / -1; margin-top: 14px; max-width: 34em; }
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps li { display: block; padding: 28px 26px 32px; }
  .steps li::before { margin-bottom: 18px; }
  .steps h3 { display: block; min-height: 0; }
  .steps p { margin-top: 10px; }
}

/* ---------- Feature rows: copy and phone, alternating ---------- */

.group + .group { margin-top: clamp(56px, 8vw, 96px); }
.group > h2 { font-size: var(--fs-h2); max-width: 44rem; }

.feature { display: grid; gap: 24px; align-items: center; margin-top: 36px; }
.feature h3 { font-size: var(--fs-h3); line-height: 1.04; }
.feature .copy p { margin-top: 14px; max-width: 30rem; }
.feature .copy .aside { color: var(--muted); }

/* On phones each feature is a unit: the heading sits close to its own phone and well clear of the
   previous one (64px between rows against 24px inside a row). */
@media (max-width: 767px) {
  .feature { margin-top: 64px; }
  .group > h2 + .feature { margin-top: 32px; }
}

@media (min-width: 768px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
  .feature--flip .stage { order: -1; }
}
@media (min-width: 1200px) {
  .feature { gap: 96px; }
}

/* ---------- Pro ---------- */

.pro-grid { display: grid; gap: 16px; margin-top: 40px; }
.pro-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.pro-card .copy { padding: 24px 22px 28px; }
.pro-card .pill { margin-bottom: 18px; }
.pro-card h3 { font-size: 1.625rem; letter-spacing: -.04em; }
.pro-card p { margin-top: 12px; }
.pro-card .stage {
  --pw: min(66vw, 252px);
  --crop: 1.2;
  margin-top: auto;
  border: 0;
  border-radius: 0;
  background: none;
  padding-top: 0;
  height: calc(var(--pw) * var(--crop));
}
.pro-note { margin-top: 28px; color: var(--ink-soft); }

@media (min-width: 768px) {
  .pro-card { flex-direction: row; align-items: stretch; }
  .pro-card .copy { flex: 1 1 0; align-self: center; padding: 36px 8px 36px 36px; }
  .pro-card h3 { font-size: 1.75rem; }
  .pro-card .stage { flex: none; width: 320px; --pw: 240px; margin-top: 28px; align-self: flex-end; }
}
@media (min-width: 1100px) {
  .pro-grid { grid-template-columns: repeat(3, 1fr); }
  .pro-card { flex-direction: column; }
  .pro-card .copy { flex: none; align-self: auto; padding: 32px 28px 36px; }
  .pro-card .stage { width: auto; --pw: 236px; margin-top: auto; align-self: stretch; }
}
@media (min-width: 1200px) {
  .pro-card .copy { padding: 32px 30px 36px; }
  .pro-card .stage { --pw: 252px; }
}

/* ---------- Free vs Pro ---------- */

.compare {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td {
  padding: 16px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: normal;
}
.compare thead th {
  border-top: 0;
  padding-block: 18px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.compare thead th:first-child { width: 46%; }
.compare tbody th { color: var(--ink); font-weight: 600; line-height: 1.4; }
.compare td { color: var(--ink-soft); line-height: 1.4; }
.compare th:first-child, .compare td:first-child { padding-left: 16px; }
.compare th:last-child, .compare td:last-child { padding-right: 16px; }
.compare td .yes {
  display: block;
  width: 9px; height: 17px;
  margin: -4px 0 0 4px;
  border: solid var(--mint);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.compare td.off { color: var(--muted); }

/* The header row never wraps: the PRO pill has to stay on one line at every phone width. */
.compare thead th { white-space: nowrap; }
.compare thead .pill { font-size: .75rem; gap: .45em; padding: 0 .7em 0 .6em; letter-spacing: .12em; }

@media (max-width: 767px) { .compare thead th:first-child { width: 40%; } }
@media (max-width: 359px) {
  .compare th, .compare td { padding-inline: 8px; }
  .compare th:first-child, .compare td:first-child { padding-left: 14px; }
}

@media (min-width: 768px) {
  .compare th, .compare td { padding: 20px 24px; }
  .compare th:first-child, .compare td:first-child { padding-left: 32px; }
  .compare th:last-child, .compare td:last-child { padding-right: 32px; }
  .compare thead th:first-child { width: 52%; }
}

/* ---------- Honesty note ---------- */

.note {
  display: grid;
  gap: 18px;
  padding: 28px 22px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.note h2 { font-size: var(--fs-h2); }
.note .body { display: grid; gap: 14px; max-width: 34rem; }

/* At 320px the 36px heading needs 249px; the default 22px side padding leaves 242px. */
@media (max-width: 359px) { .note { padding-inline: 16px; } }

@media (min-width: 768px) {
  .note { padding: 48px; }
}
@media (min-width: 1100px) {
  .note { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
}

/* ---------- FAQ on the landing page ---------- */

.faq { display: grid; gap: 12px; margin-top: 36px; }
.faq article {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.faq h3 { font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.12; }
.faq p { margin-top: 10px; }
.faq .more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .faq article { padding: 28px 30px 18px; }
  .faq p { max-width: 32em; }
}
@media (min-width: 900px) {
  .faq { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .faq article { padding: 28px 26px 18px; }
}

/* ---------- Closing call to action ---------- */

.cta-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(40px, 8vw, 88px) 20px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-card) + 8px);
  background: var(--card);
  text-align: center;
}
.cta-card .app-icon { width: 72px; height: 72px; border-radius: 16px; }
.cta-card h2 { max-width: 16ch; font-size: var(--fs-h2); }
.cta-card .lead { max-width: 30rem; }
.cta-card .badge { margin: 0; }

/* ---------- Legal pages: a reading column with a contents list ---------- */

.doc { padding-top: clamp(16px, 4vw, 48px); }
.doc h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem); line-height: 1.02; }
.doc .effective { margin-top: 14px; color: var(--muted); }

.doc-grid { display: grid; gap: 28px; margin-top: 32px; }
.doc-grid > .intro { max-width: 40rem; color: var(--ink); font-size: var(--fs-lead); line-height: 1.5; }
/* The measure is set from the rendered glyph width (about 7.8px per character at 17px),
   not from ch, so a line holds roughly 65 to 70 characters. */
.doc-body { min-width: 0; max-width: 31.5em; font-size: 1.0625rem; }
.doc-body p, .doc-body li { color: var(--ink-soft); }
.doc-body p + p, .doc-body p + ul, .doc-body ul + p { margin-top: 1.1em; }
.doc-body h2 {
  margin-top: 2.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  letter-spacing: -.04em;
  scroll-margin-top: 20px;
}
.doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body h2 + p, .doc-body h2 + ul { margin-top: .9rem; }
.doc-body ul { display: grid; gap: .6em; padding-left: 1.3em; list-style: disc; }
.doc-body li::marker { color: var(--mint); }
.doc-body a { overflow-wrap: anywhere; }

.toc {
  padding: 18px 20px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.toc h2 {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.toc ol { display: grid; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.toc a:hover { color: var(--mint); }

@media (min-width: 768px) {
  .doc-body { font-size: 1.125rem; }
}
@media (min-width: 1100px) {
  .doc-grid { grid-template-columns: 260px minmax(0, 1fr); column-gap: 72px; row-gap: 44px; align-items: start; margin-top: 48px; }
  .doc-grid > .intro { grid-column: 2; grid-row: 1; }
  .doc-grid > .toc { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 24px; }
  .doc-grid > .doc-body { grid-column: 2; grid-row: 2; }
}

/* ---------- Support ---------- */

.page-head { padding-top: clamp(16px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem); line-height: 1.02; }
.page-head .lead { margin-top: 20px; max-width: 36rem; }

.contact {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 32px;
  padding: 26px 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.contact h2 { font-size: 1.75rem; letter-spacing: -.04em; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.jump a:hover { border-color: var(--mint); color: var(--mint); }

.topics { margin-top: clamp(40px, 6vw, 72px); }
.topic { display: grid; gap: 20px; padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.topic > h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); letter-spacing: -.04em; }
.qa-list { display: grid; gap: 28px; }
.qa { scroll-margin-top: 16px; }
.qa h3 { font-size: 1.375rem; letter-spacing: -.04em; line-height: 1.15; }
.qa p, .qa dl { margin-top: 10px; }
.qa p { max-width: 32em; }
.qa p + p { margin-top: 12px; }

.qa .ledger {
  max-width: 26rem;
  margin-top: 16px;
  padding: 6px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.ledger div { display: grid; grid-template-columns: 6.25rem 1fr; column-gap: 12px; padding: 11px 0; }
.ledger div + div { border-top: 1px solid var(--line); }
.ledger dt { color: var(--muted); }
.ledger dd { color: var(--ink); font-weight: 600; }
.ledger .total dt { color: var(--ink); font-weight: 700; }
.ledger .total dd { color: var(--mint); font-weight: 700; }
.qa .ledger + p { margin-top: 16px; }

.steps-inline { display: grid; gap: 14px; margin-top: 12px; max-width: 32em; }
.steps-inline dt { color: var(--ink); font-weight: 700; }
.steps-inline dd { margin-top: 2px; }

@media (min-width: 768px) {
  .contact { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; column-gap: 32px; }
  .contact h2 { grid-column: 1; }
  .contact p { grid-column: 1; }
  .contact .btn { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1100px) {
  .topic { grid-template-columns: 300px minmax(0, 1fr); column-gap: 72px; padding-block: 56px; }
  .topic > h2 { position: sticky; top: 24px; align-self: start; }
  .qa-list { gap: 44px; }
}

/* ---------- 404 ---------- */

.lost { padding-block: clamp(48px, 12vw, 140px) 0; }
.lost h1 { max-width: 12ch; font-size: var(--fs-h1); line-height: 1.02; }
.lost .lead { margin-top: 22px; max-width: 30rem; }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
