/*
 * landing/static/styles.css — the marketing site's whole stylesheet.
 *
 * ⚠ The token block below is COPIED from `frontend/src/index.css`, which is the
 * source of truth.  This site is a separate container on a separate port and
 * cannot import from the SPA build, so the values are duplicated deliberately.
 * If a token changes in the app, change it here too — a landing page whose teal
 * is one shade off the product it sells reads as a different company.
 *
 * Four rules carried over from `docs/archive/design/INSTRUMENT-RETHEME.md`,
 * because they are what makes this page look like the product rather than like
 * a template:
 *
 *   1. Body is 14.5px, not 16.  A 16px marketing page beside a 14.5px app reads
 *      as two products.
 *   2. Monospace is a LABEL and DATA face — headings, eyebrows, figures — and
 *      never sets a paragraph.  The moment mono sets body copy the "instrument"
 *      read becomes "spreadsheet".
 *   3. Corners stay sharp: 2–4px, never a pill.  Rounded chrome reads as
 *      consumer app-store, which works against a measurement-tool read.
 *   4. Signal (the teal) marks interactive and active state ONLY.  Status keeps
 *      good/warn/bad so that a status read survives a viewer who cannot
 *      distinguish teal from grey.
 *
 * There is no illustration on this page.  The ruler-tick `repeating-linear-
 * gradient` is the entire decorative vocabulary the app permits, and it is the
 * entire decorative vocabulary here.
 */

/* ─────────────────────────────  TOKENS  ─────────────────────────── */

:root {
  --ink: #10171a;
  --ink-soft: #55655f;
  --ink-faint: #96a49f;
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --paper-sunken: #f3f6f5;
  --line: #e6ebe9;
  --line-strong: #cad5d1;
  --accent: #0f9d89;
  --accent-ink: #ffffff;
  --accent-glow: rgba(15, 157, 137, 0.13);
  --good: #227a4d;
  --good-bg: #e3f0e7;
  --warn: #966915;
  --warn-bg: #f6ecd7;
  --bad: #a8362a;
  --bad-bg: #f8e4df;
  --neutral: #5c6b68;
  --neutral-bg: #eef2f0;
  --shadow: 0 1px 2px rgba(16, 23, 26, 0.04), 0 10px 24px rgba(16, 23, 26, 0.05);
  color-scheme: light;
}

/* Dark is emitted twice on purpose: once for the OS preference (the default,
 * where no attribute is set) and once for an explicit `data-theme="dark"`, so
 * a future toggle wins in both directions.  Mirrors the SPA. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #dde5e3;
    --ink-soft: #90a29e;
    --ink-faint: #56645f;
    --paper: #0b0f11;
    --paper-raised: #12181a;
    --paper-sunken: #060909;
    --line: #1e2726;
    --line-strong: #2c3937;
    --accent: #3fe8cd;
    --accent-ink: #04201a;
    --accent-glow: rgba(63, 232, 205, 0.14);
    --good: #4fc98a;
    --good-bg: #10261c;
    --warn: #e0b04a;
    --warn-bg: #2b2311;
    --bad: #e07567;
    --bad-bg: #2b1714;
    --neutral: #8fa39e;
    --neutral-bg: #1a2422;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 32px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #dde5e3;
  --ink-soft: #90a29e;
  --ink-faint: #56645f;
  --paper: #0b0f11;
  --paper-raised: #12181a;
  --paper-sunken: #060909;
  --line: #1e2726;
  --line-strong: #2c3937;
  --accent: #3fe8cd;
  --accent-ink: #04201a;
  --accent-glow: rgba(63, 232, 205, 0.14);
  --good: #4fc98a;
  --good-bg: #10261c;
  --warn: #e0b04a;
  --warn-bg: #2b2311;
  --bad: #e07567;
  --bad-bg: #2b1714;
  --neutral: #8fa39e;
  --neutral-bg: #1a2422;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 32px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ──────────────────────────  FOUNDATIONS  ───────────────────────── */

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

/* No webfont, no CDN link, no `@font-face` — the app makes the same choice and
 * states the reason: a request to fonts.googleapis.com would be the only
 * external dependency on a page that otherwise has none.  Pretendard is named
 * so it is used where installed and degrades to the platform Korean face where
 * it is not. */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, "Pretendard Variable", "Apple SD Gothic Neo", "Noto Sans KR", system-ui,
    sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
