@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Abril+Fatface&display=swap');

/* =====================================================================
   Delaware Dental Discount Club — brand design system.
   ---------------------------------------------------------------------
   This file is the single source of truth for the site's look; the
   homepage variant (issa-home.css, a core naming convention) just imports
   it. @dental/core injects Bootstrap 5 BEFORE this file, so the first
   block below neutralizes the Bootstrap/dental-theme defaults we don't
   want and everything after it is DDDC's own system.

   Palette + type come from the club's approved design:
     navy #1A2E5A · deep navy #040C1A · antique gold #9A7215/#C8A444
     cream #F5EBD8 / #E8DDD0 / #FAF6EF · enroll green #1E9E4A
     Playfair Display (headings) · Inter (UI/body) · Abril Fatface (plan names)
   ===================================================================== */

:root {
  /* navy scale */
  --navy-900: #040C1A;
  --navy-850: #060F1E;
  --navy-800: #0A1730;
  --navy-750: #0D1E3A;
  --navy-700: #0D2448;
  --navy: #1A2E5A;
  --navy-400: #2A4A7A;

  /* gold scale */
  --gold-700: #7A6020;
  --gold: #9A7215;
  --gold-600: #B8921E;
  --gold-400: #C8A444;

  /* creams / surfaces */
  --cream-300: #E8DDD0;
  --cream-200: #F5EBD8;
  --cream-100: #FAF6EF;
  --white: #ffffff;
  --field: #FAFAF8;
  --line: #EDE8E0;
  --line-soft: #F0EBE2;

  /* text */
  --ink: #1A1F2E;
  --slate-700: #4A5568;
  --slate-600: #5A6478;
  --slate-500: #6B7A94;
  --slate-400: #8896A5;
  --slate-300: #B0A890;

  /* signal colours */
  --green: #1E9E4A;
  --green-400: #26B85A;
  --green-text: #16A34A;
  --red: #DC2626;

  /* fonts */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Abril Fatface', 'Playfair Display', Georgia, serif;

  /* fluid type scale (the source design is fixed-px desktop; these keep the
     same desktop sizes and scale down cleanly on tablets/phones) */
  --t-hero: clamp(2.35rem, 1.35rem + 3.3vw, 4.75rem);   /* 76px */
  --t-h1: clamp(2.1rem, 1.5rem + 2.1vw, 3.75rem);       /* 60px */
  --t-h2: clamp(1.85rem, 1.35rem + 1.7vw, 3.25rem);     /* 52px */
  --t-h2-sm: clamp(1.75rem, 1.3rem + 1.5vw, 3rem);      /* 48px */
  --t-h3: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);          /* 40px */
  --t-h4: clamp(1.35rem, 1.15rem + .7vw, 2.125rem);     /* 34px */
  --t-h5: clamp(1.25rem, 1.1rem + .5vw, 1.625rem);      /* 26px */
  --t-lead: clamp(1rem, .95rem + .3vw, 1.25rem);        /* 20px */
  --t-body: clamp(.97rem, .94rem + .15vw, 1.0625rem);   /* 17px */

  /* rhythm */
  --pad-x: clamp(1.25rem, 4.4vw, 4rem);                 /* 64px desktop */
  --pad-y: clamp(3.5rem, 7vw, 6.5rem);                  /* 104px desktop */
  --nav-h: 109px;
}

/* ── Bootstrap / dental-theme neutralization ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg, picture, video { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) - 17px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Bare heading sizes are declared here (not only in the layout's global block)
   so they beat Bootstrap's reboot regardless of bundle order; component classes
   below still override per section. */
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.12; font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'dlig' 0; }
h1 { font-size: var(--t-h2); }
h2 { font-size: var(--t-h2-sm); }
h3 { font-size: var(--t-h5); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9375rem; }
strong, b { font-weight: 700; }
::selection { background: var(--gold-400); color: var(--navy-900); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(154, 114, 21, .55) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(154, 114, 21, .1);
}

