:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1f2a24;
  --muted: #5b6760;
  --line: #e2ded4;
  --accent: #2f6b4f;
  --accent-text: #ffffff;
  --banner: #fff4d6;
  --banner-text: #5c4400;
  --warn: #9a3412;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141816;
    --surface: #1d2320;
    --text: #e8ece9;
    --muted: #a3ada7;
    --line: #2e3632;
    --accent: #6fbf95;
    --accent-text: #0f1512;
    --banner: #3a3220;
    --banner-text: #f3e2b3;
    --warn: #fdba74;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--accent); }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
.demo-banner { background: var(--banner); color: var(--banner-text); padding: 10px 24px; font-size: .92rem; }
main { max-width: 1040px; margin: 0 auto; padding: 32px 24px 64px; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 8px 0 8px; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card .swatch { height: 120px; }
.card .body { padding: 14px 16px 16px; }
.card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.card .price { color: var(--muted); }
.swatch.boot { background: linear-gradient(135deg, #6b4f3a, #b08463); }
.swatch.shell { background: linear-gradient(135deg, #1f4e5f, #4f9aa8); }
.swatch.pack { background: linear-gradient(135deg, #3f5f2f, #93b36b); }
.try { margin-top: 40px; }
.examples { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.example {
  font: inherit; font-size: .95rem; cursor: pointer; border-radius: 999px; padding: 8px 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}
.example:hover { border-color: var(--accent); }
.muted { color: var(--muted); }
.help-index ul { columns: 2 260px; padding-left: 18px; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 28px 20px; max-width: 760px; }
footer { color: var(--muted); font-size: .88rem; text-align: center; padding: 24px; border-top: 1px solid var(--line); }

/* admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat .label { color: var(--muted); font-size: .85rem; }
.stat .value { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; border: 1px solid var(--line); }
.tag.handoff { color: var(--warn); border-color: currentColor; }
.empty { color: var(--muted); padding: 16px; }

/* holiday readiness: score pages, the public index, the request form */
main.narrow { max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.score-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 8px 0 32px;
}
.score-dial {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), var(--line) 0);
}
.score-dial span {
  width: 90px; height: 90px; border-radius: 50%; background: var(--surface); display: grid; place-items: center;
  font-size: 2.1rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.score-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 8px; }
.score-card p.muted { margin: 0; }
.checks { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.check {
  display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.check .tag { justify-self: start; }
.tag.answered { color: var(--accent); border-color: currentColor; }
.tag.partial { color: var(--banner-text); background: var(--banner); border-color: transparent; }
.tag.missing { color: var(--warn); border-color: currentColor; }
.tag.holiday { font-size: .72rem; color: var(--muted); margin-left: 4px; }
.quote { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.source { display: inline-block; font-size: .88rem; margin: 4px 10px 0 0; }
.all-questions summary { cursor: pointer; list-style-position: inside; }
.all-questions summary h2 { display: inline; }
.coverage { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 14px; }
.coverage-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.coverage-label strong { font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar .full { background: var(--accent); }
.bar .part { background: var(--accent); opacity: .4; }
.ranking td:first-child { width: 3em; color: var(--muted); }
.ranking .muted { font-size: .85rem; margin-left: 6px; }
.method ul { padding-left: 20px; }
.method li { margin-bottom: 8px; }
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 32px; }
.cta h2 { margin-top: 0; }
.button {
  display: inline-block; font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 10px;
  padding: 11px 18px; background: var(--accent); color: var(--accent-text); text-decoration: none;
}
.button:disabled { opacity: .6; cursor: progress; }
.stack { display: grid; gap: 14px; max-width: 520px; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field input {
  font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); width: 100%;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.error { color: var(--warn); margin: 0; }
.small { font-size: .88rem; }
@media (max-width: 600px) {
  main { padding: 24px 16px 48px; }
  .site-header { padding: 14px 16px; }
  .demo-banner { padding: 10px 16px; }
  .score-card { grid-template-columns: 1fr; justify-items: start; padding: 18px; }
  .check { grid-template-columns: 1fr; gap: 6px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.text-link { margin-left: 14px; }
.hero + .products { margin-bottom: 36px; }
