:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --amber: #ffb400;
  --amber-ink: #3d2b00;
  --ink: #16202e;
  --muted: #55627a;
  --line: #dde3ee;
  --bg: #f6f8fb;
  --card: #ffffff;
  --danger: #b3261e;
  --radius: 12px;
  --max: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: 64px 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--navy-2); margin-bottom: .75rem; }

/* Preview banner */
.preview-bar { background: #fff4d6; color: var(--amber-ink); font-size: .85rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid #f0d78a; }
.placeholder { background: repeating-linear-gradient(45deg, #fff4d6, #fff4d6 6px, #ffe9ae 6px, #ffe9ae 12px); border: 1px dashed #c99a00; border-radius: 4px; padding: 0 6px; color: var(--amber-ink); font-weight: 600; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.brand span b { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: #dbe5f5; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; }
.region-select { background: var(--navy-2); color: #fff; border: 1px solid #2a4a7c; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .9rem; }
.btn { display: inline-block; background: var(--amber); color: var(--amber-ink); font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn:hover { filter: brightness(1.05); }
.btn.secondary { background: transparent; color: #fff; border: 1.5px solid #ffffff66; }
.btn.dark { background: var(--navy); color: #fff; }
.nav .btn { padding: 9px 16px; font-size: .9rem; color: var(--amber-ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid #ffffff55; color: #fff; border-radius: 8px; padding: 8px 12px; font: inherit; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d4b8f55, transparent), var(--navy); color: #fff; padding: 84px 0 72px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #c5d3ea; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff14; border: 1px solid #ffffff2a; border-radius: 999px; padding: 6px 14px; font-size: .85rem; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; display: inline-block; }

/* Emergency strip */
.strip { background: var(--amber); color: var(--amber-ink); padding: 16px 0; font-weight: 600; }
.strip .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.strip a { color: var(--amber-ink); }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--amber), #ffd35c); }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.card li { margin-bottom: .35em; }
.alt { background: #eef2f8; }
.split { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: start; }
.facts { background: var(--navy); color: #dbe5f5; border-radius: var(--radius); padding: 26px; }
.facts h3 { color: #fff; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #93a9cc; }
.facts dd { margin: 2px 0 0; color: #fff; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* Chooser */
.chooser { padding: 96px 0; text-align: center; }
.chooser .opts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 760px; margin: 32px auto 0; }
.chooser button { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.chooser button:hover { border-color: var(--amber); }
body:not([data-region=""]) .chooser,
body:not([data-region=""]) .landing-only { display: none; }
body[data-region=""] .region-content { display: none; }

.region-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; cursor: pointer; font: inherit; }
.region-card:hover { border-color: var(--amber); }
.region-card h3 { margin-bottom: 6px; }
.region-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); max-width: 22ch; }
.page-head .lead { color: #c5d3ea; }

/* Article (Generac, privacy) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout { background: #fff; border-left: 4px solid var(--amber); border-radius: 8px; padding: 16px 20px; margin: 1.4em 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout.warn { border-left-color: var(--danger); }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 1em 0; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef2f8; color: var(--navy); }
tr:last-child td { border-bottom: 0; }
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; color: var(--navy); }
details p { margin: .7em 0 0; color: var(--muted); }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 92px; background: var(--navy); color: #dbe5f5; border-radius: var(--radius); padding: 24px; }
.aside-card h3 { color: #fff; }

/* Forms */
form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], select, textarea { font: inherit; padding: 11px 12px; border: 1px solid #c3cddd; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 5px; }
.form-result { background: #e7f6ec; border: 1px solid #a6d8b5; color: #14532d; border-radius: 8px; padding: 12px 14px; }
.emergency-note { background: #fdecea; border: 1px solid #f3b4ae; color: #7a1a13; border-radius: 8px; padding: 12px 14px; font-size: .92rem; }

/* Consent */
.consent { position: fixed; inset: auto 16px 16px 16px; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px #0b1f3a33; padding: 18px 20px; z-index: 40; }
.consent p { margin: 0 0 12px; font-size: .92rem; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 9px 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #b6c6e2; padding: 44px 0 30px; font-size: .92rem; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: .95rem; }
.site-footer a { color: #dbe5f5; }
.site-footer .fine { border-top: 1px solid #ffffff22; margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #93a9cc; }
.site-footer p { margin: 0 0 .6em; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px; flex-direction: column; align-items: flex-start; gap: 14px; border-top: 1px solid #ffffff22; }
  .nav-open .nav { display: flex; }
  .nav-toggle { display: block; }
  .split, .layout, .site-footer .cols { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  section { padding: 44px 0; }
  .hero { padding: 56px 0 48px; }
}

/* Placeholders must stay readable on dark panels */
.facts .placeholder, .aside-card .placeholder, .site-footer .placeholder { color: var(--amber-ink); }
.nav a, .nav .btn { white-space: nowrap; }

form .region-select { background: #fff; color: var(--ink); border: 1px solid #c3cddd; padding: 11px 12px; font-size: 1rem; border-radius: 8px; width: 100%; }
