/* DealersPro — the app's own palette (Colors.xaml), deepened for the web and
   given the atmosphere a flat dark page never has. */

:root {
  --ground: #08090B;
  --ground-2: #0C0E12;
  --surface: #101317;
  --surface-2: #171B21;
  --line: #23282F;
  --line-soft: #191D23;
  --ink: #F5F1E8;
  --ink-dim: #979DA6;
  --ink-faint: #6C727A;
  /* The identity deck fixes the mark's gold at #C6A664. The site had drifted
     one digit off it (#C7A466, taken from the old app icon). Imperceptible on
     its own, but two near-identical golds meeting in the same nav is the kind
     of thing that reads as a mistake, so the deck's value wins here. */
  --gold: #C6A664;
  --gold-light: #E5C98F;
  --gold-deep: #8C7745;
  --measure: 60ch;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 11, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner { display: flex; align-items: center; gap: 26px; padding: 15px 0; }

/* The lockup is fixed by the identity deck (Direction D, "Index") and is not
   part of the page's type system: Space Grotesk at weight 500, 0.13em
   tracking, all caps. The deck sets it beside a 54px mark at 34px with a 24px
   gap; those three numbers are kept in proportion here at nav scale. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .13em;
  color: var(--ink);
}

/* flex: none so the mark keeps its size when the nav is squeezed on a phone,
   rather than being shrunk into an unreadable smudge beside the wordmark. */
.wordmark .mark { width: 27px; height: 27px; flex: none; fill: var(--gold); }
.wordmark:hover { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-dim); }
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--gold); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
}

/* The glow is the atmosphere: one warm source behind the device, nothing else. */
.hero::before {
  content: "";
  position: absolute;
  inset: -12% auto auto 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(199, 164, 102, .16) 0%, rgba(199, 164, 102, .05) 38%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-copy { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.hero-copy .lede { margin-inline: auto; max-width: 54ch; }
.hero-copy .cta-row { justify-content: center; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}

h1 em { font-style: normal; color: var(--gold); }

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn-primary { background: var(--gold); color: #14100A; }
.btn-primary:hover { background: var(--gold-light); color: #14100A; transform: translateY(-1px); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--ink); transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.availability {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------------- device */

.device {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  padding: 9px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2A2F36 0%, #14171B 42%, #0D1014 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05),
    0 34px 70px -22px rgba(0, 0, 0, .9),
    0 0 90px -30px rgba(199, 164, 102, .35);
}

.device img { border-radius: 26px; width: 100%; }

.device-wide { width: min(340px, 100%); }


/* ------------------------------------------------------------------ demo */

/* A working replica of the app's search rather than a picture of it: the
   whole point of the product is the drill-down, and a screenshot cannot
   show a drill-down. */

.demo-stage { display: flex; flex-direction: column; align-items: center; }

.demo-hint {
  margin: 20px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
  min-height: 1em;
}

.demo-note {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}

.device-live { width: min(392px, 100%); padding: 10px; border-radius: 40px; }

.screen {
  background: #000;
  border-radius: 31px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 660px;
  color: var(--ink);
  text-align: left;
}

.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 6px;
  font-size: 12px;
  color: var(--ink);
}
.screen-status-icons { color: var(--ink); display: flex; }

.screen-head { padding: 8px 16px 12px; }

.screen-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--gold);
  margin: 0 0 3px;
}

.screen-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}

.screen-search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #3A3A3A;
  border-radius: 14px;
  background: #1A1A1A;
  color: var(--ink-dim);
  font-size: 14px;
}
.screen-search .mono { color: var(--ink); font-size: 14px; }

.screen-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 8px;
  border-top: 1px solid #252525;
  margin: 0 16px;
  padding-inline: 0;
}

