/* Care Options Network
 *
 * Pine and mint, with apricot as a highlight fill only. Atkinson Hyperlegible
 * Next throughout, at a 19px body, because most readers are 64 or older.
 * One bold thing: the date finder in the home hero. Everything else is quiet:
 * no entrance animations on sections, no hover lifts on cards.
 */

:root {
  --pine: #1F4F45;
  --deep: #143A33;
  --mint: #E7F0EA;
  --mint-2: #D3E4D9;
  --apricot: #F5C9A6;
  --apricot-2: #FBE6D5;
  --ink: #1B2724;
  --muted: #475A53;
  --line: #C9D8CF;
  --field: #6B847A;
  --white: #FFFFFF;
  --foot: #D7E5DD;
  --red: #A3321F;

  --wrap: 1180px;
  --gutter: 24px;
  --r: 16px;
  --r-s: 10px;
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 19px/1.6 var(--font);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--pine); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3 { margin: 0; color: var(--pine); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.lede { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 62ch; margin-top: 16px; }
.fine { font-size: 16px; line-height: 1.5; color: var(--muted); }
.note { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--apricot); background: var(--apricot-2); border-radius: 0 var(--r-s) var(--r-s) 0; max-width: 72ch; }
.link { font-weight: 700; }
.after { margin-top: 36px; }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: var(--r-s);
  background: var(--pine); color: #fff; border: 2px solid var(--pine);
  font: 700 19px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn--quiet { background: transparent; color: var(--pine); }
.btn--quiet:hover { background: var(--mint); color: var(--deep); border-color: var(--deep); }
.btn--light { background: #fff; color: var(--pine); border-color: #fff; }
.btn--light:hover { background: var(--mint); color: var(--deep); border-color: var(--mint); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--small { min-height: 46px; padding: 0 20px; font-size: 17px; }
.btn--wide { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---- header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--pine); text-decoration: none; }
.brand .mark { width: 46px; height: 40px; flex: none; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1.1; }
.brand-word span { font-weight: 400; margin-left: 6px; }
.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.site-nav a:not(.btn):hover { background: var(--mint); color: var(--pine); }
.site-nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -3px 0 var(--apricot); border-radius: 8px 8px 0 0; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; }

/* ---- sections ----------------------------------------------------------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0 96px; }
.section--mint { background: var(--mint); }
.section--line { border-top: 1px solid var(--line); }
.section h2 + .lede { margin-bottom: 0; }

/* ---- hero ---------------------------------------------------------------
 * The one orchestrated moment: on load the three headline lines rise in turn,
 * the photograph opens from its curved corner, and the guide card lands. Plain
 * CSS animations, so the hero shows in full even if main.js never runs.
 */
