/* Camp Gear Experts. Mobile first, no web fonts, no layout shift. */

:root {
  --bg: #faf8f4;
  --bg-alt: #f2efe7;
  --surface: #ffffff;
  --text: #1a231f;
  --muted: #56615a;
  --line: #e0dbd0;
  --line-strong: #c9c2b4;
  --accent: #145844;
  --accent-hover: #0e4234;
  --accent-soft: #e6efe9;
  --accent-ink: #ffffff;
  --sand: #8a5a11;
  --sand-soft: #f7eeda;
  --danger: #8c2f22;
  --danger-soft: #fbeae7;
  --warn: #7a5107;
  --warn-soft: #fbf1dd;
  --c1: #1f6f57;
  --c2: #a3651a;
  --c3: #3a5f8a;
  --c4: #8a3a55;
  --c5: #5c6b34;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 35, 28, .06), 0 6px 20px -12px rgba(20, 35, 28, .3);
  --wrap: 1180px;
  --measure: 40rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1815;
    --bg-alt: #13211c;
    --surface: #16241f;
    --text: #e8ede9;
    --muted: #a3b1a9;
    --line: #26362f;
    --line-strong: #3a4d44;
    --accent: #7ed2ac;
    --accent-hover: #a4e2c5;
    --accent-soft: #17322a;
    --accent-ink: #06211a;
    --sand: #e5b878;
    --sand-soft: #2a2419;
    --danger: #ee9b8e;
    --danger-soft: #2c1a18;
    --warn: #e0b56a;
    --warn-soft: #2a2318;
    --c1: #6fcfa7;
    --c2: #e2b06a;
    --c3: #82aede;
    --c4: #e191ab;
    --c5: #b6cc7a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -14px rgba(0, 0, 0, .8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.85rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.32rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--article { width: min(100% - 2rem, 1080px); }
@media (min-width: 40rem) { .wrap { width: min(100% - 3rem, var(--wrap)); } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); margin-right: auto; padding: .5rem 0; }
.logo__icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: var(--accent); flex: none; }
.logo__mark { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-weight: 800; letter-spacing: -.02em; font-size: 1.06rem; }
.logo__tag { font-size: .72rem; color: var(--muted); letter-spacing: .01em; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem .85rem; font: inherit; font-size: .9rem; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.site-nav { display: none; width: 100%; padding-bottom: .75rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-nav a {
  display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text); font-weight: 550; font-size: .96rem;
}
.site-nav a:hover { background: var(--accent-soft); }
.site-nav a[aria-current], .site-nav a.is-section { background: var(--accent-soft); color: var(--accent); }
.site-nav .icon { width: 1.05em; height: 1.05em; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; padding: 0; }
  .site-nav ul { display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; }
  .site-nav a { padding: .45rem .6rem; font-size: .9rem; }
  .site-nav__search a { border: 1px solid var(--line-strong); border-radius: 999px; padding: .4rem .75rem; margin-left: .3rem; }
}

