/* ==========================================================================
   Summit Intake Systems — styles.css
   Single shared stylesheet. No build step. No frameworks.
   Webfont: Inter Tight (Google Fonts, display=swap) to match start.summit-intake.com.
   Mobile-first. All media queries are min-width.

   HOW TO USE THIS FILE (for other page authors):
   - Do not add <style> blocks to pages. Add to this file only if a genuinely
     new component is needed, and follow the naming conventions below.
   - Layout order on every page:
       .skip-link > header.nav > main#main > footer.footer
   - Every band of content is a <section class="section">, and everything
     inside it is wrapped in a <div class="container">.
   - Alternate background treatment down the page using the section modifiers:
       .section            near-black (default)
       .section--surface   raised charcoal (cards/tables band)
       .section--tint      cool charcoal band
       .section--dark      deepest black band, gold accents (#060608)
   - Never hard-code a hex value in markup. Use the custom properties.

   CONTRAST: every text/background pair defined here clears WCAG AA 1.4.3
   (all >= 4.5:1, most >= 7:1), and every control boundary and focus ring
   clears 1.4.11 (>= 3:1). Ratios were computed, not eyeballed. If you
   introduce a new pair, compute it before you ship it.
   BRAND: #060608 + #C9A14A, matching start.summit-intake.com.
   Recomputed 2026-08-12 on the dark retheme. Lowest text pair and lowest
   non-text pair are printed by build/_work/retheme.py — rerun it if you edit tokens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* --- Color: light surfaces --- */
  --paper:        #0B0B0F;  /* default page background — warm, not startup-white */
  --surface:      #121218;  /* cards, tables, raised things */
  --tint:         #141319;  /* sand band, quiet emphasis */
  --tint-warm:    #1C160B;  /* rust-tinted band, used sparingly */
  --line:         #272730;  /* hairline borders on light */
  --line-strong:  #3C3C48;  /* decorative borders that need to be seen */
  --field-line:   #74747F;  /* form control boundary — 3.86:1 on white,
                               meets WCAG 1.4.11 non-text contrast. Decorative
                               --line-strong is only 1.84:1 and must not be
                               used as the sole boundary of an input. */

  /* --- Color: ink --- */
  --ink:          #F2F0EC;  /* body + headings on light  (16.4:1 on paper) */
  --ink-muted:    #A8A6A2;  /* secondary text on light   (6.1:1 on paper)  */

  /* --- Color: dark band --- */
  --steel:        #060608;  /* dark section background */
  --steel-2:      #131319;  /* raised card inside a dark section */
  --steel-line:   #2B2B34;  /* borders inside a dark section */
  --on-steel:     #F2F0EC;  /* text on dark            (14.8:1) */
  --on-steel-mut: #A8A6A2;  /* secondary text on dark   (8.9:1) */

  /* --- Color: accent (rust — reads as primer, red-oxide, work truck) --- */
  --rust:         #C9A14A;  /* accent on light: links, primary button bg */
  --rust-deep:    #E0B95F;  /* hover/active */
  --amber:        #C9A14A;  /* accent on dark bands only (7.0:1 on steel) */
  --pine:         #6FC59A;  /* checkmarks, "yes" states (7.6:1 on paper) */

  /* --- Focus --- */
  --focus:        #8FD0FF;
  --focus-on-dark:#8FD0FF;

  /* --- Type --- */
  --font: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs:   0.8125rem;  /* 13px — citations, footnotes */
  --fs-sm:   0.9375rem;  /* 15px — small print, badges */
  --fs-base: 1.0625rem;  /* 17px — body */
  --fs-md:   1.1875rem;  /* 19px — large body */
  --fs-lede: clamp(1.1875rem, 1.05rem + 0.7vw, 1.4375rem);
  --fs-h4:   clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3:   clamp(1.25rem,  1.15rem + 0.6vw, 1.5rem);
  --fs-h2:   clamp(1.625rem, 1.35rem + 1.4vw, 2.25rem);
  --fs-h1:   clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-stat: clamp(2.25rem, 1.7rem + 2.6vw, 3.25rem);

  --lh-tight: 1.12;
  --lh-snug:  1.3;
  --lh-body:  1.6;

  --tracking-eyebrow: 0.09em;

  /* --- Spacing (4px base) --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5.5rem;

  --section-y: var(--sp-8);        /* vertical rhythm, grows at md */
  --container: 68rem;              /* 1088px max content width */
  --container-narrow: 46rem;       /* prose column */

  /* --- Radius --- */
  --r-sm: 3px;
  --r:    5px;
  --r-lg: 8px;
  --r-pill: 999px;

  /* --- Shadow (restrained — this is not a floating-card site) --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow:    0 2px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.6);

  /* --- Misc --- */
  --border: 1px solid var(--line);
  --border-strong: 1px solid var(--line-strong);
}

