:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #1b2330;
  --muted: #5a6473;
  --line: #e4e0d5;
  --brand: #14365c;
  --accent: #f0a91b;
  --accent-ink: #1b2330;
  --ok: #2e7d4f;
  --warn: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 4px 14px rgba(20, 30, 50, .06);

  /* icon tile tones: background / foreground */
  --amber-bg: #fdf0d2; --amber-fg: #9a5b00;
  --blue-bg: #dfeafb;  --blue-fg: #1f4f96;
  --red-bg: #fbe1df;   --red-fg: #b3261e;
  --violet-bg: #ece4fb; --violet-fg: #5b3aa8;
  --green-bg: #dcf1e4; --green-fg: #22704a;
  --teal-bg: #d9f1f1;  --teal-fg: #13706f;
  --slate-bg: #e7eaef; --slate-fg: #3d4a5c;

  /* illustration */
  --art-bg: #fbecc9; --art-cloud: #c9d4e3; --art-rain: #7b9cc6; --art-ink: #1b2330;
  --art-door: #c58a3a; --art-red: #d9453c; --art-water: #5fa3dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151c; --surface: #19212b; --text: #e8eaee; --muted: #a3acb9; --line: #2b3542;
    --brand: #8db6e6; --accent: #f2b542;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
    --amber-bg: #3a2c10; --amber-fg: #f5c76a;
    --blue-bg: #17283f;  --blue-fg: #9cc1f0;
    --red-bg: #3b1a19;   --red-fg: #f19a93;
    --violet-bg: #2a2142; --violet-fg: #c3adf3;
    --green-bg: #163023; --green-fg: #8fd5ac;
    --teal-bg: #123131;  --teal-fg: #84d6d4;
    --slate-bg: #26303c; --slate-fg: #c2cad6;
    --art-bg: #1f2a37; --art-cloud: #3c4b5f; --art-rain: #6f93c2; --art-ink: #d6dbe3;
    --art-door: #a8763a; --art-red: #d9453c; --art-water: #4d8cc4;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); line-height: 1.12; margin: 1rem 0 .6rem; letter-spacing: -.02em; }
h2 { margin-top: 2.2rem; letter-spacing: -.01em; }
h3 { line-height: 1.3; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 68ch; }
.small { font-size: .85rem; color: var(--muted); }
.meta { font-size: .85rem; color: var(--muted); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 2px; letter-spacing: -.01em; }
.logo-mark { background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 0 8px; margin-right: 3px; }
.nav nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.nav nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav nav a:hover { color: var(--brand); }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: 11px 18px; border-radius: 10px; text-decoration: none; border: 2px solid var(--accent);
  font-size: 1rem; cursor: pointer; font-family: inherit; transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--line); }

/* icon tiles */
.tile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; }
.tile-lg { width: 72px; height: 72px; border-radius: 18px; }
.tile.tone-amber { background: var(--amber-bg); color: var(--amber-fg); }
.tile.tone-blue { background: var(--blue-bg); color: var(--blue-fg); }
.tile.tone-red { background: var(--red-bg); color: var(--red-fg); }
.tile.tone-violet { background: var(--violet-bg); color: var(--violet-fg); }
.tile.tone-green { background: var(--green-bg); color: var(--green-fg); }
.tile.tone-teal { background: var(--teal-bg); color: var(--teal-fg); }
.tile.tone-slate { background: var(--slate-bg); color: var(--slate-fg); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 1.5rem 0 .5rem; }
.hero-art { width: 100%; height: auto; display: block; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--amber-fg);
  background: var(--amber-bg); font-size: .78rem; margin: 0; padding: 4px 10px; border-radius: 999px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; margin: 0 auto; order: -1; }
}
@media (max-width: 640px) {
  .site-header { position: static; }
}

.trust { list-style: none; padding: 14px 18px; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.trust .icon { color: var(--ok); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 2rem 0; }
.steps div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.steps h3 { margin: .7rem 0 .2rem; }
.steps p { margin: 0; color: var(--muted); }

.area-promo { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #14365c, #1f4f96); color: #fff; border-radius: var(--radius); padding: 20px 24px; }
.area-promo > div { flex: 1 1 260px; }
.area-promo h2 { margin: 0; }
.area-promo p { margin: .2rem 0 0; opacity: .85; }
.area-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.14); color: var(--accent); }

/* cards */
.section { margin-top: 2.6rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card h3 { margin: .7rem 0 .2rem; font-size: 1.1rem; }
.card p { margin: 0 0 .8rem; color: var(--muted); flex: 1; font-size: .95rem; }
.card-row { flex-direction: row; align-items: flex-start; gap: 14px; }
.card-row h3 { margin-top: 0; }
.card-row p { margin: 0; }
.guide-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* kit and guide pages */
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.page-head { display: flex; align-items: center; gap: 18px; margin: 1rem 0 .4rem; }
.page-head h1 { margin: 0 0 .4rem; }
.page-head .meta { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 12px; font-size: .88rem; font-weight: 600; }
@media (max-width: 560px) {
  .page-head { align-items: flex-start; }
  .tile-lg { width: 56px; height: 56px; border-radius: 14px; }
  .tile-lg svg { width: 30px; height: 30px; }
}

.table-wrap { overflow-x: auto; margin-top: 1rem; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface); }
.why { color: var(--muted); font-size: .9rem; }
.nowrap { white-space: nowrap; }
.buy { white-space: nowrap; font-weight: 700; text-decoration: none; background: var(--amber-bg); color: var(--amber-fg);
  padding: 6px 12px; border-radius: 8px; display: inline-block; font-size: .9rem; }
.buy:hover { filter: brightness(.97); }
.tips { padding-left: 1.2rem; }
.tips li, .list li { margin-bottom: .5rem; }
.prose { max-width: 72ch; }
.prose table { margin: 1rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.callout { background: var(--surface); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; }

/* phone layout for kit tables: stack rows */
@media (max-width: 640px) {
  table.kit thead { display: none; }
  table.kit, table.kit tbody, table.kit tr, table.kit td { display: block; width: 100%; }
  table.kit tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.kit td { border: 0; padding: 2px 0; }
  table.kit td:nth-child(2)::before { content: "How much: "; color: var(--muted); }
  table.kit td:nth-child(3)::before { content: "Typical price: "; color: var(--muted); }
  table.kit td:nth-child(4):not(:empty) { padding-top: 8px; }
}

/* checklist */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.checklist { list-style: none; padding: 0; }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.checklist label { display: flex; gap: 10px; padding: 10px 12px; cursor: pointer; }
.checklist input { width: 20px; height: 20px; accent-color: var(--ok); flex-shrink: 0; margin-top: 3px; }

/* your area */
.area-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 1rem 0; }
.area-form input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); min-width: 0; flex: 1 1 200px; max-width: 280px; }
.alert { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.alert.sev1, .alert.sev2 { border-left-color: var(--warn); }
.alert.clear { border-left-color: var(--ok); }
.alert h3 { margin: 0 0 .3rem; font-size: 1.05rem; }

/* footer */
.site-footer { margin-top: 4rem; background: var(--surface); border-top: 1px solid var(--line); padding: 24px 0; }
.numbers { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media print {
  .site-header, .site-footer, .no-print { display: none; }
  body { background: #fff; color: #000; }
  .checklist li { border: 1px solid #999; }
}
