/* Homepage — aggregator layout. Calculator chrome stays in calculator.css */

body.home {
  background: #fff;
}

body.home main {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home h1 {
  color: var(--ink);
}

.home-hero {
  background: linear-gradient(180deg, #F3F7FB 0%, #fff 100%);
  padding: 40px 0 12px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.home-hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.home-hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
}

.home-hero-copy > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 46ch;
  font-weight: 500;
}

.gender-pick {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gender-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow);
}

.gender-avatar svg { width: 64px; height: 64px; }

.gender-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.gender-btns { display: flex; gap: 8px; }

.gender-btn {
  min-width: 96px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.gender-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.hero-carousel {
  min-width: 0;
}

.hero-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.28);
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(145deg, var(--brand-deep) 0%, var(--brand) 58%, #16325C 100%);
  color: #fff;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-slide.has-image {
  background-image: linear-gradient(180deg, rgba(11, 31, 58, 0.18) 0%, rgba(11, 31, 58, 0.82) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-slide.tone-teal { background: linear-gradient(145deg, #0F7A62, #3CB89A); }
.hero-slide.tone-navy { background: linear-gradient(145deg, #1C2A4A, #3A5A9A); }

.hero-slide::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.hero-promo-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #C5D4E8;
  position: relative;
  z-index: 1;
}

.hero-slide h2 {
  margin: 10px 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
  max-width: 16ch;
  position: relative;
  z-index: 1;
}

.hero-slide p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.hero-promo-badge strong {
  font-size: 22px;
  font-weight: 800;
}

.hero-promo-badge span {
  font-size: 12px;
  font-weight: 600;
  max-width: 12ch;
  line-height: 1.3;
}

.hero-slide .btn-gold {
  background: #fff;
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #9BB0C9;
  border: 0;
}

.hero-dots button.is-active {
  background: var(--brand);
  width: 18px;
  border-radius: 999px;
}

.product-board { padding: 12px 0 8px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 10px 16px;
  min-height: 132px;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #9BB0C9;
  box-shadow: 0 12px 28px var(--shadow);
}

.product-card.is-hidden { display: none; }

.product-featured {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: #D8F3EA;
  color: #0F7A62;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-card.is-featured .product-tile {
  box-shadow: none;
}

.product-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-tile {
  position: relative;
  display: grid;
  place-items: center;
}

.product-tile-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.product-ribbon {
  display: none;
}

.product-ribbon.tone-green { background: #D8F3EA; color: #0F7A62; }
.product-ribbon.tone-soft { background: #E6EEF6; color: var(--brand); }

.view-all-products {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.plan-icon svg {
  width: 30px;
  height: 30px;
}

.tone-violet { background: #EEE9FF; color: #5B4BCC; }
.tone-coral { background: #FFE4E4; color: #C43B3B; }
.tone-teal { background: #D8F3EA; color: #0F7A62; }
.tone-blue { background: #DDE8FF; color: #2A5BD7; }
.tone-amber { background: #FFE8D0; color: #B55B12; }
.tone-pink { background: #FBE0EE; color: #B83273; }
.tone-cyan { background: #D7F4FC; color: #0B7CA0; }
.tone-lime { background: #E7F4D4; color: #4F7A14; }
.tone-gold { background: #FFF0D0; color: #A56B00; }
.tone-rose { background: #E6EEF6; color: var(--brand); }
.tone-slate { background: #E6ECF6; color: #3A4F73; }
.tone-purple { background: #EFE0FA; color: #7A3AA8; }
.tone-navy { background: #0B1F3A; color: #D6E4F2; }

.filter-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
}

.filter-chip {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px;
  font-size: 13px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.promo-row { padding: 28px 0 8px; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 168px;
  padding: 22px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.promo-card.tone-rose { background: linear-gradient(135deg, #050E1C, #0B1F3A 55%, #16325C); }
.promo-card.tone-teal { background: linear-gradient(135deg, #0F7A62, #3CB89A); }
.promo-card.tone-navy { background: linear-gradient(135deg, #1C2A4A, #3A5A9A); }

.promo-card.has-image {
  background-image: linear-gradient(180deg, rgba(11, 31, 58, 0.12) 0%, rgba(11, 31, 58, 0.78) 100%), var(--promo-image);
  background-size: cover;
  background-position: center;
}

.promo-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.promo-card strong {
  font-size: 22px;
  letter-spacing: -0.03em;
  max-width: 16ch;
  line-height: 1.2;
}

.promo-cta { font-size: 14px; font-weight: 700; }

.why-us { padding: 48px 0; }

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.why-copy h2,
.calc-section h2,
.advantage h2,
.advisor-band h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.why-copy p,
.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-card {
  background: #F3F7FB;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.why-card h3,
.advantage article h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.why-card p,
.advantage article p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 500;
}

.calc-section {
  background: #F3F6FA;
  padding: 48px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.calc-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-col {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}

.calc-col header {
  padding: 18px 18px 12px;
}

.calc-col.tone-rose header { background: #E6EEF6; }
.calc-col.tone-teal header { background: #D8F3EA; }
.calc-col.tone-navy header { background: #E6ECF6; }

.calc-col h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.calc-col header p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.calc-col ul {
  list-style: none;
  margin: 0;
  padding: 6px 0 10px;
}

.calc-col a,
.calc-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.calc-col a:hover { background: #F3F7FB; }

.calc-col a span { flex: 1; }

.calc-col small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0F7A62;
  background: #D8F3EA;
  border-radius: 999px;
  padding: 2px 7px;
}

.calc-col small.soon {
  color: var(--brand);
  background: #E6EEF6;
}

.calc-empty {
  color: var(--muted);
  font-weight: 500;
}

.advantage { padding: 48px 0 24px; }

.advantage h2 { margin-bottom: 22px; }

.advantage-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.advantage article {
  text-align: center;
  padding: 8px 6px;
}

.advantage .plan-icon { margin: 0 auto; }

.advisor-band {
  padding: 24px 0 8px;
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: #F3F7FB;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}

.advisor-list {
  margin: 16px 0 22px;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

.advisor-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
}

.advisor-card h3 { margin: 0 0 8px; font-size: 16px; }
.advisor-card p { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.55; }
.advisor-hours { margin-top: 12px !important; color: var(--brand) !important; font-weight: 700 !important; }

.help-band {
  padding: 12px 0 40px;
}

.help-desk {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 31, 58, 0.1);
}

.help-copy {
  padding: 36px 36px 32px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(74, 124, 186, 0.28), transparent 58%),
    linear-gradient(165deg, #12284a 0%, #0B1F3A 58%, #071628 100%);
  color: #fff;
  display: grid;
  align-content: start;
  gap: 14px;
}

.help-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.help-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  max-width: 14ch;
}

.help-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  max-width: 38ch;
  line-height: 1.55;
}

.help-facts {
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.help-facts li {
  display: grid;
  gap: 2px;
}

.help-facts span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.help-facts strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.help-call,
.help-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.help-call {
  background: #fff;
  color: #0B1F3A;
}

.help-plan {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.help-call:hover { background: #eef3f9; }
.help-plan:hover { background: rgba(255, 255, 255, 0.1); }

.help-form-wrap {
  padding: 28px 32px 30px;
  background: #fff;
}

.advisor-band .help-actions {
  justify-content: flex-start;
}

.btn-ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.btn-gold {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-footer.site-footer {
  margin-top: 0;
}

.home-footer .footer-inner {
  padding: 40px 0 32px;
}

.home-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: 28px 40px;
  align-items: start;
  padding: 0;
}

.home-footer .footer-col,
.home-footer .footer-col-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-footer .footer-col-head,
.home-footer .footer-col > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0 0 14px;
}

.home-footer .footer-col-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
  box-shadow: 0 0 0 2px #fff;
}

.home-footer .footer-col-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-footer .footer-col > h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C5D4E8;
}

.home-footer .footer-blurb,
.home-footer .footer-address {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.home-footer .footer-address {
  margin-top: 14px;
}

.home-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.home-footer .footer-links-2 {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  align-items: start;
}

.home-footer .footer-links a {
  color: inherit;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.home-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.home-footer .footer-base {
  padding: 0;
}

.home-footer .footer-base-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 0 20px;
}

.home-footer .footer-legal {
  margin: 0;
  max-width: 78ch;
  line-height: 1.5;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.soon-hero { padding: 48px 0 12px; }

.soon-card {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 12px 32px var(--shadow);
}

.soon-card .plan-icon { margin: 0 auto 12px; }

.soon-card h1 { font-size: 32px; }

.soon-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
}

.soon-card .help-actions { justify-content: center; margin-top: 20px; }

.nav-dropdown { position: relative; }

.nav-drop-btn {
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
}

.nav-mega {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(560px, 80vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px var(--shadow);
  padding: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  z-index: 30;
}

.nav-dropdown.is-open .nav-mega,
.nav-dropdown:hover .nav-mega { display: grid; }

.nav-mega a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: left;
}

.nav-mega a:hover { background: #F3F7FB; }

.nav-mega .plan-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-mega .plan-icon svg { width: 20px; height: 20px; }

.nav-mega b { display: block; font-size: 13px; }
.nav-mega small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }

body.calculator-page h1 { color: #fff; }
body.calculator-page .help-band { padding-top: 8px; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advantage-row { grid-template-columns: repeat(3, 1fr); }
  .home-hero-grid,
  .why-grid,
  .advisor-grid,
  .section-head { grid-template-columns: 1fr; }
  .home-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
  .home-footer .footer-col-brand,
  .home-footer .footer-col-plans {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-mega {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px;
  }

  .nav-dropdown:hover .nav-mega { display: none; }
  .nav-dropdown.is-open .nav-mega { display: grid; }

  .nav-drop-btn { justify-content: space-between; width: 100%; }

  .help-desk { grid-template-columns: 1fr; }
  .help-copy h2 { max-width: none; }

  .site-header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "toggle brand actions"
      "nav nav nav";
    align-items: center;
    gap: 0 8px;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    grid-area: toggle;
    width: 40px;
    height: 40px;
    padding: 9px 8px;
    border: 0;
  }

  .brand {
    grid-area: brand;
    justify-self: center;
    gap: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .brand strong {
    font-size: 12px;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand em { display: none; }

  .header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .header-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    color: var(--brand);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    background: #fff;
    white-space: nowrap;
  }

  .site-nav {
    grid-area: nav;
  }

  body.home .home-hero {
    padding: 10px 0 6px;
    background: #fff;
  }

  body.home .home-hero-copy { display: none; }

  body.home .hero-slide {
    min-height: 200px;
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  body.home .hero-slide h2 { font-size: 22px; }

  body.home .hero-viewport { border-radius: 16px; }

  body.home .product-board { padding: 8px 0 16px; }

  body.home .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 8px;
    align-items: stretch;
  }

  body.home .product-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 0;
    padding: 0;
    gap: 6px;
    border-radius: 0;
  }

  body.home .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  body.home .product-tile {
    width: 100%;
    aspect-ratio: 1;
    background: #F6F2F1;
    border-radius: 12px;
    overflow: hidden;
  }

  body.home .product-ribbon {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    padding: 4px 4px 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.home .product-featured {
    font-size: 9px;
    padding: 2px 6px;
    top: auto;
    right: auto;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
  }

  body.home .product-tile .plan-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 0;
    margin-top: 10px;
  }

  body.home .product-tile .plan-icon svg {
    width: 28px;
    height: 28px;
  }

  body.home .product-card-title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    min-height: 2.5em;
  }

  body.home .product-card:nth-child(n+10) { display: none; }

  body.home .product-grid.is-expanded .product-card { display: flex; }

  body.home .view-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: span 3;
    min-height: 48px;
    margin-top: 4px;
    align-self: start;
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
  }

  body.home .product-grid.is-expanded .view-all-products {
    grid-column: 1 / -1;
  }

  body.home .filter-row,
  body.home .promo-row { display: none; }
}

@media (max-width: 720px) {
  .home-hero { padding: 10px 0 6px; }
  .product-grid,
  body.home .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-grid,
  .calc-columns,
  .why-cards,
  .advantage-row,
  .home-footer .footer-grid { grid-template-columns: 1fr; }
  .home-footer .footer-col-brand,
  .home-footer .footer-col-plans { grid-column: auto; }
  .home-footer .footer-links-2 { grid-template-columns: 1fr 1fr; }
  .help-desk { grid-template-columns: 1fr; }
  .help-copy h2 { max-width: none; }
  .advisor-grid { padding: 20px; }
  .gender-pick { align-items: flex-start; }
}

.site-flash {
  padding: 12px 20px;
  text-align: center;
  font-weight: 700;
}
.site-flash.is-ok { background: #e8f6ee; color: #1a6b5c; }
.site-flash.is-error { background: #e6eef6; color: #0B1F3A; }

.lead-form {
  display: grid;
  gap: 0;
  min-width: 0;
}

.lead-form-body {
  display: grid;
  gap: 16px;
}

.lead-form-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.lead-form-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
  font-size: 14px;
}

.lead-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-fields .full { grid-column: 1 / -1; }

.lead-products {
  margin: 0;
  padding: 12px;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #f6f9fc;
  min-width: 0;
}

.lead-products legend {
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #3d4d63;
}

.lead-product-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.lead-product-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #e4ebf3;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.lead-product-pick input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--brand);
  flex: 0 0 15px;
}

.lead-product-pick:has(input:checked) {
  border-color: var(--brand);
  background: #eef3f9;
  color: var(--brand);
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #3d4d63;
}

.lead-form .opt {
  font-weight: 500;
  color: #8a96a8;
  text-transform: lowercase;
}

.lead-form input:not([type="checkbox"]):not([type="hidden"]),
.lead-form textarea {
  width: 100%;
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  backdrop-filter: none;
}

.lead-form textarea {
  min-height: 72px;
  resize: vertical;
  font-weight: 500;
}

.lead-submit {
  width: 100%;
  height: 48px;
  border-radius: 12px !important;
  justify-self: stretch;
  transform: none !important;
}

.lead-status {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}

.lead-status.is-ok { color: #1a6b5c; }
.lead-status.is-error { color: #9b1c1c; }

.lead-success,
.lead-success[hidden] {
  display: none;
}

.lead-form.is-submitted .lead-form-body {
  display: none;
}

.lead-form.is-submitted .lead-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  min-height: 280px;
  align-content: center;
  padding: 12px 8px;
}

.lead-success-icon {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.lead-success-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a6b5c;
}

.lead-success h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #0E1A2B;
}

.lead-success p[data-lead-success-msg] {
  margin: 0;
  max-width: 32ch;
  color: #5a6b80;
  font-weight: 500;
  line-height: 1.5;
}

.lead-success-call {
  margin-top: 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.lead-capture {
  margin: 18px 0;
  padding: 22px 24px;
}

.soon-card .lead-form {
  text-align: left;
  margin: 20px auto 0;
  max-width: 420px;
}

.soon-card .lead-fields { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .help-desk,
  .lead-fields,
  .lead-product-picks { grid-template-columns: 1fr; }
  .help-copy,
  .help-form-wrap { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .home-footer .footer-links-2 { grid-template-columns: 1fr; }
  .header-chip-expert .header-chip-text { display: none; }
  body.home .shell {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}