/* ── Animation ──────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 6px 32px rgba(154, 114, 21, .3); }
  50% { box-shadow: 0 14px 56px rgba(154, 114, 21, .6); }
}
.anim-up { animation: fadeUp .7s ease both; }
.anim-in { animation: fadeIn .4s ease both; }

/* ── Layout primitives ──────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; }
.wrap-960 { max-width: 960px; }
.wrap-920 { max-width: 920px; }
.wrap-900 { max-width: 900px; }
.wrap-780 { max-width: 780px; }
.wrap-740 { max-width: 740px; }
.wrap-700 { max-width: 700px; }
.wrap-620 { max-width: 620px; }
.wrap-540 { max-width: 540px; }
.wrap-400 { max-width: 400px; }

.section { padding: var(--pad-y) var(--pad-x); position: relative; overflow: hidden; }
.section--cream { background: var(--cream-300); }
.section--cream-soft { background: var(--cream-100); }
.section--sand { background: var(--cream-200); }
.section--navy {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(154, 114, 21, .09) 0%, transparent 50%),
    linear-gradient(155deg, var(--navy-850) 0%, var(--navy) 100%);
}
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

.stack { position: relative; z-index: 1; }

/* Eyebrow: uppercase gold micro-label flanked by hairlines. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before,
.eyebrow.is-centered::after {
  content: ''; width: 26px; height: 1px; background: currentColor; flex-shrink: 0;
}
.eyebrow--on-dark { color: var(--gold-400); }

/* Hand-drawn gold underline under an italic emphasis word. */
.swoosh { position: relative; display: inline-block; padding-bottom: 10px; font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'dlig' 0; }
.swoosh > svg { position: absolute; left: 0; bottom: -2px; width: 100%; height: 16px; overflow: visible; }
.italic-gold { color: var(--gold-400); font-style: italic; }

