/* Auspex SEO — system styles
   Perf notes: one webfont family, two weights, swap. Everything else is a system
   stack. No JS required for any content. LCP is a text node, deliberately. */

:root {
  --ink:        #10151c;
  --ink-2:      #2b3644;
  --muted:      #5c6a7d;
  --rule:       #dde3ea;
  --bg:         #fbfaf8;
  --surface:    #ffffff;
  --accent:     #8a5a2b;
  --accent-ink: #6d4620;
  --accent-bg:  #f6efe6;
  --max:        68rem;
  --measure:    38rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #eef2f6;
    --ink-2:      #c3ccd8;
    --muted:      #8d9aab;
    --rule:       #263140;
    --bg:         #0d1117;
    --surface:    #141b24;
    --accent:     #d9a441;
    --accent-ink: #e8bd6d;
    --accent-bg:  #1d2530;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Instrument Serif", Iowan Old Style, Georgia, Cambria,
               "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 2rem; }

p, li { color: var(--ink-2); }
p { margin: 0 0 1.15rem; }

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

strong { color: var(--ink); font-weight: 600; }

/* ---- layout ---- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--measure); }
.prose-wide { max-width: 52rem; }

section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--rule); }

/* ---- masthead ---- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem;
}
.wordmark {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem; color: var(--ink); text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark span { color: var(--accent); }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.9375rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

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

.hero { padding: 5rem 0 4rem; }
.hero p.lead {
  font-size: 1.25rem; line-height: 1.55; color: var(--ink-2);
  max-width: 42rem; margin-bottom: 2rem;
}
.eyebrow {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--accent-ink); margin-bottom: 1rem; font-weight: 600;
}

/* ---- answer block: the self-contained lead for each section ---- */

.answer {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 1.15rem 1.35rem;
  margin: 0 0 1.75rem;
  border-radius: 0 6px 6px 0;
}
.answer p { margin: 0; color: var(--ink); font-size: 1.0625rem; }

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

.btn {
  display: inline-block; padding: 0.8rem 1.5rem; border-radius: 6px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font-weight: 550; font-size: 0.9375rem; border: 1px solid var(--ink);
  transition: opacity .15s ease;
}
.btn:hover { opacity: 0.88; color: var(--bg); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-quiet:hover { color: var(--ink); border-color: var(--muted); }
.btn-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- cards ---- */

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 42rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 8px; padding: 1.5rem;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---- tables ---- */

.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; min-width: 34rem; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-2); }
tbody tr:last-child td { border-bottom: none; }

/* ---- tier list ---- */

.tier { border-top: 1px solid var(--rule); padding: 2rem 0; }
.tier:first-of-type { border-top: none; }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tier-head h3 { margin: 0; }
.price { color: var(--accent-ink); font-size: 1.0625rem; white-space: nowrap; font-weight: 600; }

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

.faq { border-top: 1px solid var(--rule); padding: 1.5rem 0; max-width: 46rem; }
.faq h3 { margin: 0 0 0.6rem; font-size: 1.1875rem; }
.faq p:last-child { margin-bottom: 0; }

/* ---- footnotes / citations ---- */

.cite { font-size: 0.9375rem; color: var(--muted); }
.sources { font-size: 0.875rem; color: var(--muted); max-width: 46rem; }
.sources li { margin-bottom: 0.4rem; color: var(--muted); }

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

footer { border-top: 1px solid var(--rule); padding: 2.5rem 0; margin-top: 2rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer p, footer a { font-size: 0.9375rem; color: var(--muted); }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; background: var(--surface); color: var(--ink);
  padding: 0.75rem 1rem; border-radius: 6px; z-index: 100;
  border: 1px solid var(--rule);
}

/* ---- gate table: the spine ---- */
.gates { counter-reset: gate; margin: 1.75rem 0; }
.gate {
  display: grid; gap: 0.25rem 1.1rem; padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
  grid-template-columns: 2.25rem 1fr;
}
.gate:last-child { border-bottom: 1px solid var(--rule); }
.gate-n {
  grid-row: 1 / span 3;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem; color: var(--accent); line-height: 1.1;
}
.gate-q { font-weight: 600; color: var(--ink); }
.gate-f { color: var(--muted); font-size: 0.9375rem; }
.gate.is-geo { background: var(--accent-bg); padding-left: 1rem; padding-right: 1rem; }
.gate-tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-ink); font-weight: 600;
}

/* ---- refusal list ---- */
.refuse li { margin-bottom: 0.6rem; }
.refuse strong { display: block; }

/* ---- price row ---- */
.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--rule);
  padding: 1.5rem 0 0.5rem;
}
.price-row h3 { margin: 0; }
.price-big {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem; color: var(--ink); white-space: nowrap;
}
.price-term { color: var(--muted); font-size: 0.9375rem; }
