/* ─────────────────────────────────────────────────────────────
   wenmei-landing — css/landing.css
   The page prints from the dossier's own type system.
   spec §2 design language: warm paper, white sheet, thin ruled
   separators, Playfair Display / Inter / JetBrains Mono.
   teal = verified · rose = honesty. No cards, no pills, no glass.
   ───────────────────────────────────────────────────────────── */

:root {
  --surface-0: #F6F4F2;      /* warm paper page background */
  --surface-1: #ffffff;      /* the white sheet */
  --surface-2: #eae7e3;      /* fine ruled separators */
  --surface-3: #d9d5cf;      /* heavier ruled lines */
  --text-primary: #111111;
  --text-secondary: #5c5c5c;
  --text-tertiary: #9a9590;
  --accent-teal: #008673;    /* verified — the attested states */
  --accent-rose: #c24a4a;    /* honesty — the not-attested states */
  --mono-bg: #f5f5f5;
  --sheet-max: 900px;
  --rule: 1px solid var(--surface-3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 1px solid var(--surface-3);
}

a:hover {
  border-bottom-color: var(--accent-teal);
}

/* ── the sheet ─────────────────────────────────────────────── */

.sheet {
  max-width: var(--sheet-max);
  margin: 0 auto;
  background: var(--surface-1);
  border-left: 1px solid var(--surface-3);
  border-right: 1px solid var(--surface-3);
  min-height: 100vh;
}

/* ── header ────────────────────────────────────────────────── */

.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 48px;
  border-bottom: var(--rule);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand .word {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand .kind {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  padding-left: 12px;
  border-left: 1px solid var(--surface-3);
}

.verify-cmd {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

.verify-cmd a {
  color: inherit;
  border-bottom: none;
}

/* ── sections: ruled, not carded ───────────────────────────── */

section {
  padding: 56px 48px;
  border-bottom: var(--rule);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

/* ── hero ──────────────────────────────────────────────────── */

.hero {
  padding: 88px 48px 72px;
  border-bottom: var(--rule);
}

.hero .verdict {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 14ch;
}

.hero .lede {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-actions .mono {
  font-size: 13px;
}

.action-link {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 10px 16px;
  border-radius: 2px;
  white-space: nowrap;
}

.action-link:hover {
  background: rgba(0, 134, 115, 0.06);
  border-bottom-color: var(--accent-teal);
}

.action-link.anchor-cta {
  background: var(--accent-teal);
  color: #fff;
}

.action-link.anchor-cta:hover {
  background: #006b5c;
}

/* ── the report ────────────────────────────────────────────── */

.report-figure {
  margin: 0;
}

.report-frame {
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  padding: 28px;
}

.report-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--surface-2);
}

.report-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.report-verify-link {
  display: block;
  margin-top: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--accent-teal);
  word-break: break-all;
}

/* ── how it works ──────────────────────────────────────────── */

.steps {
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--surface-2);
}

.step:last-child {
  border-bottom: none;
}

.step .id {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.step h3 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
}

.step p {
  grid-column: 2;
  font-size: 14px;
  color: var(--text-secondary);
}

code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92em;
  background: var(--mono-bg);
  padding: 1px 5px;
  border-radius: 2px;
  word-break: break-all;
}

.step code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  background: var(--mono-bg);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ── honesty block (rose) ──────────────────────────────────── */

.honesty {
  border: 1px solid var(--accent-rose);
  border-left: 3px solid var(--accent-rose);
  padding: 24px 28px;
  margin-top: 8px;
}

.honesty .badge {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-rose);
  margin-bottom: 10px;
}

.honesty p {
  font-size: 14px;
  color: var(--text-secondary);
}

.honesty p + p {
  margin-top: 10px;
}

.honesty .quote {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text-primary);
}

/* ── verify block (teal) ───────────────────────────────────── */

.verify-keyless {
  border: 1px solid var(--accent-teal);
  border-left: 3px solid var(--accent-teal);
  padding: 24px 28px;
  margin-top: 8px;
}

.verify-keyless .badge {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.verify-keyless p {
  font-size: 14px;
  color: var(--text-secondary);
}

.verify-paths {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.verify-paths .path {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
}

.verify-paths .path .path-label {
  color: var(--text-tertiary);
  margin-right: 10px;
}

/* ── illustration ──────────────────────────────────────────── */

.illustration-slot {
  border: 1px dashed var(--surface-3);
  background: var(--mono-bg);
  padding: 48px 32px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ── start free / plans ────────────────────────────────────── */

.plans {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
}

.plans li {
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-2);
  display: flex;
  gap: 14px;
}

.plans li:last-child {
  border-bottom: none;
}

.plans .tier {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 92px;
}

.plans .tier.free {
  color: var(--text-secondary);
}

.plans .tier.pro {
  color: var(--accent-teal);
}

.plans .tier.founding {
  color: var(--accent-rose);
}

.plans .detail {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
}

.plans .numbers {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* ── living proof (dogfood) ────────────────────────────────── */

.living-proof .chain-root {
  margin-top: 20px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--mono-bg);
  border: 1px solid var(--surface-3);
  padding: 14px 18px;
  line-height: 1.9;
  word-break: break-all;
}

.living-proof .chain-root .alg {
  color: var(--text-tertiary);
}

.living-proof .unverified {
  margin-top: 20px;
  border: 1px solid var(--accent-rose);
  border-left: 3px solid var(--accent-rose);
  padding: 20px 24px;
}

.living-proof .unverified .badge {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-rose);
  margin-bottom: 10px;
}

.living-proof .unverified p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.living-proof .unverified p + p {
  margin-top: 8px;
}

.living-proof .mono-note {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 14px;
}

/* ── footer: the verify strip ──────────────────────────────── */

.verify-strip {
  padding: 40px 48px 48px;
  border-top: var(--rule);
}

.verify-strip .verify-cmd {
  display: inline-block;
}

.verify-strip .strip-meta {
  margin-top: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* ── responsive ────────────────────────────────────────────── */

@media (max-width: 720px) {
  .doc-head,
  section,
  .hero,
  .verify-strip {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero .verdict {
    font-size: 42px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .step p {
    grid-column: 1;
  }

  .plans li {
    flex-direction: column;
    gap: 4px;
  }
}

/* ── print: strips the page down to the printed page ───────── */

@media print {
  body {
    background: #fff;
  }

  .sheet {
    max-width: none;
    border: none;
    min-height: 0;
  }

  .doc-head,
  .verify-strip {
    border-color: #000;
  }

  section,
  .hero,
  .verify-strip {
    break-inside: avoid;
  }

  a {
    color: inherit;
    border-bottom: none;
  }
}
