@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
  --purple: #5B3C88;
  --purple-deep: #3f2a61;
  --sage: #7A8F7A;
  --gold: #D4AF37;
  --white: #ffffff;
  --canvas: #f6f7fb;
  --lavender: #f4f1fb;
  --lavender-deep: #ebe4f7;
  --card: rgba(255, 255, 255, 0.98);
  --text: #1f2330;
  --muted: #5f6678;
  --line: rgba(91, 60, 136, 0.12);
  --line-strong: rgba(91, 60, 136, 0.18);
  --green-soft: #eaf6ef;
  --blue-soft: #eef4ff;
  --shadow-sm: 0 10px 22px rgba(29, 25, 42, 0.06);
  --shadow-md: 0 18px 44px rgba(29, 25, 42, 0.10);
  --shadow-lg: 0 28px 70px rgba(29, 25, 42, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(122, 143, 122, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 20%),
    linear-gradient(180deg, #fbfcff 0%, #f6f7fb 55%, #fbfcff 100%);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.top-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--sage) 46%, var(--purple));
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(91, 60, 136, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 26px rgba(91, 60, 136, 0.24);
}

.brand-copy { min-width: 0; }
.brand-name {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--purple-deep);
}
.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  position: relative;
}
.nav-toggle span::before { position: absolute; left: 0; top: -6px; }
.nav-toggle span::after { position: absolute; left: 0; top: 6px; }

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 18px;
  right: 18px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}
.site-nav a.current,
.site-nav a:hover {
  background: rgba(91, 60, 136, 0.08);
  color: var(--purple-deep);
}

main { padding: 18px 0 56px; }
section { padding: 14px 0; }

.hero-panel,
.panel-card,
.benefit-card,
.faq-item,
.related-card,
.search-panel,
.faq-panel,
.hero-how-card,
.hero-map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(245,243,250,0.98)),
    linear-gradient(135deg, rgba(122,143,122,0.08), rgba(212,175,55,0.08));
}

.hero-grid,
.calculator-grid,
.benefit-grid,
.footer-grid,
.hero-badges,
.hero-actions,
.hero-result-mini-grid,
.note-grid,
.search-chip-grid,
.related-grid,
.form-grid,
.lower-grid {
  display: grid;
  gap: 14px;
}

.eyebrow,
.mini-tag,
.hero-badge,
.map-chip,
.map-pill,
.result-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow,
.mini-tag {
  background: rgba(91, 60, 136, 0.08);
  color: var(--purple-deep);
}

.hero-title,
.section-heading-block h2,
.section-intro h2,
.site-footer h2,
.hero-how-card h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #171c34;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
}

.section-heading-block h2,
.section-intro h2,
.site-footer h2,
.hero-how-card h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
  color: var(--purple-deep);
}

.hero-subtitle,
.section-heading-block p,
.section-intro p,
.panel-card p,
.hero-how-card li span,
.note-card p,
.benefit-card p,
.related-card p,
.site-footer p,
.faq-item p,
.breakdown-head p,
.map-footer-note p,
.hero-result-card p,
.privacy-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-grid {
  align-items: stretch;
}

.hero-copy-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-badges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-badge {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(91, 60, 136, 0.08);
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.hero-actions {
  grid-template-columns: 1fr;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.primary-button {
  border: none;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 18px 30px rgba(91, 60, 136, 0.22);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--purple-deep);
}

.hero-map-card,
.hero-how-card,
.panel-card,
.input-column,
.results-column,
.related-card,
.search-panel,
.faq-panel {
  padding: 20px;
}

.map-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.map-chip {
  background: rgba(122, 143, 122, 0.14);
  color: var(--sage);
}

.map-pill,
.result-status-pill {
  background: rgba(212, 175, 55, 0.16);
  color: #7f6411;
}

.map-stage {
  position: relative;
  margin-top: 14px;
  min-height: 250px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(234, 246, 239, 0.9), rgba(245, 247, 251, 0.96)),
    linear-gradient(135deg, rgba(122,143,122,0.12), rgba(91,60,136,0.08));
  border: 1px solid rgba(122, 143, 122, 0.16);
  overflow: hidden;
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background-image:
    linear-gradient(rgba(91, 60, 136, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 60, 136, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
}

.usa-silhouette {
  position: absolute;
  inset: 34px 40px 38px;
  background: linear-gradient(135deg, rgba(122, 143, 122, 0.72), rgba(122, 143, 122, 0.42));
  clip-path: polygon(4% 48%, 10% 40%, 18% 38%, 27% 31%, 37% 32%, 46% 22%, 60% 23%, 70% 30%, 79% 28%, 87% 34%, 95% 48%, 88% 58%, 83% 67%, 75% 69%, 69% 78%, 59% 80%, 49% 74%, 41% 78%, 30% 72%, 22% 71%, 16% 61%, 8% 59%);
  filter: drop-shadow(0 16px 22px rgba(63, 42, 97, 0.18));
}

.usa-silhouette::before,
.usa-silhouette::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.usa-silhouette::before {
  width: 60px;
  height: 16px;
  top: 28%;
  left: 26%;
}

.usa-silhouette::after {
  width: 82px;
  height: 16px;
  bottom: 22%;
  right: 22%;
}

.map-float {
  position: absolute;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(91, 60, 136, 0.10);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.map-float-1 { top: 20px; right: 18px; }
.map-float-2 { left: 18px; bottom: 66px; }
.map-float-3 { right: 24px; bottom: 20px; }

.map-footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.map-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sage));
}

