/* ПодКапот — общие стили лендинга (podkapot.ru) и страниц документов (/terms.html, /privacy.html).
   Токены и компоненты перенесены из дизайн-системы Mini App v2 (Фаза 8Б: тёмная тема по умолчанию,
   акцент "диагностический лайм", Unbounded + Golos Text) — см. design/brandbook.html. */

:root {
  --bg: #05070a;
  --panel: #0b0f14;
  --panel-2: #10161d;
  --line: rgba(237, 242, 245, 0.14);
  --line-strong: rgba(237, 242, 245, 0.24);
  --text: #edf2f5;
  --muted: #9aa7b2;
  --lime: #c6ff3d;
  --lime-ink: #b1e239;
  --ink-on-lime: #0e1400;
  --cyan: #3de0ff;
  --cyan-ink: #0a7f96;
  --risk-critical: #ff3b3b;
  --risk-high: #ff8a3d;
  --risk-medium: #ffc93d;
  --radius-s: 4px;
  --radius-m: 6px;
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 10px 24px rgba(0, 0, 0, 0.35);
  --accent-text: var(--lime);
  --accent-text-cyan: var(--cyan);
  --focus-ring: var(--cyan);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f4f1;
    --panel: #ffffff;
    --panel-2: #e9ece7;
    --line: rgba(9, 15, 12, 0.14);
    --line-strong: rgba(9, 15, 12, 0.26);
    --text: #0b1210;
    --muted: #4c5850;
    --shadow-card: 0 1px 0 rgba(20, 24, 28, 0.06);
    --shadow-lift: 0 10px 24px rgba(15, 23, 20, 0.12);
    --accent-text: var(--lime-ink);
    --accent-text-cyan: var(--cyan-ink);
    --focus-ring: var(--cyan-ink);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Golos Text", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 720px) {
  .wrap { padding: 0 2.5rem; }
}

h1, h2, h3 {
  font-family: "Unbounded", sans-serif;
  text-wrap: balance;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-m);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.btn:active { transform: scale(0.98); }

.btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink-on-lime);
}

.btn-primary:hover { background: #d4ff66; }

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

.btn-ghost:hover { border-color: var(--lime); }

.btn-secondary {
  background: transparent;
  color: var(--accent-text);
  border-color: var(--accent-text);
}

.btn-secondary:hover { background: color-mix(in srgb, var(--lime) 12%, transparent); }

.btn-block { width: 100%; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.brand-mark { width: 22px; height: auto; flex: none; }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a { text-decoration: none; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }

@media (min-width: 940px) {
  .nav-links { display: flex; }
}

.nav-cta { flex: none; }
.nav .btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }

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

section { padding: 3.5rem 0; }

@media (min-width: 860px) {
  section { padding: 5.5rem 0; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
  max-width: 640px;
}

#pricing .section-head { max-width: 800px; }

.section-head h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (min-width: 860px) {
  .section-head h2 { font-size: 2.05rem; }
}

.section-head p { color: var(--muted); margin: 0; font-size: 1rem; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

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

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

.hero { padding-top: 3rem; }

@media (min-width: 860px) { .hero { padding-top: 4.5rem; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}

.hero-copy { display: flex; flex-direction: column; gap: 1.3rem; }

.hero h1 {
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) { .hero h1 { font-size: 2.7rem; } }
@media (min-width: 960px) { .hero h1 { font-size: 3.05rem; } }

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

@media (min-width: 600px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.3rem;
  }
}

.hero-micro {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- report preview card ---------- */

.report-card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.4rem 1.6rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

a.report-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.report-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

@media (prefers-reduced-motion: reduce) {
  a.report-card { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
  a.report-card:hover { transform: none; }
}

.report-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--cyan), transparent);
  background-size: 200% 100%;
  animation: scan 5.5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .report-card::before { animation: none; background: var(--lime); }
}

@keyframes scan {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.report-vehicle {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.report-vin {
  font-family: "Golos Text", monospace;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.report-example-tag {
  flex: none;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 0.22rem 0.5rem;
}

.report-plate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--lime) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent);
  color: var(--accent-text);
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-s);
  margin-bottom: 1.15rem;
}

.report-plate-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none;
}