.screen-summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-pill {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  background: #1C2026;
  border: 1px solid var(--line);
  border-radius: 15px;
  height: 30px;
  padding: 0 15px;
  cursor: default;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.screen-pill.is-back { cursor: pointer; }
.screen-pill.is-back::before { content: "\2039"; font-size: 16px; line-height: 1; }
.screen-pill.is-back:hover { border-color: var(--gold-deep); }

.screen-sub { padding: 0 16px 6px; font-size: 12px; color: var(--ink-dim); }

.screen-list { flex: 1; overflow-y: auto; padding: 0 16px 18px; scrollbar-width: thin; }
.screen-list::-webkit-scrollbar { width: 4px; }
.screen-list::-webkit-scrollbar-thumb { background: #2A3038; border-radius: 4px; }

.row { display: block; width: 100%; text-align: left; border-bottom: 1px solid #202429; }
.row:last-child { border-bottom: none; }

.row-group {
  font: inherit;
  color: inherit;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px 2px;
  cursor: pointer;
  transition: background-color .14s ease;
}
.row-group:hover { background: rgba(199, 164, 102, .06); }
.row-group:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 6px; }

.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.row-sub { font-size: 11.5px; color: var(--ink-dim); }
.row-range { font-size: 14px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.row-chev { color: #5A616A; }

.row-quote { padding: 12px 2px; display: flex; flex-direction: column; gap: 5px; }
.row-top { display: flex; align-items: baseline; gap: 12px; }
.row-top .row-name { flex: 1; }
.row-price { font-size: 14.5px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.row-text { font-size: 12.5px; color: var(--ink); line-height: 1.45; word-break: break-word; }
.row-text mark { background: rgba(199, 164, 102, .85); color: #14100A; border-radius: 2px; padding: 0 1px; }
.row-foot { display: flex; align-items: baseline; gap: 12px; }
.row-link { font-size: 11.5px; font-weight: 600; color: var(--gold); flex: 1; }
.row-time { font-size: 10.5px; color: var(--ink-dim); }

@media (max-width: 620px) {
  .screen { height: 580px; }
  .demo-hint { font-size: 10.5px; }
}


/* ------------------------------------------------------------ demo tabs */

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 26px;
}

.demo-tab {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ink-dim);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.demo-tab:hover { color: var(--ink); border-color: var(--gold-deep); }
.demo-tab.is-on { color: #14100A; background: var(--gold); border-color: var(--gold); font-weight: 500; }
.demo-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ----------------------------------------------------------- typing caret */

.caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  margin-left: 1px;
  background: var(--gold);
  vertical-align: -2px;
  opacity: 0;
}

.caret.is-on { animation: blink 1s steps(1) infinite; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .caret.is-on { animation: none; opacity: 0; }
}

/* ------------------------------------------------ rows landing one by one */

.screen-list .row { opacity: 1; }

.screen-list:not(.is-in) .row { opacity: 0; transform: translateY(6px); }

.screen-list.is-in .row {
  opacity: 1;
  transform: none;
  transition: opacity .34s ease var(--d, 0ms), transform .34s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .screen-list:not(.is-in) .row { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- metrics */

.metrics { border-block: 1px solid var(--line-soft); background: var(--ground-2); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.metric {
  padding: 32px 30px;
  border-left: 1px solid var(--line-soft);
}
.metric:first-child { border-left: none; }

.metric-value {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: -.02em;
}

.metric-label { margin-top: 7px; font-size: 13.5px; color: var(--ink-dim); }

/* --------------------------------------------------------------- section */

section.band { padding: 96px 0; }
section.band + section.band { border-top: 1px solid var(--line-soft); }

.section-head { max-width: var(--measure); margin: 0 0 46px; }

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-head p { margin: 0; color: var(--ink-dim); font-size: 17px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-reverse .split-copy { order: 2; }

.split-copy h2 { font-size: clamp(26px, 3.2vw, 36px); }
.split-copy p { color: var(--ink-dim); margin: 0 0 16px; max-width: 46ch; }
.split-copy p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- parse */

/* The one thing only this product can show: a dealer's line, and what the
   app reads out of it. */
.parse {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 36px;
}

.parse-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}

.parse-raw {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
  word-break: break-word;
}

.parse-raw .dealer { color: var(--ink-faint); }
.parse-raw mark { background: rgba(199, 164, 102, .2); color: var(--gold-light); border-radius: 2px; padding: 0 2px; }

.parse-arrow { color: var(--gold-deep); flex-shrink: 0; }

.parse-out { display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; margin: 0; }
.parse-out dt { font-size: 13px; color: var(--ink-faint); }
.parse-out dd {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  color: var(--ink);
}
.parse-out dd.is-price { color: var(--gold); }

/* The grouped row, drawn rather than screenshotted: crisp at any size, and
   it can be labelled in a way a picture cannot. */

.anatomy {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ground-2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px 18px;
  box-shadow: 0 30px 64px -30px rgba(0, 0, 0, .9), 0 0 80px -38px rgba(199, 164, 102, .32);
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.anatomy-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 2px 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}

.anatomy-rows { display: flex; flex-direction: column; }

.arow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 6px;
}
.arow:last-child { border-bottom: none; }

/* One row lit, so the eye knows where to start reading. */
.arow.is-lit {
  background: rgba(199, 164, 102, .06);
  box-shadow: inset 2px 0 0 var(--gold);
  padding-inline: 12px 2px;
}

.arow-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.arow-name { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.arow-sub { font-size: 12px; color: var(--ink-dim); }
.arow-range { font-size: 15.5px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.arow-chev { color: #4E555E; }

.anatomy-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.anatomy-foot .mono { color: var(--ink); font-size: 12.5px; }

@media (max-width: 480px) {
  .anatomy { padding: 16px 16px 14px; }
  .arow { grid-template-columns: 1fr auto; gap: 10px; }
  .arow-chev { display: none; }
  .arow-name { font-size: 15px; }
  .arow-range { font-size: 14.5px; }
  .anatomy-legend { font-size: 9px; letter-spacing: .1em; }
}

/* -------------------------------------------------------------- features */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}

.card { background: var(--ground-2); padding: 30px 30px 34px; }
.card h3 { font-size: 17px; font-weight: 600; margin: 0 0 9px; letter-spacing: -.005em; }
.card p { margin: 0; color: var(--ink-dim); font-size: 15px; }

.card-index {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------- cta */

.closer { position: relative; padding: 104px 0; overflow: hidden; text-align: center; }

.closer::before {
  content: "";
  position: absolute;
  inset: auto 50% -60% auto;
  transform: translateX(50%);
  width: 820px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(199, 164, 102, .14) 0%, transparent 66%);
  pointer-events: none;
}

.closer .wrap { position: relative; z-index: 1; }
.closer h2 { max-width: 18ch; margin-inline: auto; }
.closer p { color: var(--ink-dim); max-width: 46ch; margin: 0 auto 30px; }
.closer .cta-row { justify-content: center; }

/* ----------------------------------------------------------------- prose */

.page-head { padding: 74px 0 40px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.updated {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: .05em;
  margin: 0;
}

/* The section keeps the page gutter so its left edge lines up with the nav,
   the page head and the footer; the measure is capped on the text itself. */
.prose { padding: 50px 0 88px; }
.prose h2,
.prose h3,
.prose p,
.prose ul,
.prose .company { max-width: var(--measure); }
.prose h2 { font-size: 23px; margin: 42px 0 12px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink-dim); }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; color: var(--ink-dim); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }

.company {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
  margin: 0 0 40px;
  max-width: var(--measure);
}

.company dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 13px 24px; }
.company dt { color: var(--ink-faint); font-size: 13.5px; }
.company dd { margin: 0; font-size: 15px; }
.company dd.legal-name { font-weight: 600; letter-spacing: .015em; color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.footer { border-top: 1px solid var(--line-soft); padding: 54px 0 60px; background: var(--ground-2); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer address { font-style: normal; color: var(--ink-dim); font-size: 14px; line-height: 1.85; }
.footer .legal-name { color: var(--ink); font-weight: 600; letter-spacing: .015em; }

.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: var(--ink-dim); }
.footer-links a:hover { color: var(--gold); }

.copyright {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* ---------------------------------------------------------------- reveal */

/* Content is visible by default. The script opts sections into the reveal
   only when it runs, so a page with no JS still reads normally. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .hero { padding: 68px 0 76px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .parse { grid-template-columns: 1fr; gap: 24px; }
  .parse-arrow { transform: rotate(90deg); justify-self: start; }
}

@media (max-width: 620px) {
  .wrap { width: min(1120px, 100% - 32px); }
  section.band { padding: 68px 0; }
  .closer { padding: 78px 0; }
  .metric { padding: 26px 22px; border-left: none; border-top: 1px solid var(--line-soft); }
  .metric:first-child { border-top: none; }
  .company dl { grid-template-columns: 1fr; gap: 4px 0; }
  .company dt { margin-top: 15px; }
  .company dt:first-child { margin-top: 0; }
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-inner { gap: 14px; }
  /* DEALERSPRO set at 0.13em is wider than a sentence-case wordmark, and at
     390px the lockup plus four nav links overran the viewport by 12px. The
     lockup shrinks as a unit so its internal proportions survive. */
  .wordmark { gap: 9px; font-size: 13px; }
  .wordmark .mark { width: 21px; height: 21px; }
}

/* Below 360px the four nav links alone want 195px, so no amount of shrinking
   the wordmark makes the row fit. The mark is designed to stand alone — it is
   the app icon — so the name drops to screen readers only rather than being
   set at a size nobody can read. Hidden by clip, not display:none, so it is
   still announced and still the link's accessible name. */
@media (max-width: 359px) {
  .wordmark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
  .parse { padding: 26px 22px; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { width: 100%; }
}
