:root {
  --ink: #14171a;
  --ink-2: #3b4248;
  --muted: #5b636b;
  --line: #e4e7ea;
  --soft: #f6f7f7;
  --bg: #ffffff;
  --brand: #1d6b47;
  --brand-dark: #14502f;
  --brand-tint: #e8f2ec;
  --blue: #1e4e8c; --blue-tint: #e6eef8;
  --amber: #7a4a0e; --amber-tint: #fbf0e1;
  --plum: #5a2e7a; --plum-tint: #f2eaf8;
  --danger: #9a2b1f;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20,23,26,.04), 0 12px 32px rgba(20,23,26,.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f1f3f4; --ink-2: #c9ced3; --muted: #9aa3ab; --line: #2a2f34;
    --soft: #181b1e; --bg: #0f1214; --brand: #3fa173; --brand-dark: #5fbb8e; --brand-tint: #16291f;
    --blue: #8db4ea; --blue-tint: #172334; --amber: #e3b273; --amber-tint: #2b2114;
    --plum: #c6a3e3; --plum-tint: #251a2e; --danger: #f08a7c;
    --shadow: 0 12px 32px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --ink: #f1f3f4; --ink-2: #c9ced3; --muted: #9aa3ab; --line: #2a2f34;
  --soft: #181b1e; --bg: #0f1214; --brand: #3fa173; --brand-dark: #5fbb8e; --brand-tint: #16291f;
  --blue: #8db4ea; --blue-tint: #172334; --amber: #e3b273; --amber-tint: #2b2114;
  --plum: #c6a3e3; --plum-tint: #251a2e; --danger: #f08a7c;
  --shadow: 0 12px 32px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: var(--brand); }
img, svg { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 480px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }

.logo .mark { width: 28px; height: 28px; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* buttons + fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 10px; border: 0;
  background: var(--brand); color: #fff; font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.block { width: 100%; }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 17px;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field + .field { margin-top: 16px; }
.err { color: var(--danger); font-size: 14px; margin-top: 6px; min-height: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* zip form (hero + cta) */
.zipform { display: flex; gap: 10px; max-width: 440px; }
.zipform .input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 480px) { .zipform { flex-direction: column; } }

/* hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero .sub { margin-top: 18px; font-size: 20px; color: var(--ink-2); }
.hero form { margin-top: 32px; }
.hero .fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* sample email card */
.mail { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.mail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mail-head .from { font-size: 13px; color: var(--muted); }
.mail-head .subj { font-size: 15px; font-weight: 600; }
.pill { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.lead { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lead:last-child { border-bottom: 0; }
.lead b { display: block; font-size: 15px; }
.lead small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.tag { flex: 0 0 88px; text-align: center; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 6px; }
.t-fence { color: var(--brand); background: var(--brand-tint); }
.t-pool { color: var(--blue); background: var(--blue-tint); }
.t-home { color: var(--amber); background: var(--amber-tint); }
.t-storm { color: var(--plum); background: var(--plum-tint); }

/* sections */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(30px, 4vw, 42px); text-align: center; }
.kicker { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.step h3 { margin-top: 16px; font-size: 20px; }
.step p { margin-top: 4px; color: var(--muted); }

.sources { margin: 32px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; }
.sources span { font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }

.price { margin: 32px auto 0; max-width: 400px; text-align: center; border: 2px solid var(--ink); border-radius: 18px; padding: 32px 28px; }
.price .amt { font-family: "Inter Tight", Inter, sans-serif; font-size: 64px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .amt small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: center; }
.price li svg { flex: 0 0 auto; color: var(--brand); }

.faq { max-width: 640px; margin: 32px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 8px; color: var(--ink-2); }

.cta { text-align: center; padding: 72px 0 88px; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta form { margin: 24px auto 0; }

.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .top nav .hide-sm { display: none; }
  section.block { padding: 56px 0; }
}

/* app pages (start, login, account) */
.app { background: var(--soft); min-height: 100vh; }
.app .top { background: var(--bg); }
.progress { height: 4px; background: var(--line); }
.progress i { display: block; height: 4px; background: var(--brand); transition: width .25s; }
.page { padding: 48px 0 80px; }
.page h1 { font-size: 32px; }
.page .lede { margin-top: 8px; color: var(--muted); font-size: 17px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-top: 24px; }
.card h2 { font-size: 19px; letter-spacing: -.01em; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.coverage { margin-top: 20px; padding: 16px; border-radius: 10px; background: var(--brand-tint); display: none; }
.coverage.on { display: block; }
.coverage.off { background: var(--amber-tint); }
.coverage b { display: block; font-size: 16px; }
.coverage span { font-size: 14px; color: var(--ink-2); }

.summary { margin-top: 20px; border-top: 1px solid var(--line); }
.summary .row { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary .row span:first-child { color: var(--muted); }
.summary .row span:last-child { font-weight: 600; text-align: right; }
.legal { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.back { display: inline-block; margin-top: 16px; font-size: 15px; color: var(--muted); background: none; border: 0; font: inherit; cursor: pointer; padding: 8px 0; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle:last-child { border-bottom: 0; }
.toggle input { width: 22px; height: 22px; accent-color: var(--brand); flex: 0 0 auto; }

.status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--brand-tint); border-radius: 14px; padding: 18px 20px; margin-top: 24px; }
.status.paused { background: var(--amber-tint); }
.status b { display: block; }
.status span { font-size: 14px; color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.done { text-align: center; }
.done .check { width: 64px; height: 64px; margin: 0 auto; border-radius: 999px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.logo .name span { color: var(--muted); font-weight: 500; }
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 420px) { .hide-xs { display: none; } }
[hidden] { display: none !important; }
