/* Abridge-inspired editorial composition, selected by the user. Local brand and UI. */
:root { --ink: #202923; --muted: #69716b; --green: #126c5d; --paper: #fff; --line: #e2e5df; --stone: #f5f3ef; --curve: cubic-bezier(.22,1,.36,1); }
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/24px var(--font-sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
button:active,.button:active { transform: scale(.98); }
button,.button { transition: transform 300ms var(--curve),opacity 300ms var(--curve); }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { text-wrap: balance; word-break: keep-all; font-weight: 600; }
p { text-wrap: pretty; word-break: keep-all; }
svg { display: block; max-width: 100%; }
.container { width: min(1200px,calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 96px; }
.eyebrow { color: var(--green); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; margin-bottom: 24px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 9999px; background: #288b6f; margin-right: 8px; }
.skip { position: fixed; top: 8px; left: 8px; padding: 12px; background: white; z-index: 100; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
/* A full-width header follows the selected reference instead of a floating pill. */
.nav-wrap { position: sticky; top: 0; z-index: 20; background: #ffffffed; backdrop-filter: blur(20px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(1280px,calc(100% - 80px)); margin: auto; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 20px; line-height: 28px; letter-spacing: -.04em; }
.brand strong { font-weight: 600; margin-left: -4px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; line-height: 20px; color: #53645d; }
.nav a:hover { color: var(--green); }
.login-link { font-size: 14px; line-height: 20px; padding: 8px 24px; border: 1px solid #c9cfc8; border-radius: 4px; }
.login-link span { margin-left: 16px; }
.menu-toggle { display: none; background: none; border: 0; padding: 12px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 4px 0; background: var(--ink); transition: transform 500ms var(--curve); }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }
#mobile-menu { border: 0; position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 32px; background: #fffffff5; backdrop-filter: blur(24px); color: var(--ink); }
#mobile-menu[open] { display: flex; flex-direction: column; gap: 32px; }
#mobile-menu a { font-size: 30px; line-height: 36px; animation: menu-in 500ms var(--curve) both; }
#mobile-menu a:nth-of-type(2) { animation-delay: 60ms; }
#mobile-menu a:nth-of-type(3) { animation-delay: 120ms; }
#mobile-menu a:nth-of-type(4) { animation-delay: 180ms; }
#mobile-menu a:nth-of-type(5) { animation-delay: 240ms; }
.menu-close { align-self: flex-end; background: white; border: 1px solid var(--line); padding: 12px 16px; border-radius: 4px; margin-bottom: 32px; }
.menu-open { overflow: hidden; }
.hero { padding-block: 48px 0; }
.hero-copy { text-align: center; }
.hero-copy h1 { font-size: 60px; line-height: 1; letter-spacing: -.06em; font-weight: 500; max-width: 680px; margin-inline: auto; color: #202923; }
.hero-description { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; margin: 32px auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; padding: 8px 12px; min-width: 176px; min-height: 48px; font-size: 16px; line-height: 24px; font-weight: 600; border-radius: 4px; border: 1px solid transparent; }
.button.primary { background: var(--green); color: white; }
.button:hover { opacity: .86; transform: translateY(-2px); }
.cta-note { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 16px; }
.hero-visual { margin-top: 48px; min-width: 0; background: var(--stone); border-radius: 8px; padding: 40px 48px 24px; }
.visual-label { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; color: #626961; font-size: 14px; line-height: 20px; }
.example-badge { font-size: 12px; white-space: nowrap; border: 1px solid #d8dcd3; padding: 4px 8px; border-radius: 4px; }
.product-window { border: 1px solid #daddd6; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 16px 32px #38392c0a; }
.product-heading { display: flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 12px; line-height: 16px; background: #fcfcfa; }
.mini-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; color: white; background: var(--green); font-size: 20px; }
.window-status { margin-left: auto; color: #796024; font-size: 12px; background: #f7f0dc; border-radius: 4px; padding: 4px 8px; }
.product-body { display: grid; grid-template-columns: 1.6fr 1fr; }
.product-main { min-width: 0; padding: 8px; }
.patient-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; }
.tiny-label { color: var(--muted); font-size: 12px; line-height: 16px; margin-bottom: 8px; }
.patient-heading h2 { font-size: 20px; line-height: 28px; letter-spacing: -.04em; }
.patient-avatar { display: grid; place-items: center; flex-shrink: 0; border-radius: 9999px; width: 40px; height: 40px; background: #edf2e9; color: #5b735b; font-size: 12px; }
.preview-tabs { display: flex; gap: 4px; padding: 0 24px; }
.preview-tabs button { flex: 1; border: 0; background: #f7f8f5; color: #58695f; padding: 8px 4px; font-size: 12px; line-height: 16px; border-radius: 4px; }
.preview-tabs button[aria-selected='true'] { color: #145f50; background: #e6f0eb; font-weight: 600; }
.preview-tabs button:hover { background: #e5ece4; }
.preview-panel { padding: 24px; min-height: 252px; }
.timeline-scale { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; font-size: 12px; line-height: 16px; color: #738176; gap: 8px; margin-bottom: 24px; }
.timeline-scale span:not(:first-child) { text-align: right; }
.timeline-row { display: grid; grid-template-columns: 1fr 2.8fr; align-items: center; gap: 16px; margin-top: 16px; }
.timeline-row strong { font-size: 12px; line-height: 16px; display: block; }
.timeline-row small { font-size: 12px; line-height: 16px; color: var(--muted); }
.timeline-track { background: #f6f8f3; border-radius: 4px; padding-block: 4px; }
.course { font-size: 12px; line-height: 16px; padding: 8px; border-radius: 4px; white-space: nowrap; }
.course-a { width: 68%; background: #deebe6; color: #356e5c; }
.course-b { width: 74%; margin-left: 26%; background: #287e6d; color: white; }
.context-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 32px; }
.note-dot { width: 6px; height: 6px; flex-shrink: 0; background: #9aad8a; border-radius: 50%; margin-top: 4px; }
.context-note p { font-size: 12px; line-height: 16px; color: #738176; }
.context-note strong { color: #48624f; font-weight: 500; }
.product-review { background: #f9faf7; margin: 8px; padding: 24px; border-radius: 4px; }
.review-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.draft-tag { font-size: 12px; line-height: 16px; color: #5c7251; }
.product-review h3 { font-size: 18px; line-height: 28px; letter-spacing: -.04em; }
.review-event { display: flex; gap: 12px; margin-top: 24px; }
.event-index { font-size: 12px; color: #8a9486; }
.review-event strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.review-event p,.handoff-preview p { font-size: 12px; line-height: 20px; color: var(--muted); margin-top: 4px; }
.source-chip { display: inline-block; color: #527465; background: #edf2ec; padding: 4px 8px; border-radius: 4px; font-size: 12px; line-height: 16px; margin-top: 8px; }
a.source-chip:hover { text-decoration: underline; }
.handoff-preview { margin-top: 24px; padding: 12px; background: #e7eee4; border-radius: 4px; }
.handoff-preview strong { font-size: 12px; line-height: 16px; font-weight: 600; }
.product-footer { display: flex; justify-content: space-between; gap: 8px; padding: 12px 24px; background: #fcfcfa; font-size: 12px; line-height: 16px; color: #657363; }
.visual-caption { font-size: 12px; line-height: 16px; color: #73766e; margin-top: 24px; text-align: center; }
.lab-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lab-header small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.lab-header strong { display: block; font-size: 30px; line-height: 36px; }
.lab-header strong span { font-size: 12px; font-weight: 400; }
.lab-change { font-size: 12px; line-height: 16px; color: #7c6538; background: #f7f2e7; padding: 4px 8px; border-radius: 4px; }
.lab-chart { width: 100%; height: 80px; margin-top: 16px; overflow: visible; }
.chart-dates { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 8px; }
.sample-note { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 16px; }
.evidence-path { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-block: 24px; font-size: 12px; line-height: 16px; }
.evidence-path span { padding: 8px; border: 1px solid #cddfd2; border-radius: 4px; background: #f4f8f3; }
.evidence-path b { font-weight: 400; color: #7c9784; }
#panel-evidence h3 { font-size: 14px; line-height: 20px; margin-bottom: 8px; }
#panel-evidence p:not(.tiny-label) { font-size: 12px; line-height: 16px; color: var(--muted); }
.section-heading { margin-bottom: 48px; }
.section-heading h2,.adoption-heading h2,.faq-section h2 { font-size: 36px; line-height: 40px; letter-spacing: -.04em; }
.section-heading>p:last-child:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.team-section .section-heading { text-align: center; }
.role-selector { display: flex; width: max-content; max-width: 100%; padding: 4px; gap: 4px; background: var(--stone); border-radius: 4px; margin: 0 auto 48px; }
.role-selector button { padding: 12px 24px; border: 0; border-radius: 4px; color: var(--muted); font-size: 14px; line-height: 20px; background: none; }
.role-selector button[aria-selected='true'] { color: var(--green); background: white; font-weight: 600; }
.role-selector button:hover { color: var(--green); }
.role-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; padding: 48px; background: #fafbf8; border-radius: 8px; }
.role-panel h3 { font-size: 30px; line-height: 36px; letter-spacing: -.04em; }
.role-panel>div>p:not(.eyebrow) { color: var(--muted); margin-top: 24px; max-width: 480px; }
.text-link { display: inline-flex; gap: 24px; color: var(--green); font-weight: 600; margin-top: 24px; font-size: 14px; line-height: 20px; padding-block: 8px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.workflow-card { background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: 8px; }
.workflow-card ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 32px; }
.workflow-card li { display: flex; gap: 16px; align-items: flex-start; }
.workflow-card li>span { color: #789071; font-size: 12px; line-height: 24px; }
.workflow-card strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.workflow-card li p { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 8px; }
.tagline-section { background: #edf2ec; padding-block: 96px; text-align: center; }
.tagline { max-width: 680px; margin-inline: auto; font-size: 48px; line-height: 1; letter-spacing: -.055em; }
.tagline span { display: inline-block; padding-block: 4px; }
.tagline.will-reveal span { opacity: .3; transition: opacity 700ms var(--curve); }
.tagline.will-reveal .word-active { opacity: 1; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 64px; }
.step-number,.small-label { display: block; font-size: 12px; line-height: 16px; color: #59755d; letter-spacing: .06em; margin-bottom: 24px; }
.steps h3,.adoption-grid h3 { font-size: 24px; line-height: 32px; letter-spacing: -.04em; margin-bottom: 16px; }
.steps p,.adoption-grid p { color: var(--muted); }
.step-detail { font-size: 12px; line-height: 16px; color: #637962; padding: 12px; background: #f4f6f1; border-radius: 4px; margin-top: 32px; }
.fine-print { font-size: 12px; line-height: 16px; color: #62726b; }
.adoption-heading { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; margin-bottom: 48px; }
.adoption-heading>p { color: var(--muted); }
.adoption-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.adoption-grid article { border-radius: 8px; padding: 32px; background: var(--stone); }
.adoption-grid .fine-print { margin-top: 24px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-top: 0; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 16px 24px; }
.faq-list summary { cursor: pointer; list-style: none; position: relative; padding-right: 24px; font-size: 14px; line-height: 20px; font-weight: 500; word-break: keep-all; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; color: var(--green); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:hover { color: var(--green); }
.faq-list p { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.final-cta { padding-block: 96px; text-align: center; background: #203c32; color: white; }
.final-cta .eyebrow { color: #a9c9b6; }
.final-cta h2 { font-size: 48px; line-height: 1; letter-spacing: -.055em; }
.final-cta p:not(.eyebrow) { color: #c3d4c9; margin-top: 24px; }
.final-cta .button { margin-top: 32px; background: #fff; color: #244c3d; }
.footer { padding-block: 48px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer p { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 16px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 12px; line-height: 16px; color: var(--muted); }
.footer-links a:hover { color: var(--green); text-decoration: underline; }
.footer-note { flex-basis: 100%; }
.will-reveal.reveal { opacity: 0; transform: translateY(32px); transition: transform 700ms var(--curve),opacity 700ms var(--curve); }
.will-reveal.reveal.revealed { opacity: 1; transform: translateY(0); }
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .product-body { grid-template-columns: 1.3fr 1fr; }
  .hero-visual { padding: 32px 24px 24px; }
  .product-review { padding: 16px; }
  .role-panel { gap: 32px; padding: 32px; }
  .steps { gap: 32px; }
}
@media (max-width: 760px) {
  .container,.nav { width: calc(100% - 48px); }
  .nav { min-height: 64px; gap: 16px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .login-link { margin-left: auto; padding: 8px 12px; }
  .brand { font-size: 16px; line-height: 24px; }
  .hero { padding-top: 48px; }
  .hero-copy h1 { font-size: 48px; line-height: 1; }
  .hero-visual { margin-top: 48px; padding: 24px 16px; }
  .product-body { grid-template-columns: 1fr; }
  .product-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; }
  .review-heading,.product-review h3,.handoff-preview { grid-column: 1 / -1; }
  .review-heading { margin-bottom: 0; }
  .review-event,.handoff-preview { margin-top: 0; }
  .role-panel { grid-template-columns: 1fr; gap: 32px; }
  .steps,.adoption-grid { grid-template-columns: 1fr; gap: 32px; }
  .adoption-heading { display: block; }
  .adoption-heading>p { margin-top: 24px; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .tagline { font-size: 36px; line-height: 40px; }
}
@media (max-width: 480px) {
  .container,.nav { width: calc(100% - 32px); }
  .section { padding-block: 64px; }
  .nav { gap: 8px; }
  .login-link span { display: none; }
  .menu-toggle { padding: 8px; }
  .hero-copy .eyebrow { letter-spacing: 0; font-size: 12px; }
  .hero-copy h1 { font-size: 36px; line-height: 40px; }
  .hero-description { font-size: 16px; line-height: 24px; margin-block: 24px; }
  .desktop-break { display: none; }
  .hero-visual { padding: 16px 8px; }
  .visual-label { display: block; font-size: 12px; line-height: 20px; margin: 0 8px 16px; }
  .example-badge { display: inline-block; margin-top: 8px; }
  .patient-heading { padding: 16px 8px; }
  .patient-heading h2 { font-size: 18px; line-height: 28px; }
  .patient-avatar { display: none; }
  .product-heading { padding: 12px; }
  .product-main { padding: 8px; }
  .preview-tabs { padding: 0 8px; }
  .preview-panel { padding: 24px 8px; }
  .timeline-row { gap: 8px; }
  .course { padding: 8px 4px; }
  .product-review { padding: 16px; grid-template-columns: 1fr; gap: 16px; }
  .review-heading,.product-review h3,.handoff-preview { grid-column: 1; }
  .product-footer { flex-wrap: wrap; padding: 12px; }
  .visual-caption { margin-inline: 8px; }
  .section-heading h2,.adoption-heading h2,.faq-section h2 { font-size: 30px; line-height: 36px; }
  .role-selector { width: 100%; margin-bottom: 32px; }
  .role-selector button { padding: 12px 8px; flex: 1; white-space: nowrap; font-size: 12px; }
  .role-panel { padding: 24px; }
  .role-panel h3 { font-size: 24px; line-height: 32px; }
  .workflow-card { padding: 24px 16px; }
  .tagline-section { padding-block: 64px; }
  .tagline { font-size: 30px; line-height: 36px; }
  .adoption-grid article { padding: 24px; }
  .faq-section { padding-top: 0; }
  .faq-list details { padding: 16px; }
  .final-cta { padding-block: 64px; }
  .final-cta h2 { font-size: 36px; line-height: 40px; }
  .footer { padding-block: 32px; gap: 24px; }
  .footer-links { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .will-reveal.reveal,.tagline.will-reveal span { opacity: 1; transform: none; }
  .button:hover,.button:active,button:active { transform: none; }
}
