/* ==========================================================================
   EYL Insurance — front-end stylesheet v2 (mobile-first)
   ========================================================================== */

:root {
  --blue: #0b5cff;
  --blue-dark: #0742bd;
  --navy: #0a2e6e;
  --ink: #14243f;
  --muted: #5a6b85;
  --line: #e3e9f4;
  --bg-soft: #f4f7fd;
  --white: #ffffff;
  --green: #0aa389;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(10, 46, 110, 0.08);
  --shadow-lg: 0 18px 44px rgba(10, 46, 110, 0.13);
  --grad: linear-gradient(120deg, #0b5cff 0%, #2f7bff 60%, #22b8e6 120%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(66px + env(safe-area-inset-bottom)); /* clear mobile bottom nav */
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; color: var(--navy); }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 300;
}
.skip-link:focus { left: 0; }

.only-desktop { display: none; }
@media (min-width: 700px) { .only-desktop { display: inline; } }

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease var(--d, 0s), transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1) var(--d, 0s);
}
.no-observer .reveal { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gradient {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 92, 255, 0.3);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 92, 255, 0.4); filter: brightness(1.05); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #081f4d 0%, #0a2e6e 55%, #0b3d8f 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  flex-wrap: nowrap;
  padding-top: 5px;
  padding-bottom: 5px;
}
.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.top-bar a:hover { color: #fff; }
.top-bar svg { width: 14px; height: 14px; flex: none; }
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.top-bar-links { display: none; align-items: center; gap: 18px; flex: 0 0 auto; }
.top-bar-contact > a { white-space: nowrap; }
.top-bar-email { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.top-bar-email span, .top-bar-links a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.top-bar-tag {
  display: none;
  align-items: center;
  gap: 6px;
  color: #9ec1ff;
}
.top-bar-tag svg { width: 14px; height: 14px; color: #9ec1ff; }
.top-bar-email { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  /* Stable positioning anchor for dropdowns/mega-menu (see .has-mega below).
     Without this, the mega-menu's absolutely-positioned panel falls back to
     whichever ancestor happens to be position:sticky — normally .site-header,
     but the compare page intentionally sets .site-header to position:static
     (so its own sticky table header works), which left the mega-menu with no
     positioned ancestor at all and made it render off-screen on that page. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(200px, 62vw);
  object-fit: contain;
  object-position: left center;
}
.brand-light .brand-logo {
  height: 40px;
  max-width: 200px;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.brand-badge-img {
  width: auto;
  height: 42px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.brand-badge-img .brand-mark {
  display: block;
  width: auto;
  height: 42px;
  max-width: none;
  object-fit: contain;
}
.brand-badge {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 92, 255, 0.3);
}
.brand-badge .brand-mark { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  color: var(--navy);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-light .brand-name { color: #fff; }
.brand-light .brand-tagline { color: rgba(255, 255, 255, 0.55); }

/* --- Nav (mobile-first: slide-in drawer) --- */
.main-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(360px, 88vw);
  background: var(--white);
  box-shadow: -14px 0 44px rgba(10, 46, 110, 0.18);
  padding: 0 18px calc(22px + env(safe-area-inset-bottom));
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 200;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
}
.main-nav.is-open { transform: translateX(0); visibility: visible; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }

/* Drawer header (mobile only) */
.drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -18px 8px;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.drawer-head .brand-logo { height: 42px; max-width: 200px; }
.drawer-head .brand-badge-img,
.drawer-head .brand-badge-img .brand-mark { height: 38px; }
.drawer-head .brand-badge { width: 38px; height: 38px; border-radius: 11px; }
.drawer-head .brand-badge .brand-mark { width: 21px; height: 21px; }
.drawer-head .brand-name { font-size: 17px; }
.drawer-close {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.drawer-close:hover { background: #ffe6ea; color: #e5397a; }
.drawer-close svg { width: 20px; height: 20px; }

.nav-icon { width: 20px; height: 20px; flex: none; color: var(--blue); }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 6px;
  font: inherit;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); }
.caret { width: 14px; height: 14px; margin-left: auto; transition: transform 0.2s; }
.has-dropdown.is-open .caret { transform: rotate(180deg); }

.dropdown { display: none; padding: 6px 0 10px; }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--bg-soft); }
.dropdown-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--tint, var(--blue));
  background: color-mix(in srgb, var(--tint, var(--blue)) 12%, white);
}
.dropdown-icon svg { width: 21px; height: 21px; }
.dropdown a strong { display: block; color: var(--navy); font-size: 15px; }
.dropdown a > span:last-child span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.dropdown-all {
  font-weight: 700;
  color: var(--blue) !important;
  align-items: center !important;
  gap: 8px !important;
}
.dropdown-all svg { width: 15px; height: 15px; }

/* ---------- Mega menu ---------- */
.mega-grid { display: grid; grid-template-columns: 1fr; gap: 3px; }
.mega .mega-tile {
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 12px;
}
.mega .mega-tile:hover { background: color-mix(in srgb, var(--tint, var(--blue)) 9%, white); }
.mega-tile-icon {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px color-mix(in srgb, var(--tint, var(--blue)) 30%, transparent));
  transition: transform 0.15s ease;
}
.mega .mega-tile:hover .mega-tile-icon { transform: scale(1.09); }
.mega-tile-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mega .mega-tile-text strong { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.mega .mega-tile-text > span { font-size: 11.5px; color: var(--muted); font-weight: 500; }

.mega-promo {
  margin-top: 10px;
  padding: 22px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a2e6e, #0b3d8f);
  color: #fff;
}
.mega-promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #9ec1ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.mega-promo h4 { color: #fff; font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.mega-promo p { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.55; margin: 0 0 18px; }

/* Promo links must NOT pick up the category-link (.dropdown a / .mega a) styles */
.mega-promo .mega-promo-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.mega-promo .mega-promo-btn svg { width: 16px; height: 16px; color: var(--blue); }
.mega-promo .mega-promo-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  color: var(--blue-dark);
}
.mega-promo .mega-promo-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 0;
  border-radius: 0;
  color: #9ec1ff !important;
  font-weight: 700;
  font-size: 13.5px;
}
.mega-promo .mega-promo-all:hover { background: transparent; }
.mega-promo-all svg { width: 15px; height: 15px; transition: transform 0.2s; }
.mega-promo-all:hover svg { transform: translateX(4px); }

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
}
.nav-phone { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.nav-phone-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 13%, white);
  color: var(--green);
}
.nav-phone-icon svg { width: 19px; height: 19px; }
.nav-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}
.nav-phone-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* --- Hamburger --- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Drawer backdrop */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 21, 45, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-scrim.is-open { opacity: 1; }