.report-plate.is-caution {
  background: color-mix(in srgb, var(--risk-medium) 16%, transparent);
  border-color: color-mix(in srgb, var(--risk-medium) 45%, transparent);
  color: var(--risk-medium);
}

.report-plate.is-caution .report-plate-dot { background: var(--risk-medium); }

.report-plate.is-bad {
  background: color-mix(in srgb, var(--risk-critical) 16%, transparent);
  border-color: color-mix(in srgb, var(--risk-critical) 45%, transparent);
  color: var(--risk-critical);
}

.report-plate.is-bad .report-plate-dot { background: var(--risk-critical); }

.gauge-row { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.2rem; }

.gauge-item { display: flex; flex-direction: column; gap: 0.35rem; }

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

.gauge-labels b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.gauge-track {
  height: 5px;
  border-radius: 3px;
  background: var(--panel-2);
  overflow: hidden;
}

.gauge-fill { height: 100%; border-radius: 3px; background: var(--lime); }

.report-rows { display: flex; flex-direction: column; gap: 0.55rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }

.report-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.8rem;
  font-size: 0.86rem;
}

.report-row-label { color: var(--muted); }

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-s);
  white-space: nowrap;
}

.chip-good { background: color-mix(in srgb, var(--lime) 18%, transparent); color: var(--accent-text); }
.chip-warn { background: color-mix(in srgb, var(--risk-medium) 20%, transparent); color: var(--risk-medium); }
.chip-info { background: color-mix(in srgb, var(--cyan) 16%, transparent); color: var(--accent-text-cyan); }
.chip-critical { background: color-mix(in srgb, var(--risk-critical) 18%, transparent); color: var(--risk-critical); }

/* ---------- compare (before/after) ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .compare-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}

.compare-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.5rem 1.7rem;
  border-top: 3px solid var(--line-strong);
}

.compare-col.is-good { border-top-color: var(--lime); }

.compare-col h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.compare-list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.compare-mark { flex: none; font-weight: 700; margin-top: 0.1rem; }
.compare-col.is-bad .compare-mark { color: var(--risk-high); }
.compare-col.is-good .compare-mark { color: var(--accent-text); }

/* ---------- examples ---------- */

.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .example-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}

.example-note {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.example-note a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- steps (connected timeline) ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-strong);
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.step-index {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-text);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-text);
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.step h3 { font-size: 1.05rem; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- domain grid (bento) ---------- */

.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .domain-grid { grid-template-columns: repeat(3, 1fr); }
  .domain-card.is-lead { grid-column: span 2; }
  .domain-card.is-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 1.2rem;
  }
  .domain-card.is-wide .domain-num,
  .domain-card.is-wide h3 { flex: none; }
  .domain-card.is-wide h3 { white-space: nowrap; }
  .domain-card.is-wide p { margin: 0; flex: 1; }
}

.domain-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.domain-card.is-lead {
  background: color-mix(in srgb, var(--lime) 6%, var(--panel));
  border-color: var(--line-strong);
}

.domain-card.is-lead h3 { font-size: 1.1rem; }

.domain-card.is-wide {
  background: transparent;
  border-style: dashed;
}

.domain-num {
  font-family: "Golos Text", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.domain-card h3 { font-size: 0.98rem; font-weight: 600; }
.domain-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- trust ---------- */

.trust-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 2rem 1.6rem;
}

@media (min-width: 720px) {
  .trust-panel { padding: 2.8rem 2.4rem; }
}

.trust-lead { max-width: 640px; margin-bottom: 2rem; }

.trust-lead h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (min-width: 860px) {
  .trust-lead h2 { font-size: 2.05rem; }
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.trust-item { display: flex; flex-direction: column; gap: 0.7rem; }

.trust-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--accent-text);
}

.trust-icon svg { width: 1.15rem; height: 1.15rem; }

