/* ClearFocus Coverage site styles
   Type: Helvetica for text, Franklin Gothic (the logo face) for display.
   Libre Franklin is self-hosted as the fallback for both, so devices without
   Helvetica or Franklin Gothic still get the logo's type family, never Arial. */

@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-franklin-latin-700-italic.woff2") format("woff2"); }

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #4a4a4a;
  --line: #0a0a0a;
  --rule: rgba(10, 10, 10, 0.16);
  --green: #21873A;
  --green-dark: #1a6e2f;
  --green-deep: #145524;
  --lime: #7ad969;       /* the green from the get help button art */
  --lime-hover: #69cb58;
  --error: #b42318;
  --text: "Helvetica Neue", Helvetica, "Libre Franklin", sans-serif;
  --display: "Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic", "Libre Franklin", "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1240px;
  /* Motion, matched to the union app: one curve for everything that settles,
     a longer one for things that travel. */
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-move: cubic-bezier(.22,1,.36,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Shown only if WebGL is unavailable; matches the wave's base color. */
  background: #f2f8f3;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--green); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
@media (max-width: 540px) { [id] { scroll-margin-top: 76px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Wave background (WebGL canvas, see /assets/wave.js) ── */
#fluid-bg {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; display: block;
}
.nav, main, .footer { position: relative; z-index: 1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 17px; } }

/* ── Type ── */
h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  /* The logo is Franklin Gothic Medium with a light stroke on top. */
  -webkit-text-stroke: 0.6px currentColor;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 5.4vw, 72px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; -webkit-text-stroke: 0.4px currentColor; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; }
.muted { color: var(--muted); }
p + p { margin-top: 14px; }