/* Mobile mega menu: clean stacked accordion, hide desktop promo */
.main-nav .mega-promo { display: none; }
.main-nav .mega-grid { padding: 4px 0 10px; }

/* ==========================================================================
   Mobile bottom navigation
   ========================================================================== */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(10, 46, 110, 0.08);
}
.bottom-nav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  transition: color 0.15s;
}
.bottom-nav-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bottom-nav-item svg { width: 22px; height: 22px; flex: none; }
.bottom-nav-item:hover, .bottom-nav-item.is-active { color: var(--blue); }
.bottom-nav-cta { position: relative; }
.bottom-nav-cta-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(11, 92, 255, 0.4);
}
.bottom-nav-cta-circle svg { width: 24px; height: 24px; }
.bottom-nav-cta { color: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(11, 92, 255, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(10, 163, 137, 0.1), transparent 55%),
    linear-gradient(180deg, #eef4ff 0%, #fbfcff 100%);
  padding: 44px 0 52px;
}
/* Dedicated clipping layer for the decorative circles only — keeping
   `overflow: hidden` off .hero itself so .hero-copy's position: sticky
   (an ancestor with overflow != visible neutralizes sticky descendants). */
.hero-deco-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-deco {
  position: absolute;
  border-radius: 50%;
}
.hero-deco-1 {
  width: 420px; height: 420px;
  right: -140px; top: -160px;
  border: 60px solid rgba(11, 92, 255, 0.05);
}
.hero-deco-2 {
  width: 260px; height: 260px;
  left: -110px; bottom: -120px;
  border: 40px solid rgba(10, 163, 137, 0.06);
}
.hero .container { position: relative; display: grid; gap: 34px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(11, 92, 255, 0.1);
  border: 1px solid rgba(11, 92, 255, 0.18);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-eyebrow svg { width: 13px; height: 13px; color: #f5a623; }
.hero h1 {
  font-size: clamp(30px, 6vw, 46px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p { font-size: 17px; color: var(--muted); max-width: 54ch; }

.hero-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.hero-points svg { width: 18px; height: 18px; flex: none; }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.hero-rating-avatars { display: flex; }
.hero-rating-avatars span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av, var(--blue)) 85%, black);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border: 2.5px solid #fff;
  margin-left: -10px;
}
.hero-rating-avatars span:first-child { margin-left: 0; }
.hero-rating-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero-rating-text .stars { font-size: 14px; letter-spacing: 2px; color: #f5a623; }
.hero-rating-text span:last-child { font-size: 13px; font-weight: 600; color: var(--muted); }

/* --- Product grid panel --- */
.hero-panel {
  /* Mobile: .hero .container is a single-column grid (no explicit
     grid-template-columns below 900px), so children stack in DOM order —
     copy, then panel. `order` puts the panel first on mobile without
     touching the markup; reset back to normal DOM order once the 900px+
     breakpoint switches to the explicit 2-column desktop layout below. */
  order: -1;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(11, 92, 255, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 29px 18px 24px;
  overflow: hidden;
  scroll-margin-top: 100px;
}
/* Keep in-page anchor targets clear of the sticky header */
section[id],
[id="products"],
[id="how-it-works"],
[id="faq"],
[id="testimonials"] {
  scroll-margin-top: 96px;
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad);
}
.hero-panel-head { text-align: center; margin-bottom: 18px; }
.hero-panel-title { font-size: 17px; margin-bottom: 3px; }
.hero-panel-sub { font-size: 13px; color: var(--muted); margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tint, var(--blue)) 45%, white);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--tint, var(--blue)) 18%, transparent);
}
.product-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: linear-gradient(100deg, #ff8a00, #ff5e62);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255, 94, 98, 0.35);
}
.product-icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 8%, white);
  transition: transform 0.2s ease;
}
.product-card:hover .product-icon-wrap { transform: scale(1.07) translateY(-1px); }
.product-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.18));
  transition: filter 0.2s ease;
}
.product-card:hover .product-icon {
  filter: drop-shadow(0 7px 11px rgba(15, 23, 42, 0.24));
}
.product-label { font-weight: 700; font-size: 13.5px; color: var(--navy); line-height: 1.25; }
.product-tag { font-size: 11px; color: var(--muted); }

.hero-panel-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-panel-note a { font-weight: 700; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--tint, var(--blue));
  background: color-mix(in srgb, var(--tint, var(--blue)) 10%, white);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 14.5px; color: var(--navy); }
.trust-item span:not(.trust-icon) { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.trust-item div span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

/* ==========================================================================
   Generic sections
   ========================================================================== */
.section { padding: 60px 0; }

.section-head { max-width: 640px; margin: 0 auto 38px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 4.5vw, 34px); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); }
.section-cta { text-align: center; margin-top: 38px; }