.wordmark,
.eyebrow,
.display,
.mock-title,
.num {
  font-family:
    ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

a {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img,
svg {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  padding: 0.5rem 0.9rem;
  background: var(--paper-raised);
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.wrap-narrow {
  max-width: 46rem;
}

section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

/* The sunken band is how this page separates sections without inventing a
 * second shadow or a second card treatment. */
.band-sunken {
  background: var(--paper-sunken);
}

section > .wrap > .eyebrow {
  margin: 0 0 0.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  /* ⚠ 0.08em, not the 0.22em an English eyebrow would take.  Hangul syllables
   * are square blocks with their own internal spacing, so wide tracking does
   * not read as a tracked-out label — it reads as three separate words. */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 1.6rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 0.5rem;
}

/* The 장사왕 pattern, kept because it works: the heading asks the seller's own
 * question, the paragraph beneath answers it. */
h2.ask {
  font-size: 1.35rem;
  max-width: 26ch;
  padding-left: 0.9rem;
  border-left: 4px solid var(--ink);
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

.section-lede {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* ────────────────────────────  BUTTONS  ─────────────────────────── */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  filter: brightness(0.92);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 0.8rem;
  max-width: none;
}
.center-row {
  justify-content: center;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ─────────────────────────────  HEADER  ─────────────────────────── */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.4rem;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}

.anchors {
  display: flex;
  gap: 1.1rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar {
  display: none;
}
.anchors a {
  font-size: 0.83rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.anchors a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.head-end {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* The locale label is an endonym and is NOT translated — a reader who cannot
 * read the active language must still be able to find their way out. */
.lang-link {
  font-size: 0.83rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.lang-link:hover {
  color: var(--ink);
}

/* ──────────────────────────────  HERO  ──────────────────────────── */

.hero {
  border-top: none;
  padding: 3.5rem 0 0;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.display {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.1rem;
}

.lede {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* The ruler tick row — the only ornament the design record permits, lifted
 * from the app's login screen.  Every fifth tick is taller and in Signal. */
.ticks {
  height: 13px;
  width: 100%;
  max-width: 20rem;
  margin: 3rem auto 0;
  position: relative;
  background-image: repeating-linear-gradient(
    to right,
    var(--line-strong) 0,
    var(--line-strong) 1px,
    transparent 1px,
    transparent calc(100% / 20)
  );
  background-size: 100% 8px;
  background-position: left top;
  background-repeat: no-repeat;
}
.ticks::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--accent) 0,
    var(--accent) 1px,
    transparent 1px,
    transparent calc(100% / 4)
  );
  background-size: calc(100% / 5) 13px;
  background-position: left top;
  background-repeat: repeat-x;
}

/* ─────────────────────  MOCKS (drawn, not shot)  ────────────────── */

.mock {
  margin: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  border-radius: 3px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-sunken);
}

.mock-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mock-date {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* The mock is labelled as a mock inside its own header, not in a caption
 * several hundred pixels away.  An unlabelled figure on a marketing page is
 * read as a coverage claim. */
.mock-flag {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  color: var(--ink-faint);
  white-space: nowrap;
}

.mock-body {
  padding: 0.9rem 1rem 1rem;
}

.mock figcaption {
  padding: 0.55rem 1rem 0.8rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
}

.mock-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin: 0.7rem 0 0;
}

/* ────────────────────────  TAGS AND STATES  ─────────────────────── */

.tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
}
.tag-bad {
  color: var(--bad);
  background: var(--bad-bg);
}
.tag-warn {
  color: var(--warn);
  background: var(--warn-bg);
}
.tag-good {
  color: var(--good);
  background: var(--good-bg);
}
.tag-neutral {
  color: var(--neutral);
  background: var(--neutral-bg);
}

.alert-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.6rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--neutral);
  border-radius: 3px;
  background: var(--paper);
}
.alert-row:last-of-type {
  margin-bottom: 0;
}
.alert-row.bad {
  border-left-color: var(--bad);
}
.alert-row.warn {
  border-left-color: var(--warn);
}
.alert-row .alert-name {
  font-size: 0.86rem;
  font-weight: 700;
}
.alert-row .alert-move,
.alert-row .alert-foot {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.alert-move em {
  font-style: normal;
  font-weight: 700;
}
.up {
  color: var(--bad);
}
.down {
  color: var(--good);
}

/* ────────────────────────  LAYOUT PRIMITIVES  ───────────────────── */

.cols-3,
.cols-2,
.cards {
  display: grid;
  gap: 1.1rem;
}

.col h3 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}
.col p {
  color: var(--ink-soft);
  margin: 0;
}

.panel {
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1rem 1.1rem 1.1rem;
}
.panel-before {
  border-left: 4px solid var(--line-strong);
}
.panel-before h3 {
  color: var(--ink-soft);
}
.panel-after {
  border-left: 4px solid var(--accent);
}
.panel-rule {
  border-left: 4px solid var(--ink);
}
.panel-rule p {
  color: var(--ink-soft);
  margin: 0;
}

.marklist,
.ticklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.marklist li,
.ticklist li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.marklist li::before {
  content: "·";
  position: absolute;
  left: 0.3rem;
  font-weight: 700;
  color: var(--ink-faint);
}
.panel-after .marklist li::before {
  content: "→";
  left: 0;
  font-size: 0.8rem;
  color: var(--accent);
}
.ticklist {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 1px;
  background: var(--accent);
}

/* Feature rows alternate side; `feature-flip` puts the mock first on desktop
 * and leaves the source order alone, so the reading order stays copy-then-mock
 * for a screen reader and on narrow viewports. */
.feature {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

/* Copy above, full-measure mock below.  Used by the compare section, whose
 * grid needs every pixel of the measure. */
.feature-stack .feature-copy {
  margin-bottom: 2rem;
}
.feature-stack .ticklist {
  max-width: 62ch;
}

/* ───────────────────────────  MOCK PARTS  ───────────────────────── */

.calc {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.calc th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.35rem 0;
}
.calc td {
  text-align: right;
  padding: 0.35rem 0;
}
.calc .calc-total th,
.calc .calc-total td {
  border-top: 2px solid var(--ink);
  padding-top: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}
.calc .calc-actual td {
  color: var(--bad);
  font-weight: 700;
}
.calc .calc-actual .tag {
  margin-left: 0.4rem;
}

.markets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.markets li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.mkt-name {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 3.5rem;
}
.spark {
  flex: 1;
  height: 24px;
  min-width: 4rem;
}
.spark polyline {
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.mkt-move {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 4rem;
  text-align: right;
}

/* The divergence sentence is a warn-ruled note, not a verdict — it is telling
 * the seller that no single claim is available, which is a state, not a value. */
.verdict-split {
  margin: 0.9rem 0 0;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--warn);
  border-radius: 0 3px 3px 0;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.8rem;
  font-weight: 700;
}

.scroll-x {
  overflow-x: auto;
}

.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  white-space: nowrap;
}
.grid th {
  text-align: left;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--ink);
  padding: 0.3rem 0.5rem;
}
.grid td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.grid .r {
  text-align: right;
}
.grid tr.win td {
  background: var(--accent-glow);
}
/* Row-level state is expressed once, on the row — not by dimming one cell. */
.grid tr.out td {
  color: var(--ink-faint);
}

.axes {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.axes b {
  color: var(--ink);
}
.axes-miss {
  margin-top: 0.25rem;
  color: var(--ink-faint);
}

.winner-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.winner-label {
  color: var(--ink-soft);
  min-width: 8.5rem;
}
.winner-price {
  font-weight: 700;
}
.winner-who {
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* A failed read gets its own strip and its own words.  It is never folded into
 * the loss list and never rendered as an ordinary empty state. */
.failstrip {
  margin-top: 0.9rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--neutral);
  border-radius: 3px;
  background: var(--neutral-bg);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.failstrip b {
  display: block;
  color: var(--ink);
}

/* ─────────────────────────  FEATURE CARDS  ──────────────────────── */

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  border-radius: 3px;
  padding: 1rem 1.1rem 1.1rem;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 0.9rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0 !important;
}
.chips span {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ──────────────────────────────  FAQ  ───────────────────────────── */

.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  padding: 0.85rem 1.8rem 0.85rem 0;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ────────────────────────────  CLOSING  ─────────────────────────── */

.closing {
  border-top: 1px solid var(--line);
}
.center {
  text-align: center;
}
.center .ticks {
  margin-top: 0;
  margin-bottom: 1.8rem;
}
.center h2 {
  font-size: 1.6rem;
}
.center .lede,
.center p {
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
  margin-top: 2.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--neutral);
  border-radius: 3px;
  background: var(--neutral-bg);
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: left;
  max-width: none;
}

/* ─────────────────────────────  FOOTER  ─────────────────────────── */

.site-foot {
  background: var(--paper-sunken);
  border-top: 1px solid var(--line-strong);
  padding: 2.8rem 0 2rem;
}

.foot-grid {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.foot-brand .wordmark {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.foot-tagline {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 30ch;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}
.foot-col h2 {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.2rem;
}
.foot-col a {
  font-size: 0.83rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--accent);
}
/* ⚠ 개인정보처리방침 must be visually distinguished from 이용약관 — that is a
 * Korean legal requirement, not a style preference, and the two are never
 * collapsed into one "Legal" link. */
.foot-col a.strong {
  font-weight: 700;
  color: var(--ink);
}
.foot-hours {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.foot-legal {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
}
.foot-legal p {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  max-width: none;
}
.foot-copy {
  margin-top: 0.9rem !important;
}

/* An unfilled statutory field renders visibly rather than silently.  It cannot
 * reach production at all — `build.py --strict`, which the image build runs,
 * refuses to emit while one survives — so this style exists only for review. */
.unfilled {
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px dashed currentColor;
  border-radius: 2px;
  padding: 0 0.25rem;
}

/* ───────────────────────────  RESPONSIVE  ───────────────────────── */

/* One breakpoint, 62rem, matching the app's — so "desktop" means the same
 * thing on the marketing page and inside the product. */
@media (min-width: 62rem) {
  section {
    padding: 5rem 0;
  }
  .hero {
    padding-top: 4.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .display {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h2.ask {
    font-size: 1.55rem;
  }
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .feature-flip .feature-copy {
    order: 2;
  }
  .grid {
    font-size: 0.86rem;
  }
  .grid th,
  .grid td {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

@media (max-width: 40rem) {
  .head-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .anchors {
    order: 3;
    flex-basis: 100%;
    padding-bottom: 0.35rem;
  }
  .display {
    font-size: 1.7rem;
  }
  .winner-label {
    min-width: 6.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
  /* Anchor targets must clear the sticky header. */
  scroll-padding-top: 4.5rem;
}

@media print {
  .site-head,
  .cta-row,
  .ticks {
    display: none;
  }
}
