/* ==========================================================================
   Every 5 Minutes — Stylesheet
   Calm, hopeful, premium, conversion-focused.
   Brand palette: soft neutral bg · navy/charcoal text · light-blue wings
   accent · small red/orange accents.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #1B2A4A;   /* primary text / dark sections */
  --navy-700:    #243a63;
  --charcoal:    #2A3342;
  --slate:       #5B6B82;   /* muted text */
  --slate-300:   #9DB2CE;

  --blue:        #5BA7E5;   /* wing accent */
  --blue-600:    #3E8FD6;
  --blue-200:    #BFE3FA;
  --blue-50:     #EAF5FE;

  --orange:      #E8542E;   /* red/orange accent — used sparingly */
  --orange-400:  #F2683C;
  --orange-200:  #FBD7C6;

  /* Neutrals */
  --white:       #FFFFFF;
  --paper:       #FBFCFE;   /* soft neutral background */
  --mist:        #F4F8FC;   /* alternating section bg */
  --cloud:       #EEF4FB;
  --line:        #E3EAF3;   /* hairline borders */

  /* Feedback */
  --green:       #2F8F6B;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
  --shadow:    0 14px 40px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 28px 70px rgba(27, 42, 74, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { color: var(--charcoal); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--slate); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange-400));
}
.accent { color: var(--orange); }

/* ---------- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--mist { background: var(--mist); }
.section--cloud { background: var(--cloud); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }

.grid { display: grid; gap: 26px; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-align: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(232, 84, 46, 0.28); }
.btn-primary:hover { background: var(--orange-400); box-shadow: 0 16px 32px rgba(232, 84, 46, 0.34); }

.btn-call { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(27, 42, 74, 0.22); }
.btn-call:hover { background: var(--navy-700); }

.btn-text { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(91, 167, 229, 0.28); }
.btn-text:hover { background: var(--blue-600); }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-200); color: var(--blue-600); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 30px; font-size: 1.08rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo-mark { height: 48px; width: auto; }
.nav__logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--navy); letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.nav__logo-text b { color: var(--orange); font-weight: 600; }
@media (max-width: 400px) { .nav__logo-text { display: none; } }
.nav__links { display: none; align-items: center; gap: 26px; list-style: none; padding: 0; }
.nav__links a { color: var(--charcoal); font-weight: 600; font-size: 0.98rem; position: relative; }
.nav__links a:hover { color: var(--blue-600); }
.nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange-400)); border-radius: 2px;
}
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
  background: transparent; border: 0;
}
.nav__toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s var(--ease); }
.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); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 74px 0 auto 0; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: .25s var(--ease);
  padding: 16px 22px 26px;
}
.nav__drawer.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__drawer ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.nav__drawer a { display: block; padding: 13px 8px; color: var(--charcoal); font-weight: 600; border-radius: 10px; }
.nav__drawer a:hover { background: var(--mist); }
.nav__drawer .btn { margin-top: 14px; }

@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--blue-50) 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 0%, #FFF4EE 0%, transparent 50%),
    var(--paper);
}
.hero__sun {
  position: absolute; top: -120px; right: -80px; width: 520px; height: 520px; z-index: -1;
  background: radial-gradient(circle, rgba(251,163,94,0.30) 0%, rgba(91,167,229,0.10) 45%, transparent 70%);
  border-radius: 50%; filter: blur(6px);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }

.hero__support {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--navy);
  margin-bottom: 22px;
}
.hero__support .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,143,107,.18); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue-600); }
.hero__sub { max-width: 560px; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; color: var(--slate); font-size: 0.92rem; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--blue-600); }

/* ---------- Lead form card ------------------------------------------------ */
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px);
  position: relative;
}
.lead-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.lead-card__head .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-200)); color: var(--blue-600);
  display: grid; place-items: center;
}
.lead-card__head .ic svg { width: 24px; height: 24px; }
.lead-card h2, .lead-card h3 { font-size: 1.4rem; }
.lead-card .muted { font-size: 0.92rem; color: var(--slate); }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--orange); }
.field input, .field select {
  width: 100%; padding: 14px 15px; font-size: 1rem; font-family: inherit; color: var(--charcoal);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(91,167,229,0.16);
}
.field input::placeholder { color: #9aa7b8; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--orange); background: #fff7f4; }
.field .error-msg { display: none; color: var(--orange); font-size: 0.82rem; margin-top: 5px; font-weight: 600; }
.field.invalid .error-msg { display: block; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; margin: 6px 0 16px;
}
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue-600); cursor: pointer; }
.consent label { font-size: 0.8rem; line-height: 1.5; color: var(--slate); font-weight: 500; }
.consent a { font-weight: 600; }
.form-foot { font-size: 0.78rem; color: var(--slate); text-align: center; margin-top: 12px; }
.form-foot svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; color: var(--green); }