/* ---------- Why grid ---------- */
.why-section {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(11, 92, 255, 0.05), transparent 60%),
    var(--bg-soft);
}
.why-grid { display: grid; gap: 16px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--blue) 25%, white);
}
.why-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--tint, var(--blue)), color-mix(in srgb, var(--tint, var(--blue)) 65%, #001a4d));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tint, var(--blue)) 35%, transparent);
  margin-bottom: 18px;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 18px; }
.why-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.step { position: relative; padding-left: 70px; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 8px 20px rgba(11, 92, 255, 0.28);
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Product highlights ---------- */
.highlight-section { background: var(--white); padding-top: 10px; }
.highlight-grid { display: grid; gap: 18px; }
.highlight-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--band, var(--blue));
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.highlight-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--band, var(--blue));
  background: color-mix(in srgb, var(--band, var(--blue)) 10%, white);
  margin-bottom: 16px;
}
.highlight-icon svg { width: 27px; height: 27px; }
.highlight-card h3 { font-size: 20px; }
.highlight-card > p { color: var(--muted); font-size: 14.5px; }
.highlight-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.highlight-card li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 14.5px;
  font-weight: 600;
}
.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="m4 10.5 4 4 8-8.5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="m4 10.5 4 4 8-8.5"/></svg>') center / contain no-repeat;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 15px;
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.2s; }
.card-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Plan product card
   ========================================================================== */
.plan-section { background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%); }
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.plan-card-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f4f8ff 0%, var(--white) 100%);
}
.plan-card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.plan-card-title {
  font-size: clamp(20px, 4vw, 26px);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f8f3;
  color: #0a7d5e;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid #b8e8d8;
}
.plan-card-layout {
  display: grid;
  gap: 0;
}
.plan-features {
  padding: 8px 24px 24px;
}
.plan-feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  flex: 1 1 140px;
}
.plan-feature-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  flex: 1 1 180px;
}
.plan-feature.is-highlight .plan-feature-value {
  font-size: 16px;
  color: var(--blue);
}
.plan-pricing {
  padding: 24px;
  background: #eef4ff;
  border-top: 1px solid #d4e2f8;
}
.plan-pricing-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.plan-premium {
  margin: 0;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-premium-old {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}
.plan-pricing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.plan-savings {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e8f8f3;
  color: #0a7d5e;
  font-size: 12.5px;
  font-weight: 700;
}
.plan-discount {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff3e0;
  color: #c25a00;
  font-size: 12.5px;
  font-weight: 700;
}
.plan-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #c8d9f5;
  font-size: 13.5px;
  font-weight: 600;
  color: #2a3d5c;
}
.plan-guarantee svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.plan-actions .btn { width: 100%; justify-content: center; }

@media (min-width: 900px) {
  .plan-card-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  .plan-features { padding: 16px 28px 28px; }
  .plan-pricing {
    border-top: none;
    border-left: 1px solid #d4e2f8;
    position: sticky;
    top: 100px;
    min-height: 100%;
  }
  .plan-feature-value { text-align: right; }
}