@media (min-width: 48em) {
  :root { --section-y: var(--sp-10); }
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: var(--lh-tight);
  font-weight: 750;
  letter-spacing: -0.017em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: 0; font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--rust-deep); text-decoration-thickness: 2px; }

strong, b { font-weight: 700; }
small { font-size: var(--fs-sm); }

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

hr {
  border: 0;
  border-top: var(--border);
  margin: var(--sp-7) 0;
}

ul, ol { padding-left: 1.15em; margin: 0 0 var(--sp-4); }
li { margin-bottom: var(--sp-2); }

/* Focus — always visible, never removed. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.section--dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--focus-on-dark);
}

/* Utility: screen-reader-only text (use for icon-only context, skip links). */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* .skip-link — first element in <body>, targets #main. */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -10rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 650;
}
.skip-link:focus { top: var(--sp-4); color: var(--paper); }

/* --------------------------------------------------------------------------
   3. LAYOUT — .container, .section
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow { max-width: var(--container-narrow); }

@media (min-width: 48em) {
  .container { padding-inline: var(--sp-6); }
}

.section {
  padding-block: var(--section-y);
  background: var(--paper);
}
.section--surface { background: var(--surface); }
.section--tint    { background: var(--tint); }
.section--tight   { padding-block: var(--sp-7); }

/* Dark contrast band. Inverts all descendant text tokens. */
.section--dark {
  background: var(--steel);
  color: var(--on-steel);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--on-steel); }
.section--dark a { color: var(--amber); }
.section--dark a:hover { color: #E0B95F; }
.section--dark .eyebrow { color: var(--amber); }
.section--dark .lede,
.section--dark .muted { color: var(--on-steel-mut); }
.section--dark .card {
  background: var(--steel-2);
  border-color: var(--steel-line);
  color: var(--on-steel);
  box-shadow: none;
}
.section--dark .cite { color: var(--on-steel-mut); }
.section--dark hr { border-top-color: var(--steel-line); }

/* .section-head — the standard eyebrow + h2 + lede stack at the top of a band. */
.section-head { max-width: 42rem; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------------------
   4. TEXT COMPONENTS — .eyebrow, .lede, .muted, .cite, .prose
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--rust);
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--ink-muted);
  margin-bottom: var(--sp-5);
  text-wrap: pretty;
}

.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-sm); }

/* .cite — inline source credit printed next to a statistic. Required on every
   stat. Renders as small caps-ish muted text; keep the source in the markup,
   never in a tooltip. */
.cite {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--ink-muted);
  font-style: normal;
}
.cite--inline { display: inline; margin: 0; }

/* .prose — long-form body column (privacy, terms, sms-terms, article copy). */
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-6); }
.prose > *:first-child { margin-top: 0; }
.prose li { line-height: var(--lh-body); }

/* --------------------------------------------------------------------------
   5. BUTTONS — .btn, .btn-primary, .btn-ghost
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 3rem;
  padding: var(--sp-3) var(--sp-5);
  border: 2px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn-primary {
  background: var(--rust);
  border-color: var(--rust);
  color: #060608;            /* 10.4:1 on gold */
}
.btn-primary:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
  color: #060608;
  text-decoration: none;
}

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

/* Button variants inside a dark band */
.section--dark .btn-primary,
.footer .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #060608;            /* 8.37:1 on gold */
}
.section--dark .btn-primary:hover { background: #E0B95F; border-color: #E0B95F; color: #060608; }
.section--dark .btn-ghost {
  border-color: var(--steel-line);
  color: var(--on-steel);
}
.section--dark .btn-ghost:hover { background: var(--steel-2); border-color: var(--on-steel-mut); color: var(--on-steel); }

.btn-block { display: flex; width: 100%; }

/* .btn-row — the standard CTA pair. Stacks on mobile. */
.btn-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
}
@media (min-width: 30em) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .btn-block { display: inline-flex; width: auto; }
}

/* --------------------------------------------------------------------------
   6. NAV — .nav
   Markup: <header class="nav"> … </header>. Wraps to two rows at 390px.
   No JavaScript, no hamburger.
   -------------------------------------------------------------------------- */
