/* ============================================================
   CodeMani — landing page styles
   Design language: near-black canvas, warm-white type, one
   gold accent, frost-white hairlines, mono as structural voice.

   Proportion system: spacing and geometry sit on a Fibonacci
   ladder — 8 · 13 · 21 · 34 · 55 · 89 · 144 px — with doubles
   (16, 26, 42) permitted as half-steps. Consecutive rungs
   approach φ (1.618…), so adjacent measures keep the golden
   ratio wherever two of them meet. Buttons are the signature:
   padding 13×34 makes each one a φ² rectangle of breathing
   room around its label. Body line-height is φ itself.
   Exact-ratio arithmetic is the company's product; the layout
   observes the same discipline.

   Color: the five chromatic roles sit at the vertices of a
   regular pentagon on the OKLCH hue circle, 72 deg apart,
   anchored on the brand gold (H=84.9): red 12.9, gold 84.9,
   green 156.9, blue 228.9, purple 300.9. Each keeps its
   original lightness/chroma; only the hues are snapped.
   ============================================================ */

@font-face {
  font-family: "Coxeter Display";
  src: url("font/CoxeterDisplay-Regular.woff2?v=4d91b21bfd41f52e") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #070708;
  --bg-band: #0b0b0d;
  --panel: #0d0d0f;
  --panel-2: #101013;
  --text: #f5f4f0;
  --text-2: #b9b8b1;
  --muted: #8f8e88;
  --faint: #85847e;
  --gold: #d4a843;
  --gold-hi: #e6c063;
  --gold-dim: rgba(212, 168, 67, 0.14);
  --green: #48bf80;
  --red: #d86d7b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --frost: rgba(214, 235, 253, 0.13);
  --radius: 12px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.618;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(212, 168, 67, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--gold);
  color: #131208;
  border-radius: 6px;
  padding: 8px 13px;
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; }

section { padding: 89px 0; }
.band {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- typography ---------- */

h1 {
  font-family: "Coxeter Display", var(--sans);
  font-size: clamp(2.7rem, 5.6vw, 4.3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 {
  font-family: "Coxeter Display", var(--sans);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 34px;
}

h3 {
  font-family: "Coxeter Display", var(--sans);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 540px;
}

.lede-sm {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 16px;
}
.lede-sm:last-child { margin-bottom: 0; }
.lede-sm.dim { color: var(--muted); font-size: 0.9375rem; }
.dim { color: var(--muted); }

.overline {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.mono-inline {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { color: var(--gold); display: inline-flex; }
.brand-name {
  font-family: "Coxeter Display", var(--sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(1px);
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Coxeter Display", var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 34px; /* φ² rectangle — the signature measure */
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #131208;
}
.btn-gold:hover { background: var(--gold-hi); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--frost);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }

.btn-sm { padding: 8px 21px; font-size: 0.8125rem; }
.btn-block { width: 100%; }

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

.hero { padding: 108px 0 55px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -340px;
  right: -260px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.09) 0%, rgba(212, 168, 67, 0.028) 42%, transparent 68%);
  pointer-events: none;
}

#icosian {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 55px;
  align-items: center;
  position: relative;
}
.hero-grid > *, .split > *, .cov-grid > *, .tiers > *, .steps > * { min-width: 0; }

.hero-copy h1 { margin-bottom: 21px; }
.hero-copy .lede { margin-bottom: 26px; }

.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-proof { list-style: none; display: grid; gap: 10px; }
.hero-proof li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

.preview-form { margin-bottom: 28px; }
.preview-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
.preview-search:focus-within {
  border-color: rgba(212, 168, 67, 0.58);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1), 0 14px 40px rgba(0, 0, 0, 0.28);
}
.preview-search input {
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 400 0.9375rem/1.4 var(--sans);
}
.preview-search input::placeholder { color: var(--faint); }
.preview-search .btn { min-height: 50px; padding: 10px 21px; }
.preview-search .btn[disabled] { cursor: wait; opacity: 0.72; }
.preview-hint {
  margin-top: 9px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--faint);
}

.tick {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-1px);
}
.tick-gold { background: var(--gold); box-shadow: 0 0 8px rgba(212, 168, 67, 0.5); }
.tick-green { background: var(--green); }
.tick-red { background: var(--red); }

/* ---------- one-page preview ---------- */