/* ---------- Mission band ---------- */
.mission-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(11, 92, 255, 0.4), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(34, 184, 230, 0.18), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 60px 0;
}
.mission-deco {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 54px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.mission-inner { position: relative; display: grid; gap: 34px; }
.mission-eyebrow {
  display: inline-block;
  color: #8db4ff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mission-band h2 { color: #fff; font-size: clamp(23px, 4.5vw, 32px); letter-spacing: -0.01em; }
.mission-band p { color: rgba(255, 255, 255, 0.82); max-width: 60ch; }

.mission-progress { margin-top: 22px; max-width: 480px; }
.mission-progress-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.mission-progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22b8e6, #4f96ff);
  transition: width 1.4s cubic-bezier(0.22, 0.9, 0.3, 1) 0.3s;
}
.is-visible .mission-progress-fill,
.no-observer .mission-progress-fill { width: 50%; }
.mission-progress-goal {
  position: absolute;
  inset: -3px auto -3px calc(100% - 2px);
  width: 3px;
  background: #ffd166;
  border-radius: 2px;
}
.mission-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.mission-progress-labels span:last-child { color: #ffd166; }

.mission-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mission-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mission-stat strong {
  display: block;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  background: linear-gradient(90deg, #8db4ff, #4fd9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission-stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- About preview ---------- */
.about-preview { background: var(--bg-soft); }
.about-inner { display: grid; gap: 32px; align-items: center; }
.about-copy h2 { font-size: clamp(24px, 4.5vw, 32px); }
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: 8px; }
.values-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
}
.values-panel h3 { font-size: 16px; margin-bottom: 16px; }
.values-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  transition: transform 0.15s, border-color 0.15s;
}
.chip:hover { transform: translateY(-2px); border-color: rgba(11, 92, 255, 0.35); }

/* ---------- Testimonials (draggable marquee) ---------- */
.marquee {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  cursor: grab;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}
.marquee::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-dragging .testimonial-card { pointer-events: none; } /* don't fire links mid-drag */
.marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 4px 10px;
}
.testimonial-card {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 20px;
  font-size: 78px;
  line-height: 1;
  font-weight: 800;
  color: rgba(11, 92, 255, 0.09);
  pointer-events: none;
}
.stars { color: #f5a623; letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.testimonial-card blockquote {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--ink);
  flex: 1;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av, var(--blue)) 14%, white);
  color: var(--av, var(--blue));
  font-weight: 800;
  font-size: 16px;
}
.testimonial-card figcaption strong { display: block; color: var(--navy); }
.testimonial-card figcaption span span { font-size: 13px; color: var(--muted); display: block; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(11, 92, 255, 0.4); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  padding: 18px 34px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  padding: 56px 0;
}
.cta-deco {
  position: absolute;
  left: -100px;
  top: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 48px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(23px, 4.5vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #081f4d;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 0 28px;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--grad);
}
.footer-glow {
  position: absolute;
  right: -180px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 92, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.footer-newsletter {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-newsletter h2 { color: #fff; font-size: clamp(20px, 4vw, 26px); margin-bottom: 6px; }
.footer-newsletter p { font-size: 14.5px; margin: 0; }
.newsletter-form { position: relative; display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 14px 22px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form input:focus { border-color: #4f96ff; background: rgba(255, 255, 255, 0.12); }
.newsletter-msg { font-size: 14px; font-weight: 700; color: #6ee7c8; margin: 0; }

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  padding-top: 36px;
}
.footer-brand { grid-column: 1 / -1; }
.footer-brand > p { font-size: 14px; margin: 18px 0; max-width: 42ch; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8db4ff;
  font-weight: 700;
  font-size: 14.5px;
}
.footer-contact a:hover { color: #b8d1ff; }
.footer-contact svg { width: 16px; height: 16px; flex: none; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h3 {
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  transition: color 0.15s, padding-left 0.15s;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-badge {
  grid-column: 1 / -1;          /* full width on mobile 2-col grid */
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-radius: 13px;
  background: rgba(10, 163, 137, 0.12);
  border: 1px solid rgba(10, 163, 137, 0.3);
  color: #6ee7c8;
  font-size: 12.5px;
  line-height: 1.45;
}
.footer-badge svg { width: 26px; height: 26px; flex: none; }
.footer-badge strong { color: #9df0da; font-size: 12.5px; }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links span[aria-hidden] { color: rgba(255, 255, 255, 0.3); }
.footer-disclaimer { color: rgba(255, 255, 255, 0.42); font-size: 12px; line-height: 1.6; }
.footer-credit { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; margin-top: 12px; }
.footer-credit a { color: #8db4ff; font-weight: 700; }
.footer-credit a:hover { color: #b8d1ff; text-decoration: underline; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 92, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 92, 255, 0.45); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   About page
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 360px at 80% -20%, rgba(11, 92, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #fbfcff 100%);
  padding: 40px 0 48px;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 5.5vw, 42px); letter-spacing: -0.02em; }
.page-hero p { color: var(--muted); max-width: 62ch; margin: 0 auto; font-size: 17px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span[aria-hidden] { color: var(--line); }

.about-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.about-hero-stat {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 130px;
  box-shadow: var(--shadow);
}
.about-hero-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}
.about-hero-stat span { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* --- Story --- */
.story-layout { display: grid; gap: 32px; }
.story-copy h2 { font-size: clamp(24px, 4.5vw, 32px); }
.story-copy p { color: #33445f; }
.story-card {
  background: linear-gradient(160deg, #0a2e6e, #0b3d8f);
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.story-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #9ec1ff;
  margin-bottom: 16px;
}
.story-card-icon svg { width: 27px; height: 27px; }
.story-card h3 { color: #fff; font-size: 19px; }
.story-card > p { color: rgba(255, 255, 255, 0.85); font-size: 15px; font-style: italic; }
.story-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.story-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6ee7c8;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="m4 10.5 4 4 8-8.5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="m4 10.5 4 4 8-8.5"/></svg>') center / contain no-repeat;
}

/* --- Pillars (vision/mission/aim) --- */
.pillars-section { background: var(--bg-soft); }
.pillars-grid { display: grid; gap: 16px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--tint, var(--blue));
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--tint, var(--blue)), color-mix(in srgb, var(--tint, var(--blue)) 65%, #001a4d));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tint, var(--blue)) 35%, transparent);
  margin-bottom: 16px;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-card h3 { font-size: 19px; }
.pillar-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --- Objectives --- */
.objective-grid { display: grid; gap: 16px; }
.objective-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.objective-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--tint, var(--blue)) 35%, white);
}
.objective-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--tint, var(--blue));
  background: color-mix(in srgb, var(--tint, var(--blue)) 11%, white);
}
.objective-icon svg { width: 25px; height: 25px; }
.objective-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.objective-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* --- Core values --- */
.values-section { background: var(--bg-soft); }
.value-grid { display: grid; gap: 16px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(10, 46, 110, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-emoji { font-size: 28px; display: block; margin-bottom: 12px; }
.value-card strong { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 6px; }
.value-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* --- Promise --- */
.promise-section { background: var(--white); }
.promise-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(11, 92, 255, 0.07), transparent 65%),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: var(--shadow);
}
.promise-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(11, 92, 255, 0.35);
}
.promise-icon svg { width: 30px; height: 30px; }
.promise-card h2 { font-size: clamp(22px, 4vw, 30px); }
.promise-card p { color: #33445f; max-width: 62ch; margin: 0 auto 1em; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding-left: 0; padding-top: 68px; }
  .step-num { top: 0; left: 0; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .objective-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-actions { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .newsletter-form { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .newsletter-form input { flex: 1; min-width: 260px; width: auto; }
  .newsletter-msg { width: 100%; }
}

@media (min-width: 900px) {
  .header-inner { min-height: 84px; }
  .brand-logo {
    height: 52px;
    max-width: 240px;
  }
  .top-bar-email { display: inline-flex; }
  .top-bar-tag { display: inline-flex; }
  .top-bar-links { display: flex; }
  /* Frosted header only on desktop, where the drawer isn't position:fixed */
  .site-header {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .hero { padding: 68px 0 76px; }
  .hero .container {
    grid-template-columns: 1.05fr 1fr;
    gap: 52px;
    align-items: start;
  }
  .hero-copy { position: sticky; top: 96px; }
  .hero-panel { order: 0; padding: 30px 28px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .section { padding: 80px 0; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .highlight-grid { grid-template-columns: repeat(3, 1fr); }
  .mission-inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .about-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .story-layout { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
  .story-aside { position: sticky; top: 96px; }
  .objective-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-newsletter { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 24px 40px; }
  .footer-brand { grid-column: auto; }
  .footer-badge { grid-column: 4; margin-top: 0; align-self: start; }

  /* Connector line between steps */
  .steps { position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed rgba(11, 92, 255, 0.25);
  }
  .step { z-index: 1; }

  /* --- Desktop nav --- */
  .nav-toggle { display: none; }
  .nav-login-mobile { display: none; }
  .drawer-head { display: none; }
  .nav-icon { display: none; }
  .nav-scrim { display: none; }
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .back-to-top { bottom: 18px; }
  .main-nav {
    position: static;
    display: flex !important;
    visibility: visible;
    transform: none;
    align-items: center;
    gap: 10px;
    width: auto;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    max-height: none;
    flex: 1;
    justify-content: flex-end;
    transition: none;
  }
  .main-nav ul { display: flex; align-items: center; gap: 0; }
  .nav-item { position: relative; }
  .nav-link {
    width: auto;
    border: 0;
    padding: 26px 10px;
    font-size: 15px;
    position: relative;
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 16px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
  }
  .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
  .caret { margin-left: 2px; }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: none;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .caret { transform: rotate(180deg); }

  /* Mega menu — full grid + promo panel on desktop */
  .has-mega { position: static; }
  .dropdown.mega {
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, calc(100vw - 40px));
    display: none;
    grid-template-columns: 1fr 260px;
    gap: 18px;
    padding: 22px;
  }
  .has-mega:hover .dropdown.mega,
  .has-mega.is-open .dropdown.mega { display: grid; }
  .mega-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 8px;
    align-content: start;
  }
  .main-nav .mega-promo { margin-top: 0; display: flex; flex-direction: column; }
  .mega-promo-all { margin-top: auto; padding-top: 12px; }
  .nav-actions { padding: 0; gap: 12px; flex-wrap: nowrap; flex: none; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 50px; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.legal-toc h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.legal-toc a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #33445f;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.legal-toc a:hover,
.legal-toc a:focus-visible { color: var(--blue); }
.legal-updated {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.legal-prose {
  max-width: 760px;
  color: #33445f;
}
.legal-prose > * + * { margin-top: 1em; }
.legal-prose h2 {
  font-size: clamp(20px, 3.5vw, 24px);
  color: var(--navy);
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  scroll-margin-top: 100px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
  font-size: 17px;
  color: var(--navy);
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}
.legal-prose p { line-height: 1.7; }
.legal-prose ul,
.legal-prose ol {
  padding-left: 1.4em;
  display: grid;
  gap: 0.45em;
}
.legal-prose li { line-height: 1.65; }
.legal-prose a { color: var(--blue); font-weight: 600; }
.legal-callout {
  background: linear-gradient(160deg, #eef4ff, #f8fbff);
  border: 1px solid #c8d9f5;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 1.5em 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #2a3d5c;
}
.legal-callout strong { color: var(--navy); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 1em 0;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th {
  background: #f4f7fc;
  font-weight: 700;
  color: var(--navy);
  width: 38%;
}
.legal-crosslinks {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}
.legal-crosslinks a { color: var(--blue); }
.legal-placeholder {
  background: #fff8e6;
  border: 1px dashed #e0b84a;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.92em;
  color: #7a5a00;
}

@media (min-width: 900px) {
  .legal-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }
  .legal-toc {
    position: sticky;
    top: 100px;
  }
  .legal-toc details summary { display: none; }
  .legal-toc .only-desktop { display: block; }
}

@media (max-width: 899px) {
  .legal-toc summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
  }
  .legal-toc summary::-webkit-details-marker { display: none; }
  .legal-toc[open] summary { margin-bottom: 12px; }
}

/* ==========================================================================
   Category pages
   ========================================================================== */
.category-hero {
  padding: 12px 0 14px;
  background:
    radial-gradient(800px 360px at 80% -20%, color-mix(in srgb, var(--tint, var(--blue)) 18%, transparent), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #fbfcff 100%);
}
.category-hero .breadcrumb { margin-bottom: 8px; }
.category-hero h1 { font-size: clamp(21px, 3.6vw, 26px); }
.category-hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.category-hero-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 10%, white);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 18%, transparent);
  flex-shrink: 0;
}
.category-hero-icon svg { width: 26px; height: 26px; }
.category-hero-icon img { width: 30px; height: 30px; object-fit: contain; }
.category-hero-eyebrow {
  color: var(--tint, var(--blue));
  background: color-mix(in srgb, var(--tint, var(--blue)) 10%, white);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 20%, transparent);
}
.category-hero-copy { max-width: 720px; flex: 1; }
.category-hero-copy .hero-eyebrow { display: none; }
.category-hero-copy h1 { margin-bottom: 2px; }
.category-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.category-hero-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.category-hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 8%, white);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 16%, transparent);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.category-hero-benefits li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tint, var(--blue));
  flex-shrink: 0;
}
.category-stats-strip {
  padding: 14px 0;
  background: color-mix(in srgb, var(--tint, var(--blue)) 6%, #f8fbff);
  border-bottom: 1px solid var(--line);
}
.category-stats-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.category-stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.category-stat-chip strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.category-stat-chip-muted {
  background: transparent;
  border-color: transparent;
  margin-left: auto;
}
.category-steps-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.category-steps-inline .is-done { color: var(--muted); }
.category-steps-inline .is-active { color: var(--tint, var(--blue)); font-weight: 800; }
.category-results-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.category-results-head h2 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 6px;
}
.category-results-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 58ch;
}
.category-age-field {
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 6%, white);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 16%, transparent);
}
.category-age-control {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.category-age-step {
  width: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.category-age-step:hover {
  border-color: var(--tint, var(--blue));
  background: color-mix(in srgb, var(--tint, var(--blue)) 8%, white);
}
.category-age-input {
  flex: 1;
  min-width: 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
}
.category-age-input:focus {
  outline: none;
  border-color: var(--tint, var(--blue));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tint, var(--blue)) 18%, transparent);
}
.category-age-hint {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}
.category-premium-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  padding: 7px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 7%, white);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 16%, transparent);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 58ch;
}
.category-premium-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--tint, var(--blue));
}
.category-advisor-btn {
  align-self: flex-start;
  gap: 8px;
  white-space: nowrap;
}
.category-advisor-btn svg { width: 18px; height: 18px; }
.category-benefits-section {
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
  padding-top: 0;
}
.category-benefits-grid {
  display: grid;
  gap: 12px;
}
.category-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}
.category-benefit-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--tint, var(--blue));
  margin-top: 1px;
}
.category-plans-section { background: var(--white); }
.category-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}
.category-filters-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.category-filters-mobile-toggle svg { width: 18px; height: 18px; }
.category-filters {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.category-filters.is-open { display: flex; }
.category-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.category-filters-head h2 {
  font-size: 17px;
  margin: 0;
}
.category-filters-clear {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.category-filter-field { display: grid; gap: 8px; }
.category-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.category-filter-select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 14.5px;
  color: var(--navy);
}
.category-filter-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.14);
}
.category-premium-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}
.category-premium-btn {
  border: 0;
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.category-premium-btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}
.category-filter-count {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.category-results { min-width: 0; }
.category-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #f8fbff;
}
.plan-listing-card.is-filtered-out { display: none !important; }
.plan-listing-grid {
  display: grid;
  gap: 18px;
}
.plan-listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.plan-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--tint, var(--blue)) 28%, var(--line));
}
.plan-listing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4e5;
  color: #c25b00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-listing-head { padding-right: 72px; }