.text-link {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--ink); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 56px; padding: 16px 24px;
  font-family: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 10px;
  background: var(--ink); color: #fff;
  transition: background-color .24s var(--ease-out), color .24s var(--ease-out), border-color .24s var(--ease-out),
              box-shadow .24s var(--ease-out), transform .24s var(--ease-out), border-radius .24s var(--ease-out);
}
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; transition-duration: .08s; }
.btn:active { transform: translateY(1px); transition-duration: .05s; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #e9e9e9; border-color: #e9e9e9; }
.btn-light-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-light-outline:hover { background: #fff; color: var(--ink); }
/* Green buttons use the flat light green from the get help art, black type. */
.btn-green { background: var(--lime); border-color: var(--ink); color: var(--ink); }
.btn-green:hover { background: var(--lime-hover); border-color: var(--ink); }
.ec-medicare .btn-green { border-color: var(--lime); }
.ec-medicare .btn-green:hover { border-color: var(--lime-hover); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 16px; font-weight: 500; text-decoration: none; transition: color .24s var(--ease-out), background-color .24s var(--ease-out); }
.nav-links a:not(.nav-call):hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 1000px) { .nav-links { gap: 20px; } }
.nav-call {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
}
.nav-call:hover { background: var(--green); }
@media (max-width: 860px) { .nav-links li:not(:last-child) { display: none; } }
@media (max-width: 540px) {
  .logo-img { height: 38px; }
  .nav-inner { padding-top: 10px; padding-bottom: 10px; }
  .nav-call { padding: 9px 14px; font-size: 15px !important; }
}

/* ── Hero ── */
.hero { padding: 48px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.hero-title { margin: 0; -webkit-text-stroke: 0; }
.hero-image {
  width: 100%; max-width: 680px;
  user-select: none; -webkit-user-select: none; pointer-events: none;
  animation: eyeFocus-img .9s cubic-bezier(.16,.8,.3,1) both;
  transform: translateZ(0);
}
.hero-side { max-width: 540px; padding-top: clamp(4px, 1.4vw, 20px); animation: eyeFocus-side 1s .1s cubic-bezier(.16,.8,.3,1) both; transform: translateZ(0); }
.hero-side .lead { margin-bottom: 26px; }
.hero-h1 {
  font-size: clamp(30px, 3.05vw, 42px); line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 18px; -webkit-text-stroke: 0.4px currentColor;
}
.season-note { margin-top: 18px; font-size: 16px; color: var(--muted); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
@starting-style { .season-note { opacity: 0; transform: translateY(6px); } }
.season-note strong { color: var(--ink); }
/* Blur-to-clear on load, like eyes focusing. */
@keyframes eyeFocus-img {
  0% { filter: blur(26px); } 40% { filter: blur(14px); } 72% { filter: blur(3px); }
  88% { filter: blur(.6px); } 100% { filter: blur(0); }
}
@keyframes eyeFocus-side {
  0% { filter: blur(20px); } 30% { filter: blur(15px); } 64% { filter: blur(5px); }
  84% { filter: blur(1.2px); } 100% { filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-image, .hero-side { animation: none; } }
@media (max-width: 900px) {
  .hero { padding: 24px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-side { padding-top: 0; }
  .hero-image { max-width: 560px; }
  .hero-side .lead { margin-bottom: 20px; }
}

/* Explore button + panel */
.hero-actions { width: 100%; }
.btn-explore { width: 100%; font-size: 18px; }
.btn-explore { transition-delay: 0s, 0s, 0s, 0s, 0s, .22s; } /* corners square up only after the panel closes */
.btn-explore[aria-expanded="true"] { border-radius: 10px 10px 0 0; transition-delay: 0s; }
.explore-chevron svg { transition: transform .42s var(--ease-move); display: block; }
.btn-explore[aria-expanded="true"] .explore-chevron svg { transform: rotate(180deg); }
/* Expands by animating its grid row from 0fr to 1fr, so the height is real and
   everything below slides down with it instead of jumping. */
.explore-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease-move); }
.explore-wrap.is-open { grid-template-rows: 1fr; }
.explore-clip { min-height: 0; overflow: hidden; }
.explore-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px;
  overflow: hidden; background: #fff;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .22s var(--ease-in), transform .3s var(--ease-in);
}
.explore-wrap.is-open .explore-panel {
  opacity: 1; transform: none;
  transition: opacity .3s var(--ease-out) .06s, transform .45s var(--ease-move);
}
.explore-card { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.explore-card--diy { border-right: 1.5px solid var(--ink); }
.explore-card--guided { background: var(--ink); color: #fff; }
.explore-title {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.02em;
}
.explore-desc { font-size: 15px; line-height: 1.45; flex: 1; }
.explore-card--diy .explore-desc { color: var(--muted); }
.explore-card--guided .explore-desc { color: rgba(255,255,255,.82); }
.explore-card .btn { width: 100%; min-height: 50px; padding: 13px 16px; font-size: 16px; margin-top: 6px; }
@media (max-width: 520px) {
  .explore-panel { grid-template-columns: 1fr; }
  .explore-card--diy { border-right: 0; border-bottom: 1.5px solid var(--ink); }
}

/* ── Ticker ── */
.ticker {
  border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line);
  background: #fff; overflow: hidden; padding: 16px 0;
}
.ticker-track {
  display: flex; width: max-content; white-space: nowrap;
  animation: ticker var(--ticker-dur, 40s) linear infinite;
  will-change: transform;
}
.ticker span {
  padding-right: 48px; flex-shrink: 0;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .ticker span { font-size: 19px; padding-right: 36px; } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Sections ── */
.section { padding: 104px 0; }
.section-head { max-width: 860px; margin-bottom: 48px; }
.section-head h2 + p { margin-top: 20px; }
.section-white { background: rgba(255,255,255,.9); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* What we help with */
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.cover-col { padding: 32px 40px 8px 0; }
.cover-col + .cover-col { padding-left: 40px; padding-right: 0; border-left: 1.5px solid var(--ink); }
.cover-col h3 { margin-bottom: 14px; }
.cover-col p { color: var(--muted); max-width: 520px; }
.cover-col ul { list-style: none; margin-top: 20px; }
.cover-col li { padding: 12px 0; border-top: 1px solid var(--rule); font-weight: 500; }
@media (max-width: 820px) {
  .cover-grid { grid-template-columns: 1fr; }
  .cover-col, .cover-col + .cover-col { padding: 28px 0 8px; border-left: 0; }
  .cover-col + .cover-col { border-top: 1.5px solid var(--ink); margin-top: 24px; }
}

/* Steps */
.steps { list-style: none; margin-top: 72px; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.steps li::before {
  content: counter(step);
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 64px; line-height: .8; color: var(--ink);
}
.steps h3 { font-size: clamp(24px, 2.4vw, 32px); }
.steps p { color: var(--muted); }
@media (max-width: 820px) {
  .steps { margin-top: 48px; }
  .steps li { grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 24px 0; }
  .steps li::before { font-size: 44px; grid-row: span 2; }
}

/* Enroll cards */
.enroll-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.ec { padding: 44px 40px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: stretch; }
.ec-medicare { background: var(--ink); color: #fff; border-right: 2px solid var(--ink); }
.ec-aca { background: #fff; }
.ec-content { display: flex; flex-direction: column; min-width: 0; }
.ec h3 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 16px; }
.ec p { font-size: 16px; flex: 1; margin-bottom: 28px; max-width: 380px; }
.ec-medicare p { color: rgba(255,255,255,.78); }
.ec-aca p { color: var(--muted); }
.ec .btn { width: 100%; max-width: 340px; min-height: 64px; font-size: 18px; }
.ec-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ec-qr-frame { background: #fff; padding: 10px; border: 1.5px solid var(--ink); border-radius: 12px; }
.ec-qr-frame img { width: 164px; height: 164px; border-radius: 4px; image-rendering: pixelated; }
.ec-qr-label { font-size: 14px; font-weight: 500; }
@media (max-width: 960px) {
  .enroll-grid { grid-template-columns: 1fr; }
  .ec-medicare { border-right: 0; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 560px) {
  .ec { grid-template-columns: 1fr; padding: 32px 22px; gap: 24px; }
  .ec .btn { max-width: none; }
  .ec-qr { align-items: flex-start; }
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.about-grid h2 { max-width: 520px; }
.facts { list-style: none; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.facts .k { font-weight: 700; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 960px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary { transition: color .24s var(--ease-out); }
.faq summary:hover { color: var(--green-dark); transition-duration: .08s; }
.faq summary::after { transition: transform .42s var(--ease-move); }
.faq details.is-closing summary::after { transform: translateY(-70%) rotate(45deg); }
.faq .answer { overflow: hidden; }
.faq .answer-inner { padding: 0 0 26px; max-width: 760px; color: var(--muted); }
.faq .answer-inner ul { margin: 10px 0 0 20px; }
.faq .answer-inner li + li { margin-top: 6px; }

/* Help block */
.help { background: var(--ink); color: #fff; padding: 112px 0; }
.help h2 { font-size: clamp(44px, 7.4vw, 112px); line-height: .92; margin-bottom: 44px; }
.help h2 .quiet { color: #8fd6a0; }
.help-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-top: 32px; border-top: 1.5px solid rgba(255,255,255,.3); }
.help-row p { max-width: 520px; color: rgba(255,255,255,.85); }
.help-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .help { padding: 72px 0; } .help-row { grid-template-columns: 1fr; } }

/* Disclosure */
.disclosure { background: #fff; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); padding: 48px 0; }
.disclosure-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.disclosure h2 { font-size: 26px; -webkit-text-stroke: 0; }
.disclosure p { font-size: 15px; color: var(--muted); max-width: 820px; }
@media (max-width: 760px) { .disclosure-inner { grid-template-columns: 1fr; gap: 12px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact-info > p { margin: 20px 0 32px; color: var(--muted); max-width: 460px; }
.contact-list { list-style: none; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-list .k { font-weight: 700; font-size: 16px; }
.contact-list .v { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; transition: color .24s var(--ease-out); }
.contact-list a:hover { color: var(--green-dark); text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ── Forms (shared by contact form and help modal) ── */
.form-card { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 36px; }
.form-card > h3 { margin-bottom: 6px; }
.form-card > .muted { font-size: 16px; margin-bottom: 22px; }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }

.notice {
  border-left: 4px solid var(--green); background: #f1f8f2;
  padding: 12px 14px; font-size: 15px; line-height: 1.45; margin-bottom: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field > label, .field > .label {
  display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.field input[type=text], .field input[type=tel], .field input[type=email],
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--text); font-size: 17px; color: var(--ink);
  background: #fff; border: 1.5px solid #8a8a8a; border-radius: 8px;
  transition: border-color .24s var(--ease-out), box-shadow .24s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); border-width: 2px; padding: 11.5px 13.5px; }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: none; color: var(--error); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field.has-error .field-error { display: block; transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); }
@starting-style { .field.has-error .field-error { opacity: 0; transform: translateY(-4px); } }
.req { color: var(--error); }

.checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex-shrink: 0; cursor: pointer;
  width: 22px; height: 22px; margin: 0; border: 1.5px solid #8a8a8a; border-radius: 5px; background: #fff;
  display: grid; place-content: center;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.check input::after {
  content: ""; width: 11px; height: 6px; margin-top: -3px;
  border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease-move);
}
.check input:checked { background: var(--lime); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
@media (hover: hover) { .check input:hover { border-color: var(--ink); transition-duration: .08s; } }
.check input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); }

.consent { border: 1.5px solid var(--ink); border-radius: 10px; padding: 16px; margin: 18px 0; background: #fafafa; }
.consent h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.consent p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent .check { margin-top: 12px; font-weight: 700; }

.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.form-status.is-error { display: block; background: #fdeceb; color: var(--error); border: 1.5px solid var(--error); transition: opacity .3s var(--ease-out), transform .4s var(--ease-move); }
@starting-style { .form-status.is-error { opacity: 0; transform: translateY(-6px); } }
.form-status a { color: inherit; }
.submit { width: 100%; margin-top: 6px; }
.fine-print { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 14px; }

/* Custom topic dropdown (keeps a hidden native select for Netlify) */
.cselect { position: relative; }
.cselect-native { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.cselect-trigger {
  transition: border-color .24s var(--ease-out);
  width: 100%; min-height: 50px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--text); font-size: 17px; text-align: left; color: var(--ink);
  background: #fff; border: 1.5px solid #8a8a8a; border-radius: 8px; cursor: pointer;
}
.cselect-trigger:hover { border-color: var(--ink); }
.cselect[data-open="true"] .cselect-trigger { border-color: var(--green); }
.cselect-arrow { display: flex; transition: transform .38s var(--ease-move); }
.cselect[data-open="true"] .cselect-arrow { transform: rotate(180deg); }
.cselect-list {
  list-style: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 6px;
  max-height: 260px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .16s var(--ease-in), transform .2s var(--ease-in);
}
.cselect-list.is-shown { opacity: 1; transform: none; transition: opacity .2s var(--ease-out), transform .32s var(--ease-move); }
.cselect-option { padding: 11px 12px; border-radius: 6px; cursor: pointer; font-size: 16px; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.cselect-option:hover { transition-duration: .06s; }
.cselect-option:hover, .cselect-option:focus { background: var(--green); color: #fff; outline: none; }
.cselect-option.is-selected { font-weight: 700; }
.cselect-option.is-selected::after { content: "\2713"; float: right; }

/* ── Footer ── */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 16px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer .logo-img { height: 62px; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; }
.footer-brand .tag { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; color: #fff; margin-top: 12px; }
.footer h2 { font-family: var(--text); font-style: normal; font-weight: 700; font-size: 16px; letter-spacing: 0; -webkit-text-stroke: 0; color: #fff; margin-bottom: 14px; line-height: 1.3; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 8px; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .24s var(--ease-out); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; font-size: 13px; line-height: 1.6; display: grid; gap: 10px; }
.footer-bottom p { max-width: 920px; color: rgba(255,255,255,.62); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer { padding-bottom: 140px; } }

/* ── Get help button (Jason's art) ── */
.chat-fab {
  position: fixed; z-index: 90;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: none; border: 0; padding: 0; cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: transform .45s var(--ease-move), opacity .35s var(--ease-out), filter .24s var(--ease-out);
}
.chat-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .chat-fab.is-shown:hover { filter: brightness(1.05); transition-duration: .45s, .35s, .08s; } }
.chat-fab.is-shown:active { transform: translateY(1px); transition-duration: .05s; }
body.modal-open .chat-fab.is-shown { opacity: 0; transform: translateY(14px); pointer-events: none; }
.fab-inner { position: relative; display: inline-flex; }
.fab-img { height: 112px; width: auto; pointer-events: none; }
.chat-fab .pulse {
  position: absolute; left: 42px; top: 44%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  animation: pulse 2.2s ease-out infinite; pointer-events: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (max-width: 540px) { .fab-img { height: 88px; } .chat-fab { right: calc(10px + env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } .chat-fab .pulse { left: 33px; width: 11px; height: 11px; } }
@media (prefers-reduced-motion: reduce) { .chat-fab .pulse { animation: none; } }

/* ── Help modal ── */
.hm-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0, 0, 0, .5);
  align-items: flex-end; justify-content: flex-end; padding: 20px;
  opacity: 0; transition: opacity .24s var(--ease-in);
}
.hm-overlay.open { display: flex; }
.hm-overlay.is-shown { opacity: 1; transition: opacity .28s var(--ease-out); }
.hm-box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  transform: translateY(14px) scale(.96); transform-origin: bottom right; opacity: 0;
  transition: transform .22s var(--ease-in), opacity .18s var(--ease-in);
}
.hm-overlay.is-shown .hm-box { transform: none; opacity: 1; transition: transform .38s var(--ease-move), opacity .24s var(--ease-out); }
.hm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--ink);
  background: #fff; cursor: pointer; font-size: 24px; line-height: 1;
}
.hm-close { transition: background-color .24s var(--ease-out), color .24s var(--ease-out); }
.hm-close:hover { background: var(--ink); color: #fff; transition-duration: .08s; }
.hm-step { padding: 28px 26px 26px; }
.hm-step[hidden] { display: none; }
.hm-back { background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 16px; padding: 6px 0; margin-bottom: 10px; text-decoration: underline; text-underline-offset: 3px; }
.hm-title { font-size: 30px; margin: 0 52px 10px 0; }
.hm-sub { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.hm-picker { display: grid; gap: 10px; }
.hm-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 12px;
  transition: background-color .24s var(--ease-out), color .24s var(--ease-out);
}
.hm-pick .arrow { transition: transform .3s var(--ease-out); }
@media (hover: hover) { .hm-pick:hover { transition-duration: .08s; } .hm-pick:hover .arrow { transform: translateX(3px); } }
@media (hover: hover) {
  .hm-pick:hover { background: var(--ink); color: #fff; }
  .hm-pick:hover .hm-pick-desc { color: rgba(255,255,255,.75); }
}
.hm-pick-label { display: block; font-weight: 700; font-size: 18px; }
.hm-pick-desc { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.hm-pick .arrow { font-size: 20px; }
.hm-or { text-align: center; margin-top: 18px; font-size: 16px; }
.hm-or a { font-weight: 700; }
.hm-links { display: grid; gap: 10px; margin-bottom: 16px; }
.hm-link-card { display: block; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 12px; text-decoration: none; transition: background-color .24s var(--ease-out), color .24s var(--ease-out); }
@media (hover: hover) { .hm-link-card:hover { background: var(--ink); color: #fff; } }
.hm-link-card strong { display: block; font-size: 18px; }
.hm-link-card span { font-size: 15px; }
.hm-confirm { text-align: center; padding: 56px 26px 34px; }
.hm-confirm .hm-title { margin-right: 0; }
@media (max-width: 560px) {
  .hm-overlay { padding: 0; }
  .hm-box { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; border-bottom: 0; transform: translateY(100%); }
  .hm-step { padding: 22px 18px 24px; }
}
body.modal-open { overflow: hidden; }

/* ── Simple pages (privacy, terms, thank-you, 404) ── */
.page { padding: 72px 0 104px; }
.page-card { background: rgba(255,255,255,.94); border: 2px solid var(--ink); border-radius: 16px; padding: 48px; max-width: 860px; }
.page-card h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 18px; }
.page-card h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 12px; }
.page-card p, .page-card li { color: #2a2a2a; }
.page-card ul { margin: 10px 0 0 22px; }
.page-card li + li { margin-top: 6px; }
.page-card .updated { color: var(--muted); font-size: 15px; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 560px) { .page { padding: 32px 0 64px; } .page-card { padding: 28px 20px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
}


/* ── Topic pages (Medicare, ACA, FAQ) ── */
.more { margin-top: 18px; font-weight: 700; }
.sub-hero { padding: 48px 0 56px; border-bottom: 1.5px solid var(--line); }
.sub-hero h1 { font-size: clamp(42px, 6.2vw, 86px); max-width: 1000px; margin: 14px 0 22px; }
.sub-hero .lead { max-width: 760px; }
.crumbs { font-size: 15px; display: flex; gap: 10px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.byline { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 760px; }
@media (max-width: 640px) { .sub-hero { padding: 28px 0 40px; } }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 2px solid var(--ink); }
.opt { padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
.opt h3 { margin-bottom: 10px; }
.opt p { color: var(--muted); max-width: 540px; }
@media (max-width: 820px) { .opt-grid { grid-template-columns: 1fr; } }

.periods { list-style: none; border-top: 2px solid var(--ink); }
.periods li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.periods .k { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.1; }
.periods .d { font-weight: 700; }
.periods .t { color: var(--muted); }
@media (max-width: 820px) { .periods li { grid-template-columns: 1fr; gap: 4px; } }
.note-line { margin-top: 28px; padding-left: 16px; border-left: 4px solid var(--lime); max-width: 860px; }

#numbers .facts .k { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
#numbers .facts li { grid-template-columns: 130px 1fr; align-items: baseline; }
@media (max-width: 860px) { #numbers .facts li { grid-template-columns: 1fr; } }

.enroll-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.enroll-grid.single .ec-medicare { border-right: 0; }
.talk { margin-top: 28px; max-width: 820px; padding: 28px 0 0; border-top: 1.5px solid var(--ink); }
.talk h3 { margin-bottom: 8px; }
.talk p { color: var(--muted); margin-bottom: 18px; }

.related { list-style: none; border-top: 2px solid var(--ink); max-width: 960px; columns: 2; column-gap: 48px; }
.related li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.related a { display: block; padding: 16px 0; font-weight: 600; text-decoration: none; transition: color .24s var(--ease-out); }
.related a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; transition-duration: .08s; }
@media (max-width: 760px) { .related { columns: 1; } }

.faq-toc-bar { border-bottom: 1.5px solid var(--line); background: #fff; }
.faq-jump { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 18px 0; }
.faq-jump > span { color: var(--muted); }
.faq-toc { list-style: none; display: flex; gap: 6px 24px; flex-wrap: wrap; }
.faq-toc a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .24s var(--ease-out); }
.faq-toc a:hover { color: var(--green-dark); transition-duration: .08s; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 104px; }
.faq-side h2 { margin-bottom: 20px; font-size: clamp(36px, 3.3vw, 50px); overflow-wrap: anywhere; }
.faq-index { list-style: none; border-top: 2px solid var(--ink); }
.faq-index a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.35; text-decoration: none; color: var(--muted); transition: color .24s var(--ease-out); }
.faq-index a:hover { color: var(--ink); transition-duration: .08s; }
.faq-list { border-top: 2px solid var(--ink); }
.qa { padding: 30px 0 32px; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.qa h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.qa h3 a { text-decoration: none; }
.qa h3 a:hover { color: var(--green-dark); }
.qa-answer { font-size: 19px; line-height: 1.55; max-width: 760px; }
.qa-more { margin-top: 12px; color: var(--muted); max-width: 760px; }
.qa:target { animation: qaFlash 1.6s var(--ease-out); }
@keyframes qaFlash { 0% { background: rgba(122, 217, 105, .35); } 100% { background: transparent; } }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: static; }
  .faq-index { display: none; }
}

.cselect-value.is-placeholder { color: var(--muted); }
.cselect-trigger[aria-invalid="true"] { border-color: var(--error); }

/* ── Still frame of the wave (reduced motion, no WebGL, weaker devices) ── */
.wave-still {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: #f2f8f3 url("/assets/wave-still.webp") center / cover no-repeat;
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.wave-still.is-shown { opacity: 1; }
