/* ============================================================================
   TrustGetter — marketing site styles.

   Google design language, same as the app. See DESIGN.md.

   Consumes tokens.css exclusively: no literal colour value belongs in this
   file. The base rules (type roles, buttons, cards) intentionally mirror the
   dashboard's styles.css treatments so the two surfaces are indistinguishable
   — a customer moving from trustgetter.com to app.trustgetter.com should not
   feel a seam. They are re-stated here rather than imported because the
   dashboard stylesheet is a 2,000-line app stylesheet; the values, which are
   the part that could actually drift, come from the shared tokens.
   ========================================================================= */

:root {
  /* ── Marketing display sizes ───────────────────────────────────────────
     The token scale tops out at 28px, which is correct for an admin surface
     and far too quiet for a landing page headline. These are the only sizes
     added here, and they keep the rule that matters: weight 400 and zero
     tracking. Large-and-light is the most Google-looking typographic
     decision in the system, and shouting it in 700 would break the language. */
  --type-hero-size: 52px;
  --type-hero-lh: 60px;
  --type-section-size: 34px;
  --type-section-lh: 42px;

  --container-text: 1040px; /* the app's content column */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Thin, quiet scrollbars — matching the app. */
* { scrollbar-width: thin; scrollbar-color: var(--color-hairline) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-hairline);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-stone); }

body {
  font-family: var(--font-sans);
  font-size: var(--type-body-lg-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-lg-lh);
  letter-spacing: var(--type-tracking);
  background: var(--color-canvas);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-xs);
  z-index: 100;
  background: var(--color-canvas);
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
}
.skip-link:focus { left: var(--space-md); }

/* ── Type roles ────────────────────────────────────────────────────────── */
.t-hero {
  font-size: var(--type-hero-size);
  font-weight: 400;
  line-height: var(--type-hero-lh);
  color: var(--color-ink-deep);
}
.t-section {
  font-size: var(--type-section-size);
  font-weight: 400;
  line-height: var(--type-section-lh);
  color: var(--color-ink-deep);
}
.t-display {
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-lh);
  color: var(--color-ink-deep);
}
.t-headline {
  font-size: var(--type-headline-size);
  font-weight: var(--type-headline-weight);
  line-height: var(--type-headline-lh);
  color: var(--color-ink-deep);
}
.t-title {
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-lh);
  color: var(--color-ink-deep);
}
.t-body-lg { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); }
.t-body-sm { font-size: var(--type-body-size); line-height: var(--type-body-lh); }
.t-caption { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); }

.muted { color: var(--color-charcoal); }
.hint {
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-lh);
  color: var(--color-steel);
}
.lede {
  font-size: 20px;
  line-height: 30px;
  color: var(--color-charcoal);
  max-width: 62ch;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container--wide { max-width: var(--container-max); }

.section { padding: var(--space-section) 0; }
.section--tight { padding: var(--space-xxxl) 0; }
.section--soft { background: var(--color-surface-soft); }
.section--hairline { border-top: 1px solid var(--color-hairline-soft); }

.section-head { max-width: 62ch; margin-bottom: var(--space-xxl); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: var(--space-sm); color: var(--color-charcoal); }

.stack    { display: flex; flex-direction: column; gap: var(--space-md); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-lg); }
.row      { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.row--center { justify-content: center; }

/* Spacing utilities exist so no page needs a style attribute. The CSP does
   permit inline styles — the widget injects a <style> element into its shadow
   root, so 'unsafe-inline' has to stay in style-src — but that is a
   concession to the widget, not a licence for these pages to use it. */
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ── Buttons — pill-shaped, exactly the app's tiers ────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: inherit;
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-lh);
  letter-spacing: var(--type-tracking-wide);
  height: 40px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--motion-fast), border-color var(--motion-fast),
              box-shadow var(--motion-fast), color var(--motion-fast);
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.btn--cobalt { background: var(--color-primary); color: var(--color-on-primary); }
.btn--cobalt:hover { background: var(--color-primary-deep); box-shadow: var(--shadow-subtle); }

.btn--success { background: var(--color-success); color: var(--color-on-primary); }
.btn--success:hover { background: var(--color-success-deep); box-shadow: var(--shadow-subtle); }

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-hairline);
}
.btn--secondary:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-hairline);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding: 0 12px;
}
.btn--ghost:hover { background: var(--color-primary-soft); }

