/* Shneems site v3. Plain CSS, no build step, no JavaScript.
   Fonts are self-hosted (assets/fonts, SIL OFL): Fraunces for headings, Inter for text.
   Spacing follows an 8 px grid. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-wght.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-wght.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
/* Metric-matched fallbacks keep layout steady while the fonts load. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 95%; descent-override: 25%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; }

:root {
  --paper: #FBF8F3;
  --paper-2: #F5EFE6;
  --sand: #EADBC4;
  --sand-2: #F2E8DA;
  --sand-ink: #7A5A2E;
  --ink: #1D2B2A;
  --ink-2: #44524F;
  --line: #E7DED0;
  --teal: #0E5E5A;
  --teal-2: #0B4A47;
  --teal-dark: #0A3533;
  --teal-soft: #DCEBE7;
  --on-dark: #F4EFE6;
  --on-dark-2: #BCD3CE;
  --white: #FFFFFF;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1200px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;
  --shadow-frame: 0 1px 2px rgba(29, 43, 42, .06), 0 12px 24px -12px rgba(10, 53, 51, .18), 0 40px 80px -32px rgba(10, 53, 51, .28);
  --shadow-chip: 0 2px 4px rgba(29, 43, 42, .06), 0 16px 32px -12px rgba(10, 53, 51, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem; /* 18 px */
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.08; }
h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); line-height: 1.2; }
p { margin: 0 0 16px; }
p, li { text-wrap: pretty; }
strong { font-weight: 600; }

