/* COPIED FROM the design-system export (components.css, rev3) — the component classes every skin uses. Edit tokens.css for values, not this. */

body {
  margin: 0;
  background: var(--ground-page);
  color: var(--ink);
  font: var(--weight-body) var(--text-body)/var(--lh-body) var(--font-utility);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--weight-display); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--text-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--text-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--text-h3); line-height: var(--lh-h3); }
p  { margin: 0; max-width: var(--measure); }
a  { color: var(--action); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Wordmark — text, not a logo. The credential always travels with it. */
.wordmark { font: var(--weight-display) 1.25rem/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.credential { font: 500 var(--text-credential)/1.3 var(--font-utility); letter-spacing: var(--tracking-credential); text-transform: uppercase; color: var(--ink-muted); }
/* ds: Header shell, as in the specimen .hdr */
.header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--gutter); border-bottom: var(--border-width) solid var(--border); }
.header__id { display: grid; gap: 2px; }

/* The one sentence that carries his name. The name is the only coloured text on the screen. */
.name-accent { color: var(--action); }
/* ds: the hero sentence — Public Sans 500 (hard rule 1) */
.hero-sentence { font: 500 1.375rem/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.hero-id { display: flex; align-items: flex-end; gap: var(--space-4); }
.hero-id > .portrait { flex: none; }

/* Primary button — the only filled use of --action. One per screen. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap-min); padding: 0 var(--space-5);
  border-radius: var(--radius); border: var(--border-width-control) solid transparent; font: var(--weight-strong) var(--text-body)/1 var(--font-utility);
  text-decoration: none; cursor: pointer; width: 100%; box-sizing: border-box; }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }
/* Secondary = Text Dave. Outline, never filled, so it cannot compete with the primary. */
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--border-control); }
@media (min-width: 750px) { .btn { width: auto; } }

/* Reassurance line — sits directly under a primary button, every time. */
.reassure { font-size: var(--text-small); line-height: var(--lh-small); color: var(--ink-muted); margin-top: var(--space-2); }

/* Quiz answer tile — step 1 lives in the hero. Big, full-width, tap-first. */
.tile { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--tap-tile); padding: 0 var(--space-5);
  background: var(--ground-card); border: var(--border-width-control) solid var(--border-control); border-radius: var(--radius);
  font: var(--weight-strong) var(--text-body)/1.25 var(--font-utility); color: var(--ink); text-align: left; width: 100%; box-sizing: border-box; cursor: pointer; }
/* Selected/hover state is INK, not green — green is reserved (rule 2). Resolved 2026-09-24. */
.tile::after { content: "→"; font-weight: 700; color: var(--ink-muted); } /* rev2: an affordance — this is a button, not a list row */
.tile:hover, .tile[aria-pressed="true"] { border-color: var(--ink); border-width: var(--border-width-selected); }
.tiles { display: grid; gap: var(--space-3); } /* ds */

/* Progress — honest: "2 of 5", plus a bar. */
.progress { height: 4px; background: var(--border); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); }
.quiz-progress { display: grid; gap: var(--space-3); } /* ds */

/* Portrait — small and contained. Never full-bleed. The caption bar binds the licence to the face. */
.portrait { position: relative; width: 9rem; aspect-ratio: 1; border-radius: 0; overflow: hidden; background: var(--border); } /* rev3: square. A photo is not a control */
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait__caption { position: absolute; inset: auto 0 0 0; padding: var(--space-2) var(--space-3); background: var(--ink); color: var(--on-ink);
  font: 500 var(--text-credential)/1.3 var(--font-utility); letter-spacing: 0.04em; text-transform: uppercase; } /* 13px — carries the NMLS, never below the legal floor */

/* Message bubble — ONLY for David's own words. Never a customer's, never a review. */
.bubble { display: inline-block; max-width: 22rem; padding: var(--space-3) var(--space-4); background: var(--ground-bubble); color: var(--ink);
  border-radius: var(--radius-bubble); border-bottom-left-radius: 6px; font-size: var(--text-body); line-height: 1.4; }
.bubble + .bubble { margin-top: var(--space-2); }
.bubbles { display: grid; justify-items: start; } /* ds */

/* Review card — a published Google review, verbatim, first name, linked to its source. Never a bubble. */
/* rev3: a review is set as type, not boxed. Large quote, then the source line. */
.review { padding: var(--space-4) 0; border-top: var(--border-width) solid var(--border); border-bottom: var(--border-width) solid var(--border); }
.review__stars { letter-spacing: 0.15em; color: var(--ink); font-size: var(--text-small); }
.review__quote { font: 500 1.375rem/1.35 var(--font-display); letter-spacing: -0.015em; margin-top: var(--space-3); max-width: 30rem; }
.review__source { font-size: var(--text-small); color: var(--ink-muted); margin-top: var(--space-3); }
.review__source a { color: var(--ink-muted); } /* the source link stays muted so his name is the only green text on the hero */

/* Tick list — three lines, no more. */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.ticks li { font-weight: 600; padding-left: var(--space-4); border-left: 3px solid var(--ink); } /* rev3: three short bold lines, no checkmarks */

/* Audience pill — names the reader before the headline does. Spokes only. */
.pill { display: inline-block; padding: 0; border: 0; font: 600 var(--text-credential)/1.4 var(--font-utility); letter-spacing: var(--tracking-credential); text-transform: uppercase; color: var(--ink-muted); } /* rev3: a line of small caps, not a pill */

/* Steps — "what happens after I tap". */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: var(--space-5); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-4); }
.steps li { grid-template-columns: 2.75rem 1fr; }
.steps li::before { content: counter(s); font: 700 2rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); } /* rev3: a bare numeral, not a circle */
.steps h3 + p { margin-top: var(--space-2); } /* ds */

/* Comparison table — one per ad angle. The honest column is not always "ours". */
.compare { width: 100%; border-collapse: collapse; font-size: var(--text-small); border-top: 2px solid var(--ink); } /* rev3: rules, not a rounded box */
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-bottom: var(--border-width) solid var(--border); }
.compare thead th { font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }

/* The note — where he says when NOT to do it. The only place --ground-note appears. */
.note { background: var(--ground-note); color: var(--ink-note); border-radius: 0; padding: var(--space-5) var(--gutter); margin: 0 calc(-1 * var(--gutter)); font-size: var(--text-body); line-height: var(--lh-body); } /* rev3: a full-bleed band, not a rounded card */
.note strong { color: var(--ink-note); }

/* Legal block — verbatim text, never restyled smaller than this. */
.legal { font-size: var(--text-legal); line-height: var(--lh-legal); color: var(--ink-muted); max-width: 46rem; }

/* Sticky action bar — mobile only, spokes and home. Contents: a SHORT-label primary ("See options") + the outline Text Dave.
   No reassurance line in the bar. Appears only once the hero's primary button has scrolled out of view, so one filled button
   is on screen at a time. Resolved 2026-09-24. */
.actionbar { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); padding: var(--space-3) var(--gutter);
  background: var(--ground-card); border-top: var(--border-width) solid var(--border); }
@media (min-width: 990px) { .actionbar { display: none; } }
.actionbar .btn { white-space: nowrap; } /* ds */
.actionbar[hidden] { display: none; } /* ds: hidden until the hero primary scrolls away */
