/* Doctor Notes — landing + legal pages. Self-contained. "Clinic" flavor:
   clinical blue on cool white, Geist type. Matches the app so the brand is consistent. */
:root{
  --bg:#fff; --surface:#fff; --surface-2:#fcfdff; --cool:#f6f8fc;
  --ink:#15233b;            /* primary ink */
  --ink-2:#3a485e;          /* secondary body — AAA on white */
  --ink-3:#54637a;          /* muted */
  --ink-faint:#9aa7bb;      /* faint labels / section eyebrow text */
  --headline:#0f1c33;       /* headline ink */
  --line:#dde4ee;           /* primary border — visible */
  --line-soft:#eef1f6;      /* hairline dividers */
  --brand:#2353d6; --brand-700:#1c44b0; --brand-50:#eef3fd; --brand-ink:#1c44b0;
  --navy:#15233b;
  --danger:#d92d20; --danger-50:#fdeeee; --warn:#8a5e10; --warn-50:#fdeccd;
  --ok:#1f8a5b; --ok-50:#e6f6ee;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:36px; --s7:56px; --s8:88px;
  --radius-sm:9px; --radius:14px; --radius-lg:20px;
  --shadow-sm:0 1px 2px rgba(20,40,80,.06);
  --shadow:0 1px 3px rgba(20,40,80,.09),0 1px 2px rgba(20,40,80,.05);
  --shadow-lg:0 24px 50px -28px rgba(20,40,80,.34),0 2px 6px rgba(20,40,80,.06);
  --maxw:1120px; --readw:740px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:'Geist',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;
  color:var(--ink);background:var(--surface);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4{margin:0 0 .4em;letter-spacing:-.025em;line-height:1.15;color:var(--headline)}
h1{font-size:clamp(32px,6vw,52px);font-weight:600;letter-spacing:-.035em;line-height:1.06}
h2{font-size:clamp(24px,4vw,34px);font-weight:600}
h3{font-size:clamp(18px,2.5vw,21px);font-weight:600;color:var(--ink)}
h4{font-size:16px;font-weight:600;color:var(--ink)}
p{margin:0 0 var(--s4)}
a{color:var(--brand);text-decoration:none;font-weight:600}
a:hover{color:var(--brand-700)}
img,svg{max-width:100%}
.muted{color:var(--ink-3)}

/* layout */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--s5)}
.section{padding:var(--s8) 0}
.section-sm{padding:var(--s7) 0}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:'Geist Mono',ui-monospace,monospace;font-size:12px;font-weight:500;
  letter-spacing:.06em;text-transform:uppercase;color:var(--brand);background:#eaf0fd;border:1px solid #d8e3fa;
  padding:6px 12px;border-radius:20px;margin-bottom:var(--s4)}
.lead{font-size:clamp(16.5px,2.2vw,19px);color:var(--ink-3);max-width:520px;line-height:1.55}
.section-head{max-width:660px;margin:0 auto var(--s7);text-align:center}
.section-head .eyebrow{margin-bottom:var(--s3)}
.section-head h2{margin-bottom:var(--s3)}
.section-head p{font-size:clamp(16px,2vw,18px);color:var(--ink-3);margin:0 auto;line-height:1.55;max-width:600px}

