/* Permit Daybreak — brand stylesheet v3
   Palette sampled from the final logo: deep teal #004B58, gold #F8BF31. */
:root {
  --teal: #004b58;
  --teal-dark: #03333d;
  --teal-mid: #2e7d8c;
  --teal-soft: #e6f0f2;
  --gold: #f8bf31;
  --gold-deep: #b97f0e;
  --gold-soft: #fdf3d3;
  --ink: #16211f;
  --mut: #546663;
  --mist: #f4f8f8;
  --line: #dce6e7;
  --bad: #b3261e;
  --ok: #137333;
  --shadow: 0 10px 30px rgba(3, 51, 61, .10);
  --shadow-lg: 0 22px 50px rgba(3, 51, 61, .18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--teal-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
a { color: var(--teal); }
img { max-width: 100%; }

/* ---------- top bar (sticky) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 22px; margin: 0 -22px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.wordmark { font-weight: 800; letter-spacing: .05em; color: var(--teal); font-size: 1.02rem; line-height: 1.15; }
.wordmark span { display: block; font-size: .58rem; letter-spacing: .24em; color: var(--mut); font-weight: 700; }
.cta-small {
  background: linear-gradient(180deg, #ffd34d, var(--gold)); color: var(--teal-dark);
  font-weight: 800; text-decoration: none; padding: 10px 18px; border-radius: 999px;
  border: 1px solid #d9a41c; font-size: .92rem; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(248,191,49,.35); transition: transform .15s ease, box-shadow .15s ease;
}
.cta-small:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(248,191,49,.45); }

/* ---------- hero ---------- */
.hero-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #02262e 0%, var(--teal-dark) 34%, var(--teal) 62%, var(--teal-mid) 82%, #e9a13b 100%);
}
.hero-band .sun {
  position: absolute; right: 9%; bottom: 64px; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, #ffe9a8 0%, var(--gold) 55%, rgba(248,191,49,0) 72%);
  opacity: .9;
}
.hero-band .skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 92px; display: block; }
.hero-inner { position: relative; z-index: 2; padding: 64px 0 128px; text-align: center; }
.hero-inner .badge-lg {
  width: 118px; height: 118px; border-radius: 50%; background: #fff; padding: 7px;
  box-shadow: var(--shadow-lg); margin-bottom: 22px;
}
.hero-inner h1 {
  font-size: 2.85rem; line-height: 1.12; letter-spacing: -.02em; font-weight: 800;
  max-width: 840px; margin: 0 auto 18px; text-wrap: balance;
}
.hero-inner h1 .gold { color: var(--gold); }
.hero-inner .sub { font-size: 1.16rem; color: #d7e8ea; max-width: 700px; margin: 0 auto 14px; }
.hero-inner .price { font-size: 1.08rem; color: #fff; margin-bottom: 26px; }
.hero-inner .price b { color: var(--gold); font-size: 1.3rem; }
.cta {
  display: inline-block; background: linear-gradient(180deg, #ffd34d, var(--gold));
  color: var(--teal-dark); font-weight: 800; font-size: 1.08rem; text-decoration: none;
  padding: 16px 32px; border-radius: 999px; border: 1px solid #d9a41c;
  box-shadow: 0 12px 30px rgba(0,0,0,.30); transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0,0,0,.34); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }
.chip {
  border: 1px solid rgba(255,255,255,.45); color: #eaf4f5; border-radius: 999px;
  padding: 6px 14px; font-size: .86rem; font-weight: 600; background: rgba(255,255,255,.08);
}
.chip.goldchip { background: var(--gold); border-color: var(--gold); color: var(--teal-dark); font-weight: 800; }

/* plain hero (claim page) */
.hero { text-align: center; padding: 46px 0 8px; }
.hero .badge-lg { width: 104px; height: 104px; margin-bottom: 14px; }
.hero h1 { font-size: 2.35rem; line-height: 1.18; letter-spacing: -.015em; font-weight: 800; max-width: 780px; margin: 0 auto 14px; }
.hero h1 .gold { box-shadow: inset 0 -0.42em 0 var(--gold-soft); padding: 0 .06em; }
.hero .sub { font-size: 1.13rem; color: var(--mut); max-width: 680px; margin: 0 auto 12px; }
.hero .price { font-size: 1.05rem; margin-bottom: 22px; }

/* ---------- stats band ---------- */
.stats { background: linear-gradient(120deg, var(--teal-dark), var(--teal) 60%, var(--teal-mid)); color: #fff; margin-top: 54px; }
.hero-band + .stats { margin-top: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; padding-top: 38px; padding-bottom: 10px; }
.stat .num { font-size: 2.5rem; font-weight: 800; color: var(--gold); letter-spacing: -.01em; }
.stat .lbl { font-size: .95rem; color: #d7e8ea; margin-top: 4px; }
.stats .note { text-align: center; color: #a9c6ca; font-size: .85rem; padding: 14px 22px 30px; }

/* ---------- sections ---------- */
section { padding: 72px 0 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--gold-deep); margin-bottom: 10px; }
h2 { font-size: 2rem; letter-spacing: -.015em; line-height: 1.22; margin-bottom: 14px; font-weight: 800; }
h2 .gold { box-shadow: inset 0 -0.42em 0 var(--gold-soft); padding: 0 .06em; }
.lede { color: var(--mut); font-size: 1.07rem; max-width: 760px; margin-bottom: 26px; }
.fineprint { color: var(--mut); font-size: .9rem; margin-top: 14px; max-width: 760px; }
.center { text-align: center; }

/* quick-fit strip */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fit .f {
  display: flex; gap: 12px; align-items: flex-start; background: var(--mist);
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.fit .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.fit p { font-size: .98rem; }
.fit p b { color: var(--teal-dark); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--teal); margin-bottom: 8px; font-size: 1.12rem; }
.card h3 a { text-decoration: none; }
.card p { color: var(--mut); font-size: .97rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--teal-dark);
  font-weight: 800; margin-bottom: 12px; font-size: 1.05rem;
}

/* biggest jobs */
.job { border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 14px; padding: 22px; background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.job .amt { font-size: 1.9rem; font-weight: 800; color: var(--teal); letter-spacing: -.01em; }
.job .what { font-weight: 700; margin-top: 2px; }
.job .where { color: var(--mut); font-size: .92rem; }

/* ---------- digest window + switcher ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: center; }
.pills .lbl { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-right: 2px; }
.pill {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 7px 15px; font-size: .92rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all .12s ease;
}
.pill:hover { border-color: var(--teal); }
.pill.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.pill.on.gold-on { background: var(--gold); border-color: var(--gold); color: var(--teal-dark); }
.digest-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.winbar {
  background: var(--teal-dark); color: #fff; padding: 13px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.winbar .dots { display: flex; gap: 6px; }
.winbar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.28); display: block; }
.winbar .dots i:first-child { background: var(--gold); }
.winbar .t { font-weight: 800; letter-spacing: .01em; }
.winbar .w { margin-left: auto; color: var(--gold); font-size: .9rem; font-weight: 700; }
.digest-body { padding: 8px 22px 4px; }
.lead-row { padding: 15px 10px; border-bottom: 1px solid var(--line); border-radius: 8px; transition: background .12s ease; }
.lead-row:last-child { border-bottom: none; }
.lead-row:hover { background: var(--mist); }
.lead-row .addr { font-weight: 800; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.vchip { background: var(--gold-soft); color: var(--teal-dark); border: 1px solid #ecd27a; font-weight: 800; border-radius: 8px; padding: 2px 10px; font-size: .95rem; white-space: nowrap; }
.vchip.none { background: var(--mist); color: var(--mut); border-color: var(--line); font-weight: 600; font-size: .82rem; }
.lead-row .desc { color: var(--ink); margin-top: 2px; }
.lead-row .meta { color: var(--mut); font-size: .9rem; margin-top: 3px; }
.lead-row .meta b { color: var(--teal); font-weight: 700; }
.digest-foot { padding: 14px 22px 18px; color: var(--mut); font-size: .9rem; background: var(--mist); }
.empty-note { padding: 26px 12px; color: var(--mut); text-align: center; }

/* verify strip */
.verify { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.verify a {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: .9rem;
  font-weight: 700; text-decoration: none; background: #fff; transition: all .12s ease;
}
.verify a:hover { border-color: var(--gold); background: var(--gold-soft); }

/* ---------- tables ---------- */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.tscroll table { margin-top: 0; }
#slot-grid { min-width: 540px; }
table.compare { min-width: 600px; }
table.slots.county { min-width: 480px; }
table.slots, table.compare { width: 100%; border-collapse: collapse; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.slots th, table.compare th { background: var(--teal); color: #fff; text-align: left; padding: 12px 14px; font-size: .95rem; }
table.slots td, table.compare td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
table.slots tr:nth-child(even) td, table.compare tr:nth-child(even) td { background: var(--mist); }
.open { color: var(--ok); font-weight: 800; }
.taken { color: var(--bad); font-weight: 800; }
.slotcell a { text-decoration: none; color: inherit; display: block; }
.slotcell:hover { background: var(--gold-soft); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 7px; box-shadow: 0 0 0 3px rgba(19,115,51,.15); }
.dot.red { background: var(--bad); box-shadow: 0 0 0 3px rgba(179,38,30,.13); }
table.compare td.us { background: var(--gold-soft); font-weight: 600; }
table.compare th.us { background: var(--teal-dark); color: var(--gold); }
.mini-cta { background: var(--gold); color: var(--teal-dark); font-weight: 800; text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .88rem; white-space: nowrap; border: 1px solid #d9a41c; }

/* ---------- explainer duo ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.duo .card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.duo .tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--teal-soft); color: var(--teal); border-radius: 6px; padding: 3px 8px; font-weight: 800; }
.duo .tag.gold { background: var(--gold-soft); color: var(--gold-deep); }

/* ---------- pricing ---------- */
.price-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal) 70%); color: #fff; border-radius: 20px;
  padding: 38px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.price-card .amount { font-size: 4rem; font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -.02em; }
.price-card .per { color: #cfe0e2; margin: 8px 0 22px; }
.price-card .math { color: #a9c6ca; font-size: .88rem; margin-top: 16px; }
.price-card ul { list-style: none; }
.price-card li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1rem; }
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 800; }

/* operator note */
.operator { background: var(--teal-soft); border-left: 6px solid var(--gold); border-radius: 14px; padding: 28px 30px; }
.operator h3 { color: var(--teal-dark); margin-bottom: 10px; font-size: 1.15rem; }
.operator p { color: #33565c; max-width: 820px; }
.operator p + p { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 11px; background: #fff; transition: box-shadow .12s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { font-weight: 800; cursor: pointer; color: var(--teal-dark); }
.faq p { color: var(--mut); margin-top: 9px; max-width: 820px; }

/* ---------- footer ---------- */
.sunrise-bar { height: 6px; background: linear-gradient(90deg, var(--teal-dark), var(--teal-mid), var(--gold), var(--teal-mid), var(--teal-dark)); margin-top: 84px; }
footer { background: var(--teal-dark); color: #b9d2d5; padding: 46px 0 40px; }
footer .lockup { background: #fff; border-radius: 14px; padding: 10px 16px; max-width: 300px; margin-bottom: 18px; }
footer a { color: var(--gold); text-decoration: none; }
footer p { font-size: .92rem; margin-bottom: 8px; max-width: 760px; }

/* ---------- claim form ---------- */
.form-card { border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); background: #fff; margin-top: 26px; }
.form-card label { display: block; font-weight: 700; margin: 16px 0 6px; color: var(--teal-dark); }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.form-card input:focus, .form-card select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.slotline { margin-top: 10px; font-size: .95rem; }
.form-card button {
  margin-top: 24px; width: 100%; background: linear-gradient(180deg, #ffd34d, var(--gold)); color: var(--teal-dark);
  border: 1px solid #d9a41c; border-radius: 999px; padding: 15px; font-size: 1.05rem; font-weight: 800;
  cursor: pointer; font-family: inherit; box-shadow: 0 8px 22px rgba(248,191,49,.35);
}
.form-card button:disabled { background: #e8e8e8; color: #888; border-color: #ccc; cursor: not-allowed; box-shadow: none; }

/* ---------- county pages ---------- */
.county-hero { text-align: center; padding: 44px 0 4px; }
.county-hero img { width: 92px; height: 92px; border-radius: 50%; box-shadow: var(--shadow); margin-bottom: 12px; }
.county-hero h1 { font-size: 2.2rem; letter-spacing: -.015em; margin-bottom: 12px; font-weight: 800; }
.county-hero .sub { color: var(--mut); font-size: 1.08rem; max-width: 660px; margin: 0 auto 10px; }

@media (max-width: 640px) {
  .hero-inner { padding: 44px 0 118px; }
  .hero-inner h1 { font-size: 2.05rem; }
  .hero-inner .badge-lg { width: 88px; height: 88px; }
  .hero-band .sun { width: 120px; height: 120px; bottom: 56px; }
  .hero h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
  section { padding-top: 52px; }
  .price-card { grid-template-columns: 1fr; padding: 28px; }
  table.slots.county th:nth-child(2), table.slots.county td:nth-child(2) { display: none; }
  #slot-grid th, #slot-grid td { padding: 9px 8px; font-size: .85rem; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .digest-body { padding: 4px 12px 2px; }
  .lead-row .addr { flex-direction: column; gap: 4px; }
}