.preview-window {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-width: 100%;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
  scroll-margin-top: 76px;
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 47px;
  padding: 10px 18px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.preview-file,
.preview-state,
.preview-kicker,
.preview-output-head,
.preview-meta dt {
  font-family: var(--mono);
}
.preview-file { font-size: 0.75rem; color: var(--muted); }
.preview-state {
  font-size: 0.6875rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-panel {
  flex: 1;
  padding: 32px;
}
.preview-panel[hidden] { display: none; }
.preview-panel h2 {
  max-width: 430px;
  margin: 0 0 14px;
  font-family: "Coxeter Display", var(--sans);
  font-size: 1.72rem;
  line-height: 1.24;
  letter-spacing: 0.01em;
}
.preview-panel > p:not(.preview-kicker) {
  max-width: 450px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.preview-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.preview-kicker-refused { color: var(--red); }
.preview-loading {
  align-items: center;
  gap: 18px;
}
.preview-loading:not([hidden]) { display: flex; }
.preview-spinner {
  width: 30px;
  height: 30px;
  flex: none;
  border: 2px solid var(--line-strong);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: preview-spin 0.8s linear infinite;
}
@keyframes preview-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preview-spinner { animation: none; } }
.preview-source {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.preview-source h2 {
  max-width: 380px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.preview-pass {
  flex: none;
  color: var(--green);
  font: 500 0.6875rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-extracted { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.08); }
.preview-snippet { font-size: 0.875rem; line-height: 1.55; color: var(--text); font-style: italic; margin-top: 5px; }
.preview-headings { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 3px; }
.preview-headings li { font-size: 0.8125rem; color: var(--muted); padding-left: 13px; position: relative; }
.preview-headings li::before { content: "#"; position: absolute; left: 0; color: var(--gold); }
.preview-read-stats { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }

.preview-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.preview-meta div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
}
.preview-meta dt {
  color: var(--faint);
  font-size: 0.6875rem;
  text-transform: uppercase;
}
.preview-meta dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-2);
  font: 400 0.6875rem/1.5 var(--mono);
}
.preview-output-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 0.6875rem;
}
.preview-output {
  width: 100%;
  min-height: 120px;
  max-height: 210px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: #09090a;
  color: var(--text-2);
  font: 400 0.75rem/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.preview-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.preview-next p { color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
#preview-refusal .btn { margin-top: 22px; }
.preview-boundary {
  margin-top: auto;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.6875rem;
  line-height: 1.55;
}

/* ---------- receipt windows ---------- */

.receipt-window {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
  max-width: 100%;
}

.rw-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}

.rw-file {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.rw-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--green);
  background: rgba(72, 191, 128, 0.09);
  border: 1px solid rgba(72, 191, 128, 0.22);
  border-radius: 999px;
  padding: 3px 11px;
}
.rw-seal-red {
  color: var(--red);
  background: rgba(216, 109, 123, 0.09);
  border-color: rgba(216, 109, 123, 0.25);
}

.receipt {
  padding: 21px 13px 21px 18px;
  overflow-x: auto;
}
.receipt code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--text-2);
}

