@import url("/homepage/styles/fonts.css");

:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --paper-light: #faf8f3;
  --ink: #232936;
  --ink-soft: #50535e;
  --line: #cbc7c2;
  --line-strong: #a09b96;
  --signal: #535481;
  --signal-hover: #3c3d62;
  --signal-soft: #e8e4ed;
  --clay: #a45e46;
  --clay-soft: #efe5da;
  --white: #ffffff;
  --max: 1180px;
  --sans: "Figtree Variable", "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
::selection { background: #f0c9bb; color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
/* Crop the face-and-vase symbol from the approved transparent wordmark. */
.wordmark-mark {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  overflow: hidden;
}
.wordmark-mark::before {
  content: "";
  position: absolute;
  width: 94px;
  height: 39px;
  left: -7px;
  top: -8px;
  background: url("/brand/vaze-wordmark.png") left top / 94px 39px no-repeat;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.button):hover { text-decoration: underline; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  border: 1px solid var(--ink);
  background: var(--paper-light);
}
.mobile-menu nav a { display: block; min-height: 48px; padding: 12px 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-menu nav a:last-child { border-bottom: 0; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--signal); background: var(--signal); color: var(--white); }
.button-primary:hover { background: var(--signal-hover); }
.text-link { font-weight: 650; }

.hero { border-bottom: 1px solid var(--line); }
.hero-grid {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: 104px;
}
.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.035em; text-wrap: balance; }
h1 { max-width: 760px; font-size: clamp(46px, 6vw, 78px); line-height: .98; }
h2 { max-width: 760px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; }
h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.18; }
.lede { max-width: 63ch; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 34px; }
.microcopy { margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; }

.instrument {
  border: 1px solid var(--ink);
  background: var(--paper-light);
}
.instrument-head, .instrument-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.instrument-foot { border-top: 1px solid var(--line); border-bottom: 0; color: var(--ink-soft); }
.instrument-list { margin: 0; padding: 0; list-style: none; }
.instrument-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1fr;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.instrument-row:last-child { border-bottom: 0; }
.instrument-vendor { font-weight: 650; }
.instrument-state, .instrument-reading { font-family: var(--mono); font-size: 12px; }
.instrument-reading { text-align: right; }
.state-measured { color: var(--signal); }
.state-absent { color: var(--clay); font-family: var(--sans); font-style: italic; }
.status-glyph { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border: 2px solid currentColor; vertical-align: -1px; }
.status-glyph.filled { background: currentColor; }
.status-glyph.hollow { border-radius: 50%; }

