/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/k3kQo8UDI-1M0wlSfdnoLmvDIaI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/9Bt43C1KxNDXMspQ1lPyU89-1h6ONRlW45G056IqUwCgblWm.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIoWQeCbA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/9Bt73C1KxNDXMspQ1lPyU89-1h6ONRlW45G8Wbc9dCWPRl-uFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Scrubbed Code — scrub teal, sterile white, wayfinding-sign type */
:root {
  --scrub: #2d7a6f;
  --scrub-deep: #12443d;
  --drape: #e4f0eb;
  --sterile: #f9fbfa;
  --steel: #5e6d6a;
  --ink: #132420;
  --line: #cfe0d9;
  --card: #ffffff;
  --sign-text: #ffffff;
  --link: #1f6a5f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --scrub: #4fa597;
    --scrub-deep: #0c2f2a;
    --drape: #15312c;
    --sterile: #0d1f1c;
    --steel: #9fb4ae;
    --ink: #e8f2ee;
    --line: #24443e;
    --card: #132925;
    --link: #7fcfc0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sterile);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Atkinson Hyperlegible", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--scrub); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.25rem; font-variation-settings: "wdth" 110; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.prose { max-width: 68ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--sterile); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.2rem/1 "Archivo", sans-serif; font-variation-settings: "wdth" 125; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a { color: var(--steel); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--scrub); }

/* Scrub-fabric band: a fine twill weave */
.scrubs {
  background-color: var(--scrub);
  background-image:
    repeating-linear-gradient(45deg, rgb(255 255 255 / 0.07) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.06) 0 1px, transparent 1px 7px);
  color: var(--sign-text);
}
@media (prefers-color-scheme: dark) { .scrubs { background-color: #1d5c53; } }

/* Home hero */
.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 5fr 6fr; } }
.hero h1 { font-variation-settings: "wdth" 125; }
.hero p { font-size: 1.2rem; max-width: 36ch; opacity: 0.95; }
.hero .contact { font-size: 1rem; }
.hero a { color: #fff; }

/* Hospital directory board */
.directory {
  background: #0f3a34;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 0 rgb(0 0 0 / 0.25), 0 24px 48px -24px rgb(0 0 0 / 0.5);
}
.directory h2 {
  font-size: 1rem; font-variation-settings: "wdth" 125; letter-spacing: 0.02em;
  padding: 10px 14px 12px; margin: 0; color: #bfe3d9; border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.directory ol { list-style: none; margin: 0; padding: 0; }
.directory li + li { border-top: 1px solid rgb(255 255 255 / 0.12); }
.directory a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-items: center;
  padding: 14px; color: #fff; text-decoration: none; border-radius: 8px;
}
.directory a:hover { background: rgb(255 255 255 / 0.07); }
.directory img { width: 56px; height: 56px; border-radius: 13px; grid-row: span 2; }
.directory .name { font: 700 1.25rem/1.2 "Archivo", sans-serif; font-variation-settings: "wdth" 118; }
.directory .what { color: #cfe6df; font-size: 0.98rem; line-height: 1.4; }
.directory .where { grid-column: 2; color: #9fd0c4; font-size: 0.9rem; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.alt { background: var(--drape); }
.intro { color: var(--steel); font-size: 1.15rem; max-width: 60ch; }

/* Feature rows: text beside one screenshot */
.feature { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.feature + .feature { margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 880px) {
  .feature { grid-template-columns: 2fr 3fr; gap: 56px; }
  .feature.flip > .shot { order: -1; }
  .feature.flip { grid-template-columns: 3fr 2fr; }
}
.feature ul { padding-left: 1.2em; margin: 0 0 1em; }
.feature li { margin-bottom: 0.4em; }
.tag { display: inline-block; font-weight: 700; font-size: 0.85rem; color: var(--scrub-deep); background: var(--drape); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .tag { color: var(--ink); } }

/* Screenshot frames */
.shot { margin: 0; }
.shot figcaption { color: var(--steel); font-size: 0.92rem; margin-top: 10px; }
.shot.mac img { border-radius: 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12), 0 22px 44px -20px rgb(0 0 0 / 0.45); }
.shot.device img, .shot img.device { border-radius: 26px; border: 9px solid #1a1d1c; box-shadow: 0 22px 44px -20px rgb(0 0 0 / 0.5); background: #1a1d1c; }
.shot.pair { display: grid; grid-template-columns: 2fr 3fr; gap: 18px; align-items: end; }
.shot.pair figcaption { grid-column: 1 / -1; }

/* App page header: a wayfinding sign */
.sign-head { padding-block: clamp(40px, 6vw, 72px); }
.sign { overflow-wrap: anywhere;
  display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center;
  background: #0f3a34; color: #fff; border-radius: 14px; padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 2px 0 rgb(0 0 0 / 0.25);
}
.sign img { width: clamp(72px, 10vw, 112px); height: auto; border-radius: 22%; }
.sign h1 { margin: 0 0 6px; font-variation-settings: "wdth" 125; }
.sign p { margin: 0; color: #cfe6df; font-size: 1.15rem; max-width: 52ch; }
.sign .platforms { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1px solid rgb(255 255 255 / 0.15); list-style: none; }
.sign .platforms li { font-size: 0.92rem; color: #fff; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 999px; padding: 3px 12px; }
.status { margin-top: 16px; font-size: 0.98rem; }

/* Support box */
.support { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .support { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.panel h3 { margin-bottom: 0.4em; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.mail { font-weight: 700; font-size: 1.1rem; }

/* Policies */
.policy h2 { margin-top: 1.6em; padding-top: 0.6em; border-top: 1px solid var(--line); }
.policy h3 { margin-top: 1.4em; }
.policy .effective { color: var(--steel); }
.toc { background: var(--drape); border-radius: 12px; padding: 18px 22px; margin: 24px 0 8px; }
.toc ul { margin: 0; padding-left: 1.2em; }

/* Footer */
.site-foot { background: var(--scrub-deep); color: #cfe6df; padding-block: 40px; font-size: 0.95rem; }
.site-foot a { color: #fff; }
.site-foot .wrap { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-foot h2 { font-size: 1rem; color: #fff; margin-bottom: 0.6em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot .fine { color: #9fc4ba; font-size: 0.88rem; }

@media (prefers-reduced-motion: no-preference) {
  .directory li { animation: board-in 420ms ease-out both; }
  .directory li:nth-child(2) { animation-delay: 90ms; }
  .directory li:nth-child(3) { animation-delay: 180ms; }
  @keyframes board-in { from { opacity: 0; transform: translateY(6px); } }
}