.nav {
  background: var(--surface);
  border-bottom: var(--border);
  position: relative;
  z-index: 10;
}
.nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-4);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* tap target floor */
  gap: var(--sp-3);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-right: auto;
}
.nav__brand:hover { color: var(--ink); }
.nav__mark {
  width: 2rem; height: 2rem;
  flex: none;
}
.nav__brand-text { display: block; }
.nav__brand-sub {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  order: 3;
}
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* tap target floor */
  padding-block: var(--sp-2);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: var(--rust); border-bottom-color: var(--line-strong); }
.nav__list a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.nav__cta { display: none; }

/* 68em, not 62em: the one-line nav needs ~1057px of inner width, so the
   horizontal layout must not engage until the viewport can actually hold it.
   Between 62em and 68em the nav keeps the stacked brand-row + link-row layout,
   which is the same clean layout used on tablet. */
@media (min-width: 68em) {
  /* The nav row must fit brand + 6 links + CTA on ONE line inside --container
     (68rem = 1088px). Measured budget at 1088px:
        padding 64 + brand 230 + gap 24 + links 486 + gap 24 + CTA 230 = 1058
     ~30px of headroom. Link size stays --fs-sm at every breakpoint so the
     budget holds. Do NOT add a seventh link, widen these gaps, or lengthen the
     CTA label without re-measuring: the row wraps and orphans the last item,
     which is what this rule exists to prevent. */
  .nav__list { width: auto; order: 2; gap: var(--sp-3); flex: 0 1 auto; }
  .nav__cta {
    display: inline-flex;
    order: 3;
    flex: none;
    padding-inline: var(--sp-4);
  }
  .nav__inner { flex-wrap: nowrap; gap: var(--sp-5); }
  .nav__brand { flex: none; }
}

/* --------------------------------------------------------------------------
   7. HERO — .hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--paper);
  border-bottom: var(--border);
  padding-block: var(--sp-8) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* thin rust rule across the top of the page — a stripe, not a gradient */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--rust);
}
.hero__inner { position: relative; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero .lede { max-width: 40rem; }
.hero__aside { margin-top: var(--sp-7); }
.hero__note {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

@media (min-width: 62em) {
  .hero { padding-block: var(--sp-10) var(--sp-9); }
  .hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--sp-9);
    align-items: start;
  }
  .hero__aside { margin-top: 0; }
}

/* .hero--dark — optional inverted hero for interior pages. */
.hero--dark {
  background: var(--steel);
  color: var(--on-steel);
  border-bottom: 0;
}
.hero--dark .lede, .hero--dark .hero__note { color: var(--on-steel-mut); }
.hero--dark .eyebrow { color: var(--amber); }
.hero--dark a { color: var(--amber); }

/* --------------------------------------------------------------------------
   8. GRIDS — .grid-2, .grid-3
   Mobile: one column. Use the modifiers only where noted.
   -------------------------------------------------------------------------- */
.grid-2, .grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
/* Grid items default to min-width:auto, so one wide child (a nowrap URL, a
   .table-wrap holding a 32rem table) can push a track past the viewport and
   produce horizontal scroll on narrow phones. Let tracks shrink; the scroll
   containers inside handle their own overflow. */
