:root {
  color-scheme: light;
  --paper: #f8f9f5;
  --ink: #193c30;
  --muted: #5f7268;
  --green: #2a7154;
  --green-dark: #1c513d;
  --line: #dfe7df;
  --display: 'Manrope', sans-serif;
  --body: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
em { color: #4d8266; font-style: normal; }
::selection { background: #d0e6d5; color: #173f2f; }
:focus-visible { outline: 3px solid #548c74; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 100px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; z-index: 100; background: white; border: 1px solid var(--green); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* CTA composition adapted from Watermelon Hero 1. */
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 23px var(--display); letter-spacing: -1px; white-space: nowrap; }
.brand-light { font-weight: 500; color: #65796b; }
.brand-mark { width: 37px; height: 37px; border-radius: 12px; background: var(--green); display: grid; place-items: center; }
.brand-mark svg { width: 29px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a { padding-block: 12px; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 11px; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-outline { padding: 10px 16px; border: 1px solid #cbd8ce; background: transparent; }
.button-outline:hover { background: #ecf2e9; }
.button-primary { padding: 6px 6px 6px 20px; color: white; background: var(--green); box-shadow: 0 5px 16px #254f2d12; }
.button-primary:hover { background: var(--green-dark); }
.button-arrow { display: grid; place-items: center; width: 38px; height: 38px; background: #ffffff1f; border: 1px solid #ffffff20; border-radius: 7px; }
.button-arrow .icon { transition: transform .2s; }
.button:hover .button-arrow .icon { transform: translateX(2px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--green); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.25fr .95fr; gap: 56px; padding-block: 58px 76px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.status-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 30px; border: 1px solid #dce6d9; background: #f1f5ec; font-size: 12px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; background: #4a9763; border-radius: 50%; box-shadow: 0 0 0 3px #4a976315; flex-shrink: 0; }
.badge-divider { width: 1px; height: 13px; background: #d0ddca; margin-inline: 2px; }
.badge-detail { font-weight: 400; color: #63795c; }
.hero h1 { margin: 26px 0 23px; font-size: clamp(42px, 4.25vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; }
.hero-lede { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-lede strong { font-weight: 500; color: #324d3f; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.hero-note { margin-top: 29px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #667a6a; }
.hero-note .icon { width: 18px; height: 18px; color: #679575; }

/* A diagram of the proposed product, using no real patient data. */
.concept { position: relative; padding: 8px 18px 0; isolation: isolate; }
.concept-orbit { position: absolute; z-index: -1; border: 1px solid #dce8da; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 100%; aspect-ratio: 1; left: 0; top: 6%; }
.orbit-two { width: 85%; aspect-ratio: 1; left: 7.5%; top: 13%; border-style: dashed; background: #eef3e9; }
.source-records { display: flex; align-items: end; justify-content: center; height: 122px; position: relative; }
.source-document { width: 118px; height: 112px; padding: 15px 15px 10px; border: 1px solid #d9e1d8; border-radius: 10px; background: #fffefb; box-shadow: 0 5px 14px #24472c09; }
.source-document .icon { display: block; width: 22px; height: 22px; color: #688b72; }
.source-document span { display: block; font-size: 11px; margin-top: 7px; color: #4f6454; font-weight: 500; }
.source-document i { display: block; height: 3px; background: #e9eee6; border-radius: 3px; margin-top: 7px; width: 90%; }
.source-document i:last-child { width: 58%; margin-top: 5px; }
.source-left { transform: rotate(-10deg) translateY(5px); }
.source-center { position: relative; z-index: 1; margin-inline: -5px; transform: translateY(-8px); }
.source-right { transform: rotate(10deg) translateY(5px); }
.connection { display: flex; align-items: center; flex-direction: column; position: relative; z-index: 2; }
.connection > span { width: 1px; height: 13px; background: #bccfb8; }
.connection > div { display: grid; place-items: center; height: 35px; width: 35px; border-radius: 11px; background: var(--green); color: #fff; box-shadow: 0 3px 10px #286f5720; }
.connection .icon { width: 21px; height: 21px; }
.summary-card { position: relative; border: 1px solid #dce6dc; border-radius: 18px; background: #ffffff; box-shadow: 0 22px 55px #20412d0f, 0 2px 8px #20412d04; padding: 22px 24px 0; }
.summary-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.summary-label { font-size: 10px; font-weight: 600; letter-spacing: 1.4px; color: #618169; }
.concept-label { font-size: 10px; color: #718168; background: #f0f4ed; border-radius: 5px; padding: 4px 6px; }
.summary-card h2 { margin: 13px 0 6px; font-size: 23px; line-height: 1.3; letter-spacing: -.8px; font-weight: 600; }
.summary-intro { color: #788477; font-size: 12px; margin-bottom: 15px; }
.summary-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid #edf0e9; }
.summary-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.summary-icon .icon { height: 18px; width: 18px; }
.mint { background: #eaf3e9; color: #4d805d; }
.peach { background: #faf1e9; color: #a87b52; }
.lilac { background: #f0edf7; color: #7e7198; }
.summary-row strong { display: block; font-size: 12px; font-weight: 500; color: #354b39; }
.summary-row div > span { display: block; font-size: 11px; color: #788577; margin-top: 4px; }
.summary-footer { margin: 7px -24px 0; padding: 12px 24px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: #56705c; background: #f6f9f3; border-top: 1px solid #e7eee2; border-radius: 0 0 18px 18px; }
.summary-footer .icon { width: 14px; height: 14px; }
.concept figcaption { text-align: center; margin-top: 17px; color: #74826e; font-size: 11px; }

.goal-strip { border-block: 1px solid var(--line); }
.goal-strip > div { display: flex; justify-content: center; align-items: center; gap: 65px; min-height: 78px; color: #5f7764; font-size: 13px; }
.goal-strip .icon { color: #a5b79f; width: 18px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; color: #658469; margin-bottom: 17px; }
.section-heading { max-width: 900px; }
h2 { font-size: clamp(30px, 3.5vw, 43px); line-height: 1.25; letter-spacing: -.045em; font-weight: 600; margin: 0; }
.section-heading > p { max-width: 680px; font-size: 16px; line-height: 1.8; color: var(--muted); margin-top: 22px; }

/* Watermelon Feature 1: rounded cards, raised icon tiles and responsive grid. */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.benefit-card { padding: 30px; border: 1px solid #e0e7dd; border-radius: 24px; background: #fffefa; box-shadow: 0 5px 14px #23422d03; transition: box-shadow .3s; }
.benefit-card:hover { box-shadow: 0 10px 30px #24452d0b; }
.doctor-card { background: #f2f5ef; }
.card-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; box-shadow: inset 0 2px 0 #ffffffc9, 0 2px 5px #283c200c; }
.feature-icon .icon { width: 23px; height: 23px; }
.card-audience { font-size: 11px; font-weight: 600; color: #6b7a63; letter-spacing: 1.1px; }
.benefit-card h3 { font-size: 27px; line-height: 1.3; letter-spacing: -1px; font-weight: 600; margin: 0 0 16px; }
.benefit-card > p { min-height: 80px; max-width: 455px; font-size: 15px; line-height: 1.8; color: #687660; }
.benefit-list { padding: 0; margin: 17px 0 26px; list-style: none; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; line-height: 1.6; color: #456048; }
.benefit-list .icon { width: 16px; height: 16px; margin-top: 3px; color: #7b9772; }
.card-caption { display: inline-block; background: #edf2e8; border: 1px solid #e1e9da; box-shadow: inset 0 1px 0 #ffffffb3; padding: 6px 10px; border-radius: 6px; font-size: 11px; color: #697e5d; }
.ai-note { display: flex; gap: 20px; align-items: flex-start; margin-top: 24px; padding: 24px 30px; border: 1px solid #e0e7dd; border-radius: 18px; }
.ai-note .feature-icon { background: #eaf1e6; color: #5d8158; }
.ai-note h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.ai-note p { max-width: 900px; font-size: 14px; line-height: 1.8; color: #68775f; }

.approach-section { background: #1a3d30; color: #f5f9f1; position: relative; overflow: hidden; }
.approach-section:before { content: ''; position: absolute; width: 550px; height: 550px; border: 1px solid #ffffff08; border-radius: 50%; left: -260px; bottom: -390px; box-shadow: 0 0 0 65px #ffffff03, 0 0 0 130px #ffffff02; }
.approach-inner { position: relative; display: grid; grid-template-columns: 1fr .85fr; gap: 100px; padding-block: 84px; }
.approach-copy .eyebrow { color: #acc5a9; }
.approach-copy em { color: #accba6; }
.approach-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; color: #c2d2c0; margin-block: 22px 26px; max-width: 490px; }
.light-link { color: #edf4e4; }
.light-link:hover { color: #c7e2b8; }
.roadmap { list-style: none; padding: 0; margin: 0; align-self: center; }
.roadmap li { display: flex; gap: 22px; position: relative; padding-bottom: 30px; }
.roadmap li:not(:last-child):before { content: ''; position: absolute; height: calc(100% - 15px); top: 20px; left: 6px; border-left: 1px dashed #789075; }
.roadmap li:last-child { padding-bottom: 0; }
.step-dot { width: 13px; height: 13px; border: 1px solid #789075; background: #1a3d30; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.current-step .step-dot { background: #b6d295; border-color: #b6d295; box-shadow: 0 0 0 5px #b6d29515; }
.step-label { font-size: 10px; color: #a9bfa5; letter-spacing: 1.1px; }
.current-step .step-label { color: #d1e5b9; }
.roadmap h3 { font-size: 18px; font-weight: 500; letter-spacing: -.5px; margin: 6px 0; }
.roadmap p { font-size: 13px; line-height: 1.7; color: #b2c7af; max-width: 340px; }

/* Watermelon FAQ 1 + Card Split Accordian, adapted to native details. */
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-heading > p:last-child { margin-top: 20px; color: var(--muted); font-size: 15px; }
.faq-list { align-self: start; }
.faq-list details { background: #eff3eb; border: 1px solid #dfe7d9; border-bottom: 0; overflow: hidden; transition: margin .25s, border-radius .25s, background .25s; }
.faq-list details:first-child { border-radius: 16px 16px 0 0; }
.faq-list details:last-child { border-bottom: 1px solid #dfe7d9; border-radius: 0 0 16px 16px; }
.faq-list details[open] { margin-block: 12px; border: 1px solid #dfe7d9; border-radius: 16px; background: #fffefa; }
.faq-list details[open]:first-child { margin-top: 0; }
.faq-list details:has(+ details[open]) { border-bottom: 1px solid #dfe7d9; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.faq-list details[open] + details { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 23px; font-weight: 500; font-size: 15px; line-height: 1.5; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -5px; border-radius: 10px; }
.faq-toggle { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-toggle:before, .faq-toggle:after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: #698060; transition: transform .2s; }
.faq-toggle:after { transform: rotate(90deg); }
details[open] .faq-toggle:after { transform: rotate(0); }
.faq-answer { padding: 0 23px 23px; color: #67775f; font-size: 14px; line-height: 1.85; }

.coming-soon { display: flex; align-items: center; justify-content: space-between; gap: 50px; background: #eaf0e3; border: 1px solid #dfe7d8; border-radius: 24px; padding: 45px 48px; margin-bottom: 80px; }
.coming-soon .status-badge { background: #f4f8ee; margin-bottom: 19px; }
.coming-soon h2 { font-size: clamp(28px, 3vw, 37px); }
.coming-soon p { max-width: 530px; font-size: 14px; line-height: 1.8; color: #64765b; margin-top: 17px; }
.coming-soon > .button { flex-shrink: 0; }
.site-footer { padding-block: 27px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand-mark { width: 31px; height: 31px; border-radius: 10px; }
.site-footer .brand-mark svg { width: 25px; }
.site-footer p { font-size: 12px; color: #6c7c65; margin-right: auto; }
.footer-social { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #dbe3d4; border-radius: 8px; color: #607658; }
.footer-social:hover { background: #eaf1e4; }
.footer-social .icon { width: 16px; height: 16px; }
.copyright { font-size: 11px; color: #6c7c65; white-space: nowrap; }

/* Reusable layouts for standalone pages. */
.page-hero { padding-block: 72px 35px; }
.page-hero h1 { margin: 0; max-width: 900px; font-size: clamp(42px, 6vw, 68px); line-height: 1.12; letter-spacing: -.055em; font-weight: 600; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero em { color: #4d8266; }
.page-lede { max-width: 720px; margin: 22px 0 24px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 35px; }
.product-grid .benefit-card { padding: 27px; }
.product-grid .feature-icon { margin-bottom: 20px; }
.product-grid .eyebrow { margin-bottom: 10px; }
.product-grid h2 { font-size: 23px; margin-bottom: 13px; }
.product-grid .benefit-card > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.8; }
.evidence-band { background: #edf2e8; border-block: 1px solid #e0e8dc; }
.evidence-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; padding-block: 65px; }
.evidence-inner h2 { font-size: clamp(28px, 3vw, 37px); }
.evidence-inner > div > p:last-child { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.evidence-note { border-left: 2px solid #aac3a8; padding-left: 20px; color: #64765b; font-size: 14px; line-height: 1.8; }
.product-next, .about-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 55px; }
.product-next > p { font: 600 22px var(--display); }
.about-content { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 80px; }
.about-content h2 { max-width: 620px; }
.about-content > div > p:last-child { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.about-callout { padding: 30px; background: #edf2e8; border: 1px solid #e0e8dc; border-radius: 18px; }
.about-callout strong { font: 600 17px var(--display); }
.about-callout p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.about-cta { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .page-hero { padding-block: 45px 15px; }
  .page-lede { font-size: 16px; }
  .product-grid, .evidence-inner, .about-content { grid-template-columns: 1fr; gap: 20px; }
  .product-grid { padding-top: 20px; }
  .evidence-inner { padding-block: 45px; }
  .product-next, .about-cta { flex-direction: column; align-items: flex-start; padding-block: 40px; }
  .about-content { gap: 28px; }
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { gap: 20px; }
  .nav-links { gap: 22px; }
  .header-cta { font-size: 12px; gap: 12px; }
  .hero { gap: 20px; }
  .hero h1 { font-size: clamp(40px, 5vw, 52px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .concept { padding-inline: 8px; }
  .summary-card { padding: 19px 18px 0; }
  .summary-card h2 { font-size: 21px; }
  .summary-footer { margin-inline: -18px; padding-inline: 18px; }
  .source-document { width: 100px; }
  .source-document span { font-size: 10px; }
  .benefit-card { padding: 25px; }
  .benefit-card h3 { font-size: 24px; }
  .approach-inner { gap: 60px; }
  .faq-section { gap: 40px; }
  .coming-soon { padding: 35px; gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 80px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; border: 1px solid #d7e2d3; border-radius: 11px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; height: 1.5px; width: 19px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: 73px; left: 0; right: 0; padding: 14px 20px; background: #fffefa; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 25px #22472f12; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 36px 48px; }
  .hero h1 { font-size: clamp(40px, 8.9vw, 61px); }
  .hero-lede { max-width: 590px; }
  .hero-note { font-size: 12px; }
  .concept { width: min(100%, 460px); margin-inline: auto; padding-inline: 12px; }
  .summary-card h2 { font-size: 23px; }
  .source-document { width: 113px; }
  .source-document span { font-size: 11px; }
  .goal-strip > div { gap: 20px; font-size: 11px; min-height: 74px; text-align: center; }
  .goal-strip .icon { width: 16px; }
  .section-space { padding-block: 65px; }
  h2 { font-size: clamp(29px, 4.9vw, 37px); }
  .section-heading h2 br { display: none; }
  .section-heading em { display: block; }
  .section-heading > p { font-size: 15px; }
  .benefit-grid { grid-template-columns: 1fr; margin-top: 28px; gap: 18px; }
  .benefit-card { padding: 27px; }
  .benefit-card > p { min-height: 0; }
  .card-topline { margin-bottom: 22px; }
  .benefit-card h3 { font-size: 26px; }
  .ai-note { padding: 22px; gap: 14px; }
  .ai-note .feature-icon { width: 35px; height: 35px; border-radius: 9px; }
  .ai-note h3 { line-height: 1.5; font-size: 16px; }
  .ai-note p { font-size: 13px; }
  .approach-inner { grid-template-columns: 1fr; gap: 42px; padding-block: 60px; }
  .approach-copy > p:not(.eyebrow) { font-size: 15px; }
  .roadmap { padding-left: 5px; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading h2 br { display: none; }
  .faq-heading > p:last-child { margin-top: 14px; }
  .faq-list summary { padding: 22px; }
  .coming-soon { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px; margin-bottom: 45px; }
  .coming-soon h2 br { display: none; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  .site-footer .brand { flex: 1; }
  .site-footer p { flex-basis: 100%; order: 3; font-size: 11px; }
  .copyright { order: 4; margin-top: -6px; }
}
@media (max-width: 380px) {
  .status-badge { font-size: 10px; gap: 7px; }
  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 15px; }
  .hero-actions { gap: 17px; }
  .text-link { font-size: 12px; }
  .hero-note { font-size: 11px; }
  .concept { padding-inline: 0; }
  .source-document { width: 92px; padding: 13px 10px; }
  .source-document span { font-size: 10px; }
  .summary-card h2 { font-size: 21px; }
  .goal-strip > div { gap: 10px; font-size: 10px; }
  .benefit-card { padding: 23px; }
  .benefit-card h3 { font-size: 23px; }
  .card-caption { font-size: 10px; }
  .coming-soon { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* About page: problem section with survey stats */
.about-problem { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.about-problem h2 { max-width: 560px; }
.about-problem-copy > p:last-child { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.stat-grid { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.stat-grid li { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: #edf2e8; border: 1px solid #e0e8dc; border-radius: 18px; }
.stat-grid strong { flex-shrink: 0; min-width: 84px; font: 600 40px var(--display); letter-spacing: -.04em; color: #4d8266; }
.stat-grid span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-build { padding-bottom: 100px; }
@media (max-width: 760px) {
  .about-problem { grid-template-columns: 1fr; gap: 28px; }
  .about-build { padding-bottom: 65px; }
  .stat-grid li { padding: 18px 20px; gap: 16px; }
  .stat-grid strong { font-size: 32px; min-width: 66px; }
}

/* A product walkthrough showing digitized records and source-linked answers. */
.history-demo-section { padding-top: 55px; }
.history-demo-intro, .home-demo-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 70px; margin-bottom: 34px; }
.history-demo-intro h2, .home-demo-intro h2 { font-size: clamp(30px, 3.6vw, 44px); }
.history-demo-intro > p, .home-demo-intro > div:last-child > p { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 510px; }
.home-demo-section { padding-top: 84px; }
.home-demo-intro { margin-bottom: 30px; }
.home-demo-intro > div:last-child { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
.demo-more-link { color: var(--green); }
.demo-more-link .icon { width: 17px; height: 17px; }
.record-workspace { overflow: hidden; border: 1px solid #dce5db; border-radius: 20px; background: #fffefa; box-shadow: 0 20px 60px #203f2e0c, 0 3px 12px #203f2e06; }
.workspace-bar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; border-bottom: 1px solid #e6ebe3; background: #fff; }
.workspace-brand { display: flex; align-items: center; gap: 10px; font: 700 14px var(--display); }
.workspace-brand > span:last-child > span { font: 400 12px var(--body); color: #839082; margin-left: 5px; }
.workspace-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green); color: #fff; }
.workspace-mark .icon { width: 18px; height: 18px; }
.sample-tag, .agent-status { display: inline-flex; align-items: center; gap: 8px; color: #6e7f70; font-size: 11px; }
.sample-tag { border: 1px solid #e0e9dc; border-radius: 30px; padding: 6px 10px; background: #f5f8f1; }
.sample-tag i, .agent-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #68a074; }
.workspace-layout { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.55fr); min-height: 475px; }
.records-panel { display: flex; flex-direction: column; padding: 24px 21px 19px; border-right: 1px solid #e9eee6; background: #f9faf6; }
.records-heading, .agent-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-kicker { display: block; color: #81917c; font-size: 9px; letter-spacing: 1.35px; font-weight: 700; }
.records-heading h3, .agent-panel-heading h3 { margin: 5px 0 0; color: #203d31; font: 600 17px var(--display); letter-spacing: -.4px; }
.record-count { color: #71806e; font-size: 10px; white-space: nowrap; }
.record-person { display: flex; align-items: center; gap: 11px; padding: 14px 0 16px; margin-top: 15px; border-block: 1px solid #e8ede5; }
.avatar-mark, .message-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #e9f0e5; color: #5b805f; }
.avatar-mark .icon, .message-avatar .icon { width: 17px; height: 17px; }
.record-person strong, .record-person span { display: block; }
.record-person strong { color: #344b39; font-size: 12px; font-weight: 600; }
.record-person div > span { margin-top: 4px; color: #879083; font-size: 10px; }
.record-timeline { position: relative; flex: 1; padding: 17px 0 8px 10px; }
.timeline-label { margin-bottom: 11px; color: #899484; font-size: 9px; font-weight: 600; letter-spacing: 1px; }
.record-item { display: flex; align-items: center; gap: 10px; position: relative; min-height: 54px; padding: 6px 0; }
.record-item:not(:last-child):before { content: ''; position: absolute; top: 39px; bottom: -13px; left: 14px; border-left: 1px solid #dfe7dc; }
.record-type-icon { z-index: 1; display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border: 1px solid #fff; border-radius: 9px; }
.record-type-icon .icon { width: 15px; height: 15px; }
.record-item div { min-width: 0; flex: 1; }
.record-item strong, .record-item div > span { display: block; }
.record-item strong { overflow: hidden; color: #425642; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.record-item div > span { margin-top: 4px; color: #879083; font-size: 9px; }
.record-dot { display: none; }
.history-status { display: flex; align-items: center; gap: 7px; padding-top: 13px; margin-top: 8px; border-top: 1px solid #e8ede5; color: #71806f; font-size: 10px; }
.history-status .icon { width: 14px; height: 14px; color: #5f9164; }
.agent-panel { display: flex; flex-direction: column; padding: 24px clamp(20px, 3.2vw, 42px) 20px; }
.agent-status { padding: 6px 9px; border-radius: 30px; background: #f1f6ef; font-size: 9px; white-space: nowrap; }
.question-prompt { margin: 24px 0 9px; color: #768271; font-size: 10px; font-weight: 600; }
.question-list { display: flex; flex-wrap: wrap; gap: 7px; }
.question-chip { min-height: 31px; padding: 7px 11px; border: 1px solid #dce6dc; border-radius: 7px; background: #fff; color: #536754; cursor: pointer; font-size: 10px; line-height: 1.35; text-align: left; transition: background .18s, border-color .18s, color .18s; }
.question-chip:hover { border-color: #9fbaa1; background: #f6f9f3; }
.question-chip.is-active { border-color: #a7c3a7; background: #edf4e9; color: #365843; }
.conversation { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 21px; }
.doctor-message { display: flex; align-items: flex-start; gap: 10px; }
.doctor-message .message-avatar { width: 27px; height: 27px; border-radius: 8px; }
.doctor-message p { max-width: 90%; padding: 9px 12px; border: 1px solid #e4eae1; border-radius: 3px 11px 11px; background: #f8faf6; color: #415545; font-size: 11px; line-height: 1.55; }
.agent-answer { padding: 15px 16px 12px; border: 1px solid #e1e9de; border-radius: 12px; background: #fcfdfa; }
.answer-heading { display: flex; align-items: center; gap: 8px; }
.answer-spark { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border-radius: 7px; background: #e9f1e5; color: #648160; }
.answer-spark .icon { width: 14px; height: 14px; }
.answer-heading strong { color: #425841; font-size: 10px; font-weight: 600; }
.answer-label { margin-left: auto; color: #82917f; font-size: 8px; font-weight: 700; letter-spacing: .8px; white-space: nowrap; }
.answer-copy { margin: 10px 0 13px; color: #536451; font-size: 11px; line-height: 1.7; }
.answer-sources-label { margin-bottom: 7px; color: #84917f; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.answer-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.source-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #e3e9df; border-radius: 6px; background: #f8faf6; color: #567052; font-size: 9px; text-decoration: underline; text-decoration-color: #bbcfb5; text-underline-offset: 2px; }
.source-pill:hover { background: #eef5e9; border-color: #b6c9ae; }
.source-pill .icon { width: 12px; height: 12px; }
.answer-footnote { margin-top: 11px; padding-top: 9px; border-top: 1px solid #edf0ea; color: #8b9588; font-size: 9px; line-height: 1.5; }
.composer-hint { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 7px 6px 10px; margin-top: auto; border: 1px solid #e1e8df; border-radius: 9px; color: #9aa394; font-size: 10px; }
.composer-spark { display: grid; place-items: center; flex: 0 0 auto; color: #729071; }
.composer-spark .icon { width: 14px; height: 14px; }
.composer-send { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; margin-left: auto; border-radius: 6px; background: var(--green); color: #fff; }
.composer-send .icon { width: 14px; height: 14px; }
.demo-disclaimer { margin-top: 12px; color: #829080; font-size: 10px; line-height: 1.6; text-align: right; }
@media (max-width: 900px) {
  .workspace-layout { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); }
  .records-panel { padding-inline: 16px; }
  .agent-panel { padding-inline: 22px; }
  .question-list { display: grid; grid-template-columns: 1fr; }
  .question-chip { width: 100%; }
}
@media (max-width: 760px) {
  .history-demo-section, .home-demo-section { padding-top: 55px; }
  .history-demo-intro, .home-demo-intro { grid-template-columns: 1fr; gap: 17px; margin-bottom: 24px; }
  .history-demo-intro h2, .home-demo-intro h2 { font-size: clamp(29px, 7vw, 37px); }
  .history-demo-intro > p, .home-demo-intro > div:last-child > p { font-size: 14px; }
  .workspace-bar { align-items: flex-start; padding: 13px 14px; }
  .sample-tag { max-width: 160px; font-size: 9px; }
  .workspace-brand > span:last-child > span { display: none; }
  .workspace-layout { grid-template-columns: 1fr; }
  .records-panel { border-right: 0; border-bottom: 1px solid #e9eee6; padding: 18px 17px 14px; }
  .record-person { display: none; }
  .record-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; padding: 14px 0 4px; }
  .timeline-label { grid-column: 1 / -1; }
  .record-item { min-width: 0; }
  .record-item:not(:last-child):before { display: none; }
  .history-status { padding-top: 10px; margin-top: 4px; }
  .agent-panel { padding: 19px 16px 16px; }
  .agent-panel-heading { align-items: flex-start; }
  .agent-status { font-size: 8px; }
  .question-prompt { margin-top: 18px; }
  .conversation { margin-top: 16px; }
  .answer-label { font-size: 7px; }
  .demo-disclaimer { text-align: left; }
}
@media (max-width: 420px) {
  .sample-tag { max-width: none; padding: 5px 7px; font-size: 8px; }
  .record-timeline { grid-template-columns: 1fr; }
  .agent-status { max-width: 110px; white-space: normal; }
}

/* Guided, swipeable product walkthrough. */
.workspace-layout.demo-slides { display: block; min-height: 0; }
.demo-slide { display: none; padding: 27px clamp(18px, 4vw, 48px) 34px; animation: demo-slide-in .28s ease-out; }
.demo-slide.is-active { display: block; }
@keyframes demo-slide-in { from { opacity: .55; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.demo-slide-heading { margin: 0 0 22px; }
.demo-slide-heading > span, .slide-kicker { display: block; margin: 0 0 7px; color: #6d8b6d; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; }
.demo-slide-heading > strong { display: block; color: #234333; font: 600 19px var(--display); letter-spacing: -.45px; }
.demo-slide-heading > p { margin-top: 5px; color: #788477; font-size: 12px; line-height: 1.6; }
.demo-slide .records-panel { max-width: 750px; margin-inline: auto; border: 1px solid #e6ebe3; border-radius: 13px; background: #fafbf8; }
.demo-slide .record-person { display: flex; }
.demo-slide .record-timeline { display: block; padding-block: 15px 9px; }
.demo-slide .record-item:not(:last-child):before { display: block; }
.demo-slide .agent-panel { max-width: 750px; min-height: 310px; margin-inline: auto; padding: 22px 25px; border: 1px solid #e6ebe3; border-radius: 13px; background: #fafbf8; }
.demo-query-flow { max-width: 640px; margin: 22px auto 0; }
.demo-query-flow .doctor-query { padding: 18px; }
.demo-query-flow .doctor-query p { font-size: 15px; }
.demo-query-flow .search-status { margin-top: 22px; }
.demo-query-flow .matched-records { padding: 16px; }
.demo-query-flow .matched-record { min-height: 58px; }
.demo-query-flow .matched-record strong { font-size: 11px; }
.demo-query-flow .matched-record small { font-size: 10px; }
.demo-player { overflow: hidden; border: 1px solid #dce5db; border-radius: 20px; background: #fffefa; box-shadow: 0 20px 60px #203f2e0c, 0 3px 12px #203f2e06; }
.demo-player-top { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; border-bottom: 1px solid #e6ebe3; background: #fff; }
.demo-progress { display: grid; grid-template-columns: auto minmax(70px, 1fr) auto; align-items: center; gap: 13px; padding: 13px clamp(18px, 4vw, 48px); border-bottom: 1px solid #edf0ea; background: #fbfcf9; color: #788477; font-size: 9px; }
.demo-progress > span { font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-progress > div { height: 3px; overflow: hidden; border-radius: 4px; background: #e3eae0; }
.demo-progress > div > i { display: block; height: 100%; width: 33.333%; border-radius: inherit; background: #6c9470; transition: width .25s ease; }
.demo-progress strong { color: #60735f; font-size: 9px; font-weight: 600; }
.demo-controls { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 17px; min-height: 62px; padding: 10px clamp(18px, 4vw, 48px); border-top: 1px solid #e9eee6; background: #fff; }
.demo-nav-button { display: inline-flex; align-items: center; gap: 7px; justify-self: start; min-height: 36px; padding: 7px 10px; border: 1px solid #dfe7dc; border-radius: 8px; background: #fffefa; color: #547052; cursor: pointer; font-size: 11px; font-weight: 600; }
.demo-nav-button .icon { width: 15px; height: 15px; }
.demo-nav-button:disabled { opacity: .4; cursor: default; }
.demo-nav-button:not(:disabled):hover { background: #f2f7ee; }
.demo-nav-button:not(.demo-nav-next) .icon { transform: rotate(180deg); }
.demo-nav-next { justify-self: end; }
.demo-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.demo-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #d6dfd2; cursor: pointer; transition: width .2s, background .2s; }
.demo-dot.is-active { width: 25px; background: #4f805b; }
.demo-step-count { color: #758170; font-size: 10px; font-variant-numeric: tabular-nums; }
.demo-step-count span { color: #355a41; font-weight: 700; }
.demo-slide-copy { max-width: 670px; margin-bottom: 20px; }
.demo-slide-copy h3 { margin: 0; color: #234333; font: 600 clamp(24px, 3vw, 34px) / 1.25 var(--display); letter-spacing: -.8px; }
.demo-slide-copy > p:not(.slide-kicker) { margin-top: 10px; color: #687966; font-size: 13px; line-height: 1.75; }
.slide-fact { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 7px 10px; border: 1px solid #e1eadc; border-radius: 7px; background: #f3f7ef; color: #587457; font-size: 10px; }
.slide-fact .icon { width: 14px; height: 14px; }
.record-merge-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; max-width: 850px; margin: 0 auto; padding: 22px; border: 1px solid #e7ece4; border-radius: 14px; background: #f8faf6; }
.paper-stack, .unified-history-card { padding: 15px; border: 1px solid #e2e8de; border-radius: 11px; background: #fff; box-shadow: 0 5px 18px #25452e08; }
.paper-preview { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #eef1ec; }
.paper-preview:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-preview > .icon { width: 18px; height: 18px; color: #759473; }
.paper-preview strong, .paper-preview small, .unified-history-heading strong, .unified-history-heading small, .unified-history-line b, .unified-history-line small { display: block; }
.paper-preview strong, .unified-history-heading strong { color: #425740; font-size: 10px; font-weight: 600; }
.paper-preview small, .unified-history-heading small, .unified-history-line small { margin-top: 3px; color: #879183; font-size: 9px; }
.merge-arrow { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #e9f1e5; color: #648262; }
.merge-arrow .icon { width: 18px; height: 18px; }
.unified-history-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #e9eee6; }
.unified-history-heading .workspace-mark { width: 29px; height: 29px; }
.unified-history-line { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0 0; }
.unified-history-line > i { width: 7px; height: 7px; margin-top: 4px; border: 1px solid #7e9b77; border-radius: 50%; background: #eff5eb; }
.unified-history-line b { color: #536450; font-size: 9px; font-weight: 600; }
.ask-visual { max-width: 850px; margin: 0 auto; padding: 24px; border: 1px solid #e7ece4; border-radius: 14px; background: #f8faf6; }
.ask-context { max-width: 620px; margin: 0 auto; }
.doctor-query { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid #e4eae1; border-radius: 11px; background: #fff; }
.doctor-query .message-avatar { flex: 0 0 auto; }
.doctor-query p { margin-top: 6px; color: #3f5543; font: 500 14px/1.6 var(--display); }
.search-status { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; color: #71816f; font-size: 10px; }
.search-pulse { width: 8px; height: 8px; border-radius: 50%; background: #76a176; box-shadow: 0 0 0 4px #76a1761c; }
.matched-records { padding: 13px 15px; border: 1px solid #e1e8de; border-radius: 10px; background: #fff; }
.matched-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.matched-title > span:last-child { color: #81907d; font-size: 9px; }
.matched-record { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #edf1ea; }
.matched-record > span:nth-child(2) { flex: 1; }
.matched-record strong, .matched-record small { display: block; }
.matched-record strong { color: #485b47; font-size: 10px; }
.matched-record small { margin-top: 3px; color: #849080; font-size: 9px; }
.match-check { color: #6d916b; }
.match-check .icon { width: 16px; height: 16px; }
.trend-visual { max-width: 900px; margin: 0 auto; }
.trend-card { padding: clamp(15px, 2.4vw, 26px); border: 1px solid #e3e9e1; border-radius: 14px; background: #fff; }
.trend-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.trend-card-heading h4 { margin: 4px 0 0; color: #2b4635; font: 600 18px var(--display); }
.trend-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 30px; background: #fff3ea; color: #9a6948; font-size: 9px; font-weight: 600; white-space: nowrap; }
.trend-status i { width: 7px; height: 7px; border-radius: 50%; background: #d18a51; }
.trend-chart { display: block; width: 100%; max-width: 690px; height: auto; margin: 4px auto 0; overflow: visible; font-family: var(--body); }
.chart-range { fill: #eaf3e7; }
.chart-grid { stroke: #e8ede6; stroke-width: 1; }
.chart-threshold { stroke: #7d9e76; stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart-axis, .chart-date, .chart-legend { fill: #7d897a; font-size: 10px; }
.chart-range-label { fill: #648360; font-size: 8px; font-weight: 700; letter-spacing: .7px; text-anchor: end; }
.chart-line { fill: none; stroke: #769372; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-dot { stroke: #fff; stroke-width: 3; }
.chart-dot-in { fill: #6f986a; }
.chart-dot-out { fill: #d28a52; }
.chart-value { fill: #55734f; font-size: 11px; font-weight: 700; }
.chart-value-out, .legend-out { fill: #b97746; }
.legend-in { fill: #6f986a; }
.chart-disclaimer { margin: -2px 0 13px; color: #929b8e; font-size: 9px; text-align: center; }
.trend-answer { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; margin-bottom: 13px; border: 1px solid #e5ebdf; border-radius: 9px; background: #f8faf6; }
.trend-answer .answer-spark { flex: 0 0 auto; }
.trend-answer p { color: #586b55; font-size: 11px; line-height: 1.65; }
.trend-answer strong { color: #38573d; font-size: 10px; }
.answer-sources-label { margin: 5px 0 7px; color: #83907e; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.answer-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.source-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #e3e9df; border-radius: 6px; background: #f8faf6; color: #567052; font-size: 9px; text-decoration: underline; text-decoration-color: #bbcfb5; text-underline-offset: 2px; }
.source-pill:hover { background: #eef5e9; border-color: #b6c9ae; }
.source-pill .icon { width: 12px; height: 12px; }
.results-table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid #e2e9df; border-radius: 10px; background: #fff; scrollbar-color: #c5d4c0 #f4f7f1; }
.results-table { width: 100%; min-width: 700px; border-collapse: collapse; color: #4e614d; font-size: 10px; text-align: left; }
.results-table caption { padding: 11px 13px; color: #697b65; font-size: 9px; text-align: left; }
.results-table thead { background: #f4f7f1; color: #768671; font-size: 8px; letter-spacing: .45px; text-transform: uppercase; }
.results-table th, .results-table td { padding: 10px 12px; border-top: 1px solid #edf1ea; white-space: nowrap; }
.results-table tbody th { color: #405642; font-weight: 600; }
.results-table tbody th span { display: block; margin-top: 3px; color: #899483; font-size: 8px; font-weight: 400; }
.results-table tbody tr.is-selected { background: #f4f8f1; }
.range-status { display: inline-block; padding: 4px 7px; border-radius: 20px; font-size: 8px; font-weight: 600; }
.range-in { background: #e9f3e6; color: #56774f; }
.range-out { background: #fff1e7; color: #a66d3d; }
.table-source { padding: 4px 7px; font-size: 8px; }
.trend-link { padding: 4px 7px; border: 1px solid #dce7d7; border-radius: 6px; background: #f7faf4; color: #4f7650; cursor: pointer; font-size: 8px; font-weight: 600; }
.trend-link:hover, .trend-link.is-active { border-color: #9bb896; background: #eaf2e5; }
.trend-link:focus-visible { outline-offset: 2px; }
.trend-selection-label { min-height: 16px; margin: 4px 0 10px; color: #7d8977; font-size: 9px; text-align: center; }
.trend-view-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 22px 0 5px; }
.trend-view-heading h4 { margin: 4px 0 0; color: #2b4635; font: 600 15px var(--display); }
.trend-view-heading .trend-status { font-size: 8px; }
.trend-summary { margin: 15px 0; padding: 13px 15px; border-left: 3px solid #78a173; border-radius: 0 9px 9px 0; background: #f3f7ef; }
.trend-summary > span { display: block; margin-bottom: 4px; color: #6e8969; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.trend-summary p { color: #4d634b; font-size: 11px; line-height: 1.65; }
.chart-dot.is-selected { stroke: #315e3b; stroke-width: 4; transform: scale(1.35); transform-box: fill-box; transform-origin: center; }
.chart-value.is-selected { font-size: 14px; text-decoration: underline; }
.demo-controls { grid-template-columns: 1fr auto auto 1fr; }
.demo-nav-button:focus-visible, .demo-dot:focus-visible { outline-offset: 3px; }
@media (max-width: 760px) {
  .demo-slide { padding: 22px 15px; }
  .demo-slide .records-panel { padding: 16px; }
  .demo-slide .record-timeline { display: block; padding: 13px 0 4px; }
  .demo-slide .agent-panel { min-height: 0; padding: 17px 14px; }
  .demo-player-top { padding-inline: 14px; }
  .demo-progress { grid-template-columns: auto 1fr; }
  .demo-progress strong { grid-column: 1 / -1; }
  .demo-controls { grid-template-columns: 1fr auto 1fr; gap: 10px; padding-inline: 13px; }
  .demo-dots { grid-column: 2; grid-row: 1; }
  .demo-step-count { display: none; }
  .record-merge-visual { grid-template-columns: 1fr; gap: 9px; padding: 14px; }
  .merge-arrow { margin: 0 auto; transform: rotate(90deg); }
  .paper-stack, .unified-history-card { padding: 12px; }
  .paper-preview { padding-block: 7px; }
  .ask-visual { padding: 14px; }
  .trend-card-heading { align-items: flex-start; flex-direction: column; }
  .trend-chart { margin-top: 13px; }
}
@media (max-width: 420px) {
  .demo-slide-heading > strong { font-size: 17px; }
  .demo-nav-button { padding: 6px 8px; font-size: 10px; }
  .demo-nav-button .icon { width: 13px; }
  .trend-chart { min-height: 160px; }
  .chart-axis, .chart-date, .chart-legend { font-size: 9px; }
}