.hero-how-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hero-how-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: how;
}

.hero-how-card li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.hero-how-card li::before {
  counter-increment: how;
  content: counter(how);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 60, 136, 0.10);
  color: var(--purple-deep);
  font-weight: 800;
}

.hero-how-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.calculator-grid {
  align-items: start;
}

.calculator-grid-dense {
  grid-template-columns: 1fr;
  row-gap: 10px;
}

.checklist-block { grid-area: included; }
.input-block { grid-area: input; }
.results-summary-block {
  grid-area: results;
  display: grid;
  gap: 14px;
  align-content: start;
}
.reminder-block { grid-area: reminder; }
.breakdown-block { grid-area: breakdown; }
.notes-block {
  grid-area: notes;
  display: grid;
  gap: 14px;
  align-content: start;
}

.notes-block .note-card {
  height: 100%;
}

.trust-column {
  display: grid;
  gap: 14px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--purple);
}

.checklist-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(244,241,251,0.98));
}

.reminder-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,242,250,0.98));
}

.teaser-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(240,247,240,0.98));
}

.section-intro,
.section-heading-block {
  display: grid;
  gap: 10px;
}

.section-intro { margin-bottom: 18px; }
.compact-heading { margin-bottom: 14px; }

.toggle-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: var(--lavender);
  border: 1px solid var(--line);
}

.toggle-chip {
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.toggle-chip.is-active {
  background: linear-gradient(135deg, rgba(91,60,136,0.14), rgba(212,175,55,0.14));
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.calculator-form {
  display: grid;
  gap: 14px;
}

.form-grid { grid-template-columns: 1fr; }
.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.label-note {
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.98);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(91, 60, 136, 0.36);
  box-shadow: 0 0 0 4px rgba(91, 60, 136, 0.10);
}

.input-prefix { position: relative; }
.input-prefix span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--muted);
}
.input-prefix input { padding-left: 34px; }

.field-emphasis input {
  min-height: 60px;
  font-size: 1.06rem;
  font-weight: 700;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.privacy-icon { font-size: 1rem; }

.hero-result-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #311a79, #2b165f 90%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.result-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-result-label {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-result-value {
  margin-top: 10px;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-result-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 16px;
}

.hero-result-mini-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-result-mini-grid span {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-result-mini-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-result-card p { color: rgba(255,255,255,0.85); }

.breakdown-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,244,250,0.98));
}

.breakdown-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.breakdown-head h3,
.note-card h3,
.benefit-card h3,
.related-card h3,
.panel-card h2,
.faq-item summary {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--purple-deep);
}

.breakdown-list {
  display: grid;
  gap: 10px;
}

.line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(91,60,136,0.08);
}

.line-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.line-item span { color: var(--muted); }
.line-item strong { color: var(--purple-deep); }
.total-line span,
.total-line strong {
  color: var(--purple-deep);
  font-weight: 800;
}

.note-grid {
  margin-top: 14px;
  grid-template-columns: 1fr;
}

.note-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.99);
}

.success-note {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(234,246,239,0.96));
}

.state-note-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(238,244,255,0.96));
}

.benefit-grid {
  grid-template-columns: 1fr;
}

.benefit-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 18px;
  align-items: start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 60, 136, 0.10);
  color: var(--purple-deep);
  font-weight: 800;
}

.lower-grid {
  align-items: start;
}

.faq-panel,
.search-panel {
  display: grid;
  gap: 18px;
}

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

.faq-item {
  padding: 16px 18px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-right: 24px;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--muted);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 10px; }

.search-chip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-chip {
  min-height: 50px;
  padding: 12px 14px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(91, 60, 136, 0.10);
  background: linear-gradient(180deg, #f5f2ff, #eef4ff);
  color: var(--purple-deep);
  font-weight: 700;
}

.contact-hero-shell {
  padding-top: 8px;
}

.contact-hero-panel {
  display: grid;
  gap: 10px;
  padding: 14px 18px 10px;
}

.contact-hero-grid {
  display: grid;
  gap: 12px;
  align-items: center;
}

.contact-hero-copy,
.contact-hero-copy-right {
  max-width: 100%;
}

.contact-hero-copy-right {
  align-self: center;
}

@media (min-width: 980px) {
  .contact-hero-copy-right {
    padding-top: 24px;
  }
}

.hero-title.contact-hero-title {
  max-width: none;
}

.hero-subtitle.contact-hero-subtitle {
  max-width: none;
  margin-top: 2px;
}

.contact-content-section,
.contact-tools-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.contact-grid,
.contact-tools-grid {
  display: grid;
  gap: 14px;
}

.contact-grid {
  align-items: stretch;
}

.contact-email-card,
.contact-notice-card {
  display: grid;
  gap: 16px;
  align-content: start;
  height: 100%;
}

.contact-email-link {
  font-size: clamp(1.16rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple-deep);
  word-break: break-word;
}

.contact-use-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-copy-button {
  width: fit-content;
}

.contact-copy-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-notice-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,242,250,0.98));
}