.section-head { text-align: center; margin-bottom: clamp(2.25rem, 4vw, 4rem); }
.section-head h2 { font-size: var(--t-h2-sm); margin-bottom: 12px; }
.section-head p:not([class]) { font-size: var(--t-body); color: var(--slate-400); font-weight: 300; }
.section-head--on-dark h2 { color: #fff; }
.section-head--on-dark p:not([class]) { color: rgba(255, 255, 255, .42); }
.accent-gold { color: var(--gold); }
.accent-gold-light { color: var(--gold-400); }

.prose p:not([class]) { font-size: var(--t-body); line-height: 1.95; color: var(--slate-600); margin-bottom: 22px; }
.prose p:not([class]):last-child { margin-bottom: 0; }
.pull-quote { font-family: var(--serif); font-size: 1.125rem; font-style: italic; font-weight: 600; color: var(--gold); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --btn-py: 16px; --btn-px: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.2;
  padding: var(--btn-py) var(--btn-px); border: 0; border-radius: 100px;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--lg { --btn-py: 20px; --btn-px: 56px; font-size: 1.0625rem; letter-spacing: .3px; }
.btn--sm { --btn-py: 11px; --btn-px: 24px; font-size: .8125rem; }
.btn--md { --btn-py: 13px; --btn-px: 30px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%); color: #fff; box-shadow: 0 6px 28px rgba(154, 114, 21, .22); }
.btn-gold:hover { box-shadow: 0 10px 40px rgba(154, 114, 21, .4); transform: translateY(-1px); color: #fff; }
.btn-gold--pulse { animation: glowPulse 2.6s ease-in-out infinite; }

.btn-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-400) 100%); color: #fff; box-shadow: 0 4px 20px rgba(30, 158, 74, .25); }
.btn-green:hover { box-shadow: 0 10px 40px rgba(30, 158, 74, .45); transform: translateY(-1px); color: #fff; }

.btn-ghost-light { background: transparent; color: #fff; font-weight: 500; border: 1.5px solid rgba(255, 255, 255, .22); }
.btn-ghost-light:hover { border-color: rgba(200, 164, 68, .55); background: rgba(255, 255, 255, .05); color: #fff; }

.btn-outline-gold { background: transparent; color: var(--gold); font-weight: 600; border: 1.5px solid rgba(154, 114, 21, .35); }
.btn-outline-gold:hover { background: rgba(154, 114, 21, .06); border-color: var(--gold); }

.btn-outline-navy { background: transparent; color: var(--navy); font-weight: 500; border: 1.5px solid rgba(26, 46, 90, .2); }
.btn-outline-navy:hover { background: var(--cream-200); border-color: var(--gold); }

.btn-glass { background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); color: #fff; font-weight: 600; border: 1.5px solid rgba(255, 255, 255, .25); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Back link above provider/enroll/included pages. */
.backbar { background: var(--cream-100); padding: 16px var(--pad-x); border-bottom: 1px solid rgba(154, 114, 21, .14); }
.backlink { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--slate-500); }
.backlink:hover { color: var(--navy); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: var(--nav-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(154, 114, 21, .14);
  display: flex; align-items: center; gap: 16px;
  padding: 8px var(--pad-x);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__seal { height: 96px; width: auto; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; justify-content: center; }
.brand__name span { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.25; letter-spacing: .2px; }
.site-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 2px; }
.site-nav__link {
  font-family: var(--sans); font-size: .875rem; font-weight: 500; color: var(--slate-700);
  padding: 9px 16px; border-radius: 100px; white-space: nowrap; transition: background-color .18s ease, color .18s ease;
}
.site-nav__link:hover, .site-nav__link[aria-current='page'] { background: rgba(154, 114, 21, .08); color: var(--navy); }
.site-nav__sep { width: 1px; height: 18px; background: #E0D8CE; margin: 0 10px; flex-shrink: 0; }
.site-nav__cta { --btn-py: 10px; --btn-px: 22px; font-size: .875rem; box-shadow: none; }
.site-nav__cta + .site-nav__cta { margin-left: 6px; }
.site-nav__login {
  font-family: var(--sans); font-size: .875rem; font-weight: 500; color: var(--slate-700);
  padding: 9px 18px; border: 1.5px solid rgba(74, 85, 104, .22); border-radius: 100px; margin-left: 6px; white-space: nowrap;
  background: transparent; transition: border-color .18s ease, color .18s ease;
}
.site-nav__login:hover { border-color: var(--gold); color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; padding: 10px; border-radius: 12px; color: var(--navy); }
.nav-toggle:hover { background: rgba(154, 114, 21, .08); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1099px) {
  :root { --nav-h: 84px; }
  .brand__seal { height: 64px; }
  .brand__name span { font-size: 1rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(154, 114, 21, .18);
    padding: 14px var(--pad-x) 22px;
    box-shadow: 0 18px 40px rgba(10, 25, 55, .1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 12px 14px; font-size: 1rem; }
  .site-nav__sep { display: none; }
  .site-nav__cta, .site-nav__login { width: 100%; margin: 6px 0 0; }
  .site-nav__cta { --btn-py: 14px; }
  .site-nav__cta + .site-nav__cta { margin-left: 0; }
  .site-nav__login { padding: 13px 18px; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(200, 164, 68, .18) 0%, transparent 55%),
    linear-gradient(145deg, #040C1A 0%, var(--navy) 65%, var(--navy-700) 100%);
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x) clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.hero__grid { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__copy { flex: 1; min-width: 0; }
.hero .eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.hero h1 { font-size: var(--t-hero); color: #fff; margin-bottom: 28px; text-wrap: pretty; }
.hero__lead { font-size: var(--t-lead); font-weight: 300; color: rgba(255, 255, 255, .58); line-height: 1.85; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__seal { flex-shrink: 0; }
.hero__seal img { width: clamp(220px, 30vw, 420px); height: auto; filter: drop-shadow(0 20px 48px rgba(0, 0, 0, .4)); }
@media (max-width: 991px) {
  .hero__grid { flex-direction: column; text-align: center; }
  .hero__copy { order: 2; }
  .hero__seal { order: 1; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
}

/* ── About / Mission (two-column with a card) ───────────────────────── */
.split { display: flex; gap: clamp(2rem, 5vw, 5rem); align-items: flex-start; }
.split--center { align-items: center; }
.split__main { flex: 1; min-width: 0; }
.split__aside { width: 300px; flex-shrink: 0; }
.split__aside--wide { width: 340px; }
@media (max-width: 991px) {
  .split { flex-direction: column; }
  .split__aside, .split__aside--wide { width: 100%; max-width: 420px; margin-inline: auto; }
}
.split h2 { font-size: var(--t-h2); margin-bottom: 32px; text-wrap: pretty; }
.split .prose { margin-bottom: 36px; }

.glass-card {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 114, 21, .2);
  border-radius: 24px; padding: 40px; text-align: center;
  box-shadow: 0 8px 48px rgba(0, 0, 0, .07);
}
.glass-card--mission { border-radius: 28px; padding: clamp(2rem, 4vw, 3.25rem) 40px; box-shadow: 0 12px 56px rgba(0, 0, 0, .07); }
.glass-card img { margin-inline: auto; width: 208px; height: auto; }
.glass-card__rule { width: 40px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-400)); border-radius: 2px; margin: 28px auto 20px; }
.glass-card__note { font-family: var(--serif); font-size: .9375rem; color: var(--navy); font-style: italic; line-height: 1.75; }

.icon-tile {
  width: 80px; height: 80px; border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-400));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; box-shadow: 0 8px 28px rgba(26, 46, 90, .2);
}
.mission-quote { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; font-style: italic; color: var(--navy); line-height: 1.55; margin-bottom: 20px; font-variant-ligatures: none; }
.mission-rule { width: 36px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-400)); border-radius: 2px; margin: 0 auto; }

/* ── Security & compliance badges ───────────────────────────────────── */
.icon-tile--sm { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px; box-shadow: 0 6px 20px rgba(26, 46, 90, .18); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); }
.trust-item { text-align: center; }
.trust-item h3 {
  font-family: var(--sans); font-size: .9375rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
}
.trust-item p { font-size: .875rem; color: var(--slate-600); line-height: 1.75; }
@media (max-width: 767px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .trust-grid { grid-template-columns: 1fr; } }

/* ── How It Works (numbered steps) ──────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 2.5rem); }
.step-item { text-align: center; }
.step-item__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%);
  color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; box-shadow: 0 8px 28px rgba(154, 114, 21, .25);
}
.step-item h3 { margin-bottom: 12px; }
.step-item p { font-size: .9375rem; color: var(--slate-600); line-height: 1.8; }
.steps-note { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--slate-500); margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 767px) { .steps-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ── Comparison table ───────────────────────────────────────────────── */
.compare {
  border-radius: 20px; overflow: hidden;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 48px rgba(0, 0, 0, .09);
}
.compare__row { display: grid; grid-template-columns: 2fr 1fr 1fr; }
.compare__row + .compare__row { border-top: 1px solid rgba(154, 114, 21, .1); }
.compare__row:nth-of-type(even) { background: rgba(250, 246, 240, .7); }
.compare__row:nth-of-type(odd) { background: rgba(255, 255, 255, .85); }
.compare__head { border-top: 0 !important; background: none !important; }
.compare__cell { padding: 18px clamp(16px, 2.5vw, 32px); font-size: .9375rem; font-weight: 500; color: var(--navy); display: flex; align-items: center; }
.compare__cell--val { justify-content: center; border-left: 1px solid rgba(154, 114, 21, .1); }
.compare__cell--dddc { background: rgba(154, 114, 21, .02); }
.compare__head .compare__cell { padding-block: 22px; font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: .2px; }
.compare__head .compare__cell:first-child { background: rgba(235, 228, 216, .8); color: #8A7A6A; }
.compare__head .compare__cell--dddc { background: var(--gold-600); color: #fff; border-left-color: rgba(255, 255, 255, .12); }
.compare__head .compare__cell--ins { background: var(--navy); color: rgba(255, 255, 255, .85); border-left-color: rgba(255, 255, 255, .06); }

.pill-check { display: inline-flex; width: 36px; height: 36px; background: #F0FDF4; border-radius: 50%; align-items: center; justify-content: center; color: var(--green-text); font-size: 1.0625rem; font-weight: 700; }
.pill-none { display: inline-block; padding: 5px 16px; background: rgba(22, 163, 74, .12); color: var(--green-text); border-radius: 100px; font-size: .8125rem; font-weight: 700; letter-spacing: .3px; }
.pill-varies { display: inline-block; padding: 5px 14px; background: rgba(220, 38, 38, .08); color: var(--red); border-radius: 100px; font-size: .8125rem; font-weight: 600; }
.pill-required { display: inline-block; padding: 5px 14px; background: rgba(220, 38, 38, .08); color: var(--red); border-radius: 100px; font-size: .8125rem; font-weight: 600; }

.notice {
  background: rgba(255, 255, 255, .6); backdrop-filter: blur(12px);
  border: 1px solid rgba(154, 114, 21, .12); border-radius: 12px;
  padding: 18px 24px; margin-top: 24px;
}
.notice p { font-size: .78rem; color: #7A7060; line-height: 1.7; }

@media (max-width: 767px) {
  .compare__row { grid-template-columns: 1.6fr .9fr .9fr; }
  .compare__cell { padding: 14px 12px; font-size: .82rem; }
  .compare__head .compare__cell { font-size: .75rem; padding-block: 16px; }
  .pill-check { width: 30px; height: 30px; font-size: .95rem; }
  .pill-none, .pill-varies, .pill-required { padding: 4px 10px; font-size: .7rem; }
}

/* ── Pricing plans ──────────────────────────────────────────────────── */
.plans { display: flex; gap: 28px; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.plan {
  background: #fff; border: 2px solid var(--navy); border-radius: 12px;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem);
  width: 400px; max-width: 100%; display: flex; flex-direction: column;
}
.plan__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.plan__name { font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 400; color: var(--navy); letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.plan__price { font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 2.5rem); font-weight: 700; color: var(--gold); white-space: nowrap; }
.plan__per { font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--slate-500); }
.plan__kicker { font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.plan__rule { width: 100%; height: 1.5px; background: var(--gold-400); margin-bottom: 24px; }
.plan__list { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--navy); }
.plan__list li:last-child { font-weight: 700; }
.plan__list li::before { content: '✓'; color: var(--gold-400); font-weight: 700; flex-shrink: 0; }
.plan .btn { margin-top: 32px; }
.plan .btn + .btn { margin-top: 12px; }
.link-included {
  display: block; width: 100%; text-align: center; margin-top: 16px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
}
.link-included:hover { color: var(--gold-600); }
.plans-note { text-align: center; margin-top: 36px; }
.plans-note p { font-size: 1.0625rem; color: rgba(255, 255, 255, .72); font-weight: 500; line-height: 1.7; }

/* ── Bottom CTA band ────────────────────────────────────────────────── */
.cta-band { background: var(--cream-200); padding: clamp(3.5rem, 7vw, 6.75rem) var(--pad-x); text-align: center; position: relative; overflow: hidden; }
.cta-band__ghost {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: clamp(7rem, 22vw, 17.5rem); font-weight: 700;
  color: rgba(154, 114, 21, .06); line-height: 1; letter-spacing: -8px; white-space: nowrap; pointer-events: none;
}
.cta-band h2 { font-size: var(--t-h2); margin-bottom: 18px; }
.cta-band p:not([class]) { font-size: 1.125rem; color: var(--slate-500); font-weight: 300; line-height: 1.85; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.cta-band .eyebrow { margin-bottom: 32px; font-weight: 700; }

/* ── Provider search ────────────────────────────────────────────────── */
.search-card {
  background: #fff; border-radius: 24px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 16px 56px rgba(0, 0, 0, .09); text-align: left;
  border: 1px solid rgba(154, 114, 21, .18); border-top: 3px solid var(--gold);
}
.range-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.range-row label { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.range-val { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: var(--gold); }
.range { width: 100%; height: 6px; cursor: pointer; border-radius: 100px; accent-color: var(--gold); }
.range-ends { display: flex; justify-content: space-between; margin-top: 8px; }
.range-ends span { font-size: .75rem; color: var(--slate-300); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 639px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: block; }
.field > span { display: block; font-size: .8125rem; font-weight: 600; color: var(--slate-700); margin-bottom: 8px; letter-spacing: .3px; }
.field > span .opt { font-weight: 400; color: #AAA098; }
.input, .select {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: .9375rem; color: var(--ink); background: var(--field);
}
.select { cursor: pointer; appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236B7A94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.input[readonly] { color: var(--slate-500); background: #F2F0EA; }
.input--sm, .select--sm { padding: 11px 12px; border-radius: 8px; font-size: .875rem; }
.select--sm { padding-right: 34px; background-position: right 12px center; }

.results-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.results-head h2 { font-size: var(--t-h3); }
.result-list { display: flex; flex-direction: column; gap: 16px; }
.provider-card {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 20px;
  padding: 28px clamp(20px, 3vw, 32px); display: flex; gap: clamp(18px, 3vw, 28px); align-items: center;
  box-shadow: 0 4px 28px rgba(0, 0, 0, .06); transition: box-shadow .2s ease, transform .2s ease;
}
.provider-card:hover { box-shadow: 0 12px 48px rgba(0, 0, 0, .11); transform: translateY(-3px); }
.provider-card__body { flex: 1; min-width: 0; }
.provider-card__body h3 { font-size: var(--t-h5); margin-bottom: 6px; line-height: 1.15; }
.provider-card__meta { font-size: .875rem; color: var(--slate-400); margin-bottom: 10px; }
.provider-card__side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 160px; }
@media (max-width: 767px) {
  .provider-card { flex-direction: column; align-items: flex-start; }
  .provider-card__side { align-items: flex-start; min-width: 0; width: 100%; }
}

/* Initials monogram avatar (no image asset needed). */
.avatar {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 1.75rem; letter-spacing: .5px;
  box-shadow: 0 4px 16px rgba(26, 46, 90, .15);
}
.avatar--lg { width: 120px; height: 120px; font-size: 2.375rem; border: 3px solid rgba(154, 114, 21, .35); box-shadow: 0 8px 40px rgba(154, 114, 21, .18); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--cream-200); color: #5A4830; font-size: .75rem; font-weight: 500; padding: 5px 14px; border-radius: 100px; }
.chip--sand { font-size: .8125rem; color: var(--slate-600); white-space: nowrap; }
.chip--gold { font-size: .8125rem; font-weight: 600; color: var(--gold-700); background: rgba(154, 114, 21, .12); white-space: nowrap; }
.chip--glass {
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  border: 1px solid rgba(154, 114, 21, .22); color: var(--navy);
  font-size: .8125rem; font-weight: 500; padding: 8px 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pager__num {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; color: var(--slate-600); font-family: var(--sans); font-size: .875rem;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .18s ease, color .18s ease;
}
.pager__num[aria-current='true'] { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #fff; border: 0; font-weight: 700; }
.empty-state { text-align: center; }
.empty-state .icon-tile { box-shadow: 0 8px 28px rgba(26, 46, 90, .18); }
.empty-state h3 { font-size: 1.75rem; margin-bottom: 14px; }
.empty-state p { font-size: 1rem; color: var(--slate-400); line-height: 1.75; }

/* ── Provider profile ───────────────────────────────────────────────── */
.provider-hero { display: flex; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: center; }
.provider-hero h1 { font-size: var(--t-h2); margin-bottom: 10px; }
.provider-hero p:not([class]) { font-size: 1.0625rem; color: var(--slate-600); }
.provider-hero p:not([class]) + p:not([class]) { font-size: .875rem; color: var(--slate-400); }
@media (max-width: 639px) { .provider-hero { flex-direction: column; text-align: center; } }
.badge-gold {
  display: inline-flex; align-items: center; background: rgba(154, 114, 21, .1);
  border: 1px solid rgba(154, 114, 21, .22); border-radius: 100px; padding: 5px 16px; margin-bottom: 14px;
  font-size: .625rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.meta-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.meta-card {
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  border: 1px solid rgba(154, 114, 21, .18); border-radius: 16px; padding: 14px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.meta-card--link { background: rgba(154, 114, 21, .1); border-color: rgba(154, 114, 21, .3); }
.meta-card__label { font-size: .6875rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.meta-card__val { font-size: 1rem; font-weight: 600; color: var(--navy); }
.meta-card__hint { font-size: .75rem; font-weight: 400; color: var(--slate-400); margin-top: 4px; }
.enroll-aside { width: 320px; flex-shrink: 0; position: sticky; top: calc(var(--nav-h) + 12px); }
@media (max-width: 991px) { .enroll-aside { position: static; width: 100%; max-width: 420px; margin-inline: auto; } }
.enroll-box {
  background: linear-gradient(150deg, var(--cream-200), #EFE0C0);
  border-radius: 24px; padding: 40px 32px; text-align: center;
  box-shadow: 0 12px 56px rgba(0, 0, 0, .1); border: 1px solid rgba(154, 114, 21, .25);
}
.enroll-box__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; box-shadow: 0 6px 20px rgba(26, 46, 90, .25); }
.enroll-box h3 { font-size: 1.375rem; margin-bottom: 10px; line-height: 1.3; }
.enroll-box p { font-size: .875rem; color: var(--slate-500); margin-bottom: 28px; line-height: 1.7; }

/* ── Enrollment ─────────────────────────────────────────────────────── */
.form-card {
  width: 100%; background: #fff; border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .06); border: 1px solid rgba(154, 114, 21, .14);
}
.form-card h3 { font-size: 1.375rem; margin-bottom: 22px; }
.form-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.form-card__head h3 { margin-bottom: 0; }
.form-card__sub { font-size: .84rem; color: var(--slate-400); margin-bottom: 24px; }
.form-disclaimer { font-size: .78rem; color: var(--slate-400); line-height: 1.7; margin-top: 20px; }
.form-stack { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-stack--lg { gap: 28px; }
.link-action { color: var(--gold); font-family: var(--sans); font-size: .8125rem; font-weight: 600; }
.link-action:hover { color: var(--gold-600); }

.member-block { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.member-block + .member-block { margin-top: 16px; }
.member-block__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.member-block__title { font-size: .875rem; font-weight: 700; color: var(--navy); font-family: var(--sans); }
.member-remove { color: var(--red); font-size: 1.125rem; line-height: 1; padding: 4px 8px; }
.member-remove:hover { color: #B91C1C; }
.member-block .field-grid { gap: 14px; }
.member-block .field-grid + .field-grid { margin-top: 14px; }
.member-block .field > span { font-size: .75rem; margin-bottom: 6px; }

.discount-box { background: var(--cream-100); border-radius: 14px; padding: 20px 24px; margin-top: 16px; }
.discount-box__title { font-size: .875rem; font-weight: 700; color: var(--navy); font-family: var(--sans); margin-bottom: 14px; }
.discount-tiers { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.discount-tiers span { background: #fff; border: 1px solid #EDE0CC; border-radius: 10px; padding: 8px 18px; font-size: .875rem; font-weight: 700; color: var(--gold); }
.discount-tiers span i { font-style: normal; font-weight: 500; color: var(--slate-500); }
.discount-box p { font-size: .78rem; color: var(--slate-400); text-align: center; }

.summary-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; color: var(--slate-700); }
.summary-line strong { font-weight: 600; color: var(--navy); }
.summary-line--discount { color: var(--green-text); font-weight: 600; }
.summary-mid { border-top: 1px solid var(--line-soft); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.summary-total { border-top: 1.5px solid var(--navy); padding-top: 18px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.summary-total span { font-size: 1rem; font-weight: 700; color: var(--navy); font-family: var(--sans); }
.summary-total strong { font-family: var(--serif); font-size: 1.875rem; font-weight: 700; color: var(--navy); }
.summary-foot { font-size: .78rem; color: var(--slate-400); margin-bottom: 28px; }

.enroll-intro { background: var(--cream-200); padding: clamp(2rem, 4vw, 2.75rem) var(--pad-x); text-align: center; }
.enroll-intro h1 { font-size: var(--t-h4); margin-bottom: 10px; }
.enroll-intro p { font-size: .9375rem; color: var(--slate-500); }
.enroll-intro p:first-child { margin-bottom: 6px; }

.confirm { text-align: center; }
.confirm__tick {
  width: 88px; height: 88px; border-radius: 28px;
  background: linear-gradient(135deg, var(--green), var(--green-400));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 36px;
  box-shadow: 0 8px 36px rgba(30, 158, 74, .32);
  font-size: 2.5rem; color: #fff; font-weight: 700; line-height: 1;
}
.confirm h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 18px; }
.confirm__lead { font-size: 1.125rem; line-height: 1.85; color: var(--slate-600); margin-bottom: 12px; }
.confirm__total { font-size: .875rem; color: var(--gold); font-weight: 600; margin-bottom: 32px; }
.confirm__fine { font-size: .8125rem; color: var(--slate-300); line-height: 1.7; margin-top: 20px; }

/* ── What's included ────────────────────────────────────────────────── */
.plan-banner {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(200, 164, 68, .16) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-750) 0%, var(--navy) 60%, var(--navy-800) 100%);
  border-radius: 28px; padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  margin-bottom: 48px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; position: relative; overflow: hidden;
  box-shadow: 0 20px 56px rgba(10, 25, 55, .3);
}
.plan-banner__id { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; }
.plan-banner__icon { width: 68px; height: 68px; border-radius: 18px; background: rgba(200, 164, 68, .14); border: 1px solid rgba(200, 164, 68, .3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-banner__kicker { font-size: .6875rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-400); margin-bottom: 6px; }
.plan-banner h2 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.875rem); font-weight: 400; color: #fff; text-transform: uppercase; letter-spacing: .5px; line-height: 1; }
.plan-banner__price { position: relative; z-index: 1; text-align: right; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: #fff; line-height: 1; }
.plan-banner__price span { font-family: var(--sans); font-size: .9375rem; font-weight: 400; color: rgba(255, 255, 255, .5); }

.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 767px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: #fff; border-radius: 18px; padding: 28px 30px;
  border: 1px solid rgba(154, 114, 21, .14); box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.benefit-card:hover { box-shadow: 0 14px 40px rgba(154, 114, 21, .14); transform: translateY(-4px); border-color: rgba(154, 114, 21, .35); }
.benefit-card h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 4px; }
.benefit-card__code { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--slate-400); margin-bottom: 10px; letter-spacing: .3px; }
.benefit-card p:not([class]) { font-size: .875rem; line-height: 1.8; color: var(--slate-600); margin-bottom: 16px; }
.benefit-card__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(30, 158, 74, .1); color: var(--green-text); font-size: .8125rem; font-weight: 700; padding: 6px 16px; border-radius: 100px; }
.included-hero {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(200, 164, 68, .18) 0%, transparent 55%),
    linear-gradient(145deg, #040C1A 0%, var(--navy) 65%, var(--navy-700) 100%);
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x) clamp(3rem, 5vw, 5rem);
  position: relative; overflow: hidden; text-align: center;
}
.included-hero h1 { font-size: var(--t-h1); color: #fff; margin-bottom: 14px; }
.included-hero > .stack > p:not([class]) { font-size: 1.0625rem; color: rgba(255, 255, 255, .5); font-weight: 300; line-height: 1.75; }
.included-hero .eyebrow { justify-content: center; }
.jump-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* Search / included / provider page heros on cream. */
.page-hero { background: var(--cream-200); padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(3.5rem, 7vw, 6.25rem); position: relative; overflow: hidden; text-align: center; }
.page-hero h1 { font-size: var(--t-h1); margin-bottom: 14px; }
.page-hero__lead { font-size: 1.125rem; color: var(--slate-500); margin-bottom: clamp(2rem, 4vw, 3.25rem); font-weight: 300; line-height: 1.75; }
.page-hero .eyebrow { justify-content: center; }
/* Tighten the gap when a CTA band sits directly under a search/page hero
   (e.g. Find a Doctor page) so the two sections don't read as two separate,
   far-apart blocks. */
.page-hero:has(+ .cta-band) { padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-hero + .cta-band { padding-top: clamp(2rem, 4vw, 3rem); }
/* Same tightening when a section (e.g. homepage's Security & Compliance
   block) sits directly above a CTA band — both are cream, so full padding
   on each reads as one big empty gap. */
.section:has(+ .cta-band) { padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section + .cta-band { padding-top: clamp(2rem, 4vw, 3rem); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); padding: clamp(2.75rem, 5vw, 4rem) var(--pad-x) 36px; border-top: 1px solid rgba(154, 114, 21, .1); }
.site-footer__top { display: flex; gap: clamp(2rem, 6vw, 4.5rem); align-items: flex-start; margin-bottom: clamp(2rem, 4vw, 3.25rem); flex-wrap: wrap; }
.site-footer__seal { height: 80px; width: auto; object-fit: contain; opacity: .9; flex-shrink: 0; }
.site-footer__cols { display: flex; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); flex: 1; flex-wrap: wrap; }
.site-footer h4 { font-family: var(--sans); font-size: .6875rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-400); margin-bottom: 22px; }
.site-footer__list { display: flex; flex-direction: column; gap: 14px; }
.site-footer__list a, .site-footer__list span { font-size: .9375rem; color: rgba(255, 255, 255, .42); text-align: left; }
.site-footer__list a:hover { color: var(--gold-400); }
.site-footer__badges {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.site-footer__badges span { font-size: .75rem; font-weight: 600; letter-spacing: .8px; color: rgba(255, 255, 255, .38); }
.site-footer__badges span[aria-hidden] { color: rgba(255, 255, 255, .18); font-weight: 400; }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__bar p { font-size: .8125rem; color: rgba(255, 255, 255, .22); }
.site-footer__bar p + p { font-size: .75rem; color: rgba(255, 255, 255, .15); }

/* ── Utilities ──────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-44 { margin-top: 44px; }
.mt-56 { margin-top: 56px; }
.mb-44 { margin-bottom: 44px; }
[hidden] { display: none !important; }