.plan-listing-head-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan-listing-logo {
  width: 96px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
}
.plan-listing-head-copy {
  min-width: 0;
  flex: 1;
}
.plan-listing-head-copy .plan-listing-title {
  margin-bottom: 2px;
}
.plan-listing-title {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.plan-listing-insurer {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.plan-listing-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plan-listing-metric {
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tint, var(--blue)) 6%, #f8fbff);
  border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 12%, var(--line));
}
.plan-listing-metric-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.plan-listing-metric-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.plan-listing-premium { color: var(--tint, var(--blue)); }
.plan-listing-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.plan-listing-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.plan-listing-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint, var(--blue));
}
.plan-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.plan-listing-actions .btn { flex: 1 1 140px; justify-content: center; }
.category-cta {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1f4a 0%, #12356f 100%);
  color: #fff;
}
.category-cta h2 {
  color: #fff;
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 8px;
}
.category-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin: 0 auto 22px;
}
.category-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.category-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.category-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .plan-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .category-filters-mobile-toggle { display: none; }
  .category-filters {
    display: flex;
    position: sticky;
    top: 100px;
  }
  .category-layout {
    grid-template-columns: 280px 1fr;
    gap: 28px;
  }
  .category-hero-row {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 24px;
  }
  .category-hero-benefits { justify-content: flex-start; }
  .category-hero-copy { max-width: none; flex: 1; }
  .category-results-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .category-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .category-results .plan-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Category lead form
   ========================================================================== */