/* Marketing surfaces get one size up for the hero call to action. The app has
   no equivalent — every action there sits in a dense working UI. */
.btn--lg { height: 48px; padding: 0 32px; font-size: var(--type-body-lg-size); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-none);
}

/* ── Chips ─────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  height: 32px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-charcoal);
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
}
.chip--primary { background: var(--color-primary-soft); color: var(--color-primary-ink); }
.chip--success { background: var(--color-success-soft); color: var(--color-success-ink); }

/* ── The four-colour mark ──────────────────────────────────────────────── */
.brand-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: var(--radius-circle);
  background: conic-gradient(
    var(--g-red-500) 0 25%,
    var(--g-yellow-500) 0 50%,
    var(--g-green-500) 0 75%,
    var(--g-blue-500) 0
  );
}

/* ── Topbar ────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-hairline-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--topbar-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xxs) var(--space-xs);
  font-size: var(--type-headline-size);
  font-weight: 400;
  color: var(--color-ink-deep);
  border-radius: var(--radius-full);
}
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 500; }

.topbar-right { display: flex; align-items: center; gap: var(--space-lg); }
.nav { display: flex; align-items: center; gap: var(--space-xxs); }

.nav-link {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  color: var(--color-charcoal);
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-lh);
}
.nav-link:hover { background: var(--color-surface-alt); text-decoration: none; }
/* Google marks the current nav item with a blue tint, never a dark fill. */
.nav-link--active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.nav-link--active:hover { background: var(--color-primary-soft); }

.topbar-actions { display: flex; align-items: center; gap: var(--space-xs); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-circle);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--color-surface-alt); }
.nav-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-ink);
  transition: transform var(--motion-medium), opacity var(--motion-fast);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ''; position: relative; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 4px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { top: -2px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after  { top: -4px; transform: rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: var(--space-section-lg) 0 var(--space-section); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-xxxl);
  align-items: center;
}
.hero h1 { margin-bottom: var(--space-lg); }
.hero .lede { margin-bottom: var(--space-xl); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-reassure {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--color-steel);
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
}
.hero-reassure span { display: inline-flex; align-items: center; gap: var(--space-xxs); }

/* ── The review-card mock ──────────────────────────────────────────────────
   A CSS mock-up, not a live widget: the marketing page must never fetch a
   customer's reviews to decorate itself. Same reasoning as the builder's
   template thumbnails. */
.mock {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-xxl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-panel);
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-hairline-soft);
  margin-bottom: var(--space-md);
}
.mock-score { display: flex; align-items: baseline; gap: var(--space-xs); }
.mock-score b { font-size: 28px; font-weight: 400; color: var(--color-ink-deep); }
.mock-reviews { display: grid; gap: var(--space-sm); }
.mock-review {
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}
.mock-review-top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  color: var(--color-on-primary);
  font-size: var(--type-body-size);
  font-weight: 500;
}
.mock-avatar--blue  { background: var(--color-primary); }
.mock-avatar--green { background: var(--color-success); }
.mock-avatar--red   { background: var(--color-critical); }
.mock-name { font-size: var(--type-body-size); font-weight: 500; color: var(--color-ink-deep); }
.mock-body { font-size: var(--type-body-size); line-height: var(--type-body-lh); color: var(--color-ink); }
.stars { color: var(--g-yellow-500); letter-spacing: 1px; font-size: var(--type-body-size); }

/* ── Feature grid ──────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: var(--space-xs); }
.feature p { color: var(--color-charcoal); font-size: var(--type-body-size); line-height: var(--type-body-lh); }

/* ── Steps ─────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); counter-reset: step; }
.step { position: relative; padding-top: var(--space-xxl); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: grid;
  place-items: center;
  font-size: var(--type-body-size);
  font-weight: 500;
}
.step h3 { margin-bottom: var(--space-xs); }
.step p { color: var(--color-charcoal); font-size: var(--type-body-size); line-height: var(--type-body-lh); }

/* ── Code well ─────────────────────────────────────────────────────────── */
.code-well {
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  color: var(--color-ink-deep);
  overflow-x: auto;
  white-space: pre;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-canvas);
}
.seg-btn {
  appearance: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  color: var(--color-charcoal);
  height: 38px;
  padding: 0 var(--space-lg);
  cursor: pointer;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--color-hairline); }