.grid-2 > *, .grid-3 > * { min-width: 0; }
@media (min-width: 40em) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
}
@media (min-width: 62em) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .grid-2 { gap: var(--sp-6); }
}
/* .grid-2--wide-first: 60/40 split at desktop (copy + supporting panel). */
@media (min-width: 62em) {
  .grid-2--wide-first { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   9. CARD — .card (+ .tile, a card that is a link)
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--sp-3); }
.card__meta {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: var(--border);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.card--flush { padding: 0; overflow: hidden; }
.card--accent { border-left: 4px solid var(--rust); }

/* .tile — a whole card that is one link. Use for the six "what's included"
   tiles. Markup: <a class="tile" href="…"><span class="tile__num">01</span>
   <h3>…</h3><p>…</p><span class="tile__go">…</span></a> */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.tile:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.tile h3 { margin-bottom: var(--sp-2); }
.tile p { color: var(--ink-muted); margin-bottom: var(--sp-4); }
.tile__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--rust);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.04em;
}
.tile__go {
  margin-top: auto;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tile:hover .tile__go { color: var(--rust-deep); }

/* --------------------------------------------------------------------------
   10. STAT + CITE — .stat
   A statistic block. Every .stat MUST contain a .cite naming the source
   inline. No statistic ships without its citation.
   -------------------------------------------------------------------------- */
.stat {
  padding: var(--sp-5);
  background: var(--surface);
  border: var(--border);
  border-left: 4px solid var(--rust);
  border-radius: var(--r);
}
.stat__num {
  display: block;
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.stat__label {
  display: block;
  font-size: var(--fs-base);
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.section--dark .stat {
  background: var(--steel-2);
  border-color: var(--steel-line);
  border-left-color: var(--amber);
}
.section--dark .stat__num { color: var(--amber); }
.section--dark .stat__label { color: var(--on-steel); }

/* --------------------------------------------------------------------------
   11. CALLOUT — .callout
   A boxed aside: the guarantee, a warning, an honest caveat.
   -------------------------------------------------------------------------- */
.callout {
  background: var(--tint-warm);
  border: 1px solid #3A2F16;
  border-left: 5px solid var(--rust);
  border-radius: var(--r);
  padding: var(--sp-5);
}
.callout > :last-child { margin-bottom: 0; }
.callout h3 { margin-bottom: var(--sp-3); }
.callout--quiet {
  background: var(--tint);
  border-color: var(--line-strong);
  border-left-color: var(--ink-muted);
}
.section--dark .callout {
  background: var(--steel-2);
  border-color: var(--steel-line);
  border-left-color: var(--amber);
  color: var(--on-steel);
}

/* --------------------------------------------------------------------------
   12. CHECKLIST — .checklist (and .checklist--no for the "not for you" list)
   Markup: <ul class="checklist"><li>…</li></ul>. Marks are CSS, not images.
   -------------------------------------------------------------------------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
}
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.32em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 3px solid var(--pine);
  border-bottom: 3px solid var(--pine);
  transform: rotate(-45deg);
}
.checklist--no li::before {
  content: "";
  top: 0.5em;
  left: 0.1rem;
  width: 0.85rem;
  height: 0;
  border-left: 0;
  border-bottom: 3px solid var(--ink-muted);
  transform: none;
}
.section--dark .checklist li::before { border-color: var(--amber); }
.section--dark .checklist--no li::before { border-left: 0; border-bottom-color: var(--on-steel-mut); }

/* --------------------------------------------------------------------------
   13. BADGE — .badge
   Small label. Use for factual tags ("No contract", "7–10 business days").
   Never use for a trust seal or an award. There are none.
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.3rem var(--sp-3);
  border-radius: var(--r-pill);
  background: var(--tint);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 650;
  line-height: 1.35;
}
.badge--accent { background: var(--tint-warm); border-color: #3A2F16; color: var(--rust); }
.badge--live {
  background: #10241A;
  border-color: #274F3A;
  color: var(--pine);
}
.section--dark .badge {
  background: var(--steel-2);
  border-color: var(--steel-line);
  color: var(--on-steel);
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.badge-row li { margin: 0; }

/* --------------------------------------------------------------------------
   14. FAQ — .faq
   Markup: <div class="faq"><details><summary>Q</summary><p>A</p></details>…</div>
   Native disclosure — no JavaScript.
   -------------------------------------------------------------------------- */
.faq {
  border-top: var(--border-strong);
  max-width: var(--container-narrow);
}
.faq details {
  border-bottom: var(--border-strong);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rust);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--rust); }
.faq__a {
  padding: 0 0 var(--sp-5);
  max-width: 42rem;
  color: var(--ink-muted);
}
.faq__a > :last-child { margin-bottom: 0; }
.section--dark .faq { border-top-color: var(--steel-line); }
.section--dark .faq details { border-bottom-color: var(--steel-line); }
.section--dark .faq summary { color: var(--on-steel); }
.section--dark .faq summary::after { color: var(--amber); }
.section--dark .faq__a { color: var(--on-steel-mut); }

/* --------------------------------------------------------------------------
   15. TABLE — .table
   Wrap in <div class="table-wrap"> so it scrolls instead of breaking at 390px.
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
  min-width: 32rem;
}
.table caption {
  text-align: left;
  padding: var(--sp-4) var(--sp-5) 0;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.table th, .table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  border-bottom: var(--border);
  vertical-align: top;
}
.table thead th {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: var(--tint);
  border-bottom: var(--border-strong);
}
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table th[scope="row"] { font-weight: 700; }
.table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --------------------------------------------------------------------------
   16. STEPS — .steps / .step  (numbered process, used by "How it works")
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 62em) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .steps--2 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
}
.step {
  counter-increment: step;
  padding-top: var(--sp-5);
  border-top: 3px solid var(--rust);
  margin: 0;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rust);
  margin-bottom: var(--sp-2);
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-muted); margin-bottom: 0; }
.section--dark .step { border-top-color: var(--amber); }
.section--dark .step::before { color: var(--amber); }
.section--dark .step p { color: var(--on-steel-mut); }

/* --------------------------------------------------------------------------
   17. PRICE BLOCK — .price (pricing page + home guarantee area)
   -------------------------------------------------------------------------- */
.price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}
.price__amount {
  font-size: var(--fs-stat);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__unit { font-size: var(--fs-md); color: var(--ink-muted); font-weight: 600; }
.section--dark .price__unit { color: var(--on-steel-mut); }

/* --------------------------------------------------------------------------
   18. CTA BAND — .cta-band (closing call to action on every page)
   -------------------------------------------------------------------------- */
.cta-band { text-align: left; }
.cta-band .container { max-width: var(--container-narrow); }
.cta-band h2 { margin-bottom: var(--sp-4); }
.cta-band .lede { margin-bottom: var(--sp-6); }

/* --------------------------------------------------------------------------
   19. FOOTER — .footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--steel);
  color: var(--on-steel-mut);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-sm);
}
.footer a { color: var(--on-steel); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: var(--amber); }
/* .footer a (0,1,1) outranks .btn (0,1,0), so a button in the footer was
   rendering with an underline. Restore button treatment explicitly. */
.footer a.btn { text-decoration: none; }
.footer a.btn:hover { text-decoration: none; }
.footer .btn-primary:hover { color: #060608; }
.footer h2, .footer h3 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--on-steel-mut);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--sp-6); }
}
.footer__brand {
  color: var(--on-steel);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: var(--sp-3); }
