/* DearDoctor. Navy & Ember.
   Navy #0B1F3A, ember #CC3B19, page #FFF8F3, cards #FFFFFF.
   Success #16794C, error #B42318. Plus Jakarta Sans, self-hosted (400 body, 700 UI, 800 headings).
   Logo coral #FF5A36 is decorative only (shapes, borders, the mark). Never text, and never a fill behind text.
   White on ember is 4.99:1. Ember on #FFF8F3 is 4.75:1. Ember on navy is only 3.31:1,
   so small text on navy stays white. Eyes on the mark are always white; the favicon drops them. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0B1F3A;
  --coral: #FF5A36; /* decorative shapes only */
  --ember: #CC3B19;
  --ember-deep: #A32F14; /* button hover; white text 7.06:1 */
  --white: #FFFFFF;
  --success: #16794C;
  --error: #B42318;
  --muted: #4A5E78;
  --paper: #FFF8F3;
  --off: #F4F6F8;
  --line: #E3E8EF;
  --soft: #EEF2F6;
  --wash: #FFF1EC;
  --navy-line: #2A4462;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; font-synthesis: none; color: var(--navy); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.close :focus-visible, .draft-bar :focus-visible, .skip:focus-visible { outline-color: #fff; }
button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] { border-radius: var(--radius-pill); }
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="image"]):not([type="hidden"]),
textarea,
select { border-radius: var(--radius-sm); }
::selection { background: var(--ember); color: #fff; }
.close ::selection, .made-strip ::selection, .tile.forms ::selection, .draft-bar ::selection, .flag ::selection, .soon ::selection, .badge-soon ::selection, .live-tag ::selection, .tag ::selection, a.btn ::selection, .vtile.doctor ::selection, .controls .leave ::selection, .chip.coral ::selection, .avatar ::selection, .compare thead th:nth-child(2) ::selection, .compare .yes ::selection, .skip ::selection { background: var(--navy); color: #fff; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 .45em; font-weight: 800; text-wrap: balance; }
/* ExtraBold leaves a gap before commas and full stops. Pull the mark back onto the word. */
.punct { margin-left: -0.07em; letter-spacing: 0; }
h1 { font-size: clamp(3.15rem, 6.4vw, 5.75rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 3.7rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 96px; }
.skip { position: absolute; left: 8px; top: 8px; background: var(--ember); color: #fff; padding: 10px 14px; border-radius: var(--radius-pill); z-index: 50; transform: translateY(-160%); }
.skip:focus { transform: none; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.tiny { font-size: .82rem; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; max-width: 40rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow, .kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 3px; background: var(--coral); flex: none; border-radius: var(--radius-pill); }
.eyebrow.on-dark, .hero .eyebrow { color: #F4F7FB; }
.eyebrow.on-dark::before, .hero .eyebrow::before { background: var(--coral); }

.draft-bar { background: var(--ember); color: #fff; text-align: center; padding: 10px 16px; font-size: .95rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo, .logo:hover { display: flex; align-items: center; flex: none; line-height: 0; margin-right: auto; color: #fff; text-decoration: none; }
.logo img { width: 200px; height: auto; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { color: #F4F7FB; text-decoration: none; padding: 8px 10px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .btn { display: none; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--navy-line); border-radius: var(--radius-pill); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { border-top: 1px solid var(--navy-line); padding: 8px 24px 22px; background: var(--navy); }
.mobile-nav a { display: block; padding: 14px 2px; color: #fff; text-decoration: none; border-bottom: 1px solid var(--navy-line); }
.mobile-nav a:hover, .mobile-nav a.text-link:hover, a.text-link.on-dark:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mobile-nav .cta { margin-top: 16px; }
.mobile-nav .cta .btn, .mobile-nav .cta .text-link { border-bottom: 0; }
@media (min-width: 1040px) {
  [id] { scroll-margin-top: 108px; }
  .logo img { width: 280px; }
  .bar { min-height: 88px; }
  .nav { display: flex; }
  .head-actions .btn { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 22px; border: 2px solid transparent; border-radius: var(--radius-pill); background: var(--ember); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
a.btn:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: #fff; }
a.btn svg { width: 18px; height: 18px; }
a.btn.navy, a.btn.navy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
a.btn.navy:hover { background: #061322; border-color: #061322; }
.close a.btn.navy:hover { background: #fff; border-color: #fff; color: var(--navy); }
a.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ember); }
a.text-link:hover { color: var(--navy); }
a.text-link.on-dark, .mobile-nav a.text-link.on-dark { color: #fff; }
a.text-link.on-coral, .close a.text-link, .close a.text-link:hover { color: #fff; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }

.section { padding: 80px 0; background: var(--paper); }
.section.alt { background: var(--off); }
.section.tight { padding: 12px 0 80px; background: var(--paper); }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head .lede { margin-bottom: 0; color: var(--muted); }
@media (min-width: 900px) {
  .section { padding: 128px 0; }
  .section.tight { padding: 16px 0 120px; }
}

.hero { background: var(--navy); color: #F4F7FB; padding: 48px 0 0; text-align: center; }
.hero-copy { max-width: 980px; }
.hero .eyebrow { justify-content: center; color: #F4F7FB; }
.hero h1 { margin: 0 auto 22px; max-width: 14ch; }
.hero .accent { color: inherit; text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 0.08em; text-underline-offset: 0.06em; }
.hero .lede { margin: 0 auto 32px; color: #E6EDF5; }
.hero .cta { justify-content: center; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 700; font-size: .95rem; }
.points li { display: flex; align-items: center; gap: 8px; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--coral); flex: none; }
.made-strip { margin: 56px 0 0; padding: 22px 24px; background: var(--ember); color: #fff; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.35; }
@media (min-width: 900px) { .hero { padding: 72px 0 0; } .made-strip { margin-top: 72px; padding: 26px 24px; } }

.who-grid { display: grid; gap: 16px; }
.who-grid article { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius-lg); overflow: hidden; padding: 28px 24px 8px; }
.who-grid article:last-child { border-top-color: var(--coral); }
.who-grid p { color: var(--muted); }
@media (min-width: 800px) {
  .who-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.story .origin-copy { max-width: 44rem; font-size: 1.15rem; }
.story .origin-copy p:last-child { margin-bottom: 0; }

.product { margin: 48px 0 0; text-align: left; }
.product-frame { display: grid; background: #fff; color: var(--navy); border-top: 8px solid var(--coral); border-radius: var(--radius-lg); overflow: hidden; }
.call, .draft { padding: 18px; }
.call { background: var(--off); }
.call-bar, .draft-top, .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.call-bar { margin-bottom: 12px; }
.call-bar strong { font-size: 1rem; }
.call-bar span, .draft .who { color: var(--muted); }
.live-tag, .tag, .soon, .badge-soon { display: inline-block; background: var(--ember); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius-pill); }
.call-stage { display: grid; gap: 8px; min-height: 220px; }
.vtile { display: flex; align-items: flex-end; padding: 16px; min-height: 120px; border-radius: var(--radius-md); overflow: hidden; }
.vtile p { margin: 0; }
.vtile span { display: block; font-size: .85rem; font-weight: 400; margin-top: 2px; }
.vtile.patient { background: var(--navy); color: #fff; min-height: 200px; }
.vtile.patient span { color: #fff; }
.vtile.doctor { background: var(--ember); color: #fff; }
.controls { margin-top: 12px; }
.controls span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; }
.controls svg { width: 16px; height: 16px; }
.controls .leave { background: var(--ember); color: #fff; }
.audio-note { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.draft h2 { font-size: clamp(1.6rem, 2vw, 2rem); margin: 14px 0 6px; }
.draft .who { margin: 0 0 12px; }
.letter-body { font-size: 1.02rem; }
.tx { margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--coral); font-size: .95rem; }
.tx b { font-weight: 700; }
.flag { margin: 14px 0 0; background: var(--ember); color: #fff; padding: 10px 12px; border-radius: var(--radius-md); font-size: .92rem; }
.product figcaption { margin: 12px 0 0; color: #C5D0DE; font-size: .82rem; text-align: center; }
@media (min-width: 900px) {
  .product { margin-top: 64px; }
  .product-frame { grid-template-columns: 1.15fr .85fr; }
  .call, .draft { padding: 22px; }
  .call-stage { min-height: 340px; }
  .vtile.patient { min-height: 250px; }
  .draft { border-left: 1px solid var(--line); }
}

.steps, .facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li, .facts article { border-top: 3px solid var(--navy); padding-top: 18px; }
.steps li:nth-child(2) { border-top-color: var(--coral); }
.steps li:nth-child(3) { border-top-color: var(--ember); }
.facts article:nth-child(2) { border-top-color: var(--coral); }
.facts article:nth-child(3) { border-top-color: var(--ember); }
.num { display: block; margin-bottom: 12px; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.steps p, .facts p, .tile p, .origin-copy p { color: var(--muted); }
@media (min-width: 900px) {
  .steps, .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.bento { display: grid; gap: 12px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding: 24px 22px 8px; }
.tile.video { background: var(--navy); color: #F4F7FB; border-color: var(--navy); }
.tile.video p { color: #E6EDF5; }
.tile.scribe { background: var(--off); }
.ico { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 16px; border-radius: var(--radius-md); background: var(--ember); color: #fff; }
.ico svg { width: 22px; height: 22px; }
.tile.letter .ico { background: var(--navy); color: var(--coral); }
.ticks { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: var(--radius-pill); background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks.on-dark li { color: #F4F7FB; }
.tile.forms { background: var(--ember); border-color: var(--ember); color: #fff; display: grid; gap: 8px; align-items: start; }
.tile.forms h3, .tile.forms p { margin-bottom: 0; }
.tile.forms p { color: #fff; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr 1fr; }
  .tile.video { grid-column: 1; grid-row: 1 / span 2; padding: 32px 28px; }
  .tile.room { grid-column: 2 / span 2; }
  .tile.forms { grid-column: 1 / -1; grid-template-columns: 16rem 1fr; gap: 28px; align-items: center; padding: 28px; }
}
@media (min-width: 1100px) {
  .tile.video h3 { font-size: 2.4rem; max-width: 10ch; }
}

.band { background: var(--navy); color: #F4F7FB; padding: 80px 0; }
.band h2 { max-width: 12ch; }
.band .lede, .band p { color: #E6EDF5; }
.band a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.band a:hover { color: #fff; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.names { display: grid; gap: 12px; margin: 36px 0 8px; }
.names article { border-top: 3px solid var(--coral); padding-top: 18px; }
.names h3 { font-size: clamp(3rem, 7vw, 5.5rem); margin: 12px 0 8px; color: #fff; }
.names p { max-width: 36rem; }
.band-note { max-width: 44rem; margin-top: 28px; }
.band .tiny { color: #C5D0DE; }
@media (min-width: 800px) {
  .band { padding: 120px 0; }
  .names { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.origin { display: grid; gap: 8px; }
.origin-copy p:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .origin { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .origin-copy { font-size: 1.2rem; }
}

.more { margin: 32px 0 0; }

.faqs { max-width: 820px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.8rem; font-weight: 400; color: var(--ember); }
.faq[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 65ch; }
.faq .a p:last-child { margin-bottom: 0; }

.close { background: var(--ember); color: #fff; padding: 88px 0; text-align: center; }
.close .wrap { max-width: 900px; }
.close .eyebrow { justify-content: center; color: #fff; }
.close .eyebrow::before { background: #fff; }
.close h2 { font-size: clamp(2.8rem, 6vw, 5rem); margin-left: auto; margin-right: auto; }
.close p { color: #fff; max-width: 38rem; margin-left: auto; margin-right: auto; }
.close .cta { justify-content: center; }
.close a { color: #fff; }
.close a:hover { color: #fff; text-decoration-thickness: 2px; }
.close-mail { margin-top: 8px; font-weight: 700; }
@media (min-width: 900px) { .close { padding: 140px 0; } }

.page-hero { background: var(--paper); padding: 56px 0 8px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14em; }
.page-hero .lede { color: var(--muted); margin-bottom: 12px; }
.page-hero .meta { color: var(--muted); font-size: .9rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose .ticks { padding-left: 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; margin: 1em 0 1.5em; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose thead th:first-child, .compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
.prose thead th:last-child, .compare thead th:last-child { border-top-right-radius: var(--radius-lg); }
.prose tbody tr:last-child > :first-child, .compare tbody tr:last-child > :first-child { border-bottom-left-radius: var(--radius-lg); }
.prose tbody tr:last-child > :last-child, .compare tbody tr:last-child > :last-child { border-bottom-right-radius: var(--radius-lg); }
.prose th { font-weight: 700; background: var(--off); }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose tr { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; padding: 8px 14px; margin-bottom: 12px; background: var(--white); }
  .prose td { border: 0; padding: 8px 0; }
  .prose td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin-bottom: 2px; }
}
.callout { background: var(--off); border-left: 6px solid var(--coral); border-radius: var(--radius-lg); overflow: hidden; padding: 16px 18px; margin: 0 0 1.4em; }
.callout.green { border-left-color: var(--success); }
.toc { background: var(--off); border-radius: var(--radius-lg); overflow: hidden; padding: 16px 18px; margin: 28px 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }

.not-found { background: var(--paper); min-height: 52vh; display: grid; align-items: center; padding: 72px 0; }
.not-found .wrap { max-width: 680px; }
.not-found h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

.site-footer { background: var(--navy); color: #E6EDF5; padding: 64px 0 28px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ember); }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand p { max-width: 36em; color: #E6EDF5; margin: 18px 0 0; }
.foot-links { display: grid; gap: 28px; }
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.4fr .8fr; align-items: start; }
  .foot-links { grid-template-columns: 1fr 1fr; }
}
.fine { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--navy-line); font-size: .88rem; color: #C5D0DE; }
.fine p { margin-bottom: .6em; }
.fine a { text-decoration: underline; }

/* Screens, merge diagram and comparison. */
.screen-hero { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero .product figcaption, .screen-fig figcaption { color: #fff; }
.screen-fig figcaption { color: var(--muted); }
.screen { background: #fff; color: var(--navy); border-top: 8px solid var(--coral); border-radius: var(--radius-lg); overflow: hidden; text-align: left; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--off); border-bottom: 1px solid var(--line); }
.screen-bar i { width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--line); flex: none; }
.screen-bar i:nth-child(1) { background: var(--coral); }
.screen-bar i:nth-child(2) { background: var(--navy); }
.screen-bar i:nth-child(3) { background: #FFB199; }
.screen-bar span { margin-left: 8px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.screen-body { padding: 16px; }
.qrow { display: flex; align-items: center; gap: 12px; background: var(--off); border-radius: var(--radius-md); overflow: hidden; padding: 12px; margin-bottom: 10px; }
.qrow:last-child { margin-bottom: 0; }
.qrow .who { flex: 1; min-width: 0; }
.qrow .tiny { color: var(--muted); }
.qrow.dark { background: var(--navy); color: #fff; }
.qrow.dark .tiny { color: #fff; }
.avatar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--ember); color: #fff; font-weight: 700; font-size: .85rem; }
.avatar.coral { background: var(--ember); color: #fff; }
.avatar.soft { background: var(--soft); }
.chip { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; }
.chip.coral { background: var(--ember); color: #fff; }
.chip.navy { background: var(--navy); color: #fff; }
.chip.line { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.screen-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.letter-to { margin: 0 0 12px; }
.notehead { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.line { height: 8px; border-radius: var(--radius-pill); background: var(--soft); margin: 8px 0; }
.line.m { width: 78%; }
.line.s { width: 52%; }
.screen-split { display: grid; gap: 18px; }
.screen-pair { display: grid; gap: 28px; }
.screen-fig { margin: 0; }
.screen-fig figcaption { margin: 12px 0 0; font-size: .82rem; }
@media (min-width: 800px) {
  .screen-split { grid-template-columns: 1.1fr .9fr; gap: 22px; }
  .screen-pair { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
}

.merge { max-width: 920px; }
.merge-cols { display: grid; gap: 16px; }
.merge-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding: 22px 22px 8px; }
.merge-join { display: block; width: 100%; height: 48px; color: var(--navy); }
.merge-join.wide { display: none; }
.merge-out { background: var(--navy); color: #F4F7FB; border-top: 8px solid var(--coral); border-radius: var(--radius-lg); overflow: hidden; padding: 28px 24px; text-align: center; }
.merge-out h3 { color: #fff; margin-bottom: 8px; }
.merge-out p { margin: 0 auto; max-width: 38rem; color: #fff; }
@media (min-width: 720px) {
  .merge-cols { grid-template-columns: 1fr 1fr; }
  .merge-join.wide { display: block; }
  .merge-join.narrow { display: none; }
}

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { text-align: left; vertical-align: middle; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { background: var(--off); font-size: .95rem; }
.compare thead th:nth-child(2) { background: var(--ember); color: #fff; }
.compare td:nth-child(2) { background: var(--wash); }
.compare tbody th { font-weight: 700; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-pill); font-weight: 700; }
.compare .yes { background: var(--ember); color: #fff; }
.compare .no { background: var(--off); color: var(--navy); }
.compare .why { display: block; margin-top: 4px; color: var(--muted); font-size: .85rem; font-weight: 400; }
.compare-note { margin-top: 16px; color: var(--muted); max-width: 44rem; }
@media (max-width: 700px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare tbody th { display: block; width: 100%; }
  .compare { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; margin-bottom: 12px; padding: 8px 14px; }
  .compare td, .compare tbody th { border: 0; padding: 8px 0; background: transparent; }
  .compare tbody th { font-size: 1.05rem; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin-bottom: 4px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero .btn, .close .btn { width: 100%; }
  .vtile.doctor { min-height: 88px; }
  .qrow { align-items: flex-start; }
  .chip { margin-top: 2px; }
}
