/* Landing, trust and reference pages (UX revision 2026-10). Tokens from app.css / DESIGN.md.
   No green, no icons in circles, no cards for sections. */

/* ---- Hero: the headline names both products, so it runs a step smaller than the old
   two-word poster headline; still the largest type on the page. ---- */
.hero-headline { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.05; text-wrap: balance; }
.hero-lead { max-width: 34ch; margin: 20px 0 28px; }
.hero-micro { margin-top: 14px; color: var(--pencil); font-family: var(--body); }
.hero-links {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-lg);
}
.hero-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); font-weight: 700; }

/* Two equal doors (UX spec v1.2): with a quote / without one. Same weight, same button;
   hairline frames on paper, no cards with shadows. */
.doors { display: flex; flex-direction: column; gap: var(--space-md); }
.doors-two .door {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  background: var(--surface);
}
.door-title { font: 700 1.375rem/1.2 var(--display); letter-spacing: -.01em; margin-bottom: var(--space-sm); }
.door-body { margin-bottom: var(--space-md); max-width: 40ch; }
.doors .btn { max-width: 100%; }

/* What we don't do (components/promises.html): plain text lines with a short rule as
   marker. No icons, no circles, no green. The landing list and the one-line flow version. */
.not-we-do {
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--rule);
}
.not-we-do-title { font-weight: 700; margin-bottom: var(--space-xs); }
.not-we-do-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px var(--space-lg);
  color: var(--pencil);
}
.not-we-do-list li { display: flex; gap: 10px; align-items: baseline; }
.not-we-do-list li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--ink); transform: translateY(-.3em); }
.not-we-do-list li:last-child { display: block; padding-left: 20px; position: relative; }
.not-we-do-list li:last-child::before { position: absolute; left: 0; top: .75em; transform: none; }
.not-we-do a, .not-we-do-line a { color: var(--ink); font-weight: 700; }
.not-we-do-line { color: var(--pencil); margin-top: var(--space-sm); max-width: 60ch; }
/* Under a page lead (its 32px bottom margin plus the head gap): sit with the lead. */
.page-head .not-we-do-line { margin-top: -28px; }

.margin-note .num { white-space: nowrap; }
.margin-note a { color: var(--correction); font-style: normal; font-weight: 700; display: inline-block; margin-top: 4px; }

/* Honest dates: a dated fact with "add to calendar", never a countdown. */
.honest-dates .lead-text { max-width: 52ch; }
.cal-add { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-md); color: var(--pencil); }
.cal-add a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.split .body .cal-add { margin-top: var(--space-sm); }

/* ---- Footer: tagline, data attribution, more links ---- */
.footer-text { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 62ch; }
.footer-attribution { color: var(--pencil); }
.site-footer ul { max-width: 520px; }

/* ---- Example report ---- */
.example-banner {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 820px;
}
.example-label {
  font: 800 1.25rem/1.2 var(--display);
  letter-spacing: -.01em;
}
.example-label::before {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-right: .4em;
  vertical-align: -.05em;
  background: var(--marker);
  border: 1px solid var(--ink);
}
.example-facts { margin: 0; padding-left: 1.3em; }
.example-facts li + li { margin-top: var(--space-xs); }

/* ---- Method page ---- */
.method .sources { margin-top: var(--space-md); }
.method .sources td { padding-right: 12px; }
.changelog { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: flex; flex-direction: column; }
.change { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 2px var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--rule); }
.change-date { color: var(--pencil); }
.change-kind { font: 700 .8125rem/1.6 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--pencil); grid-column: 2; }
.change-text { grid-column: 2; }
.change-date { grid-row: 1 / span 2; }
.tech-details { margin-top: var(--space-lg); }
.tech-details summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.tech-details code { font-family: var(--mono); overflow-wrap: anywhere; }

/* ---- Glossary ---- */
.glossary-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); max-width: 66ch; }
.glossary-index a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--ink); }
.glossary-entry { scroll-margin-top: var(--space-lg); }
.glossary-entry:target h2 { box-shadow: inset 6px 0 0 var(--marker); padding-left: 14px; }

@media (max-width: 820px) {
  .not-we-do-list { grid-template-columns: minmax(0, 1fr); }
  .hero-headline { font-size: clamp(2.125rem, 8vw, 2.75rem); }
  .site-footer ul { max-width: none; }
  .change { grid-template-columns: minmax(0, 1fr); }
  .change-date, .change-kind, .change-text { grid-column: 1; grid-row: auto; }
}
