/* Light, airy look: white canvas, near-black type, pill buttons, soft multicolor glows. */
:root {
  --ink: #121317;
  --muted: #5f6368;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --line: #e6e8eb;
  --dark: #0b0c0f;
  --blue: #1a73e8;
  --teal: #0fa39a;
  --mint: #7fd8c7;
  --sky: #8ab4f8;
  --red: #d93025;
  --tint: #eef7f6;
  --radius: 24px;
  --wrap: 1120px;
  font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; font-size: 17px; background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 450; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; font-weight: 500; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.1rem; text-decoration: none; letter-spacing: -.01em; }
.logo { position: relative; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.logo::before, .logo::after { content: ""; position: absolute; background: #fff; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.logo::before { width: 12px; height: 4px; }
.logo::after { width: 4px; height: 12px; }
.top-nav { display: flex; align-items: center; gap: 16px; }
.top-area { color: var(--muted); font-size: .9rem; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 18px; font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-dark:hover { background: #2a2c33; }
.pill-lg { padding: 14px 24px; font-size: 1.02rem; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; text-align: center; }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; }
.eyebrow { display: inline-block; font-size: .85rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 6px 14px; margin: 0 0 28px; }
.hero h1 { max-width: 19ch; margin: 0 auto 24px; }
.typed { display: block; background: linear-gradient(90deg, var(--blue), var(--teal) 55%, #34a853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typed.caret::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; border-radius: 2px; background: linear-gradient(var(--blue), var(--teal)); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 620px; margin: 0 auto; padding: 18px 18px 18px 24px; border-radius: 22px; background: rgba(248, 249, 250, .92); border: 1px solid var(--line); text-align: left; }
.cta-card strong { display: block; font-weight: 500; font-size: 1.05rem; }
.cta-card span { color: var(--muted); font-size: .9rem; }

/* soft multicolor glow behind a card */
.glow, .glow-wrap { position: relative; isolation: isolate; }
.glow::before, .glow-wrap::before { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 34px; filter: blur(28px); opacity: .55; background: linear-gradient(120deg, rgba(26, 115, 232, .5), rgba(15, 163, 154, .45) 45%, rgba(127, 216, 199, .5) 75%, rgba(138, 180, 248, .45)); }

/* sections */
.section { padding: 72px 0; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { background: var(--tint); border-radius: var(--radius); padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 19, 23, .08); }
.tile p { margin: 0; color: var(--muted); }
.num { display: block; font-family: "Google Sans Code", ui-monospace, monospace; font-size: .85rem; color: var(--muted); margin-bottom: 36px; }

.statement-sec { padding: 96px 0; }
.statement { font-size: clamp(1.6rem, 3.8vw, 2.6rem); line-height: 1.25; letter-spacing: -.025em; text-align: center; margin: 0 0 18px; font-weight: 450; }
.statement .w { display: inline-block; white-space: pre; }
.source { text-align: center; font-size: .85rem; color: var(--muted); }
.source a { color: var(--muted); }

/* dark panel with a glowing arc */
.panel { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 32px; padding: 72px 32px 40px; }
.panel h2 { position: relative; text-align: center; margin-bottom: 40px; }
.arc { position: absolute; left: 50%; top: -260px; width: 760px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 163, 154, .55), rgba(26, 115, 232, .2) 55%, transparent 72%); filter: blur(10px); }
.steps { position: relative; counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); }
.steps li::before { counter-increment: s; content: "0" counter(s); position: absolute; right: 22px; top: 22px; font-family: "Google Sans Code", ui-monospace, monospace; font-size: .85rem; color: var(--sky); }
.steps strong { display: block; font-weight: 500; font-size: 1.15rem; margin-bottom: 6px; }
.steps span { color: #b9bec7; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr 1.2fr; align-items: center; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--tint); color: #0b5c56; border-radius: 999px; padding: 10px 18px; }

.price { margin: 0 0 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.price div { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--line); }
.price div:first-child { border-top: 0; }
.price dt { font-weight: 500; }
.price dd { margin: 0; text-align: right; color: var(--muted); }

/* form */
.card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form { display: grid; gap: 16px; margin-top: 8px; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .92rem; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid #d5d9de; border-radius: 14px; background: var(--surface); width: 100%; color: var(--ink); transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 163, 154, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; accent-color: var(--ink); }
.form .pill { justify-self: start; }

.about { font-size: 1.15rem; color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { font-weight: 500; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

.prose h2 { margin-top: 1.4em; font-size: 1.4rem; }
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: .86rem; color: var(--muted); }
.foot a { color: var(--muted); }
.disclaimer { max-width: 820px; }

/* motion: hidden until Motion animates in; fallback shows everything */
.js [data-hero], .js [data-reveal] { opacity: 0; }
.no-motion [data-hero], .no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-hero], .js [data-reveal] { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* icons */
.ico { display: block; }
.tile-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--teal); margin-bottom: 28px; box-shadow: 0 2px 8px rgba(15, 163, 154, .12); }
.step-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(127, 216, 199, .14); color: var(--mint); margin-bottom: 22px; }
.split .chips { margin-top: 22px; }

/* example EOB card */
.eob { margin: 0; }
.eob-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 18px 50px rgba(18, 19, 23, .08); }
.eob-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.eob-head strong { display: block; font-weight: 500; }
.eob-head span { font-size: .82rem; color: var(--muted); }
.eob-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--teal); }
.eob dl { margin: 14px 0; }
.eob dl div { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.eob dt { color: var(--muted); }
.eob dd { margin: 0; font-family: "Google Sans Code", ui-monospace, monospace; font-size: .9rem; }
.eob-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: #fdf1f0; }
.eob-status.ok { background: var(--tint); }
.tag { font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.tag-red { background: #fce1de; color: var(--red); }
.tag-teal { background: #d3f1ec; color: #0b6e66; }
.reason { font-size: .88rem; color: var(--muted); }
.stamp { position: absolute; right: 16px; top: 16px; transform: rotate(-12deg); border: 3px solid var(--teal); color: var(--teal); border-radius: 10px; padding: 6px 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; opacity: 0; }
.eob figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.no-motion .stamp { opacity: .9; }

@media (max-width: 760px) {
  .row, .split { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 52px 0; }
  .top-area { display: none; }
  .cta-card { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-card .pill { justify-content: center; }
  .panel { padding: 56px 16px 20px; border-radius: 24px; }
  .card { padding: 22px; }
  .eob-head { padding-right: 96px; }
  .stamp { font-size: .72rem; padding: 4px 8px; right: 10px; top: 14px; border-width: 2px; }
}
.card.glow::before { opacity: .3; inset: -10px; }

/* SEO content pages */
.seo { padding-top: 40px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.seo h1 { font-size: clamp(2rem, 4.8vw, 3.2rem); }
.lead-sm { font-size: 1.15rem; color: var(--muted); margin: 0 0 36px; }
.seo-sec { padding: 26px 0; border-top: 1px solid var(--line); }
.seo-sec h2, .seo h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.facts { padding-left: 1.2em; margin: 0 0 12px; }
.facts li { margin-bottom: 8px; }
.facts li::marker { color: var(--teal); }
.src { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.src a { color: var(--muted); }
.small { font-size: .85rem; }
.mt { margin-top: 48px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0; padding: 22px 22px 22px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.cta-box strong { display: block; font-weight: 500; font-size: 1.1rem; }
.cta-box span { color: var(--muted); font-size: .92rem; }
.cta-box.glow::before { opacity: .35; }
.link-list { padding-left: 1.2em; }
.link-list li { margin-bottom: 8px; }
.card-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 24px; }
.link-card { display: block; background: var(--tint); border-radius: 18px; padding: 20px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 19, 23, .08); }
.link-card strong { display: block; font-weight: 500; margin-bottom: 6px; }
.link-card span { color: var(--muted); font-size: .92rem; }
.chips a { text-decoration: none; color: inherit; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
@media (max-width: 760px) {
  .cta-box { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-box .pill { justify-content: center; }
}

/* short form */
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 500; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.topic { position: relative; }
.topic input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.topic span { display: inline-block; border: 1px solid #d5d9de; background: var(--surface); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: .95rem; transition: all .2s; }
.topic input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic input:focus-visible + span { box-shadow: 0 0 0 4px rgba(15, 163, 154, .25); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* encrypted upload */
.upload { margin: 32px 0; }
.upload h2 { font-size: 1.4rem; }
.upload-drop { display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #c6d3d0; border-radius: 18px; padding: 26px 16px; background: var(--tint); cursor: pointer; text-align: center; color: #0b5c56; font-weight: 500; }
.upload-drop:hover { border-color: var(--teal); }
.upload-drop span { display: inline-flex; align-items: center; gap: 8px; }
.upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-status { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); }
.upload.sent .upload-drop { opacity: .5; pointer-events: none; }