.section { padding-block: clamp(88px, 10vw, 144px); border-bottom: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); gap: clamp(44px, 8vw, 128px); }
.section-grid > * { min-width: 0; }
.section-copy > p { max-width: 67ch; color: var(--ink-soft); }
.question-list { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.question-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.question-list strong { display: block; margin-bottom: 5px; font-size: 20px; }
.index { font-family: var(--mono); font-size: 12px; }

.pledge {
  padding: clamp(72px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}
.pledge-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(44px, 8vw, 128px); }
.pledge h2 { max-width: 880px; }
.pledge p { max-width: 62ch; color: #ccd2ce; }
.pledge-list { margin: 44px 0 0; padding: 0 0 0 24px; border-left: 3px solid var(--clay); list-style: none; }
.pledge-list li { margin: 12px 0; }

.coverage-wrap { margin-top: 54px; overflow-x: auto; border: 1px solid var(--ink); background: var(--paper-light); }
.coverage-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 14px; }
.coverage-table th, .coverage-table td { padding: 18px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.coverage-table th:last-child, .coverage-table td:last-child { border-right: 0; }
.coverage-table tr:last-child td { border-bottom: 0; }
.coverage-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.vendor-name { font-weight: 700; }
.coverage-yes { font-family: var(--mono); color: var(--signal); }
.coverage-no { color: var(--ink-soft); font-style: italic; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; color: var(--ink-soft); font-size: 13px; }

.population-grid, .step-grid, .msp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; border: 1px solid var(--ink); background: var(--ink); }
.population-card, .step-card, .msp-card { min-height: 270px; padding: 28px; background: var(--paper-light); }
.card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.population-card h3, .step-card h3, .msp-card h3 { margin-top: 50px; }
.population-card p, .step-card p, .msp-card p { color: var(--ink-soft); }

.split-band { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 52px; border: 1px solid var(--ink); }
.split-item { min-height: 230px; padding: 30px; }
.split-item + .split-item { border-left: 1px dashed var(--line-strong); background: #eeece4; }
.reading { display: block; margin-top: 36px; font-family: var(--mono); font-size: clamp(28px, 4vw, 46px); line-height: 1; }
.reading-caption { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 13px; }

.faq { margin-top: 52px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 24px 42px 24px 0; font-weight: 650; list-style-position: outside; }
.faq details p { max-width: 68ch; margin: -6px 0 26px; color: var(--ink-soft); }

.cta-band { padding-block: clamp(84px, 10vw, 132px); background: var(--signal); color: var(--white); }
.cta-band .eyebrow, .cta-band p { color: #d7e8e2; }
.cta-band .button-primary { border-color: var(--white); background: var(--white); color: var(--signal); }
.cta-band .button-primary:hover { background: var(--paper); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.cta-inner p { max-width: 54ch; }

.page-hero { padding-block: clamp(84px, 10vw, 138px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; }
.page-intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(48px, 9vw, 140px); }
.callout { margin-top: 42px; padding: 22px 24px; border-left: 3px solid var(--clay); background: var(--clay-soft); color: #5c3930; }
.scope-list { margin: 46px 0 0; border-top: 1px solid var(--ink); }
.scope-row { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.scope-row h3 { font-size: 20px; }
.scope-row p { margin: 0; color: var(--ink-soft); }
.ascii-map { margin: 50px 0 0; padding: 28px; overflow-x: auto; border: 1px solid var(--ink); background: var(--paper-light); font: 13px/1.65 var(--mono); white-space: pre; }

.site-footer { padding: 46px 0 36px; background: var(--paper-light); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 28px; font-size: 14px; }
.footer-note { max-width: 660px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }

@media (max-width: 900px) {
  .hero-grid, .section-grid, .pledge-grid, .page-intro-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-block: 80px; }
  .population-grid, .step-grid, .msp-grid { grid-template-columns: 1fr; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 22px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 64px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { padding-block: 64px 74px; }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  .instrument-row { grid-template-columns: 1fr auto; }
  .instrument-state { display: none; }
  .split-band { grid-template-columns: 1fr; }
  .split-item + .split-item { border-top: 1px dashed var(--line-strong); border-left: 0; }
  .scope-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { display: block; }
  .footer-nav { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ── Draft legal / trust pages ──────────────────────────────────────────
   Every page in this group is an unapproved engineering draft. The banner is
   deliberately sticky and high-contrast so no screenshot, print or share can
   drop it; scripts/site.test.mjs fails any legal page that lacks it, lists a
   drafted page in sitemap.xml, or lets forbidden audit vocabulary through. */
.draft-banner { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: #5c3930; color: #efe5da; font-size: 14px; line-height: 1.5; text-align: center; }
.draft-banner strong { letter-spacing: .04em; text-transform: uppercase; }
.draft-banner a { color: inherit; text-decoration: underline; }
.legal { padding-block: clamp(56px, 7vw, 96px); }
.legal-body { max-width: 78ch; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); }
.legal h2 { margin-top: 56px; font-size: 28px; }
.legal h3 { margin-top: 32px; font-size: 20px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 8px; }
.updated { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.trust-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; }
.trust-nav a[aria-current="page"] { font-weight: 600; text-decoration: none; }
.decide { display: inline; padding: 0 .35em; border: 1px dashed #5c3930; background: #efe5da; color: #5c3930; font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal thead th { border-bottom: 1px solid var(--ink); font-weight: 600; }
.audit-clause { margin: 28px 0; padding: 24px 28px; border-left: 3px solid var(--ink); background: var(--paper-light); }
.audit-clause p + p, .audit-clause ol { margin-top: 16px; }
.legal .callout { margin-top: 28px; }
@media (max-width: 700px) {
  .legal h2 { font-size: 24px; }
  .trust-nav { gap: 8px 16px; }
}

/* The same paper, ink and fine framing as the artwork-led homepage. */
.site-header { box-shadow: none; }
.wordmark { font-size: 24px; font-weight: 700; letter-spacing: -.045em; }
.button { border-radius: 999px; }
.mobile-menu summary { border-radius: 50%; }
.mobile-menu nav { border-radius: 8px; overflow: hidden; }
.eyebrow { font-size: 11px; letter-spacing: .12em; }
.page-hero { background: linear-gradient(120deg, #eee8df, var(--paper) 65%); }
.coverage-wrap, .instrument, .ascii-map, .split-band { border-color: var(--line); border-radius: 6px; }
.population-grid, .step-grid, .msp-grid { border-color: var(--line); background: var(--line); }
.cta-band { background: #28272e; }
.cta-band .eyebrow, .cta-band p { color: #ded7e3; }
.cta-band .button-primary { color: var(--ink); }
.site-footer { background: #ebe7e1; }