.visually-hidden {
  position: absolute !important; 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: -100px; z-index: 100;
  background: var(--white); color: var(--teal); font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.brand { white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 16px;
}
.eyebrow .num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--sand-ink); font-weight: 500; }
.lead { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 600 1.0625rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px -8px rgba(14, 94, 90, .6); }
.btn-primary:hover { background: var(--teal-2); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(14, 94, 90, .4); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal-2); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-light { background: var(--on-dark); color: var(--teal-dark); }
.btn-light:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-1px); }
.band-dark .btn-light, .band-dark .btn-light:hover { color: var(--teal-dark); }
.btn-outline-light { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .45); }
.btn-outline-light:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--on-dark); background: rgba(255, 255, 255, .06); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; box-shadow: none; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 16px 32px; min-height: 80px; flex-wrap: wrap; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--serif); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em;
}
.logo img { width: 32px; height: 32px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 1rem; font-weight: 500; }
.site-nav a:hover { color: var(--teal); }
@media (max-width: 860px) {
  .header-inner { min-height: 0; padding-top: 16px; padding-bottom: 8px; gap: 8px 16px; }
  .header-cta { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  .site-nav ul { gap: 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-nav a { font-size: .9375rem; display: inline-block; padding: 8px 0; }
}

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-tight { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 80px 0; } .section-tight { padding: 64px 0; } }
.section-sand { background: var(--paper-2); }
.section-head { max-width: 46rem; margin: 0 0 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 720px) {
  .section-head { margin-bottom: 40px; }
  .section-head.center { text-align: left; margin-left: 0; }
  .section-head.center .lead { margin-left: 0; }
}
.nowrap { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 112px; overflow: hidden; }
.hero-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1200px) {
  .hero { padding: 72px 0 128px; }
  .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; }
}
@media (min-width: 1400px) { .hero-visual { width: calc(100% + 96px); } }
.hero h1 { margin-bottom: 24px; }
.hero h1 .soft { color: var(--teal); font-style: normal; }
.hero .lead { margin-bottom: 40px; }
.hero-note { margin: 32px 0 0; font-size: 1rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-ink); flex: none; }
@media (max-width: 720px) {
  .hero { padding: 24px 0 80px; }
  .hero-grid { gap: 48px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -12% -10% 8%; z-index: -1;
  background: radial-gradient(60% 60% at 60% 45%, var(--sand) 0%, rgba(234, 219, 196, 0) 70%);
}
.browser {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-frame); border: 1px solid rgba(29, 43, 42, .08);
}
.browser-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; background: #F7F3EC; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCCFBA; }
.browser-bar b { flex: 0 1 160px; height: 20px; margin: 0 auto 0 16px; border-radius: 6px; background: #EEE6D9; }
.browser a { display: block; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink); border-radius: 14px;
  padding: 12px 18px 12px 12px; box-shadow: var(--shadow-chip);
  font: 600 1rem/1.25 var(--sans); white-space: nowrap;
  border: 1px solid rgba(29, 43, 42, .06);
}
.chip .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 20px; height: 20px; }
.chip small { display: block; font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
/* Chips sit in the Calendar's empty corners and hang off the frame, so they cover no session:
   the claim chip over the browser bar (top right), the copay chip in the empty 3-4pm cells (bottom left). */
.chip-copay { left: 13%; bottom: -24px; }
.chip-copay .ic { background: var(--teal-soft); color: var(--teal); }
.chip-claim { right: -16px; top: -28px; }
.chip-claim .ic { background: var(--sand-2); color: var(--sand-ink); }
.chip .m { display: none; }
@media (max-width: 1199px) { .chip-claim { right: 8px; } }
@media (max-width: 600px) {
  .chip { font-size: .875rem; padding: 8px 12px 8px 8px; gap: 8px; }
  .chip .ic { width: 28px; height: 28px; }
  .chip .ic svg { width: 16px; height: 16px; }
  .chip small { font-size: .75rem; }
  .chip-copay { left: 15.9%; bottom: -30px; padding-right: 10px; }
  .chip-claim { right: 8px; top: -24px; }
  .chip .d { display: none; }
  .chip .m { display: inline; }
  .browser-bar b { display: none; }
}

/* ---------- Promise strip ---------- */
.promises { padding: 0 0 112px; }
.promise-grid {
  list-style: none; margin: 0; padding: 40px 0; display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .promise-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .promise-grid li { padding: 0 32px; border-left: 1px solid var(--line); }
  .promise-grid li:first-child { padding-left: 0; border-left: 0; }
  .promise-grid li:last-child { padding-right: 0; }
}
.promise-grid .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.promise-grid .ic svg { width: 24px; height: 24px; }
.promise-grid strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; line-height: 1.25; margin-bottom: 8px; }
.promise-grid .txt { display: block; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
@media (max-width: 720px) { .promises { padding-bottom: 80px; } .promise-grid { padding: 32px 0; } }

/* ---------- Feature stories ---------- */
.story { display: grid; gap: 48px; align-items: center; }
.story + .story { margin-top: 144px; }
@media (min-width: 1200px) {
  .story { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
  .story.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .story.flip .story-text { order: 2; }
}
@media (max-width: 720px) { .story + .story { margin-top: 96px; } .story { gap: 32px; } }
.story-text { max-width: 34rem; }
.story-text h2 { font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.375rem); margin-bottom: 24px; }
.story-text .lead { margin-bottom: 32px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.points li { position: relative; padding-left: 36px; color: var(--ink-2); }
.points li strong { color: var(--ink); }
.points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5E5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 16l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.on-dark .points li { color: var(--on-dark-2); }
.on-dark .points li strong { color: var(--on-dark); }

/* Screenshot on a warm mat, with callouts */
.mat {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(155deg, #F3EADC 0%, #EADBC4 100%);
  padding: clamp(20px, 3vw, 32px);
}
.mat.teal { background: linear-gradient(155deg, #DDEBE7 0%, #C9DEDA 100%); }
.mat + .mat { margin-top: 24px; }
.shot { margin: 0; }
.shot .frame { position: relative; }
.shot .frame > a {
  display: block; border-radius: 12px; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-frame); border: 1px solid rgba(29, 43, 42, .08);
}
.shot figcaption { margin-top: 16px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.shot figcaption .enlarge { white-space: nowrap; color: var(--teal); font-weight: 600; }
@media (hover: hover) and (min-width: 721px) { .shot figcaption .enlarge { display: none; } }
.hero-visual figcaption { padding: 0 8px; }

.callout { position: absolute; width: 0; height: 0; z-index: 2; pointer-events: none; }
.callout::before {
  content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 0 7px rgba(14, 94, 90, .2);
}
.callout .label {
  position: absolute; top: -18px; display: block; white-space: nowrap;
  background: var(--ink); color: var(--white); border-radius: 999px;
  font: 600 .875rem/1 var(--sans); padding: 10px 14px; box-shadow: var(--shadow-chip);
}
.callout .label::before { content: ""; position: absolute; top: 50%; height: 1.5px; background: var(--ink); }
.callout .label .m { display: none; }
.callout.right .label { left: 48px; }
.callout.right .label::before { right: 100%; width: 40px; }
.callout.left .label { right: 48px; }
.callout.left .label::before { left: 100%; width: 40px; }
.callout.up .label { top: auto; bottom: 36px; left: -24px; }
.callout.up .label::before { top: 100%; left: 24px; width: 1.5px; height: 28px; }
.callout.down .label { top: 36px; left: -24px; }
.callout.down .label::before { bottom: 100%; top: auto; left: 24px; width: 1.5px; height: 28px; }
@media (max-width: 600px) {
  .callout .label { font-size: .8125rem; padding: 8px 12px; top: -16px; }
  .callout.right .label { left: 32px; }
  .callout.right .label::before { width: 24px; }
  .callout.left .label { right: 32px; }
  .callout.left .label::before { width: 24px; }
}

/* ---------- Two-way lock ---------- */
.lock-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1200px) { .lock-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }
#lock .mat { padding-top: 56px; }
@media (max-width: 600px) { #lock .mat { padding-top: 64px; } }
.lanes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 1000px) { .lock-grid .lanes { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 24px; } }
.lane {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
}
.lane .who, .lane .what { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.lane .what { justify-content: flex-end; text-align: right; }
.lane .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.lane .ic svg { width: 20px; height: 20px; }
.lane .to { color: var(--sand-ink); display: grid; place-items: center; }
.lane .to svg { width: 40px; height: 16px; }
.lane-notes .ic { background: var(--teal-soft); color: var(--teal); }
.lane-money .ic { background: var(--sand-2); color: var(--sand-ink); }
.lane .no { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 12px; }
.lane .no svg { width: 16px; height: 16px; color: var(--sand-ink); flex: none; }
.col-mark { position: absolute; top: 0; bottom: 0; border-radius: 8px; z-index: 1; pointer-events: none; }
.col-mark.notes { box-shadow: inset 0 0 0 2.5px var(--teal); background: rgba(14, 94, 90, .07); }
.col-mark.money { box-shadow: inset 0 0 0 2.5px #B98A4B; background: rgba(185, 138, 75, .08); }
.col-tag { position: absolute; top: -40px; transform: translateX(-50%); white-space: nowrap; border-radius: 999px; font: 600 .8125rem/1 var(--sans); padding: 8px 12px; color: var(--white); }
.col-tag.notes { background: var(--teal); }
.col-tag.money { background: #8A6532; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: step; position: relative; }
.timeline li { position: relative; counter-increment: step; }
.timeline .n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--paper); border: 1.5px solid var(--teal); color: var(--teal);
  font: 500 1.5rem/1 var(--serif); position: relative; z-index: 1;
}
.timeline li:first-child .n { background: var(--teal); color: var(--white); }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--ink-2); margin: 0; max-width: 22rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .timeline::before { content: ""; position: absolute; top: 28px; left: 28px; right: 33%; height: 1.5px; background: linear-gradient(90deg, var(--teal), var(--sand)); }
}
@media (max-width: 899px) {
  .timeline li { padding-left: 80px; }
  .timeline .n { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1.5px; background: linear-gradient(180deg, var(--teal), var(--sand)); }
  .timeline h3 { padding-top: 12px; }
}
.yours {
  margin-top: 80px; display: grid; gap: 24px 64px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px;
}
@media (min-width: 900px) { .yours { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); padding: 48px 56px; } }
@media (max-width: 720px) { .yours { padding: 32px 24px; margin-top: 64px; } }
.yours h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin: 0; }
.yours ul { margin: 0 0 16px; }
.yours p { margin: 0; color: var(--ink-2); }

/* ---------- Dark bands ---------- */
.band-dark { background: var(--teal-dark); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark::before {
  content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(234, 219, 196, .10), rgba(234, 219, 196, 0) 70%);
  pointer-events: none;
}
.band-dark .wrap { position: relative; }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .eyebrow { color: var(--sand); }
.band-dark .lead, .band-dark p { color: var(--on-dark-2); }
.band-dark a { color: var(--on-dark); }
.privacy-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.privacy-grid li { border: 1px solid rgba(244, 239, 230, .14); border-radius: var(--r); padding: 32px; background: rgba(255, 255, 255, .03); }
.privacy-grid .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(234, 219, 196, .12); color: var(--sand); display: grid; place-items: center; margin-bottom: 24px; }
.privacy-grid .ic svg { width: 24px; height: 24px; }
.privacy-grid strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.375rem; color: var(--on-dark); margin-bottom: 8px; }
.privacy-grid .txt { display: block; font-size: 1rem; color: var(--on-dark-2); }
.ai-line { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid rgba(244, 239, 230, .14); max-width: 40rem; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; } .faq-grid .section-head { position: sticky; top: 32px; align-self: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5E5A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq .answer { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 40rem; }
.faq .answer p { margin: 0; }

/* ---------- Final call to action ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); max-width: 18ch; margin: 0 auto 24px; }
.final-cta .lead { margin: 0 auto 40px; color: var(--on-dark-2); }
.final-cta .btn-row { justify-content: center; }
.final-cta .small { margin: 32px auto 0; font-size: 1rem; max-width: 36rem; }
@media (max-width: 720px) { .final-cta .btn-row { flex-direction: column; align-items: stretch; } }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; font-size: .9375rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--teal); }

/* ---------- Motion: CSS only, off for reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .chip { animation: pop-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  .chip-claim { animation-delay: .7s; }
  .chip-copay { animation-delay: .9s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  }
}

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 96px; }
.legal-card { max-width: 48rem; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 24px; }
@media (min-width: 720px) { .legal-card { padding: 64px 72px; } }
.legal h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1.08; }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); margin-top: 48px; }
.legal p, .legal li { max-width: 65ch; }
.legal .effective { color: var(--ink-2); font-size: 1rem; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin: 8px 0; }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--paper-2); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
.lang-toggle { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.lang-toggle summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--teal); border-radius: var(--r-sm); }
.lang-toggle .es { padding: 0 16px 8px; }
.lang-toggle h2 { margin-top: 8px; }

/* ---------- 404 ---------- */
.not-found { padding: 96px 0 128px; text-align: center; }
.not-found p { color: var(--ink-2); }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Callout positions (CSP blocks inline styles, so they live here) ---------- */
.callout.up-l .label { top: auto; bottom: 36px; right: -24px; }
.callout.up-l .label::before { top: 100%; right: 24px; width: 1.5px; height: 28px; }
.co-cc1 { left: 43.6%; top: 56.6%; }
.co-nt1 { left: 74.8%; top: 58%; }
.callout.right.short .label { left: 26px; }
.callout.right.short .label::before { width: 18px; }
.co-ta1 { left: 79%; top: 39.5%; }
.co-ta1.up .label { bottom: 14px; left: -40px; }
.co-ta1.up .label::before { left: 40px; height: 8px; }
.co-rj1 { left: 26%; top: 52.8%; }
.cm-bill { left: 39.9%; width: 19.2%; }
.cm-clin { left: 60.1%; width: 19.1%; }
.col-mark .col-tag { left: 50%; }
@media (max-width: 600px) {
  .callout[class*="m-"] .label, .callout[class*="m-"] .label::before { top: auto; bottom: auto; left: auto; right: auto; width: auto; height: auto; }
  .callout .label .d { display: none; }
  .callout .label .m { display: inline; }
  .callout.m-right .label { top: -16px; left: 32px; }
  .callout.m-right .label::before { top: 50%; right: 100%; width: 24px; height: 1.5px; }
  .callout.m-left .label { top: -16px; right: 32px; }
  .callout.m-left .label::before { top: 50%; left: 100%; width: 24px; height: 1.5px; }
  .callout.m-up .label { bottom: 32px; left: -20px; }
  .callout.m-up .label::before { top: 100%; left: 20px; width: 1.5px; height: 24px; }
  .callout.m-up-l .label { bottom: 32px; right: -20px; }
  .callout.m-up-l .label::before { top: 100%; right: 20px; width: 1.5px; height: 24px; }
  .co-cc1 { display: none; }
  /* On phones the chips wrap: "Other" is on the second row, so point at its top edge from the empty space above it. */
  .co-nt1 { left: 76.5%; top: 57%; }
  .callout.co-nt1.m-up .label { top: auto; right: auto; bottom: 28px; left: -38px; }
  .callout.co-nt1.m-up .label::before { top: 100%; right: auto; left: 38px; width: 1.5px; height: 20px; }
  .co-ta1 { display: none; }
  .co-rj1 { left: 40.9%; top: 52.7%; }
  .cm-bill { left: 32%; width: 20.7%; }
  .cm-clin { left: 53.7%; width: 21.4%; }
}