.category-lead-section {
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
}
.category-lead-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}
.lead-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-lg);
}
.lead-form-intro {
  margin-bottom: 22px;
}
.lead-form-intro .section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}
.lead-form-intro h2 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 8px;
}
.lead-form-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.lead-form { display: grid; gap: 22px; }
.lead-form-section {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}
.lead-form-section + .lead-form-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.lead-form-section-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.lead-form-submit {
  width: 100%;
  justify-content: center;
  gap: 8px;
}
.lead-form-submit svg { width: 16px; height: 16px; }
.category-lead-aside {
  display: grid;
  gap: 16px;
}
.category-steps {
  display: grid;
  gap: 10px;
}
.category-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  opacity: 0.72;
}
.category-step.is-active {
  opacity: 1;
  border-color: color-mix(in srgb, var(--blue) 24%, var(--line));
  background: #eef4ff;
}
.category-step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}
.category-step.is-active .category-step-num {
  background: var(--blue);
  color: #fff;
}
.category-step-text {
  display: grid;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.category-step-text strong {
  font-size: 14px;
  color: var(--navy);
}
.category-aside-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.category-aside-card h3 {
  font-size: 16px;
  margin: 0 0 14px;
}
.category-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.category-benefit-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.category-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.category-aside-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.category-aside-stat {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.category-aside-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}
.category-aside-stat span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.category-aside-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d8e6ff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
.category-trust-pill svg { width: 16px; height: 16px; color: var(--blue); }
.category-aside-help {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b1f4a 0%, #12356f 100%);
  color: #fff;
  text-align: center;
}
.category-aside-help p {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
.category-aside-help .btn-outline {
  width: 100%;
  justify-content: center;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.category-aside-help .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.form-grid {
  display: grid;
  gap: 18px;
}
.form-field { display: grid; gap: 8px; }
.form-field legend.form-label { margin-bottom: 0; }
.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.form-input,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.14);
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #33445f;
  cursor: pointer;
}
.form-radio:has(input:checked) {
  border-color: var(--blue);
  background: #eef4ff;
  color: var(--navy);
}
.form-radio input { accent-color: var(--blue); }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff1f1;
  border: 1px solid #f2bcbc;
  color: #8a1f1f;
  font-size: 14.5px;
}
.form-error ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.form-privacy {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
.form-privacy a { color: var(--blue); font-weight: 600; }

@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .lead-form-card { padding: 32px 34px 34px; }
}
@media (min-width: 960px) {
  .category-lead-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
  }
  .category-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .category-benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Plan modals
   ========================================================================== */