/* ---------- Cards --------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue-50), #fff); color: var(--blue-600);
  border: 1px solid var(--line);
}
.card__ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.22rem; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card--accent .card__ic { background: linear-gradient(135deg, #FFF1EB, #fff); color: var(--orange); }

/* Resource card (links) */
.rcard { display: flex; flex-direction: column; }
.rcard .tag { font-size: 0.74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.rcard h3 { font-size: 1.12rem; }
.rcard .more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.rcard:hover .more { gap: 10px; }
.rcard .more svg { width: 16px; height: 16px; transition: transform .2s; }

/* Two-column feature block */
.feature { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature.reverse .feature__media { order: 2; } }
.feature__media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 280px;
  box-shadow: var(--shadow); position: relative;
}
.feature ul.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.feature ul.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--charcoal); font-weight: 500; }
.feature ul.checks svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); margin-top: 2px; }

/* Calm illustrative gradient panels (no exploitative imagery) */
.scene { position: relative; width: 100%; height: 100%; min-height: 320px; overflow: hidden; }
.scene-families { background: linear-gradient(160deg, #FFF6F0 0%, #EAF5FE 100%); }
.scene-yourself { background: linear-gradient(160deg, #EAF5FE 0%, #F1ECFB 100%); }
.scene-insurance{ background: linear-gradient(160deg, #EEF6FF 0%, #F4F8FC 100%); }
.scene-sun {
  position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 130%; aspect-ratio: 2 / 1; border-radius: 50% 50% 0 0;
  background: radial-gradient(circle at 50% 100%, rgba(251,163,94,.55), rgba(242,104,60,.18) 40%, transparent 70%);
}
.scene-rays span {
  position: absolute; bottom: 0; left: 50%; width: 3px; height: 60%;
  background: linear-gradient(to top, rgba(251,163,94,.4), transparent);
  transform-origin: bottom center;
}

/* How we help — numbered steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step__n {
  counter-increment: step; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
}
.step__n::before { content: counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: 4px; }
.step p { color: var(--slate); font-size: 0.96rem; }

/* ---------- Reassurance / stat band -------------------------------------- */
.reassure {
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.reassure .pillars { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 720px) { .reassure .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar svg { flex: none; width: 28px; height: 28px; color: var(--blue-600); }
.pillar h3 { font-size: 1.08rem; margin-bottom: 3px; }
.pillar p { font-size: 0.92rem; color: var(--slate); }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 20px 22px; font-weight: 700; font-size: 1.05rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-body);
}
.faq__q .chev { flex: none; width: 22px; height: 22px; color: var(--blue-600); transition: transform .3s var(--ease); }
.faq__item.open .faq__q .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 22px 20px; color: var(--slate); }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9;
  background:
    radial-gradient(80% 120% at 90% 10%, rgba(91,167,229,0.45) 0%, transparent 55%),
    radial-gradient(60% 90% at 0% 100%, rgba(242,104,60,0.30) 0%, transparent 55%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f3; max-width: 620px; margin: 14px auto 28px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Crisis disclaimer -------------------------------------------- */
.crisis {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FFF6F2; border: 1px solid var(--orange-200); border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.crisis svg { flex: none; width: 24px; height: 24px; color: var(--orange); margin-top: 2px; }
.crisis strong { color: var(--navy); }
.crisis p { font-size: 0.95rem; color: var(--charcoal); }
.crisis a { font-weight: 700; color: var(--orange); }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c7d5e8; padding: 64px 0 120px; }
@media (min-width: 980px) { .site-footer { padding-bottom: 56px; } }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo img { height: 52px; width: auto; }
.footer__logo span { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: #fff; line-height: 1; }
.footer__logo span b { color: var(--orange-400); font-weight: 600; }
.footer__brand p { color: var(--slate-300); font-size: 0.94rem; max-width: 340px; }
.footer__contact { margin-top: 18px; display: grid; gap: 8px; }
.footer__contact a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.footer__contact a:hover { color: var(--blue-200); }
.footer__contact svg { width: 17px; height: 17px; color: var(--blue); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: #c7d5e8; font-size: 0.96rem; }
.footer ul a:hover { color: #fff; }
.footer__crisis {
  margin-top: 36px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem; color: #cdd9ea;
}
.footer__crisis strong { color: #fff; }
.footer__crisis a { color: var(--blue-200); font-weight: 700; }
.footer__bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center;
  font-size: 0.84rem; color: var(--slate-300);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__bottom a { color: var(--slate-300); }
.footer__bottom a:hover { color: #fff; }
.footer__disclaimer { font-size: 0.78rem; color: #93a6c2; margin-top: 14px; line-height: 1.55; }

/* ---------- Sticky mobile CTA bar ---------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 26px rgba(27,42,74,0.10);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; border-radius: 12px; font-weight: 700; font-size: 0.78rem; line-height: 1;
}
.mobile-cta a svg { width: 20px; height: 20px; }
.mobile-cta .m-call { background: var(--navy); color: #fff; }
.mobile-cta .m-text { background: var(--blue); color: #fff; }
.mobile-cta .m-help { background: var(--orange); color: #fff; }
@media (min-width: 980px) { .mobile-cta { display: none; } }

/* ---------- Page hero (interior pages) ----------------------------------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(110% 90% at 90% -20%, var(--blue-50) 0%, transparent 55%), var(--mist);
}
.page-hero .crumbs { font-size: 0.86rem; color: var(--slate); margin-bottom: 14px; font-weight: 600; }
.page-hero .crumbs a { color: var(--slate); }
.page-hero .crumbs a:hover { color: var(--blue-600); }
.page-hero h1 { max-width: 760px; margin-bottom: 16px; }
.page-hero .lead { max-width: 660px; }
.page-hero .btn-row { margin-top: 26px; }

/* ---------- Prose (legal pages) ------------------------------------------ */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.18rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--charcoal); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--slate); font-size: 0.9rem; margin-bottom: 26px; }
.prose a { font-weight: 600; }

/* Info box */
.note {
  background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 20px 0;
}
.note strong { color: var(--navy); }

/* ---------- Thank-you page ------------------------------------------------ */
.thanks { text-align: center; max-width: 620px; margin-inline: auto; }
.thanks__check {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-200));
  display: grid; place-items: center; color: var(--green);
}
.thanks__check svg { width: 44px; height: 44px; }
.thanks .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Contact methods grid ----------------------------------------- */
.contact-methods { display: grid; gap: 18px; }
@media (min-width: 720px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.method { text-align: center; }
.method .card__ic { margin-inline: auto; }
.method .big { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); font-weight: 600; word-break: break-word; }

/* ---------- Scroll reveal ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive: never hide text via split */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- "Every 5 Minutes" live counter section ----------------------- */
.e5m-counter {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, #20335a 0%, transparent 55%),
    linear-gradient(160deg, #1b2a4a 0%, #16233e 100%);
  color: #eaf2fb;
}
.e5m-counter__glow {
  position: absolute; bottom: -30%; left: -10%; width: 70%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle, rgba(242,104,60,0.22), transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.e5m-counter__grid {
  position: relative; z-index: 1;
  display: grid; gap: 44px; align-items: center;
}
@media (min-width: 900px) { .e5m-counter__grid { grid-template-columns: 0.85fr 1.15fr; gap: 60px; } }

/* Clock: winged logo on top, countdown ring below */
.e5m-clock { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-inline: auto; width: min(340px, 80vw); }
.e5m-clock__wings {
  width: 56%; height: auto; opacity: 0.97;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,0.35));
  animation: e5m-float 6s ease-in-out infinite;
}
@keyframes e5m-float { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
.e5m-ring-wrap { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.e5m-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); z-index: 2; }
.e5m-ring__track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 6; }
.e5m-ring__bar {
  fill: none; stroke: url(#e5m-ring-grad); stroke-width: 6; stroke-linecap: round;
  stroke: #5BA7E5;
  stroke-dasharray: 628.3; stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s linear;
  filter: drop-shadow(0 0 6px rgba(91,167,229,0.6));
}
.e5m-clock__time { position: relative; z-index: 3; text-align: center; }
.e5m-clock__count {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.2rem); color: #fff; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums; line-height: 1;
  text-shadow: 0 2px 18px rgba(91,167,229,0.35);
}
.e5m-clock__label { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #aec6e6; margin-top: 8px; }

/* Copy */
.e5m-counter__copy h2 { color: #fff; max-width: 18ch; }
.e5m-counter__lead { color: #c4d4ea; font-size: 1.05rem; margin: 14px 0 0; max-width: 52ch; }
.e5m-counter__turn { color: #dbe7f6; margin: 22px 0 24px; max-width: 50ch; }
.e5m-counter__turn strong { color: #fff; }
.e5m-counter__src { font-size: 0.78rem; color: #8ba2c4; margin-top: 18px; max-width: 56ch; }
.e5m-counter__src a { color: #bfe3fa; font-weight: 600; }
.e5m-ghost { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; background: transparent !important; }
.e5m-ghost:hover { background: rgba(255,255,255,0.1) !important; }

/* Odometer */
.e5m-odometer {
  margin: 26px 0 4px; padding: 22px 26px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); backdrop-filter: blur(4px);
}
.e5m-odometer__num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(91,167,229,0.3);
}
.e5m-odometer__num.bump { animation: e5m-bump 0.6s var(--ease); }
@keyframes e5m-bump { 0% { transform: scale(1); } 30% { transform: scale(1.06); color: #FBA35E; } 100% { transform: scale(1); } }
.e5m-odometer__cap { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 0.92rem; color: #aebfd8; }
.e5m-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 0 0 rgba(242,104,60,0.6); animation: e5m-beat 2.4s ease-out infinite; }
@keyframes e5m-beat { 0% { box-shadow: 0 0 0 0 rgba(242,104,60,0.55); } 70% { box-shadow: 0 0 0 12px rgba(242,104,60,0); } 100% { box-shadow: 0 0 0 0 rgba(242,104,60,0); } }

@media (prefers-reduced-motion: reduce) {
  .e5m-clock__wings, .e5m-pulse { animation: none; }
  .e5m-ring__bar { transition: none; }
}

/* ==========================================================================
   DARK THEME — premium warm navy (client-requested, hopeful not grim)
   Overrides the light defaults above. Remove this block to revert to light.
   ========================================================================== */
:root {
  --paper:    #0b1424;   /* page base */
  --mist:     #0f1d31;   /* alternating section */
  --cloud:    #091222;   /* deepest section */
  --line:     rgba(255,255,255,0.10);
  --charcoal: #d7e2f1;   /* body text (now light) */
  --slate:    #9fb2cd;   /* muted text */
  --surface:  #15233c;   /* cards */
  --surface-2:#1b2a46;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow:    0 16px 44px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.55);
}

body {
  color: var(--charcoal);
  background:
    radial-gradient(130% 80% at 88% -8%, #16294a 0%, transparent 52%),
    radial-gradient(90% 60% at 0% 0%, #15131f 0%, transparent 45%),
    var(--paper);
  background-attachment: fixed;
}
h1, h2, h3, h4 { color: #fff; }
.eyebrow { color: var(--blue-200); }
.hero h1 .hl { color: #7fc0ef; }

/* Header */
.site-header { background: rgba(11,20,36,0.82); border-bottom-color: var(--line); }
.nav__logo-text { color: #fff; }
.nav__links a { color: #cddaec; }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__toggle span { background: #fff; }
.nav__drawer { background: var(--surface); border-bottom-color: var(--line); }
.nav__drawer a { color: #cddaec; }
.nav__drawer a:hover { background: rgba(255,255,255,0.06); }

/* Hero */
.hero::before {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(91,167,229,0.16) 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 0%, rgba(242,104,60,0.12) 0%, transparent 50%),
    var(--paper);
}
.hero__support { background: rgba(255,255,255,0.06); border-color: var(--line); color: #eaf2fb; }

/* Buttons */
.btn-call { background: var(--surface-2); color: #fff; border-color: rgba(255,255,255,0.16); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.btn-call:hover { background: #243a63; }
.btn-ghost { background: rgba(255,255,255,0.05); color: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-200); color: var(--blue-200); }

/* Cards & surfaces */
.card, .lead-card, .faq__item, .step { background: var(--surface); border-color: var(--line); }
.card:hover { border-color: rgba(91,167,229,0.45); }
.card p, .step p, .faq__a p, .pillar p, .lead-card .muted, .consent label { color: var(--slate); }
.card__ic { background: linear-gradient(135deg, rgba(91,167,229,0.20), rgba(255,255,255,0.03)); border-color: var(--line); color: var(--blue-200); }
.card--accent .card__ic { background: linear-gradient(135deg, rgba(242,104,60,0.22), rgba(255,255,255,0.03)); color: var(--orange-400); }
.lead-card__head .ic { background: linear-gradient(135deg, rgba(91,167,229,0.24), rgba(91,167,229,0.08)); color: var(--blue-200); }

/* Form fields */
.field label { color: #eaf2fb; }
.field input, .field select {
  background-color: rgba(255,255,255,0.04); color: #eef4fb; border-color: var(--line);
}
.field input::placeholder { color: #7e90aa; }
.field input:focus, .field select:focus { background-color: rgba(255,255,255,0.07); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91,167,229,0.18); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239fb2cd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
/* dropdown option list stays readable on dark */
.field select option { color: #14233c; background: #fff; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { background: rgba(232,84,46,0.08); }
.consent { background: rgba(255,255,255,0.04); border-color: var(--line); }
.faq__q { color: #fff; }

/* Reassurance band */
.reassure { background: linear-gradient(135deg, rgba(91,167,229,0.12), rgba(255,255,255,0.02)); border-color: var(--line); }

/* Feature media — now holds real photography */
.feature__media { min-height: 320px; border: 1px solid var(--line); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,20,36,0) 45%, rgba(11,20,36,0.55) 100%);
}
.feature ul.checks li { color: var(--charcoal); }
.feature ul.checks svg { color: var(--blue-200); }

/* Crisis box — keep warm & bright on purpose (safety visibility) */
.crisis { background: #2a1c1a; border-color: rgba(242,104,60,0.45); border-left-color: var(--orange); }
.crisis strong { color: #fff; }
.crisis p { color: #f1ddd5; }
.crisis a { color: var(--orange-400); }

/* Mobile sticky CTA */
.mobile-cta { background: rgba(11,20,36,0.92); border-top-color: var(--line); }
.mobile-cta .m-call { background: var(--surface-2); }

/* Page hero (interior pages) */
.page-hero::before {
  background:
    radial-gradient(110% 90% at 90% -20%, rgba(91,167,229,0.16) 0%, transparent 55%),
    var(--mist);
}
.page-hero .crumbs, .page-hero .crumbs a { color: var(--slate); }

/* Prose / legal */
.method .big, .contact-methods .method .big { color: #fff; }
.note { background: rgba(91,167,229,0.10); border-color: rgba(91,167,229,0.35); }
.note strong { color: #fff; }
.prose .updated { color: var(--slate); }

/* Hopeful marquee strip (Coach-Jay style) */
.marquee {
  background: linear-gradient(90deg, rgba(91,167,229,0.12), rgba(242,104,60,0.10));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 14px 0;
}
.marquee__track { display: inline-flex; white-space: nowrap; gap: 0; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #eaf2fb;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee__track span::after { content: "✦"; color: var(--orange-400); font-size: 0.8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Hero atmospheric photo layer */
.hero__photo {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,36,0.55), rgba(11,20,36,0.92)); }

/* ==========================================================================
   Intro splash (homepage) — winged logo + 5:00→0:00 sweep, then curtain opens.
   Shown once per session. CSS failsafe reveals the page even if JS never runs.
   ========================================================================== */
#splash { position: fixed; inset: 0; z-index: 9999; overflow: hidden; }
html.splashed #splash { display: none; }            /* already seen this session */
.splash__panel {
  position: absolute; left: 0; right: 0; height: 50.5%; z-index: 1;
  background: radial-gradient(120% 140% at 50% 100%, #16294a 0%, #0b1424 70%);
  transition: transform .75s cubic-bezier(.76,0,.24,1);
}
.splash__panel--top { top: 0; }
.splash__panel--bot { bottom: 0; background: radial-gradient(120% 140% at 50% 0%, #16294a 0%, #0b1424 70%); }
.splash__center {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s ease, transform .6s ease;
}
.splash__clock { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.splash__logo { width: 116px; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); animation: splash-pop .6s var(--ease) both; }
@keyframes splash-pop { from { opacity: 0; transform: scale(.8) translateY(8px); } to { opacity: 1; transform: none; } }
.splash__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.splash__ring-track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 5; }
.splash__bar { fill: none; stroke: #5BA7E5; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(91,167,229,.6)); }
.splash__time {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: 2rem; font-variant-numeric: tabular-nums; letter-spacing: .02em;
  opacity: 0; animation: splash-fade .5s ease .25s forwards;
}
.splash__tag { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #9db8da; opacity: 0; animation: splash-fade .5s ease .45s forwards; }
@keyframes splash-fade { to { opacity: 1; } }
.splash__flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(251,163,94,.55), rgba(242,104,60,.2) 35%, transparent 65%); }

#splash.done .splash__panel--top { transform: translateY(-100%); }
#splash.done .splash__panel--bot { transform: translateY(100%); }
#splash.done .splash__center { opacity: 0; transform: scale(1.07); }
#splash.done { pointer-events: none; }
#splash.gone { display: none; }

/* Failsafe: if JS never advances the splash, reveal the page anyway. */
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }
#splash { animation: splash-failsafe .5s ease 4.8s forwards; }

@media (prefers-reduced-motion: reduce) { #splash { display: none; } }

/* ---- Email guide card (replaces the form — sends straight to inbox) ---- */
.guide__intro { color: var(--slate); font-size: .96rem; margin-bottom: 16px; }
.guide__intro strong { color: #fff; }
.guide__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.guide__list li { display: flex; gap: 11px; align-items: flex-start; color: #dbe7f6; font-weight: 500; font-size: .97rem; }
.guide__list li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange-400));
}
.guide__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.guide .btn svg { width: 18px; height: 18px; }