.sponsored-section {
  padding-top: 8px;
  padding-bottom: 8px;
}

.sponsored-shell {
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,244,250,0.98));
}

.sponsored-heading {
  margin-bottom: 0;
}

.sponsored-tag {
  background: rgba(212, 175, 55, 0.18);
  color: #7f6411;
}

.sponsored-grid {
  display: grid;
  gap: 14px;
}

.sponsor-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 60, 136, 0.14);
  background: rgba(255,255,255,0.96);
}

.sponsor-primary-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,242,250,0.98));
}

.sponsor-future-card {
  border-style: dashed;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(244,248,255,0.96));
}

.sponsor-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sponsor-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--purple-deep);
}

.sponsored-button {
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
}

.sponsor-topic-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.related-grid {
  grid-template-columns: 1fr;
}

.related-card {
  display: grid;
  gap: 10px;
}

.related-subtitle {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  background: linear-gradient(135deg, #2c175f, #24124f);
  color: var(--white);
  margin-top: 64px;
}

.calculator-shell {
  padding-bottom: 6px;
}

.benefits-section {
  padding-top: 4px;
  padding-bottom: 8px;
}

.lower-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.related-section {
  padding-top: 8px;
}

.footer-grid {
  padding: 44px 0;
}

.site-footer h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.site-footer p {
  color: rgba(255,255,255,0.76);
  max-width: 44ch;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

@media (min-width: 680px) {
  .container { padding: 0 24px; }
  .hero-actions { grid-template-columns: auto auto; }
  .form-grid.two-up,
  .note-grid,
  .related-grid,
  .benefit-grid,
  .notes-block,
  .sponsored-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-badges,
  .search-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  main { padding-top: 22px; }
  section { padding: 16px 0; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    position: relative;
    padding: 10px 12px;
  }
  .site-nav a.current::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--purple);
  }

  .hero-panel { padding: 24px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.94fr) 300px;
    gap: 18px;
  }

  .calculator-grid {
    grid-template-columns: 280px minmax(0, 1fr) 360px;
    gap: 18px;
  }

  .calculator-grid-dense {
    grid-template-columns: 280px minmax(0, 1fr) 360px;
    grid-template-areas:
      "included input results"
      "reminder breakdown notes";
    column-gap: 18px;
    row-gap: 8px;
  }

  .notes-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-hero-grid {
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
    gap: 22px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  }

  .contact-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lower-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .hero-title { max-width: 11ch; }
  .hero-subtitle { max-width: 52ch; }
}

@media (max-width: 979px) {
  .hero-map-column,
  .hero-how-card,
  .trust-column,
  .input-column,
  .results-column {
    order: initial;
  }
}

/* Hero simplified permanent shell */
.hero-shell {
  padding-top: 6px;
}

.hero-panel {
  padding: 16px 18px 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,243,250,0.98)),
    linear-gradient(135deg, rgba(122,143,122,0.05), rgba(212,175,55,0.04));
}

.hero-grid,
.hero-grid-simple {
  align-items: start;
  gap: 16px;
}

.hero-copy-column,
.hero-copy-column-wide {
  gap: 14px;
  align-self: start;
}

.hero-copy-column-wide {
  max-width: 760px;
}

.hero-title {
  max-width: 9.5ch;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 0.96;
}

.hero-subtitle {
  max-width: 41ch;
  font-size: 1rem;
  line-height: 1.55;
}

.hero-badges {
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.hero-badge {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(91, 60, 136, 0.10);
}

.hero-process-strip {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.hero-process-head {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
}

.hero-process-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.hero-process-card {
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-sm);
}

.hero-process-step {
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 6px;
}

.hero-process-card h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.16;
  font-weight: 700;
  color: var(--purple-deep);
}

.hero-process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.hero-actions {
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 6px;
}

.hero-actions-bottom {
  margin-top: 2px;
}

.hero-primary-button,
.hero-secondary-button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
}

.hero-primary-button {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 16px 28px rgba(91, 60, 136, 0.22);
}

.hero-secondary-button {
  background: var(--white);
  color: var(--purple-deep);
  border: 1px solid var(--line-strong);
}

@media (min-width: 680px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
  }
}

@media (min-width: 980px) {
  .hero-panel {
    padding: 16px 18px 14px;
  }

  .hero-badges {
    grid-template-columns: repeat(4, minmax(0, max-content));
    gap: 24px;
  }

  .hero-badge {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.64rem;
  }

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

  .hero-process-card {
    min-height: 112px;
  }
}

@media (min-width: 1180px) {
  .hero-title {
    max-width: 8.9ch;
  }

  .hero-badges {
    gap: 28px;
  }
}