.eyl-modal {
  width: min(100% - 32px, 480px);
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.eyl-modal::backdrop {
  background: rgba(11, 31, 74, 0.55);
  backdrop-filter: blur(4px);
}
.eyl-modal--required::backdrop {
  background: rgba(11, 31, 74, 0.72);
  backdrop-filter: blur(6px);
}
.eyl-modal--required .eyl-modal-title {
  padding-right: 0;
}
.category-page-content[data-lead-locked] {
  filter: blur(4px);
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
}
.category-lead-modal-card {
  width: min(100%, 440px);
}
.category-lead-form {
  display: grid;
  gap: 14px;
}
.category-lead-form .form-privacy {
  text-align: center;
  margin-top: 4px;
}
.category-lead-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.mobile-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mobile-input-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.14);
}
.mobile-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  background: #f4f7fb;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-input-row .mobile-input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.mobile-input-row .mobile-input:focus {
  box-shadow: none;
}
.eyl-modal-card {
  position: relative;
  display: grid;
  gap: 0;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.eyl-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: var(--navy);
  cursor: pointer;
}
.eyl-modal-close svg { width: 18px; height: 18px; }
.eyl-modal-title {
  font-size: clamp(20px, 4vw, 24px);
  margin: 0 0 8px;
  padding-right: 36px;
}
.eyl-modal-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.eyl-plan-summary {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
}
.eyl-plan-summary h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.eyl-plan-summary-insurer {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.eyl-plan-summary-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.eyl-plan-summary-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.eyl-plan-summary-metrics strong {
  font-size: 15px;
  color: var(--navy);
}
.eyl-modal-form {
  display: grid;
  gap: 16px;
}
.eyl-modal-errors {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f1;
  border: 1px solid #f2bcbc;
  color: #8a1f1f;
  font-size: 14px;
}
.eyl-modal-errors ul {
  margin: 0;
  padding-left: 1.2em;
}
.eyl-modal-submit { width: 100%; justify-content: center; }
.eyl-modal-success {
  text-align: center;
  padding: 12px 4px 4px;
}
.eyl-modal-success-icon svg { width: 64px; height: 64px; margin-bottom: 12px; }
.eyl-modal-success p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.eyl-contact-block {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.eyl-contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.eyl-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.eyl-contact-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
.eyl-contact-value:hover { color: var(--blue); }
.eyl-contact-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: #0aa389;
}
.eyl-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.eyl-modal-actions .btn { flex: 1 1 140px; justify-content: center; }
.plan-listing-actions .btn,
.category-cta-actions .btn,
.category-advisor-btn {
  font-family: var(--font);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mission-progress-fill { width: 50% !important; }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ==========================================================================
   Plan compare + details
   ========================================================================== */
.plan-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0 0 -8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.plan-compare-toggle input { width: 15px; height: 15px; accent-color: var(--tint, var(--blue)); cursor: pointer; }
.plan-compare-toggle:hover { color: var(--tint, var(--blue)); }

.plan-listing-details-btn {
  margin-top: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px dashed var(--line);
  padding: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--tint, var(--blue));
  cursor: pointer;
}
.plan-listing-details-btn:hover { text-decoration: underline; }

/* Details modal table */
.plan-details-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.plan-details-table th,
.plan-details-table td {
  text-align: left;
  padding: 9px 10px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.plan-details-table th { color: var(--muted); font-weight: 600; width: 46%; }
.plan-details-table td { color: var(--navy); font-weight: 600; }
.plan-details-modal .eyl-modal-card { max-width: 560px; }

/* Floating compare bar */
.compare-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 46, 110, 0.1);
  padding: 12px 0;
}
.compare-bar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.compare-bar-slots { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; min-width: 0; }
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft, #f6f9ff);
  font-size: 12.5px;
  font-weight: 600;
  max-width: 200px;
}
.compare-chip img { height: 18px; width: auto; max-width: 44px; object-fit: contain; }
.compare-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-chip button { border: 0; background: none; font-size: 16px; line-height: 1; color: var(--muted); cursor: pointer; }
.compare-bar-actions { display: flex; align-items: center; gap: 12px; }
.compare-bar-clear { border: 0; background: none; font-weight: 700; color: var(--muted); cursor: pointer; font-size: 13px; }
.compare-bar-go.is-disabled { pointer-events: none; opacity: 0.5; }
.compare-bar-note {
  flex-basis: 100%;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #c0392b;
}


/* ==========================================================================
   Compare page (enhanced)
   ========================================================================== */
.compare-hero .compare-count {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.cmp-best-inline {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e6f7ef;
  color: #17915a;
  font-size: 12px;
  font-weight: 800;
}
.compare-section { padding-top: 22px; }

.compare-empty { text-align: center; padding: 48px 0; }
.compare-empty-ico {
  width: 60px; height: 60px; margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--blue) 9%, white);
  color: var(--blue);
}
.compare-empty-ico svg { width: 32px; height: 32px; }
.compare-empty h2 { margin-bottom: 8px; }
.compare-empty p { color: var(--muted); margin-bottom: 22px; max-width: 46ch; margin-left: auto; margin-right: auto; }

.compare-table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
  background: #fff;
}
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  text-align: left;
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:not(.cmp-section-row):hover td { background: color-mix(in srgb, var(--blue) 3.5%, white); }

