/* BuyMetric V1 — static stylesheet. No external fonts, no frameworks. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #0d1b2a;
  --muted: #4f5d6b;
  --line: #dcdad2;
  --accent: #0b7a5c;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1eb;
  --mark-bar: #3fbf96;
  --warn-bg: #fff6dc;
  --warn-line: #e6cf8a;
  --warn-ink: #5c4300;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b131b;
    --surface: #121e29;
    --ink: #e9eff4;
    --muted: #a3b3c1;
    --line: #233240;
    --accent: #47c79d;
    --accent-ink: #06201a;
    --accent-soft: #12302a;
    --warn-bg: #2b2410;
    --warn-line: #5a4a1c;
    --warn-ink: #f1dca0;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.65 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.mark-bg { fill: var(--ink); }
.mark-bar { fill: var(--mark-bar); }
.wordmark { font: 700 1.35rem/1 var(--sans); letter-spacing: -.02em; }
.wordmark span { color: var(--accent); }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Typography */
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.eyebrow { font: 600 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1.1rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 14em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.8rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); }
.status { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: .9rem 1.1rem; max-width: 46em; font-size: .95rem; margin: 0; }

/* Sections */
.section { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .45em; }
/* Five cards: 3 + 2 (second row centred) on wide screens; auto-fit elsewhere */
@media (min-width: 960px) {
  .grid-five { grid-template-columns: repeat(6, 1fr); }
  .grid-five > .card { grid-column: span 2; }
  .grid-five > .card:nth-child(4) { grid-column: 2 / span 2; }
  .grid-five > .card:nth-child(5) { grid-column: 4 / span 2; }
}
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 600; }
.card a.card-link { text-decoration: none; color: inherit; }
.card a.card-link:hover h3 { text-decoration: underline; }
.pill { display: inline-block; align-self: flex-start; font: 600 .72rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; margin-bottom: .8rem; }
.pill-live { background: var(--accent-soft); color: var(--accent); }
.pill-dev { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.labels { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.labels li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; }
.labels strong { display: block; font-size: .95rem; }
.labels span { color: var(--muted); font-size: .92rem; }
.feature { background: #0d1b2a; color: #f6f5f1; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.75rem); }
.feature h2, .feature h3 { color: #f6f5f1; }
.feature .eyebrow { color: var(--mark-bar); }
.feature p, .feature li { color: #cdd6de; }
.feature a { color: var(--mark-bar); }
.feature .btn { background: var(--mark-bar); border-color: var(--mark-bar); color: #06201a; }
.feature .btn-ghost { background: transparent; color: var(--mark-bar); }
.feature ul { padding-left: 1.2rem; }

/* Notices */
.notice { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin: 0 0 1.75rem; font-size: .96rem; }
.notice.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.notice p:last-child { margin-bottom: 0; }

/* Prose / articles */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; border-bottom: 1px solid var(--line); }
.page-head .lede { margin-bottom: 0; }
.prose { max-width: 46rem; padding-block: 2.25rem 3.5rem; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.meta { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.nots { list-style: none; padding-left: 0 !important; }
.nots li { padding-left: 1.8rem; position: relative; }
.nots li::before { content: "✕"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }
tbody th { text-transform: none; letter-spacing: 0; font-size: .94rem; font-weight: 600; color: var(--ink); background: transparent; white-space: nowrap; }
.h3 { font-size: 1.25rem; margin-bottom: .45em; }
.wide { max-width: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 2rem; padding-block: 2.5rem 2rem; font-size: .93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 600 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); }
.site-footer .small { color: var(--muted); font-size: .86rem; margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* Contact details and evidence notes */
address { font-style: normal; line-height: 1.7; margin: 0 0 1em; }
.evidence { margin-top: 3rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.evidence h2 { font-size: 1.3rem; margin-top: 1.5rem; }
.evidence p, .evidence li { font-size: .94rem; color: var(--muted); }
.evidence ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.evidence li { padding: .8rem 0; border-top: 1px solid var(--line); }
.evidence li:first-child { border-top: 0; padding-top: .2rem; }
.evidence a { text-decoration: underline; text-decoration-thickness: 1px; font-weight: 500; }
.evidence a:hover { text-decoration-thickness: 2px; }
