:root {
  --navy: #10133A; --navy-2: #181C4A; --canvas: #F7F6F2; --surface: #FFFFFF; --sunken: #F1EFE9;
  --ink: #10133A; --ink-2: #3A3E5E; --ink-3: #686C86; --line: #E4E1D8;
  --ember: #E8590C; --ember-ink: #B04006; --amber: #F5B400; --stable: #2F7D5B;
  --grad: linear-gradient(90deg, #E8590C 0%, #F29A0F 55%, #F5B400 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  --serif: "Crimson Pro", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #0B0D21; --surface: #121532; --sunken: #0E1028; --ink: #EEEEF6; --ink-2: #C8CADE; --ink-3: #9699B8; --line: #262A55; --ember-ink: #F29A0F; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--serif); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
@media (prefers-color-scheme: dark) { .brand img { filter: invert(1) hue-rotate(180deg); } }
.ai { display: inline-block; background: var(--grad); color: var(--navy); font: 700 12px/1 var(--serif); padding: 4px 5px; border-radius: 5px; margin-left: 2px; vertical-align: 2px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.brand, .nav-links a { white-space: nowrap; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }
@media (max-width: 420px) { .nav-links { gap: 12px; } .nav .btn-sm { padding: 0 12px; } .ai { display: none; } .brand { font-size: 18px; gap: 8px; } .brand img { width: 26px; height: 26px; } .hide-xs { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 8px 20px -8px rgb(232 89 12 / .6); }
.btn-primary:hover { background: #D94F08; box-shadow: 0 10px 26px -8px rgb(232 89 12 / .7); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.nav .btn-primary { color: #fff; }

/* Hero */
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ember); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgb(232 89 12 / .26), transparent 62%); }
.hero::after, .cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay; background-image: var(--grain); }
.hero .wrap { padding: 96px 0 112px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 48px; } }
.kicker { margin: 0; font-size: 14px; font-weight: 500; color: var(--amber); font-style: italic; font-family: var(--serif); font-size: 19px; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 72px); font-weight: 600; margin-top: 12px; }
p { text-wrap: pretty; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgb(255 255 255 / .72); font-size: 18px; max-width: 33em; margin: 22px 0 34px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.btn-link { color: #fff; font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 4px; }
.btn-link span { display: inline-block; transition: transform .2s ease; }
.btn-link:hover span { transform: translateX(4px); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; color: rgb(255 255 255 / .55); }
.facts b { display: block; font: 600 22px/1.2 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }

/* Hero product stage: a patient phone with the clinic's review card layered over it */
.stage { position: relative; justify-self: center; width: min(490px, 100%); padding: 0 0 48px; }
.nw { white-space: nowrap; }
.phone { width: 272px; border-radius: 42px; border: 9px solid #262B63; background: #0A0C27; padding: 14px 14px 18px; box-shadow: 0 50px 90px -40px rgb(3 4 20 / .9), inset 0 0 0 1px rgb(255 255 255 / .06); display: grid; gap: 10px; font-size: 12px; color: rgb(255 255 255 / .7); }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; color: rgb(255 255 255 / .8); padding: 0 6px 4px; }
.ph-pill { width: 70px; height: 20px; border-radius: 20px; background: #000; }
.ph-head { padding: 4px 4px 2px; }
.ph-head small { display: block; color: var(--amber); }
.ph-head b { font: 600 22px/1.15 var(--serif); color: #fff; }
.ph-views { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.v { position: relative; aspect-ratio: 3 / 4; border-radius: 9px; display: grid; align-items: end; justify-items: center; padding-bottom: 5px; font-size: 9px; color: rgb(255 255 255 / .75);
  background: radial-gradient(ellipse 60% 26% at 50% 46%, rgb(255 244 232 / .9), rgb(255 244 232 / .5) 55%, transparent 60%), linear-gradient(170deg, #7A2E2A, #3B1522); }
.v.ok::after { content: "✓"; position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--stable); color: #fff; font-size: 8px; display: grid; place-items: center; }
.v.now { background: repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 6px, transparent 6px 12px); outline: 1.5px dashed rgb(245 180 0 / .8); outline-offset: -2px; color: var(--amber); }
.ph-qc { display: flex; gap: 6px; }
.ph-qc span { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; background: rgb(47 125 91 / .18); color: #8FD3B2; font-size: 10.5px; font-weight: 600; }
.ph-go { border-radius: 14px; padding: 12px 14px; background: linear-gradient(160deg, rgb(47 125 91 / .38), rgb(47 125 91 / .16)); border: 1px solid rgb(143 211 178 / .25); }
.ph-go small { display: block; color: #8FD3B2; }
.ph-go b { display: block; font: 600 19px/1.2 var(--serif); color: #fff; margin: 2px 0; }
.ph-next { display: grid; gap: 1px; border-radius: 12px; padding: 10px 12px; background: rgb(255 255 255 / .05); }
.ph-next b { color: #fff; font-weight: 600; }

.review { position: absolute; right: 0; bottom: 0; z-index: 1; width: 250px; border-radius: 16px; padding: 16px; color: var(--ink); background: rgb(255 255 255 / .96); box-shadow: 0 30px 60px -24px rgb(3 4 20 / .75), 0 0 0 1px rgb(16 19 58 / .06); font-size: 12px; transform: rotate(1.5deg); }
.rv-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; }
.rv-head em { font: 600 13px/1 var(--sans); font-style: normal; color: #fff; background: var(--stable); padding: 5px 10px; border-radius: 6px; }
.review ul { list-style: none; margin: 12px 0 10px; padding: 0; display: grid; gap: 7px; }
.review li { display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; line-height: 1.35; }
.review li::before { content: ""; grid-row: span 2; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--stable); }
.review li.maybe::before { background: var(--amber); }
.review li span { color: #686C86; }
.review li b { font-weight: 600; color: #10133A; }
.review p { margin: 0; padding-top: 9px; border-top: 1px solid #E4E1D8; color: #686C86; font-size: 11px; font-style: italic; }
@media (max-width: 480px) { .stage { padding: 0; } .phone { width: 256px; } .review { position: relative; right: auto; bottom: auto; width: 240px; margin: -20px 0 0 auto; } }

/* Sections */
section.block { padding: 104px 0 112px; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (max-width: 760px) { section.block { padding: 72px 0 80px; } }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 50px); font-weight: 600; margin-top: 8px; }
.section-head p { color: var(--ink-3); font-size: 17px; margin: 16px 0 0; max-width: 36em; }
.label { margin: 0; font: italic 500 19px/1.3 var(--serif); color: var(--ember-ink); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.eyebrow.dark { color: var(--ember-ink); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.timeline li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--grad); }
.timeline .num { display: block; font: 600 60px/1 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--ink-3); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 26px; font-weight: 600; }
.timeline p { color: var(--ink-3); margin: 10px 0 0; font-size: 15px; max-width: 30em; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 36px; } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 8px; } }
.sticky { position: sticky; top: 104px; }
@media (max-width: 900px) { .sticky { position: static; } }
.outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.outcomes span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; }
.o-go { background: rgb(47 125 91 / .12); color: var(--stable); }
.o-hold { background: rgb(245 180 0 / .16); color: #8A6400; }
.o-retake { background: rgb(104 108 134 / .14); color: var(--ink-2); }
.o-visit { background: rgb(232 89 12 / .12); color: var(--ember-ink); }
@media (prefers-color-scheme: dark) { .o-go { color: #8FD3B2; } .o-hold { color: var(--amber); } }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.feature h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.feature p { color: var(--ink-3); margin: 8px 0 0; font-size: 15px; }

.price-panel { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -40px rgb(16 19 58 / .35); }
@media (max-width: 820px) { .price-panel { grid-template-columns: 1fr; } }
.ledger { margin: 0; padding: 12px 36px; }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { color: var(--ink-2); }
.ledger dd { margin: 0; font: 600 28px/1 var(--serif); font-variant-numeric: tabular-nums; text-align: right; }
.ledger dd small { display: block; font: 500 12px/1.6 var(--sans); color: var(--ink-3); }
.plan { padding: 36px; background: var(--sunken); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
@media (max-width: 820px) { .ledger { padding: 8px 24px; } .plan { padding: 28px 24px; border-left: 0; border-top: 1px solid var(--line); } }
.plan-name { margin: 0; font: 600 26px/1.1 var(--serif); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; font-size: 15px; color: var(--ink-2); display: grid; gap: 10px; flex: 1; }
.plan li::before { content: "✓"; color: var(--stable); font-weight: 700; margin-right: 10px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 22px; }

.patients { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.patients .section-head { margin-bottom: 0; }
.patients .btn { margin-top: 28px; }
@media (max-width: 860px) { .patients { grid-template-columns: 1fr; gap: 44px; } }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
@media (prefers-color-scheme: dark) { .btn-dark { background: #EEEEF6; color: #10133A; } .btn-dark:hover { background: #fff; } }
.signin-card { justify-self: center; width: min(320px, 100%); display: grid; gap: 12px; padding: 26px; border-radius: 24px; background: var(--canvas); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgb(16 19 58 / .4); transform: rotate(-1.5deg); }
.signin-card b { font: 600 24px/1.2 var(--serif); margin-bottom: 4px; }
.signin-card .f { display: block; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-variant-numeric: tabular-nums; }
.signin-card .f small { display: block; font-size: 11px; color: var(--ink-3); }
.f-btn { text-align: center; padding: 12px; border-radius: 12px; background: var(--ember); color: #fff; font-weight: 600; margin-top: 4px; }

.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; border-radius: 28px; padding: 72px 40px 80px; text-align: center; }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -380px; width: 760px; height: 560px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgb(232 89 12 / .35), transparent 62%); }
.cta h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 600; }
.cta p { color: rgb(255 255 255 / .7); margin: 14px auto 32px; max-width: 36em; }


/* Real product screenshots */
.hero .wrap { padding-bottom: 176px; }
@media (max-width: 960px) { .hero .wrap { padding-bottom: 120px; } }
.shot { margin-top: -120px; position: relative; z-index: 1; }
.shot .frame { max-width: 860px; margin-inline: auto; }
.shot .caption { max-width: 860px; margin-inline: auto; text-align: center; }
@media (max-width: 960px) { .shot { margin-top: -72px; } }
.frame { margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgb(16 19 58 / .45), 0 12px 24px -16px rgb(16 19 58 / .25); }
.frame img { display: block; width: 100%; height: auto; }
.frame .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame .bar span { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: var(--surface); padding: 3px 12px; border-radius: 6px; }
.caption { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); max-width: 60em; }
.tour-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.tour-row + .tour-row { margin-top: 96px; }
.tour-row.flip .tour-copy { order: 2; }
.tour-copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; margin-top: 6px; }
.tour-copy p:not(.label) { color: var(--ink-3); margin: 14px 0 0; max-width: 32em; }
@media (max-width: 900px) { .tour-row { grid-template-columns: 1fr; gap: 28px; } .tour-row.flip .tour-copy { order: 0; } .tour-row + .tour-row { margin-top: 64px; } }
.faq { margin: 0; }
.faq div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font: 600 21px/1.25 var(--serif); letter-spacing: -0.01em; }
.faq dd { margin: 8px 0 0; color: var(--ink-3); max-width: 38em; }
.section-head a { color: var(--ember-ink); }

/* Entry motion: CSS only (the site's CSP allows no scripts). */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .stage { animation: rise .7s cubic-bezier(.2, .8, .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; }
  .stage { animation-delay: .2s; animation-duration: .9s; }
  .review { animation: float-in .8s .6s cubic-bezier(.2, .8, .2, 1) both; }
  @supports (animation-timeline: view()) {
    .timeline li, .feature, .price-panel, .signin-card, .cta, .tour-row .frame, .faq div { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes float-in { from { opacity: 0; translate: 16px 24px; } }

/* Legal pages */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); color: var(--ink); }
.doc .meta { color: var(--ink-3); font-size: 14px; margin: 10px 0 36px; }
.doc h2 { font-size: 26px; font-weight: 600; margin: 40px 0 10px; }
.doc h3 { font-family: var(--sans); font-size: 16px; font-weight: 650; letter-spacing: 0; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.doc th { color: var(--ink-3); font-weight: 600; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ember); border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.callout p { margin: 0; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--sunken); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding: 72px 0 56px; }
@media (max-width: 960px) { .f-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-top { grid-template-columns: 1fr; padding: 56px 0 40px; } }
.site-footer .brand { color: var(--ink); }
.f-brand p { margin: 16px 0 20px; max-width: 30em; color: var(--ink-3); }
.f-cta { color: var(--ember-ink); font-weight: 600; text-decoration: none; }
.f-cta span { display: inline-block; transition: transform .2s ease; }
.f-cta:hover span { transform: translateX(4px); }
.f-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.f-col h2 { font: italic 500 18px/1.2 var(--serif); letter-spacing: 0; color: var(--ember-ink); margin: 0 0 6px; }
.f-col address { font-style: normal; display: grid; gap: 10px; }
.f-col address span { color: var(--ink-2); }
.f-col address a[href^="tel"] { font-variant-numeric: tabular-nums; }
.site-footer a:not(.brand):not(.f-cta) { color: var(--ink-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s ease, color .2s ease; }
.site-footer a:not(.brand):not(.f-cta):hover { color: var(--ink); background-size: 100% 1px; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; }
.f-bottom a { font-weight: 600; }
@media (max-width: 720px) { .f-bottom { flex-direction: column; } }
:focus-visible { outline: 3px solid rgb(232 89 12 / .45); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 350px) { .nav-links a:not(.btn) { display: none; } }
