:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --text: #18212f;
  --muted: #5f6c7b;
  --line: rgba(24, 33, 47, 0.12);
  --blue: #2563eb;
  --blue-dark: #1742a6;
  --teal: #0f766e;
  --green: #1f8a5b;
  --shadow: 0 18px 40px rgba(24, 33, 47, 0.08);
  --shadow-strong: 0 24px 60px rgba(24, 33, 47, 0.12);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(15, 118, 110, 0.08), transparent 25%),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.72);
}

main {
  display: grid;
  gap: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel,
.offer-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
li,
summary {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.subheadline {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.zip-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.zip-form input {
  min-height: 46px;
  flex: 1 1 220px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}

.button.primary {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
}

.query-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
}

.query-strip strong {
  color: var(--text);
}

.hero-panel {
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.stat-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 20px;
  font-weight: 800;
}

.section {
  padding: 4px 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.section h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

.section-note {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.offer-card {
  padding: 18px;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.8);
}

.offer-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.offer-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  font-size: 30px;
  font-weight: 900;
  color: var(--blue-dark);
}

.offer-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.offer-card .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel {
  padding: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checklist {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  padding: 20px 0 10px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
  line-height: 1.65;
}

.fallback-card {
  border-style: dashed;
}

.offer-card.is-ready {
  border-style: solid;
}

.offer-card.featured {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.offer-card.featured .price {
  color: var(--green);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-note {
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .split,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .hero-copy {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  h1 {
    font-size: 34px;
  }

  .subheadline {
    font-size: 16px;
  }

  .hero-copy,
  .hero-panel,
  .panel,
  .offer-card {
    border-radius: 8px;
  }
}