.j-key { color: #e3b95f; }
.j-str { color: #c9bb93; }
.j-num { color: #77b7d4; }
.j-pass { color: var(--green); font-weight: 500; }
.j-reject { color: var(--red); font-weight: 500; }
.j-com { color: var(--faint); font-style: italic; }
.j-keyword { color: #ae91dd; }

.rw-note {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--faint);
}
.rw-note em { color: var(--muted); font-style: normal; }

/* ---------- demo video + flow diagram ---------- */

.demo-frame {
  margin-top: 21px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  max-width: 960px;
}
.demo-frame video { display: block; width: 100%; height: auto; }

.video-transcript {
  max-width: 960px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.875rem;
}
.video-transcript summary {
  display: inline-block;
  cursor: pointer;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.video-transcript[open] summary { margin-bottom: 13px; }
.video-transcript p { margin-bottom: 8px; }
.video-transcript .transcript-boundary {
  color: var(--text-2);
  border-left: 2px solid rgba(212, 168, 67, 0.4);
  padding-left: 13px;
  margin-top: 13px;
}

.flow {
  display: block;
  width: 100%;
  max-width: 1064px;
  height: auto;
  margin: 13px 0 34px;
}

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  align-items: start;
}
.split > div:first-child h2 { margin-bottom: 0; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 55px 0 34px;
}

.step {
  background: var(--bg-band);
  padding: 34px 26px;
}

.step-n {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.35);
  background: var(--gold-dim);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.875rem; line-height: 1.65; color: var(--muted); }

.engine-note {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 24px;
}
.engine-note strong { flex: none; color: var(--text); font-weight: 600; }

/* ---------- annotations ---------- */

.annot { list-style: none; display: grid; gap: 18px; margin-top: 8px; }
.annot li { font-size: 0.9375rem; line-height: 1.6; color: var(--muted); padding-left: 18px; position: relative; }
.annot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.annot strong { color: var(--text); font-weight: 600; }

/* ---------- coverage ---------- */

.cov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-top: 55px;
}

.cov-card {
  border-radius: var(--radius);
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.cov-in { border-color: rgba(72, 191, 128, 0.22); }
.cov-out { border-color: rgba(216, 109, 123, 0.18); }

.cov-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cov-in .cov-label { color: var(--green); }
.cov-out .cov-label { color: var(--red); }

.cov-card ul { list-style: none; display: grid; gap: 14px; }
.cov-card li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* ---------- deliverables ---------- */

.deliver {
  list-style: none;
  counter-reset: d;
  display: grid;
  gap: 13px;
  margin-bottom: 28px;
}
.deliver li {
  counter-increment: d;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.55;
}
.deliver li::before {
  content: counter(d, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  flex: none;
}
.deliver li em { color: var(--text); font-style: normal; font-weight: 500; }

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

.free-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 55px;
  background: var(--panel);
  border: 1px solid rgba(212, 168, 67, 0.28);
  border-radius: var(--radius);
  padding: 21px 34px;
}
.free-strip h3 { margin-bottom: 5px; }
.free-strip p {
  font-size: 0.875rem;
  line-height: 1.618;
  color: var(--muted);
  max-width: 680px;
}
.free-strip .btn { flex: none; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  margin-top: 21px;
}

.tier {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.tier-featured {
  border-color: rgba(212, 168, 67, 0.45);
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.05) 0%, var(--panel) 46%);
}

.tier-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-band);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}

.tier h3 { font-size: 1.125rem; margin-bottom: 14px; }

.price {
  font-family: "Coxeter Display", var(--sans);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.price span {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.tier-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.tier-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.tier-list li {
  font-size: 0.8125rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.tier .btn { margin-top: auto; }

.pricing-note {
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--faint);
  max-width: 640px;
}
.pricing-note a,
.policy-page a:not(.btn),
.foot-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); margin-top: 55px; }
.qa {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
.qa h3 { font-size: 1.02rem; color: var(--text); }
.qa p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); }

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

footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 34px;
  background: var(--bg-band);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 55px;
}

.foot-tag { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.foot-h {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.foot-col a:hover { color: var(--text); }

.foot-boundary {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--faint);
  max-width: 760px;
  border-left: 2px solid rgba(212, 168, 67, 0.4);
  padding-left: 16px;
  margin-bottom: 28px;
}

.foot-legal { font-size: 0.75rem; color: var(--faint); }

/* ---------- policy pages ---------- */

.policy-page { padding-top: 89px; }
.policy-page h1 { max-width: 760px; margin-bottom: 21px; }
.policy-page > .wrap > .lede { max-width: 760px; margin-bottom: 55px; }
.policy-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.policy-block h2 { font-size: 1.35rem; margin-bottom: 13px; }
.policy-block p {
  color: var(--muted);
  margin-bottom: 13px;
}
.policy-contact { color: var(--text-2); margin: 28px 0; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid, .split, .cov-grid, .tiers { grid-template-columns: 1fr; }
  .split { gap: 34px; }
  .hero { padding: 89px 0 55px; }
  section { padding: 55px 0; }
  .free-strip { flex-direction: column; align-items: flex-start; gap: 21px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  h1 { font-size: 2.4rem; }
  .receipt code { font-size: 0.75rem; }
  .flow { display: none; }
  .rw-bar { flex-wrap: wrap; align-items: flex-start; }
  .rw-file { overflow-wrap: anywhere; }
  .btn { white-space: normal; text-align: center; }
  .preview-search { grid-template-columns: 1fr; }
  .preview-search .btn { width: 100%; }
  .preview-window { min-height: 500px; }
  .preview-panel { padding: 24px 20px; }
  .preview-meta div { grid-template-columns: 1fr; gap: 2px; }
  .preview-source,
  .preview-next,
  .engine-note { align-items: flex-start; flex-direction: column; }
  .preview-output-head { flex-direction: column; gap: 3px; }
}