/* Sticky attribute column + sticky plan header */
.cmp-attr-head, .cmp-attr {
  position: sticky; left: 0; z-index: 2;
  background: #fff;
  min-width: 240px;
  max-width: 260px;
}
.cmp-attr { color: var(--navy); font-weight: 600; font-size: 13px; }
.compare-table tbody tr:hover .cmp-attr { background: color-mix(in srgb, var(--blue) 3.5%, white); }
.cmp-attr-head { z-index: 5; top: 0; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp-attr-head-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.compare-table thead th {
  position: sticky; top: 70px;
  background: #fbfcff;
  z-index: 3;
  border-bottom: 1px solid var(--line);
}
.cmp-attr-head { z-index: 6; left: 0; }

/* Plan header card */
.cmp-plan-head {
  text-align: center;
  min-width: 172px;
  max-width: 210px;
  position: relative;
  vertical-align: top;
  padding: 12px 12px;
}
.cmp-plan-head + .cmp-plan-head { border-left: 1px solid var(--line); }
.cmp-plan-card { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; }
.cmp-plan-logo-wrap {
  height: 26px; display: grid; place-items: center;
}
.cmp-plan-logo { height: 22px; width: auto; max-width: 104px; object-fit: contain; }
.cmp-plan-badge {
  min-height: 15px;
  margin-top: 3px;
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px;
  background: #fff4e5; color: #c25b00; font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35;
}
.cmp-plan-badge.is-empty { background: transparent; padding: 0; }
.cmp-plan-name {
  font-weight: 800; font-size: 13px; color: var(--navy); line-height: 1.2;
  min-height: 2.3em;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cmp-plan-insurer { font-size: 11px; color: var(--muted); }
.cmp-plan-cover-chip {
  margin-top: 4px; padding: 2px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 8%, white);
  color: var(--navy); font-size: 11.5px; font-weight: 700;
}
.cmp-plan-premium { font-weight: 800; font-size: 16px; color: var(--blue); margin: 4px 0 8px; }
.cmp-plan-premium small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.cmp-plan-cta { margin-top: auto; width: 100%; }
.cmp-remove {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 15px; line-height: 1; color: var(--muted); cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.cmp-remove:hover { color: #c0392b; border-color: #f0b4ab; }

/* Add-plan placeholder */
.cmp-plan-empty { background: #fff; padding: 12px; vertical-align: middle; }
.cmp-add-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border: 1.5px dashed color-mix(in srgb, var(--blue) 32%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--blue) 3.5%, white);
  color: var(--blue);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.cmp-add-plan:hover {
  border-color: var(--blue);
  border-style: solid;
  background: color-mix(in srgb, var(--blue) 7%, white);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 16%, transparent);
  transform: translateY(-2px);
}
.cmp-add-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad, linear-gradient(135deg, #0b5cff, #0a2e6e));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--blue) 32%, transparent);
  transition: transform 0.25s ease;
}
.cmp-add-ico svg { width: 22px; height: 22px; }
.cmp-add-plan:hover .cmp-add-ico { transform: rotate(90deg) scale(1.06); }
.cmp-add-title { font-weight: 800; font-size: 14px; color: var(--navy); }
.cmp-add-sub { font-size: 11.5px; font-weight: 600; color: var(--muted); }

/* Section band */
.cmp-section-row td {
  position: sticky; left: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--navy) 92%, black), var(--navy));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* Cells */
.compare-table tbody tr:not(.cmp-section-row) td:not(.cmp-attr) { text-align: center; font-weight: 600; color: var(--navy); }
.cmp-yes { display: inline-flex; align-items: center; gap: 4px; color: #17915a; font-weight: 800; }
.cmp-yes svg { width: 16px; height: 16px; }
.cmp-no { color: #9aa7bd; font-weight: 600; }
.cmp-muted { color: #c7d0e0; }

/* Best value highlight */
.cmp-best {
  background: #eafaf2 !important;
  color: #10794a !important;
  font-weight: 800;
  position: relative;
}
.compare-table tbody tr:hover td.cmp-best { background: #e2f6ec !important; }
.cmp-best-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #17915a;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.compare-foot-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 820px) {
  .compare-table-wrap { overflow-x: auto; }
  .compare-table thead th { position: static; top: auto; }
  .cmp-attr-head, .cmp-attr { min-width: 170px; max-width: 200px; }
  .cmp-plan-head { min-width: 170px; }
  .cmp-best-chip { display: none; }
}

/* ==========================================================================
   Add-a-plan picker (compare page)
   ========================================================================== */
.add-plan-modal { width: min(100% - 32px, 640px); }
.add-plan-modal .eyl-modal-card { max-width: none; width: 100%; }
.add-plan-controls { display: flex; gap: 10px; margin: 4px 0 14px; }
.add-plan-controls .form-input { flex: 1; min-width: 0; }
.add-plan-controls .form-select { flex: none; width: 190px; }
.add-plan-list { max-height: 52vh; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 8px; }
.add-plan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.add-plan-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.add-plan-logo { height: 24px; width: 64px; object-fit: contain; flex: none; }
.add-plan-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.add-plan-name { font-weight: 700; font-size: 13.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-plan-meta { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-plan-cover { font-size: 12px; font-weight: 600; color: var(--navy); flex: none; }
.add-plan-premium { font-size: 13px; font-weight: 800; color: var(--blue); flex: none; }
.add-plan-add {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad, linear-gradient(120deg, #0b5cff, #0a2e6e));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.add-plan-empty { text-align: center; color: var(--muted); padding: 20px 0; }
@media (max-width: 560px) {
  .add-plan-controls { flex-direction: column; }
  .add-plan-controls .form-select { width: 100%; }
  .add-plan-cover { display: none; }
}

.form-optional { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ==========================================================================
   Compare page — non-sticky header + full width
   ========================================================================== */
.page-compare .site-header { position: static; top: auto; }
.page-compare .compare-hero .container,
.page-compare .compare-section .container { max-width: none; }
/* Header no longer occupies space, so pin the plan header row to the very top */
.page-compare .compare-table thead th { top: 0; }