/* ---------- generic bits ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  padding: .7rem 1.15rem; border-radius: 999px; font: inherit; font-weight: 650; font-size: .97rem;
  text-decoration: none; cursor: pointer; min-height: 44px;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }

.crumbs { margin: 0 0 1.1rem; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.eyebrow { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.page-head { padding: 1.75rem 0 1rem; }
.page-head--article { max-width: 52rem; }
.dek { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); margin-bottom: .9rem; max-width: 48rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--accent-soft), transparent); border-bottom: 1px solid var(--line); padding: 2.5rem 0 2.75rem; }
.hero h1 { max-width: 22ch; margin-bottom: .6rem; }
.hero__eyebrow { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin: 0 0 .8rem; }
.hero__dek { font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 2rem; }
.hero__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; max-width: 40rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: .85rem; color: var(--muted); }
@media (min-width: 48rem) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cards ---------- */
.home-section { padding: 2.75rem 0 .5rem; }
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 1.5rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 38rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--clusters { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.card__icon { color: var(--accent); }
.card__icon .icon { width: 1.6rem; height: 1.6rem; }
.card__kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--accent); }
.card__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.card__desc { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.card__meta { font-size: .78rem; color: var(--muted); margin-top: auto; padding-top: .4rem; }
.card--tool { flex-direction: column; }
.card--tool .icon { color: var(--accent); width: 1.4rem; height: 1.4rem; }
.card--feature { border-left: 3px solid var(--accent); }

/* ---------- article layout ---------- */
.layout { display: grid; gap: 1.5rem; padding-bottom: 1rem; }
@media (min-width: 64rem) {
  .layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
  .layout--full { grid-template-columns: minmax(0, 1fr); }
  .layout__side { position: sticky; top: 5rem; }
}
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1.1rem; background: var(--surface); font-size: .9rem; }
.toc__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 28px; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--accent); }
.toc[open] .toc__title { margin-bottom: .6rem; }
.toc[open] .toc__title::after { content: "\2212"; }
@media (min-width: 64rem) { .toc__title { cursor: default; } .toc__title::after { content: none; } }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc a { display: block; padding: .3rem .4rem; border-radius: 6px; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover { background: var(--accent-soft); color: var(--accent); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.prose { max-width: var(--measure); font-size: 1.075rem; }
.layout--full .prose, .home-prose { max-width: var(--measure); }
.prose > h2 { margin-top: 2.4rem; padding-top: .3rem; scroll-margin-top: 5rem; }
.prose > h3 { margin-top: 1.8rem; scroll-margin-top: 5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li > ul, .prose li > ol { margin-top: .5rem; }
.prose strong { font-weight: 700; }
.prose blockquote {
  margin: 1.6rem 0; padding: .2rem 0 .2rem 1.15rem; border-left: 3px solid var(--accent);
  color: var(--muted); font-style: italic;
}
.anchor { opacity: 0; margin-left: .35rem; text-decoration: none; color: var(--line-strong); font-weight: 400; }
h2:hover .anchor, h3:hover .anchor, .anchor:focus { opacity: 1; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap:focus-visible { outline: 3px solid var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
caption { text-align: left; padding: .85rem 1rem .1rem; font-weight: 650; font-size: .95rem; }
th, td { padding: .65rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
tbody th { font-weight: 650; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-alt); }

/* ---------- callouts ---------- */
.callout { margin: 1.7rem 0; padding: 1.05rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--accent); }
.callout__title { font-weight: 700; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.callout p:last-child, .callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }
.callout--key { background: var(--accent-soft); border-left-color: var(--accent); }
.callout--warning { border-left-color: var(--danger); background: var(--danger-soft); }
.callout--warning .callout__title { color: var(--danger); }
.callout--tip { border-left-color: var(--sand); background: var(--sand-soft); }
.callout--tip .callout__title { color: var(--sand); }
.callout--spec, .callout--method { border-left-color: var(--warn); background: var(--warn-soft); }
.callout--spec .callout__title, .callout--method .callout__title { color: var(--warn); }

/* ---------- figures ---------- */
.figure { margin: 2rem 0; padding: 1.1rem 1.15rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.figure__title { font-weight: 700; font-size: 1rem; margin-bottom: .75rem; }
.figure__svg { overflow-x: auto; }
.figure svg { width: 100%; height: auto; min-width: 320px; display: block; }
.figure__note { font-size: .88rem; color: var(--muted); margin: .9rem 0 .2rem; }
.figure__data { margin-top: .6rem; font-size: .9rem; }
.figure__data summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: .35rem 0; }
.figure__data .table-wrap { margin-top: .6rem; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0 0 .6rem; padding: 0; font-size: .84rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: .35rem; }
.legend__swatch { width: .8rem; height: .8rem; border-radius: 3px; display: inline-block; }
.figure .grid { stroke: var(--line); stroke-width: 1; }
.figure .tick { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.figure .cat { fill: var(--text); font-size: 13px; font-family: var(--font); }
.figure .cat.sm, .figure .val.sm { font-size: 11.5px; }
.figure .val { fill: var(--muted); font-size: 12.5px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.figure .axis { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.figure .marker { stroke: var(--danger); stroke-dasharray: 4 3; }
.figure .marker-label { fill: var(--danger); font-size: 12px; font-family: var(--font); }

/* ---------- datasets, sources, trust ---------- */
.dataset { margin: 1.8rem 0; }
.dataset__intro { color: var(--muted); }
.dataset__source { font-size: .86rem; color: var(--muted); }
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.15rem; }
.sources__list { font-size: .93rem; color: var(--muted); padding-left: 1.2rem; }
.sources__list li { margin-bottom: .6rem; }
.trust { margin-top: 2rem; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: .92rem; color: var(--muted); }
.trust p { margin-bottom: .5rem; }
.trust p:last-child { margin-bottom: 0; }
.trust__date { font-size: .86rem; }

/* ---------- related, hub lists ---------- */
.related, .hub-list, .hub-tools { margin: 3rem 0 1rem; }
.related h2, .hub-list h2, .hub-tools h2 { font-size: 1.3rem; }
.cards--sm .card__title { font-size: .98rem; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: item; }
.stack__item a {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stack__item a:hover { border-color: var(--accent); }
.stack__num { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; font-size: .95rem; padding-top: .12rem; }
.stack__body { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.stack__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.stack__desc { color: var(--muted); font-size: .93rem; }
.stack__meta { font-size: .8rem; color: var(--accent); }
.stack__go { color: var(--line-strong); align-self: center; }
.stack__item a:hover .stack__go { color: var(--accent); }

/* ---------- index page ---------- */
.index-grid { display: grid; gap: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 60rem) { .index-grid { grid-template-columns: repeat(2, 1fr); } }
.index-section h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.index-section h2 .icon { color: var(--accent); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.link-list li { display: flex; flex-direction: column; padding-left: .9rem; border-left: 2px solid var(--line); }
.link-list a { font-weight: 650; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list span { font-size: .88rem; color: var(--muted); }

/* ---------- glossary ---------- */
.alpha { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.5rem; }
.alpha a {
  display: grid; place-items: center; min-width: 2.1rem; min-height: 2.1rem; border-radius: 8px;
  border: 1px solid var(--line); text-decoration: none; font-weight: 650; font-size: .9rem; background: var(--surface);
}
.alpha a:hover { border-color: var(--accent); background: var(--accent-soft); }
.glossary { display: grid; gap: 1rem; padding-bottom: 2rem; max-width: 52rem; }
.alpha__head { font-size: 1.6rem; color: var(--accent); margin: 1.5rem 0 .2rem; scroll-margin-top: 5rem; }
.glossary__item { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 5rem; }
.glossary__item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.glossary__item p { margin-bottom: 0; font-size: .97rem; }
.glossary__see { margin-top: .5rem !important; font-size: .87rem !important; color: var(--muted); }

/* ---------- tools ---------- */
.tool-mount { margin: 1.5rem 0 2rem; }
.tool { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1.25rem; box-shadow: var(--shadow); }
.tool__head { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tool__title { font-size: 1.2rem; margin: 0; }
.tool__units { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.unit-btn { background: transparent; border: 0; padding: .4rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; color: var(--muted); min-height: 40px; }
.unit-btn.is-active { background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.tool__group { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 1.25rem 0 .5rem; }
.tool__fields { display: grid; gap: .9rem; }
@media (min-width: 40rem) { .tool__fields { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field__unit { color: var(--muted); font-weight: 400; }
.field input[type="number"], .field select {
  font: inherit; font-size: 1rem; padding: .6rem .7rem; min-height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); width: 100%;
}
.field--check { flex-direction: row; align-items: center; gap: .6rem; grid-column: 1 / -1; }
.field--check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); flex: none; }
.field--check label { font-weight: 500; }
.tool__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.25rem; }
.tool__out { display: block; margin-top: 1.5rem; }
.tool__placeholder { color: var(--muted); font-size: .93rem; }
.result { padding: 1.15rem 1.2rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.result--warn { background: var(--warn-soft); border-left-color: var(--warn); }
.result--bad { background: var(--danger-soft); border-left-color: var(--danger); }
.result__value { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); font-weight: 800; margin: 0 0 .15rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.result__label { font-weight: 650; margin: 0 0 .5rem; }
.result__sub { font-size: .93rem; color: var(--muted); margin: 0 0 .6rem; }
.result__verdict { margin: 0; font-size: .97rem; }
.result__h { font-size: 1.02rem; margin: 1.6rem 0 .5rem; }
.result__list { padding-left: 1.2rem; font-size: .95rem; }
.result__list li { margin-bottom: .45rem; }
.result__notes { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.result__table th[scope="row"] { font-weight: 500; }

/* ---------- checklists ---------- */
.checklist { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1.15rem 1.2rem; margin: 1.8rem 0; }
.checklist__head h3 { margin-bottom: .3rem; }
.checklist__meta { font-size: .87rem; color: var(--muted); }
.checklist__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.checklist__group { margin-top: 1.4rem; }
.checklist__group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: .5rem; }
.checklist__note { font-size: .88rem; color: var(--muted); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.checklist li label { display: flex; gap: .7rem; align-items: flex-start; padding: .5rem .4rem; border-radius: 6px; cursor: pointer; }
.checklist li label:hover { background: var(--bg-alt); }
.checklist input[type="checkbox"] { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); flex: none; }
.checklist__item { font-size: .97rem; }
.checklist__why { display: block; font-size: .86rem; color: var(--muted); }
.checklist input:checked + .checklist__item { text-decoration: line-through; color: var(--muted); }

/* ---------- search ---------- */
.search { margin-bottom: 2.5rem; }
.search__label { display: block; font-weight: 650; margin-bottom: .4rem; font-size: .92rem; }
.search__input {
  font: inherit; font-size: 1.05rem; width: 100%; padding: .8rem 1rem; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text);
}
.search__status { font-size: .87rem; color: var(--muted); margin: .6rem 0; }
.search__results { display: grid; gap: .6rem; }
.search__hit { display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); }
.search__hit:hover { border-color: var(--accent); }
.search__hit strong { display: block; }
.search__hit span { font-size: .89rem; color: var(--muted); }
.search__hit em { font-style: normal; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--bg-alt); padding: 2.5rem 0 1.5rem; font-size: .93rem; }
.site-foot__grid { display: grid; gap: 2rem; }
@media (min-width: 44rem) { .site-foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .site-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .8rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--accent); text-decoration: underline; }
.site-foot__brand .logo__icon { color: var(--accent); width: 2.2rem; height: 2.2rem; display: block; margin-bottom: .7rem; }
.site-foot__blurb { color: var(--muted); max-width: 34rem; }
.site-foot__legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: .86rem; }
.site-foot__legal p { margin: 0; }
.site-foot__legal ul { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- print ---------- */
@media print {
  .site-head, .site-foot, .toc, .hero__actions, .checklist__actions, .related, .tool__actions, .search { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .card, .checklist, .table-wrap, .figure, .tool { break-inside: avoid; border-color: #bbb; }
  a { color: #000; text-decoration: none; }
  .checklist li label { padding: .15rem 0; }
  .checklist__why { display: none; }
  .wrap { width: 100%; }
}

/* ---------- data hub ---------- */
.data-item { margin-bottom: 2.5rem; max-width: 52rem; }
.data-item h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.data-item__links { font-size: .9rem; margin-top: -.6rem; }