/* Footer nav links carry a 44px tap target. The 12px li margin is folded into
   the link box so vertical rhythm is unchanged but the target is real. Scoped
   to the <nav> column — the "offer" column is plain text and keeps its margin. */
.footer nav .footer__list li { margin-bottom: 0; }
.footer nav .footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--steel-line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
@media (min-width: 48em) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__legal li { margin: 0; }

/* --------------------------------------------------------------------------
   20. FORM — used on /contact.html. Every call to action is a form.
   -------------------------------------------------------------------------- */
.form { max-width: 34rem; }
.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.field__hint {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-2);
}
.input, .textarea, .select {
  width: 100%;
  min-height: 3rem;
  padding: var(--sp-3) var(--sp-4);
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--field-line);
  border-radius: var(--r);
}
.textarea { min-height: 8rem; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #8B8B95; }  /* 5.32:1 on --surface */
.checkbox-field {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-5);
}
.checkbox-field input {
  width: 1.5rem; height: 1.5rem;   /* 24px — WCAG 2.2 target size floor */
  margin-top: 0.1rem;
  flex: none;
  accent-color: var(--rust);
}
.checkbox-field label { font-weight: 400; font-size: var(--fs-sm); margin: 0; }

/* --------------------------------------------------------------------------
   21. SMALL HELPERS
   -------------------------------------------------------------------------- */
.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.rule { border: 0; border-top: var(--border-strong); margin: var(--sp-7) 0; }

/* Print: keep it readable if someone prints the pricing page. */
@media print {
  .nav, .footer, .skip-link, .cta-band { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .faq details { display: block; }
  .faq__a { display: block !important; }
}

/* --------------------------------------------------------------------------
   22. BROWSER FRAME — .browser
   Used on /our-work.html. There are no screenshots or image files anywhere on
   this site. This is a CSS-drawn window frame around real text — an address
   bar and a block of copy — not a picture of a page. Do not use it to imply
   a screenshot exists.
   Markup:
     <div class="browser">
       <div class="browser__bar">
         <span class="browser__dots" aria-hidden="true"><span></span>…</span>
         <span class="browser__url">https://example.com</span>
       </div>
       <div class="browser__body"> … real content … </div>
     </div>
   -------------------------------------------------------------------------- */
.browser {
  background: var(--surface);
  border: var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--tint);
  border-bottom: var(--border-strong);
}
.browser__dots { display: flex; gap: var(--sp-2); flex: none; }
.browser__dots span {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--r-pill);
  background: var(--line-strong);
}
.browser__url {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem var(--sp-3);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink-muted);   /* 6.5:1 on white */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__body { padding: var(--sp-5); }
.browser__body > :last-child { margin-bottom: 0; }
.section--dark .browser {
  background: var(--steel-2);
  border-color: var(--steel-line);
  box-shadow: none;
}
.section--dark .browser__bar {
  background: var(--steel);
  border-bottom-color: var(--steel-line);
}
.section--dark .browser__url {
  background: var(--steel-2);
  border-color: var(--steel-line);
  color: var(--on-steel-mut);   /* 8.2:1 on --steel-2 */
}
.section--dark .browser__dots span { background: var(--steel-line); }
