/* A to Z Complete — site styles */
:root {
  --ink: #14213d;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --panel: #eef2f6;
  --rule: #d5dce5;
  --go: #1f7a4d;
  --go-tint: #e3f2ea;
  --waste: #b4651a;
  --waste-tint: #fbefe1;
  --cut: #a83a3a;
  --cut-tint: #f8e6e6;
  --focus: #2f6fde;
  --measure: 66ch;
  --head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

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

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { font-family: var(--head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 52ch; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 1.05rem; padding: 14px 22px; border-radius: 6px; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.btn:hover { background: var(--go); border-color: var(--go); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* The search-term report — the signature element */
.report { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
.report-head { background: var(--panel); padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.report-head strong { color: var(--ink); font-weight: 700; }
.report table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.report th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: 0.78rem; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.report td { padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.report tr:last-child td { border-bottom: 0; }
.report .num { text-align: right; white-space: nowrap; }
.report .term { font-weight: 600; }
.call { display: inline-block; font-weight: 700; font-size: 0.8rem; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.call-go { background: var(--go-tint); color: var(--go); }
.call-waste { background: var(--waste-tint); color: var(--waste); }
.call-cut { background: var(--cut-tint); color: var(--cut); }
.report-foot { padding: 10px 16px; font-size: 0.8rem; color: var(--ink-soft); border-top: 1px solid var(--rule); background: #fbfcfd; }

/* Sections */
.band { padding: 72px 0; border-top: 1px solid var(--rule); }
.band-panel { background: var(--panel); border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

.lessons { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lessons li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 20px; }
.lessons .tag { font-weight: 700; font-size: 0.9rem; color: var(--go); padding-top: 3px; }
.lessons h3 { margin-bottom: 6px; }
.lessons p { margin: 0; color: var(--ink-soft); }

.cta-block { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-block p { margin: 0; }

/* Long-form pages */
.page { padding: 56px 0 80px; }
.page .wrap > * { max-width: 760px; }
.page h2 { margin-top: 1.8em; font-size: 1.6rem; }
.page ul, .page ol { padding-left: 1.3em; max-width: var(--measure); }
.page li { margin-bottom: 0.5em; }
.updated { color: var(--ink-soft); font-size: 0.95rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 8px; max-width: 760px; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.checklist input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--go); }
.checklist label { cursor: pointer; }
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); }
.check-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 36px 0 48px; font-size: 0.92rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); }
.site-foot p { margin: 0 0 6px; }

@media (max-width: 880px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 56px; }
  .lessons li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .report .hide-sm { display: none; }
  .report td, .report th { padding: 10px 10px; }
  .report-head { flex-direction: column; gap: 2px; }
}
@media print {
  .site-head, .site-foot, .check-tools, .no-print { display: none !important; }
  body { font-size: 11pt; }
  .page { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* fixes */
.report { margin: 0; }
.report .term { min-width: 9rem; }
.page .checklist { padding-left: 0; }