.seg-btn:hover { background: var(--color-surface-soft); }
.seg-btn[aria-pressed='true'] { background: var(--color-primary-soft); color: var(--color-primary); }
.seg-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); align-items: start; }

.plan {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
}
/* The recommended plan is marked with a blue border and tint — Google's
   selected-card pattern, the same one the builder uses for the active
   template. No dark fill, no scale transform. */
.plan--featured {
  border-color: var(--color-primary-hairline);
  background: var(--color-primary-soft);
}
.plan--featured .plan-features li { color: var(--color-ink); }

.plan-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); }
.plan-price { display: flex; align-items: baseline; gap: var(--space-xxs); }
.plan-price b { font-size: 36px; font-weight: 400; line-height: 44px; color: var(--color-ink-deep); }
.plan-price span { color: var(--color-charcoal); font-size: var(--type-body-size); }
.plan-tagline { color: var(--color-charcoal); font-size: var(--type-body-size); line-height: var(--type-body-lh); min-height: 40px; }

.plan-features { list-style: none; display: grid; gap: var(--space-xs); }
.plan-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--space-xs);
  align-items: start;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  color: var(--color-ink);
}
.plan-features svg { width: 16px; height: 16px; margin-top: 2px; color: var(--color-success); }
.plan-features li.is-absent { color: var(--color-steel); }
.plan-features li.is-absent svg { color: var(--color-stone); }

.plan .btn { width: 100%; margin-top: auto; }

.plan-loading, .plan-error { padding: var(--space-xl); text-align: center; }

/* Alert — pale tint, coloured icon, near-black text. Tinting the text was
   measured below AA. */
.alert {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
}
.alert--warning { background: var(--color-attention-soft); color: var(--color-attention-ink); }
.alert--info    { background: var(--color-primary-soft);   color: var(--color-primary-ink); }

/* ── Comparison table ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-hairline-soft); border-radius: var(--radius-xl); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: var(--type-body-size); }
table.compare th, table.compare td { padding: var(--space-sm) var(--space-md); text-align: left; }
table.compare thead th {
  font-weight: var(--type-label-weight);
  color: var(--color-ink-deep);
  border-bottom: 1px solid var(--color-hairline-soft);
}
table.compare tbody tr + tr td { border-top: 1px solid var(--color-hairline-soft); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare td:first-child { color: var(--color-charcoal); }
table.compare svg { width: 16px; height: 16px; vertical-align: middle; }
table.compare .is-yes { color: var(--color-success); }
table.compare .is-no  { color: var(--color-stone); }

/* ── Disclosure / FAQ ──────────────────────────────────────────────────────
   A bordered, full-width row with a rotating chevron, tinting blue when open.
   Plain underlined text read as a caption rather than a control. */
.faq-list { display: grid; gap: var(--space-sm); }

.disclosure {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-canvas);
}
.disclosure > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--type-body-lg-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-body-lg-lh);
  color: var(--color-ink-deep);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { background: var(--color-surface-soft); }
.disclosure > summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.disclosure[open] > summary { background: var(--color-primary-soft); color: var(--color-primary-ink); }
.disclosure-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  transition: transform var(--motion-medium);
}
.disclosure[open] .disclosure-chevron { transform: rotate(180deg); }
.disclosure-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  color: var(--color-charcoal);
  font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-lh);
}
.disclosure-body > * + * { margin-top: var(--space-sm); }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-xxl); align-items: start; }

.field { display: block; }
.field > span {
  display: block;
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  color: var(--color-ink-deep);
  margin-bottom: var(--space-xxs);
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-lh);
  color: var(--color-ink);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-sm);
  height: 48px;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.field textarea { height: auto; min-height: 120px; padding: var(--space-sm); resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--color-ink); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
/* Green, because it opens WhatsApp and because green already means "go" in
   this system. Deliberately our own --color-success rather than WhatsApp's
   brand green: a literal brand hex here would be both a colour outside the
   palette and the only hard-coded value in the stylesheet. */