.hero { padding: 56px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero-title { font-size: clamp(36px, 4.3vw, 58px); }
.hero-title span { display: block; }
.hero-for { margin-top: 22px; font-size: 24px; line-height: 1.35; color: var(--ink); min-height: 2.7em; }
.hero-who { font-weight: 800; color: var(--pine); background: linear-gradient(transparent 62%, var(--apricot) 62%); padding: 0 3px; display: inline-block; transition: opacity .35s, transform .35s; }
.hero-who.is-out { opacity: 0; transform: translateY(10px); }
.hero-copy .lede { margin-top: 14px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-small { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 46ch; }
.hero-media { position: relative; }
.hero-frame { position: relative; aspect-ratio: 5 / 6; border-radius: 160px 24px 24px 24px; overflow: hidden; background: var(--mint); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 7s ease-out; }
.hero-img.is-on { opacity: 1; transform: scale(1); }
.hero-card { position: absolute; left: -36px; bottom: 64px; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 20px 16px 16px; box-shadow: 0 18px 40px -18px rgba(20, 58, 51, .45); max-width: 300px; }
.hero-card-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--apricot); color: var(--deep); }
.hero-card-ic svg { width: 24px; height: 24px; }
.hero-card b { display: block; color: var(--pine); font-size: 18px; }
.hero-card span:not(.hero-card-ic) { font-size: 15px; color: var(--muted); line-height: 1.35; display: block; }
.hero-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.hero-ctrl[hidden] { display: none; }
.hero-dots { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hero-dot { position: relative; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot i { position: absolute; left: 0; right: 0; top: 12px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: var(--pine); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done i::after { transform: scaleX(1); }
.hero-dot.is-on i::after { animation: fill var(--slide, 6s) linear forwards; }
.hero-paused .hero-dot.is-on i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pine); background: #fff; color: var(--pine); cursor: pointer; display: grid; place-items: center; }
.hero-pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title span { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-title span:nth-child(2) { animation-delay: .12s; }
  .hero-title span:nth-child(3) { animation-delay: .24s; }
  .hero-for, .hero-copy .lede, .hero-btns, .hero-small { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .38s both; }
  .hero-frame { animation: open 1.3s cubic-bezier(.7, 0, .2, 1) .1s both; }
  .hero-card { animation: land .8s cubic-bezier(.2, .9, .3, 1.2) 1.1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  @keyframes open { from { clip-path: inset(0 0 100% 0 round 160px 24px 24px 24px); } to { clip-path: inset(0 0 0 0 round 160px 24px 24px 24px); } }
  @keyframes land { from { opacity: 0; transform: translate(-20px, 20px) scale(.92); } }
}
@media (prefers-reduced-motion: reduce) { .hero-img { transition: none; transform: none; } }

/* ---- dates section ---------------------------------------------------------- */
.dates-sec {
  background-color: var(--deep);
  /* a faint month grid: the section is about calendars */
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  color: #fff;
}
.finder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.finder-intro { padding-top: 0; }
.dates-sec .finder-intro h2 { color: #fff; }
.dates-sec .finder-intro .lede { color: var(--foot); }
.win-list { list-style: none; margin: 32px 0 0; padding: 0; }
.win-list li { padding: 18px 0 18px 26px; border-top: 1px solid rgba(255, 255, 255, .18); position: relative; }
.win-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.win-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: var(--apricot); }
.win-list b { display: block; color: #fff; font-size: 20px; }
.win-list span { color: var(--foot); font-size: 17px; }
.dates-sec .finder { background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }

/* ---- the date finder ---------------------------------------------------- */
.finder { background: var(--mint); border-radius: 22px; padding: 32px; }
.finder-title { font-size: 26px; font-weight: 800; }
.finder-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 5px; background: var(--mint); border-radius: 12px; border: 1px solid var(--line); }
.finder-modes label { flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: 17px; cursor: pointer; text-align: center; }
.finder-modes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.finder-modes label:has(input:checked) { background: var(--pine); color: #fff; }
.finder-modes label:has(input:focus-visible) { outline: 3px solid var(--pine); outline-offset: 2px; }
.finder-fields { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 20px; }
.finder-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.finder-fields select { min-height: 50px; }
.finder-first { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 16px; cursor: pointer; }
.finder-first input { width: 22px; height: 22px; accent-color: var(--pine); flex: none; }
.finder-out { margin-top: 22px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.strip:empty { display: none; }
.cell { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; min-height: 66px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 15px; line-height: 1.1; text-align: center; color: var(--muted); }
.cell b { font-size: 17px; color: var(--ink); }
.cell.on { background: var(--apricot); border-color: var(--apricot); color: var(--ink); }
.cell.half { background: linear-gradient(90deg, #fff 48%, var(--apricot) 48%); }
.cell.ma { background: var(--mint-2); border-color: var(--field); }
.cell.bday { background: var(--pine); border-color: var(--pine); color: #fff; }
.cell.bday b { color: #fff; }
.strip-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.strip-key i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.strip-key .k-on { background: var(--apricot); }
.strip-key .k-b { background: var(--pine); }
.strip-key .k-ma { background: var(--mint-2); border: 1px solid var(--field); }
.finder-say { margin-top: 16px; font-size: 18px; line-height: 1.55; }
.finder-say strong { color: var(--pine); }
.finder-say + .finder-say { margin-top: 10px; }
.finder-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .cell.pop { animation: pop .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 55ms); }
  @keyframes pop { from { transform: translateY(8px) scale(.94); opacity: .2; } }
}

/* ---- sample guide --------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.paper-stage { position: relative; padding: 0 0 250px; }
.paper-photo img { object-position: 45% 20%; }
.paper-photo { margin: 0; width: 76%; border-radius: 24px 24px 24px 120px; overflow: hidden; }
.paper-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.paper { position: absolute; right: 0; bottom: 0; width: 54%; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 26px 26px 6px; box-shadow: 0 30px 60px -30px rgba(20, 58, 51, .45); transform: translateY(var(--py, 0px)) rotate(var(--pr, 0deg)); }
.paper-top { padding-bottom: 18px; border-bottom: 2px solid var(--pine); }
.paper-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--apricot); font-size: 14px; font-weight: 700; }
.paper-for { margin-top: 10px; font-size: 17px; }
.paper-sec { padding: 14px 0; border-bottom: 1px solid var(--line); }
.paper-sec h3 { font-size: 19px; }
.paper-sec h3 + p, .paper-sec li { font-size: 16px; margin-top: 6px; color: var(--ink); }
.paper-sec ul { margin: 0; padding-left: 20px; }
.paper-sec--fade { border-bottom: 0; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; gap: 26px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 40px; width: 2px; background: var(--line); }
.steps::after { background: var(--pine); transform-origin: top; transform: scaleY(var(--sp, 1)); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.steps li::before { position: relative; z-index: 1; content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pine); color: #fff; font-weight: 800; font-size: 20px; }
.steps h3 { align-self: center; }
.steps p { margin-top: 4px; color: var(--muted); }

/* ---- who ------------------------------------------------------------------ */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.who-card { background: #fff; border-radius: var(--r); overflow: hidden; }
.who-card figure { margin: 0; overflow: hidden; }
.who-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.who-card:hover img { transform: scale(1.05); }
.who-card > div { padding: 22px 22px 26px; }
.who-card p { margin-top: 8px; color: var(--muted); font-size: 17px; }

/* ---- routes ---------------------------------------------------------------- */
.routes { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 40px; }
.route { border: 1.5px solid var(--line); border-radius: var(--r); padding: 32px; }
.route-sub { color: var(--muted); margin-top: 4px; }
.route ul { margin: 18px 0 0; padding: 0; list-style: none; }
.route li { padding: 12px 0; border-top: 1px solid var(--line); }
.route-or { align-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--apricot); font-weight: 800; color: var(--ink); }

/* ---- stance ---------------------------------------------------------------- */
.stance { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 36px; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ticks svg { width: 26px; height: 26px; color: var(--pine); margin-top: 2px; }
.ticks--no svg { color: var(--red); }
.stance-note { margin-top: 36px; max-width: 70ch; color: var(--muted); }

/* ---- faq ------------------------------------------------------------------- */
.faq { margin-top: 32px; border-top: 1.5px solid var(--line); }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 21px; color: var(--pine); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4F45' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; max-width: 66ch; }

/* ---- closing band ----------------------------------------------------------- */
.closing { background: var(--deep); color: #fff; padding: 72px 0; }
.closing h2 { color: #fff; }
.closing p { margin-top: 10px; color: var(--foot); font-size: 20px; }
.closing-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closing-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- page head ------------------------------------------------------------- */
.page-head { background: var(--mint); padding: 64px 0 56px; }
.page-head--photo { padding: 48px 0; overflow: hidden; }
.page-head-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-head-photo { margin: 0; border-radius: 120px 20px 20px 20px; overflow: hidden; }
.page-head-photo img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .page-head-photo { animation: open 1.2s cubic-bezier(.7, 0, .2, 1) .05s both; }
  .page-head h1 { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .page-head h1 ~ * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .15s both; }
}
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 17px; text-decoration: none; }
.jump a:hover { border-color: var(--pine); }

/* ---- how medicare works --------------------------------------------------- */
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.part { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 30px; border: 1.5px solid var(--line); border-radius: var(--r); }
.part-letter { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--pine); color: #fff; font-size: 36px; font-weight: 800; }
.part p { margin-top: 8px; }
.part-note { color: var(--muted); }
.section--mint .narrow p + p, .narrow > p + p { margin-top: 16px; }
.section--mint .narrow h2 { margin-bottom: 18px; }
.dates { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.dates li { padding: 26px 0; border-top: 1.5px solid var(--line); }
.when { margin-bottom: 8px; font-weight: 700; font-size: 18px; }
.when mark { background: linear-gradient(transparent 55%, var(--apricot) 55%); color: var(--ink); padding: 0 2px; }
.dates p:last-child { margin-top: 6px; color: var(--muted); }
.table-wrap { margin-top: 36px; overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; background: var(--mint); color: var(--pine); font-size: 19px; }
.cmp tbody th { width: 24%; font-weight: 700; }
.cmp td { width: 38%; }
.ask { margin: 32px 0 0; padding-left: 28px; display: grid; gap: 12px; }
.ask li { padding-left: 6px; }
.ask li::marker { color: var(--pine); font-weight: 800; }

/* ---- forms ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.panel { border: 1.5px solid var(--line); border-radius: var(--r); padding: 36px; background: #fff; }
.panel-head { margin-bottom: 24px; }
.panel-head h2 { font-size: 30px; }
.panel-head .fine { margin-top: 6px; }
.sticky-col { position: sticky; top: 108px; display: grid; gap: 18px; }
.side { background: var(--mint); border-radius: var(--r); padding: 24px 26px; }
.side h2 { font-size: 21px; margin-bottom: 8px; }
.side--note { background: var(--apricot-2); }
.side-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt, .hint { font-weight: 400; color: var(--muted); font-size: 16px; margin-left: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid var(--field); border-radius: 8px;
  background: #fff; color: var(--ink); font: 400 19px/1.4 var(--font);
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4F45' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/20px no-repeat; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--apricot); outline-offset: 0; border-color: var(--pine); }
.picks { display: grid; gap: 10px; }
.field .pick { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; margin: 0; line-height: 1.35; }
.field .pick input { width: 22px; height: 22px; accent-color: var(--pine); flex: none; }
.pick:has(input:checked) { border-color: var(--pine); background: var(--mint); }
.consents { margin: 8px 0 20px; display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 10px; background: var(--mint); font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--pine); }
.consents .fine { font-size: 15px; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--red); }
.check.is-invalid { outline: 2px solid var(--red); }
.form-error { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 8px; background: #FBEAE6; color: var(--red); font-weight: 700; }
.form-error.is-shown { display: block; }
.form-done { display: none; text-align: center; padding: 24px 0; }
.form-done.is-shown { display: block; }
.form-done h2 { margin: 16px 0 8px; }
.done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pine); color: #fff; }
.done-ic svg { width: 32px; height: 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.phone-mock { background: var(--deep); border-radius: 24px; padding: 22px; color: #fff; }
.phone-from { font-weight: 700; font-size: 15px; color: var(--foot); text-align: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.18); }
.bubble { margin-top: 14px; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 17px; line-height: 1.45; }

/* ---- legal ----------------------------------------------------------------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc h3 { font-size: 20px; margin: 22px 0 6px; }
.doc p + p { margin-top: 12px; }

/* ---- footer ---------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--foot); padding: 72px 0 32px; font-size: 17px; }
.closing + .site-footer { border-top: 1px solid rgba(255,255,255,.14); }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-brand p { margin-top: 18px; max-width: 40ch; }
.foot-links ul, .foot-bottom ul { list-style: none; margin: 0; padding: 0; }
.foot-links li + li { margin-top: 10px; }
.foot-links a { text-decoration: none; font-weight: 700; }
.foot-links a:hover { text-decoration: underline; }
.foot-contact p + p { margin-top: 14px; }
.foot-notes { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; font-size: 15.5px; }
.foot-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 15.5px; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: var(--pine); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top svg { width: 24px; height: 24px; }
.to-top.is-shown { opacity: 1; visibility: visible; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 2px solid var(--pine); border-radius: 10px; background: #fff; color: var(--pine); font: 700 18px var(--font); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; max-height: calc(100vh - 84px); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 14px 8px; font-size: 20px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--apricot); border-radius: 0; padding-left: 16px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 54px; }
  .hero-grid, .two-col, .form-grid, .finder-grid, .page-head-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .page-head-photo { max-width: 560px; }

  .hero-grid { gap: 40px; }
  .two-col { gap: 56px; }
  .two-col .paper-stage { order: 2; max-width: 620px; }
  .sticky-col { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 32px 0 64px; }
  .hero { padding: 40px 0 64px; }
  .lede { font-size: 19px; }
  .site-header .wrap { min-height: 72px; }
  .site-nav { max-height: calc(100vh - 72px); }
  .brand .mark { width: 39px; height: 34px; }
  .brand-word { font-size: 18px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .finder { padding: 22px 18px; border-radius: 18px; }
  .finder-fields { grid-template-columns: 1fr; }
  .strip { gap: 3px; }
  .cell { min-height: 58px; font-size: 13px; border-radius: 6px; }
  .cell b { font-size: 14px; }
  .who, .stance, .parts, .dates, .foot-notes, .foot-top { grid-template-columns: 1fr; }
  .stance { gap: 28px; }
  .routes { grid-template-columns: 1fr; }
  .route { padding: 24px; }
  .route-or { justify-self: center; }
  .part { grid-template-columns: 1fr; padding: 24px; gap: 14px; }
  .part-letter { width: 56px; height: 56px; font-size: 28px; }
  .paper-stage { padding-bottom: 0; }
  .paper-photo { width: 100%; border-radius: 18px 18px 18px 72px; }
  .paper { position: relative; width: auto; margin: -70px 10px 0 28px; padding: 20px 18px 4px; }
  .who-grid { grid-template-columns: 1fr; }
  .hero-card { left: 12px; bottom: 76px; right: 12px; max-width: none; }
  .hero-frame { border-radius: 96px 18px 18px 18px; }
  .hero-for { font-size: 21px; }
  .page-head-photo { border-radius: 72px 16px 16px 16px; }
  .panel { padding: 24px 18px; }
  .field-2 { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 19px; }
  .closing-btns .btn { flex: 1 1 100%; }
  .closing-btns { width: 100%; }
}
[id] { scroll-margin-top: 104px; }
.hero-grid > *, .two-col > *, .form-grid > *, .cell { min-width: 0; }
@media (max-width: 520px) {
  .cell.edge { display: none; }
  .cell { min-height: 56px; font-size: 12.5px; padding: 0 1px; }
  .cell b { font-size: 15px; }
  .finder-modes label { font-size: 16px; }
}

/* ---- scroll reveals ----------------------------------------------------------
 * Gated on .js (set in <head>) so nothing is hidden if the script never runs,
 * and off entirely under reduced motion. Never used inside the hero.
 */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 0 0 100% round 24px 24px 24px 120px); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0 round 24px 24px 24px 120px); }
}
