/* Public marketing shell and the clinician-led homepage. */
:root {
  --ed-paper: #faf8f3;
  --ed-ink: #102b40;
  --ed-navy: #08283d;
  --ed-body: #364949;
  --ed-sage: #e4e8dc;
  --ed-rule: #a3ad8f;
  --ed-line: #d6dacf;
  --ed-inset: clamp(20px, 3.2vw, 54px);
  --ed-serif: Georgia, "Times New Roman", serif;
}
html { background: var(--ed-paper); scroll-padding-top: 90px; }
body {
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.skip-link:not(:focus) { box-shadow: none; }
body ::selection { background: #d2debc; color: #132f40; }
body :focus-visible { outline: 3px solid #397ba9; outline-offset: 4px; }
.ed-topbar {
  position: sticky; top: 0; z-index: 60; background: var(--ed-paper);
  border-bottom: 1px solid transparent;
}
.ed-topbar.is-scrolled { border-color: var(--ed-line); }
.ed-nav-shell {
  max-width: 1600px; margin: auto; padding: 0 var(--ed-inset); min-height: clamp(70px, 6.4vw, 95px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ed-brand { display: inline-flex; align-items: center; gap: 16px; color: var(--ed-ink); }
.ed-brand img { width: clamp(65px, 6.8vw, 102px); height: auto; }
.ed-brand-type { padding-left: 16px; display: flex; flex-direction: column; border-left: 1px solid #a6aaa2; }
.ed-brand-type strong { font-size: clamp(21px, 1.95vw, 30px); font-weight: 720; line-height: 1.05; letter-spacing: -.045em; }
.ed-brand-type small { font-size: clamp(12px, .98vw, 15px); line-height: 1.3; }
.ed-nav { display: flex; gap: clamp(25px, 3.8vw, 64px); align-items: center; font-size: clamp(15px, 1.29vw, 19px); font-weight: 550; }
.ed-nav > a:not(.ed-action):is(:hover,[aria-current="page"]) { text-decoration: underline; text-decoration-color: #849773; text-underline-offset: 7px; }
.ed-nav-toggle, .ed-nav .ed-extra-nav { display: none; }
.ed-action {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--ed-navy); border-radius: 5px; background: var(--ed-navy); color: white;
  font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none;
}
.ed-action:hover { color: white; background: #19455d; }
.ed-nav .ed-action { font-size: clamp(14px, 1.16vw, 18px); }
.ed-kicker { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: clamp(14px, 1.27vw, 19px); font-weight: 670; color: #18435b; }
.ed-kicker::after { content: ""; height: 2px; width: clamp(34px, 4.5vw, 65px); background: var(--ed-rule); }
.ed-hero, .ed-workspace-grid, .ed-search-grid, .ed-standard-grid, .ed-next-inner, .ed-hosting, .ed-footer-grid, .ed-colophon {
  width: 100%; max-width: 1600px; margin-inline: auto;
}
.ed-hero { display: grid; grid-template-columns: 41.5% 58.5%; }
.ed-hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(44px, 4.2vw, 70px) clamp(14px, 1.35vw, 22px) clamp(44px, 4.2vw, 70px) var(--ed-inset); }
.page-index .ed-hero h1, .page-index main h2 {
  color: #112833; font-family: var(--ed-serif); font-weight: 400; line-height: 1.04;
  letter-spacing: -.054em; max-width: none; text-wrap: initial;
}
.page-index .ed-hero h1 { margin: clamp(22px, 2.2vw, 34px) 0 clamp(18px, 1.8vw, 30px); font-size: clamp(37px, 4.78vw, 77px); }
.ed-hero-copy > p { color: #36413f; font-size: clamp(16px, 1.36vw, 21px); line-height: 1.5; max-width: 42ch; margin: 0; }
.ed-hero-actions { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: clamp(24px, 2.55vw, 40px); }
.ed-hero-actions .ed-action { padding: 14px clamp(20px, 2.2vw, 34px); font-size: clamp(16px, 1.35vw, 21px); }
.ed-hero-actions small { font-size: 12px; color: #546361; }
.ed-hero-photo { width: 100%; height: 100%; min-height: 0; aspect-ratio: 868/538; object-fit: cover; object-position: 55% center; }
.ed-workspace { background: var(--ed-sage); overflow: hidden; }
.ed-workspace-grid { display: grid; grid-template-columns: 28% minmax(0, 1fr); gap: clamp(22px, 1.8vw, 30px); align-items: start; padding: clamp(32px, 3.2vw, 54px) max(18px, 1.4vw) 0 var(--ed-inset); }
.ed-workspace-copy { padding: clamp(24px, 3.2vw, 54px) 0 clamp(30px, 3.5vw, 60px); }
.page-index main h2 { font-size: clamp(38px, 3.65vw, 60px); margin: 0 0 18px; }
.ed-rule { display: block; width: 60px; height: 3px; background: var(--ed-rule); margin: 22px 0; }
.ed-workspace-copy > p, .ed-search-copy p, .ed-next-inner p { color: var(--ed-body); font-size: clamp(16px, 1.22vw, 19px); line-height: 1.62; max-width: 44ch; margin: 0 0 21px; }
.ed-text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--ed-ink); font-weight: 650; text-underline-offset: 5px; }
.ed-text-link:hover { text-decoration: underline; }
.ed-workspace-shot { margin: 0; min-width: 0; }
.ed-shot-trigger { display: block; position: relative; width: 100%; padding: 0; cursor: zoom-in; border: 0; background: #e2e7e5; overflow: hidden; }
.ed-workspace-shot .ed-shot-trigger { height: clamp(300px, 31.5vw, 495px); border-radius: 10px 10px 0 0; border: 3px solid white; border-bottom: 0; box-shadow: 0 5px 30px #23382e1c; }
.ed-workspace-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ed-enlarge { display: inline-flex; align-items: center; gap: 7px; position: absolute; bottom: 14px; right: 14px; background: #fff; color: var(--ed-navy); font-size: 12px; padding: 5px 10px; border-radius: 4px; border: 1px solid #bac6be; box-shadow: 0 2px 8px #16323d18; }
.ed-enlarge b { font-size: 16px; }
.ed-search-section { background: var(--ed-paper); }
.ed-search-grid, .ed-standard-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 6.5vw, 110px); padding: clamp(55px, 6.2vw, 100px) var(--ed-inset); }
.ed-search-copy h2, .ed-workflows-heading h2, .ed-next-inner h2 { margin-top: 21px !important; }
.ed-menu-shot { height: clamp(290px, 29vw, 460px); border-radius: 8px; border: 1px solid #b5c4c3; }
.ed-menu-shot img { width: 140%; max-width: none; height: auto; position: absolute; top: 0; right: 0; }
.ed-workflows { border-top: 1px solid var(--ed-line); }
.ed-standard-grid { align-items: start; padding-top: clamp(42px, 4vw, 68px); }
.ed-routes { border-top: 1px solid var(--ed-line); }
.ed-route { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--ed-line); }
.ed-route strong { display: block; font-size: clamp(18px, 1.45vw, 23px); font-weight: 620; }
.ed-route span span { display: block; font-size: 15px; color: var(--ed-body); margin-top: 3px; }
.ed-route .icon { width: 21px; height: 21px; color: #405e50; }
.ed-route:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ed-next { background: #e9eade; }
.ed-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(46px, 5vw, 80px) var(--ed-inset) 32px; }
.ed-next-inner p { max-width: 58ch; margin: 0; }
.ed-next-actions { flex: none; display: grid; justify-items: center; gap: 12px; }
.ed-hosting { color: var(--ed-body); padding: 0 var(--ed-inset) clamp(36px, 3.5vw, 55px); font-size: 14px; line-height: 1.6; }
.ed-hosting a { display: inline-block; margin-left: 7px; color: var(--ed-navy); text-decoration: underline; text-underline-offset: 3px; }
.ed-footer { background: var(--ed-paper); color: var(--ed-ink); border-top: 1px solid var(--ed-line); }
.ed-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 24px; padding: clamp(38px, 4.8vw, 74px) var(--ed-inset); }
.ed-footer h2 { font: 700 14px/1.4 system-ui, sans-serif; margin: 0 0 10px; letter-spacing: 0; color: var(--ed-ink); }
.ed-footer nav a { display: block; width: fit-content; padding: 3px 0; font-size: 14px; color: #405256; }
.ed-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-footer-intro p { max-width: 32ch; margin: 17px 0 0; color: #52625e; font-size: 15px; }
.ed-colophon { display: flex; justify-content: space-between; font-size: 12px; color: #546361; border-top: 1px solid var(--ed-line); padding: 18px var(--ed-inset); }
.screenshot-lightbox .lightbox-close, .screenshot-lightbox .lightbox-nav { color: white; }
@media (max-width: 860px) {
  .ed-nav-shell { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .ed-nav-toggle { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #bec8bc; border-radius: 4px; color: var(--ed-navy); background: transparent; cursor: pointer; }
  .ed-nav { display: none; position: absolute; z-index: 2; left: 0; right: 0; top: 100%; gap: 0; align-items: stretch; padding: 8px var(--ed-inset) 20px; background: var(--ed-paper); border-bottom: 1px solid var(--ed-line); max-height: calc(100dvh - 70px); overflow: auto; }
  .ed-nav.is-open { display: flex; flex-direction: column; }
  .ed-nav > a { padding: 10px 0; }
  .ed-nav .ed-extra-nav { display: block; }
  .ed-nav .ed-action { margin-top: 8px; }
}
@media (max-width: 740px) {
  .ed-hero { grid-template-columns: 1fr; }
  .ed-hero-copy { padding: 36px var(--ed-inset) 32px; }
  .page-index .ed-hero h1 { font-size: clamp(38px, 8.8vw, 64px); line-height: 1.06; margin: 18px 0; }
  .ed-hero-copy > p { max-width: 42ch; }
  .ed-hero-actions { margin-top: 21px; }
  .ed-hero-photo { aspect-ratio: 1.75; height: auto; }
  .ed-workspace-grid { grid-template-columns: 1fr; gap: 20px; padding: 33px var(--ed-inset) 0; }
  .ed-workspace-copy { padding: 0; }
  .ed-workspace-copy h2 br { display: none; }
  .ed-workspace-copy p { margin-bottom: 11px; }
  .ed-rule { margin: 13px 0; height: 2px; }
  .ed-workspace-shot .ed-shot-trigger { height: auto; max-height: 330px; }
  .ed-workspace-shot img { height: auto; }
  .ed-search-grid, .ed-standard-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px var(--ed-inset); }
  .ed-workflows-heading h2 br { display: none; }
  .ed-menu-shot { height: clamp(225px, 54vw, 350px); }
  .ed-next-inner { align-items: flex-start; flex-direction: column; gap: 21px; }
  .ed-next-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
  .ed-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .ed-footer-intro { grid-column: 1/-1; }
  .ed-colophon { gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