.btn--whatsapp { background: var(--color-success); color: var(--color-on-primary); }
.btn--whatsapp:hover { background: var(--color-success-deep); box-shadow: var(--shadow-subtle); }
.btn--whatsapp svg { width: 18px; height: 18px; }

/* ── Legal / long-form prose ───────────────────────────────────────────── */
.prose { max-width: 76ch; }
.prose h2 {
  font-size: var(--type-headline-size);
  font-weight: var(--type-headline-weight);
  line-height: var(--type-headline-lh);
  color: var(--color-ink-deep);
  margin: var(--space-xl) 0 var(--space-sm);
}
.prose h3 {
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-lh);
  color: var(--color-ink-deep);
  margin: var(--space-lg) 0 var(--space-xs);
}
.prose p, .prose li { color: var(--color-ink); font-size: var(--type-body-lg-size); line-height: 26px; }
.prose p + p { margin-top: var(--space-sm); }
.prose ul, .prose ol { margin: var(--space-sm) 0 var(--space-sm) var(--space-lg); display: grid; gap: var(--space-xxs); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; font-size: var(--type-body-size); }
.prose th, .prose td { border: 1px solid var(--color-hairline-soft); padding: var(--space-xs) var(--space-sm); text-align: left; vertical-align: top; }
.prose th { font-weight: var(--type-label-weight); color: var(--color-ink-deep); background: var(--color-surface-soft); }

/* Placeholders the owner still has to fill in before launch. Loud on purpose:
   a legal page that quietly ships "[REGISTERED ADDRESS]" is worse than one
   that is obviously unfinished. */
.todo {
  background: var(--color-attention-soft);
  color: var(--color-attention-ink);
  border-radius: var(--radius-xs);
  padding: 0 var(--space-xxs);
  font-weight: 500;
}

/* ── Closing call to action ────────────────────────────────────────────── */
.cta-panel {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-hairline);
  border-radius: var(--radius-xxxl);
  padding: var(--space-xxxl);
  text-align: center;
}
.cta-panel p { margin: var(--space-sm) auto var(--space-lg); max-width: 56ch; color: var(--color-charcoal); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-hairline-soft);
  background: var(--color-surface-soft);
  padding: var(--space-xxl) 0 var(--space-lg);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xxl);
}
.footer-brand { display: flex; align-items: flex-start; gap: var(--space-sm); }
.footer-brand strong { font-weight: 500; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.footer-col-title {
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  color: var(--color-ink-deep);
  margin-bottom: var(--space-xs);
}
.footer-col ul { list-style: none; display: grid; gap: var(--space-xs); }
.footer-col a { color: var(--color-charcoal); font-size: var(--type-body-size); line-height: var(--type-body-lh); }
.footer-col a:hover { color: var(--color-primary); }

.footer-base {
  max-width: var(--container-max);
  margin: var(--space-xxl) auto 0;
  padding: var(--space-md) var(--space-lg) 0;
  border-top: 1px solid var(--color-hairline-soft);
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  color: var(--color-steel);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  :root { --type-hero-size: 42px; --type-hero-lh: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .plan-grid, .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 767px) {
  /* The nav collapses into a panel under the bar. It is hidden rather than
     removed so the links stay in the DOM for assistive tech and for search. */
  .nav-toggle { display: inline-flex; }
  .topbar-inner { flex-wrap: wrap; }
  .topbar-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
    padding: var(--space-md) 0 var(--space-sm);
    border-top: 1px solid var(--color-hairline-soft);
  }
  .topbar-right.is-open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav-link { padding: var(--space-sm) var(--space-md); }
  .topbar-actions { flex-direction: column-reverse; align-items: stretch; }
  .topbar-actions .btn { width: 100%; }

  :root { --type-hero-size: 34px; --type-hero-lh: 42px; --type-section-size: 26px; --type-section-lh: 34px; }
  .lede { font-size: 18px; line-height: 28px; }
  .section { padding: var(--space-xxxl) 0; }
  .plan-grid, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: var(--space-lg); }
  .cta-panel { padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-xl); }
  .hero-actions .btn { width: 100%; }
  .plan-tagline { min-height: 0; }
}