/* full-width tinted band — used to alternate section rhythm */
.band{background:var(--cool);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* a11y: skip link + focus + motion */
.skip{position:absolute;left:-999px;top:0;z-index:100;background:var(--brand);color:#fff;
  padding:12px 18px;border-radius:0 0 var(--radius-sm) 0;font-weight:600}
.skip:focus{left:0;color:#fff}
:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,#fff);outline-offset:2px;border-radius:6px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* buttons */
.btn{appearance:none;border:0;border-radius:var(--radius-sm);padding:13px 20px;font:inherit;font-weight:600;
  min-height:46px;cursor:pointer;background:var(--brand);color:#fff;transition:background .15s,transform .15s,box-shadow .15s;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation;
  box-shadow:0 6px 18px -6px rgba(35,83,214,.5)}
.btn:hover{background:var(--brand-700);color:#fff;transform:translateY(-1px)}
.btn:active{transform:translateY(1px)}
.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.btn.secondary:hover{background:var(--surface-2);border-color:var(--ink-3);color:var(--ink)}
.btn.big{padding:15px 26px;font-size:16px;min-height:54px;border-radius:var(--radius)}
.btn.ghostlink{background:transparent;color:var(--ink-2);box-shadow:none;font-weight:600;padding:10px 12px}
.btn.ghostlink:hover{background:var(--surface-2);color:var(--ink)}

/* nav */
.topbar{background:rgba(255,255,255,.86);backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid var(--line-soft);position:sticky;top:0;z-index:30}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-weight:600;font-size:18px;color:var(--ink);display:flex;align-items:center;gap:10px;letter-spacing:-.02em}
.logo:hover{color:var(--ink)}
.logo .dot{width:26px;height:26px;border-radius:7px;background:var(--brand);box-shadow:0 2px 6px rgba(35,83,214,.35);flex:0 0 auto}
.navlinks{display:flex;gap:var(--s1);align-items:center}
.navlinks .login{color:var(--ink-3);font-weight:500;padding:9px 12px;min-height:44px;display:inline-flex;align-items:center}
.navlinks .login:hover{color:var(--ink)}
.navlinks .btn{background:var(--navy);border-radius:8px;box-shadow:none;padding:10px 16px;min-height:44px;font-size:14.5px}
.navlinks .btn:hover{background:#0f1c33;transform:none}

/* hero — single centered column */
.hero{padding:clamp(48px,8vw,104px) 0 clamp(44px,6vw,80px)}
.hero-inner{max-width:640px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.hero .eyebrow{margin-bottom:var(--s4)}
.hero h1{margin-bottom:var(--s4)}
.hero .lead{max-width:540px;margin:0 auto var(--s6);text-align:center}
.hero .cta-row{display:flex;align-items:center;justify-content:center;gap:var(--s3);flex-wrap:wrap;margin-bottom:var(--s5)}
.reassure{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13.5px;color:var(--ink-3);font-weight:500;flex-wrap:wrap}
.reassure .sep{color:#c3ccd9}
.reassure svg{color:var(--brand);flex:0 0 auto}

/* product mock: SOAP note card — must match the app's note panel */
.note-card{background:var(--surface-2);border:1px solid #e4e9f0;border-radius:16px;
  box-shadow:var(--shadow-lg);overflow:hidden}
.note-card .nc-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);
  padding:14px 18px;border-bottom:1px solid var(--line-soft);background:#fff}
.note-card .nc-title{font-weight:600;font-size:14px;color:var(--ink);display:flex;align-items:center;gap:9px}
.note-card .nc-title .dot{width:8px;height:8px;border-radius:50%;background:var(--brand)}
.nc-badge{font-family:'Geist Mono',ui-monospace,monospace;font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ok);background:var(--ok-50);padding:5px 9px;border-radius:6px;white-space:nowrap}
.note-card .nc-body{padding:16px 18px;display:flex;flex-direction:column;gap:13px}
.soap-block{padding:0}
.soap-block:last-child{border-bottom:0;padding-bottom:0}
.soap-label{font-family:'Geist Mono',ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:4px}
.soap-text{font-size:13.5px;color:var(--ink-2);line-height:1.5;font-family:'Geist',system-ui,sans-serif}
.soap-text .flag{background:var(--warn-50);color:var(--warn);padding:1px 5px;border-radius:4px;font-weight:500}
.nc-foot{display:flex;align-items:center;gap:10px;padding:13px 18px;border-top:1px solid var(--line-soft);background:#fbfcfe}
.nc-foot .mini{font-family:'Geist Mono',ui-monospace,monospace;font-size:11px;color:var(--ink-faint)}
.nc-copy{margin-left:auto;font-size:13px;font-weight:600;color:#fff;background:var(--brand);padding:8px 13px;border-radius:7px;display:inline-flex;align-items:center;gap:6px}
/* note-card tabs — mirror the app's SOAP Note / Patient / Clinical Review / Transcript row */
.nc-tabs{display:flex;gap:2px;padding:9px 14px 0;background:#fff;border-bottom:1px solid var(--line-soft);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.nc-tabs::-webkit-scrollbar{display:none}
.nc-tab{font-size:12.5px;font-weight:500;color:var(--ink-faint);padding:8px 11px;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:default}
.nc-tab.active{color:var(--brand);font-weight:600;border-bottom-color:var(--brand)}

/* trust strip */
.trust{border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);background:var(--cool)}
.trust .wrap{display:flex;flex-wrap:wrap;gap:var(--s4) var(--s6);justify-content:space-between;align-items:center;padding-top:18px;padding-bottom:18px}
.trust-item{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:500;color:#465468}
.trust-item svg{color:var(--brand);flex:0 0 auto}

/* how it works — numbered steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s5);counter-reset:step;list-style:none;margin:0;padding:0}
.step-card{position:relative;background:var(--surface);border:1px solid #e9edf3;border-radius:var(--radius);
  padding:26px;box-shadow:none}
.step-num{width:38px;height:38px;border-radius:10px;background:var(--brand-50);color:var(--brand);
  font-family:'Geist Mono',ui-monospace,monospace;font-weight:600;font-size:16px;
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;box-shadow:none}
.step-card h3{margin-bottom:6px}
.step-card p{margin:0;color:var(--ink-3);font-size:14.5px}
.step-connector{display:none}

/* anatomy / annotated sample */
.anatomy{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px);align-items:stretch}
.anatomy .note-card{background:var(--surface);border-color:#e4e9f0;display:flex;flex-direction:column}
.anatomy .note-card .nc-body{flex:1 1 auto}
.anno-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:22px}
.anno-list li{display:flex;gap:14px;align-items:flex-start}
.anno-dot{flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:#fff;color:var(--brand);
  display:flex;align-items:center;justify-content:center;border:1px solid #dde6f3}
.anno-list h4{margin:4px 0 0}
.anno-list p{margin:6px 0 0;font-size:14px;color:var(--ink-3);line-height:1.55}

/* features — alternating editorial rows */
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px);align-items:center;
  padding:var(--s6) 0;border-top:1px solid var(--line-soft)}
.feature-row:first-child{border-top:0}
.feature-row.flip .feat-copy{order:2}
.feature-row.flip .feat-visual{order:1}
.feat-copy h3{margin-bottom:var(--s3);font-weight:600}
.feat-copy p{color:var(--ink-3);margin-bottom:var(--s3);font-size:15.5px;line-height:1.6}
.feat-bullets{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.feat-bullets li{display:flex;gap:10px;align-items:center;font-size:14.5px;color:var(--ink-2)}
.feat-bullets svg{color:var(--ok);flex:0 0 auto}
.feat-tag{display:inline-block;font-family:'Geist Mono',ui-monospace,monospace;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:var(--brand);background:var(--brand-50);padding:5px 10px;border-radius:6px;margin-bottom:var(--s3)}
.feat-visual .panel{background:var(--surface);border:1px solid #e6ebf2;border-radius:var(--radius);
  box-shadow:0 16px 40px -26px rgba(20,40,80,.34);padding:20px}
.panel-h{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:var(--s3)}
.style-row{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:11px 0;border-bottom:1px solid #f0f3f8;font-size:13.5px}
.style-row:last-child{border-bottom:0}
.style-row span:first-child{color:var(--ink-3)}
.style-row .val{font-weight:600;color:var(--ink);font-size:13.5px}
.review-item{display:flex;gap:10px;align-items:flex-start;padding:0 0;font-size:13.5px;margin-bottom:12px}
.review-item:last-child{border-bottom:0;margin-bottom:0}
.review-item span:last-child{color:var(--ink-2);line-height:1.5}
.review-item .tag{flex:0 0 auto;font-family:'Geist Mono',ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  padding:4px 7px;border-radius:5px;margin-top:1px}
.tag.flag{background:var(--warn-50);color:var(--warn)}
.tag.missing{background:#eef1f6;color:#5a6b82}
.tag.plan{background:#eaf0fd;color:var(--brand)}
.review-disc{font-size:11.5px;color:var(--ink-faint);margin:14px 0 0;padding-top:12px;border-top:1px solid #f0f3f8;font-style:normal;line-height:1.5}
.signal-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:9px;font-size:13.5px;color:var(--ink-3);background:var(--cool);margin-bottom:10px}
.signal-row:last-child{border-bottom:0;margin-bottom:0}
.signal-row.online{color:#1f6f4c;background:var(--ok-50);font-weight:600}
.signal-row .ico{display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--ink-faint)}
.signal-row.online .ico{color:var(--ok)}
.ehr-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid #e0e6ee;border-radius:20px;background:#fff;font-size:13px;font-weight:500;color:var(--ink-2);margin:8px 6px 0 0}

/* comparison table */
.table-scroll{overflow-x:auto;border:1px solid #e4e9f0;border-radius:var(--radius);box-shadow:none;background:var(--surface)}
table.compare{width:100%;border-collapse:collapse;min-width:640px;font-size:14px}
table.compare th,table.compare td{padding:14px 18px;text-align:left;border-bottom:1px solid #f2f5f9}
table.compare thead th{font-size:13px;font-weight:500;color:var(--ink-3);background:var(--surface);vertical-align:bottom;border-bottom:1px solid var(--line-soft)}
table.compare thead th.us{color:var(--ink);font-weight:700;background:var(--brand-50)}
table.compare tbody th{font-weight:600;color:var(--ink-2)}
table.compare td.us{background:#f7faff;font-weight:600}
table.compare tr:last-child td,table.compare tr:last-child th{border-bottom:0}
.yes{color:var(--ok);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.no{color:var(--ink-faint);font-weight:500}
.cell-note{display:block;font-size:12.5px;color:var(--ink-faint);font-weight:500;margin-top:1px}

/* pricing */
.price-card{max-width:440px;margin:0 auto;background:var(--surface);border:1px solid #e4e9f0;
  border-radius:18px;box-shadow:var(--shadow-lg);padding:34px 30px;text-align:center}
.price-top{display:flex;align-items:baseline;gap:6px;justify-content:center;margin-bottom:var(--s2)}
.price-amount{font-size:56px;font-weight:600;letter-spacing:-.04em;line-height:1;color:var(--headline)}
.price-per{font-size:17px;color:var(--ink-3);font-weight:500}
.price-card .sub{color:var(--ink-3);margin-bottom:var(--s5);font-size:14.5px}
.price-card .btn{width:100%;margin-bottom:var(--s3);box-shadow:0 8px 20px -8px rgba(35,83,214,.55)}
.price-card .fineprint{text-align:center;font-size:12px;color:var(--ink-faint);margin:0}
.price-list{list-style:none;margin:var(--s5) 0 0;padding:var(--s5) 0 0;border-top:1px solid var(--line-soft);display:flex;flex-direction:column;gap:13px;text-align:left}
.price-list li{display:flex;gap:11px;align-items:center;font-size:14.5px;color:var(--ink-2)}
.price-list svg{color:var(--ok);flex:0 0 auto}

/* FAQ */
.faq{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq details{border:1px solid #e6ebf2;border-radius:12px;background:var(--surface);
  box-shadow:none;overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:600;font-size:15.5px;color:var(--ink);
  display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .chev{flex:0 0 auto;color:var(--ink-faint);transition:transform .2s}
.faq details[open] summary .chev{transform:rotate(180deg)}
.faq details[open] summary{border-bottom:0}
.faq .answer{padding:0 20px 16px;color:var(--ink-3);font-size:14.5px;line-height:1.6}
.faq .answer p{margin:0 0 10px}
.faq .answer p:last-child{margin:0}

/* final CTA band — dark navy */
.cta-band{background:#15233b;color:#fff;border-radius:22px;padding:clamp(40px,6vw,68px) clamp(28px,5vw,56px);
  text-align:center;box-shadow:var(--shadow-lg);position:relative;overflow:hidden;
  background-image:linear-gradient(160deg,#1b2f54 0%,#15233b 60%,#101b2e 100%)}
.cta-band h2{color:#fff;margin-bottom:var(--s3);position:relative}
.cta-band p{color:#aebbd2;max-width:480px;margin:0 auto var(--s5);font-size:18px;line-height:1.55;position:relative}
.cta-band .btn{background:#fff;color:var(--navy);position:relative;box-shadow:0 10px 30px -8px rgba(0,0,0,.4)}
.cta-band .btn:hover{background:#eef3fd;color:var(--navy)}
.cta-band .mini{margin-top:18px;color:#8595b0;font-size:12.5px;position:relative}

/* footer */
.site-footer{border-top:1px solid var(--line-soft);background:#fbfcfe;padding:48px 0 32px}
.foot-grid{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between;align-items:flex-start;margin-bottom:var(--s5)}
.foot-brand{max-width:360px}
.foot-brand .logo{margin-bottom:var(--s3)}
.foot-brand p{font-size:13.5px;color:var(--ink-3);margin:0;line-height:1.6}
.foot-links{display:flex;gap:56px;flex-wrap:wrap}
.foot-col h4,.foot-col h3{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-faint);margin-bottom:var(--s3)}
.foot-col a{display:block;color:var(--ink-3);font-weight:500;padding:6px 0;font-size:14px;min-height:24px}
.foot-col a:hover{color:var(--brand)}
.foot-bottom{border-top:1px solid var(--line-soft);padding-top:24px;margin-top:36px;display:flex;flex-wrap:wrap;gap:var(--s3) var(--s5);justify-content:space-between;align-items:flex-start}
.foot-bottom p{margin:0;font-size:13px;color:var(--ink-faint)}
.disclaimer{font-size:12px;color:#aab4c2;max-width:620px;line-height:1.6}

/* legal pages (privacy + terms share the template) */
.legal{max-width:var(--readw);margin:0 auto;padding:var(--s7) 0 var(--s8)}
.legal h1{font-size:clamp(30px,5vw,44px);margin-bottom:var(--s2)}
.legal .updated{font-family:'Geist Mono',ui-monospace,monospace;color:var(--ink-faint);font-size:13px;margin-bottom:var(--s6)}
.legal h2{font-size:21px;font-weight:600;color:var(--ink);margin:var(--s6) 0 var(--s3)}
.legal h3{font-size:17px;color:var(--ink);margin:var(--s5) 0 var(--s2)}
.legal p,.legal li{color:var(--ink-2);font-size:16px;line-height:1.7}
.legal ul{padding-left:22px;margin:0 0 var(--s4)}
.legal li{margin:6px 0}
.legal .note{background:#eff4fd;border:1px solid #d8e3fa;border-left:4px solid var(--brand);
  border-radius:12px;padding:18px 20px;margin:var(--s5) 0;color:var(--ink-2);font-size:15.5px}
.legal .note strong{color:var(--brand)}
.legal a{text-decoration:underline}

/* responsive */
@media(max-width:920px){
  .hero h1{margin-bottom:var(--s3)}
  .anatomy{grid-template-columns:1fr;gap:var(--s5)}
  .benefits{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:720px){
  .steps{grid-template-columns:1fr;gap:var(--s4)}
  .trust .wrap{gap:var(--s3) var(--s5);justify-content:flex-start}
}
@media(max-width:600px){
  .wrap{padding:0 var(--s4)}
  .section{padding:var(--s7) 0}
  .section-sm{padding:var(--s6) 0}
  .section-head{margin-bottom:var(--s6)}
  .benefits{grid-template-columns:1fr!important}
  .topbar .wrap{height:58px}
  .logo{font-size:16px}
  .navlinks .login{padding:10px 8px}
  .navlinks .btn{padding:11px 14px;min-height:44px}
  .price-card{padding:var(--s5)}
  .cta-row .btn{width:100%}
  .hero .cta-row{flex-direction:column;align-items:stretch}
}