.trust-item h3 { font-size: 1rem; font-weight: 600; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- pricing ---------- */

.price-hero {
  background: var(--panel);
  border: 1px solid var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  border-radius: var(--radius-m);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

@media (min-width: 720px) {
  .price-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.2rem;
    gap: 2rem;
  }
}

.price-hero-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.price-hero-note { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.9rem; max-width: 34ch; }

.price-hero-value {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  flex: none;
}

.price-hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; flex: none; }

@media (min-width: 720px) {
  .price-hero-cta { align-items: flex-end; }
}

.price-secondary-head { margin: 0 0 1.1rem; }

.price-secondary-head h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-name { color: var(--muted); font-size: 0.88rem; }

.price-value {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.price-old {
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-per {
  font-size: 0.8rem;
  color: var(--muted);
}

.price-card .btn { margin-top: auto; }

.price-note {
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1.6rem;
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .faq-layout { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
}

.faq-intro { display: flex; flex-direction: column; gap: 1rem; }

.faq-intro h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (min-width: 860px) {
  .faq-intro h2 { font-size: 2.05rem; }
}

.faq-intro p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 36ch; }

.faq-nudge {
  margin-top: 0.6rem;
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.faq-nudge p { margin: 0; font-size: 0.88rem; max-width: none; }

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius-m);
  padding: 0.2rem 1.2rem;
  transition: border-left-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-left-color: var(--accent-text);
  background: var(--panel-2);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-num {
  flex: none;
  font-family: "Golos Text", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.faq-summary-text { flex: 1; }

.faq-plus {
  flex: none;
  margin-left: auto;
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-text);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-item summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }

.faq-item p { margin: 0 0 1.15rem; color: var(--muted); font-size: 0.92rem; max-width: 65ch; }

/* ---------- card hover ---------- */

.compare-col,
.step,
.domain-card,
.price-card,
.price-hero,
.faq-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compare-col:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.price-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--lime), var(--shadow-lift);
}

.step:hover,
.domain-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.faq-item:hover { border-color: var(--line-strong); }

@media (prefers-reduced-motion: reduce) {
  .compare-col,
  .step,
  .domain-card,
  .price-card,
  .price-hero,
  .faq-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .compare-col:hover,
  .step:hover,
  .domain-card:hover,
  .price-card:hover,
  .price-hero:hover {
    transform: none;
  }
}

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

.cta-band {
  background: var(--lime);
  color: var(--ink-on-lime);
  border-radius: var(--radius-m);
  padding: 2.6rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

@media (min-width: 720px) { .cta-band { padding: 3.4rem 2.5rem; } }

.cta-band h2 {
  font-size: 1.7rem;
  font-weight: 700;
  max-width: 26ch;
}

@media (min-width: 720px) { .cta-band h2 { font-size: 2.2rem; } }

.cta-band .btn-primary {
  background: var(--ink-on-lime);
  color: var(--lime);
}

.cta-band .btn-primary:hover { background: #1a2205; }

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

footer { border-top: 1px solid var(--line); padding: 3rem 0 2.2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; max-width: 32ch; }
.footer-tagline { color: var(--muted); font-size: 0.88rem; }

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: var(--text); }
.footer-col a:hover { color: var(--accent-text); }

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- document pages (terms / privacy) ---------- */

.doc-nav { padding: 0.9rem 0; }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc-back:hover { color: var(--accent-text); }

.doc-header {
  padding: 2.6rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.doc-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 720px) {
  .doc-header h1 { font-size: 2.3rem; }
}

.doc-meta {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.doc-body {
  max-width: 74ch;
  padding: 2.6rem 0 4rem;
}

.doc-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
  color: var(--accent-text);
}

.doc-body h2:first-child { margin-top: 0; }

.doc-body p {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: 0.98rem;
}

.doc-body p.muted { color: var(--muted); font-size: 0.88rem; }

.doc-body strong { color: var(--text); font-weight: 600; }

.doc-body a { color: var(--accent-text); text-decoration: underline; }

.doc-footer-note {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
