/* ==========================================================================
   SaferMed — site.css
   Palette derived from the SaferMed logo: deep blue #176C9C, green #78B448.
   Alert red is reserved for one thing only: a dispense that SaferMed held.
   Type: Archivo (display) · Source Serif 4 (body) · IBM Plex Mono (clinical data)
   Signature: the patient timeline — order, then lab, then pull. The product's
   whole argument is that time passes between those three rows.
   ========================================================================== */

:root {
  --ink:        #0B2A3D;
  --ink-2:      #123E58;
  --ink-3:      #1C5474;
  --blue:       #176C9C;
  --blue-lt:    #3090C0;
  --green:      #6FA83F;
  --green-lt:   #84C048;
  --steel:      #E5EBEF;
  --paper:      #F7FAFB;
  --rule:       #C0CDD5;
  --rule-dark:  #23516B;
  --muted:      #556472;
  --muted-dark: #9DB6C4;
  --hold:       #C4301D;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --measure: 64ch;
  --max: 1180px;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  --step-1:  clamp(1.22rem, 1.14rem + 0.4vw, 1.44rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.8rem);
  --step-5:  clamp(3rem, 2rem + 4.6vw, 6rem);

  /* brand gradient — the shield's blue -> green, the site's signature device */
  --grad:      linear-gradient(105deg, var(--blue) 0%, var(--blue-lt) 38%, var(--green-lt) 100%);
  --grad-soft: linear-gradient(105deg, #124F73 0%, #176C9C 45%, #3C6A30 100%);
  --grad-line: linear-gradient(90deg, var(--blue) 0%, var(--green-lt) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--steel); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.022em; margin: 0; text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-ink :focus-visible, .section--ink :focus-visible { outline-color: var(--green-lt); }

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff;
  padding: 0.7rem 1rem; z-index: 100; font-family: var(--mono); font-size: var(--step--1); }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* offset in-page anchors for the sticky masthead */
[id] { scroll-margin-top: 90px; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper { background: var(--paper); }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.on-ink .eyebrow, .section--ink .eyebrow { color: var(--muted-dark); }
.on-ink .eyebrow::after, .section--ink .eyebrow::after { background: var(--rule-dark); }

.h-lg { font-size: var(--step-3); max-width: 22ch; margin-bottom: 1.25rem; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 56ch; color: var(--ink-2); }
.section--ink .lede, .on-ink .lede { color: #C7DAE4; }

.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; margin-bottom: 0.7rem; }
.prose h2 + h3 { margin-top: 1rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2.4rem; margin-bottom: 0.5rem; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.section--ink .prose p, .section--ink .prose li { color: #C7DAE4; }

.mono { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.02em; }
.note { font-family: var(--mono); font-size: 0.8rem; line-height: 1.6; color: var(--muted); }
.section--ink .note { color: var(--muted-dark); }

.todo {
  font-family: var(--mono); font-size: 0.82em; background: #FFF3C4; color: #6B4E00;
  border: 1px dashed #B08900; border-radius: 2px; padding: 0.05em 0.4em; font-style: normal;
}
.section--ink .todo { background: #4A3F13; color: #FFE99B; border-color: #907300; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: -0.01em; padding: 0.85rem 1.4rem;
  border: 1px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #12587F; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #5E9134; }

/* primary CTA — a single solid brand blue */
.btn--grad {
  background: var(--blue); color: #fff; border: none; position: relative;
  box-shadow: 0 6px 18px -10px rgba(11,42,61,0.6);
}
.btn--grad:hover { background: #12587F; transform: translateY(-1px); }
.btn--grad:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; border-radius: 4px; }

.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.section--paper .btn--ghost:hover, .section:not(.section--ink) .btn--ghost:hover { background: rgba(11,42,61,0.06); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(229,235,239,0.93); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 940px) { .brand img { height: 38px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  font-family: var(--display); font-size: 0.92rem; font-weight: 500;
  text-decoration: none; color: var(--ink-2);
  padding-block: 0.4rem; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav .btn { padding: 0.6rem 1rem; font-size: 0.88rem; }
.nav .btn:hover { border-bottom-color: transparent; }

.nav-toggle { display: none; }
@media (max-width: 940px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem; display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: none; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: none;
    border: 1px solid var(--rule); border-radius: 3px; font-family: var(--mono);
    font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.5rem 0.7rem; cursor: pointer; color: var(--ink);
  }
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3.5rem, 9vw, 6.5rem);
}
/* the brand gradient, bled across the hero as the signature device */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft);
  mask-image: radial-gradient(ellipse 110% 90% at 82% 8%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 110% 90% at 82% 8%, #000 0%, transparent 68%);
  opacity: 0.85; pointer-events: none;
}
/* faint dispensing-grid texture over the gradient */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 84px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 78% 12%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 78% 12%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: var(--step-4); font-weight: 700; letter-spacing: -0.028em;
  max-width: 18ch; margin-bottom: 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #9BE06A, #C6EF9E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: #DCEAF1; max-width: 56ch; }
.hero__ctx {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #B9D6E4;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-bottom: 1.7rem; padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 100px;
  background: rgba(255,255,255,0.06);
}
.hero__ctx .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-lt); }

/* ---------- error rail (horizontal scroll of caught doses) ---------- */
.rail__lead {
  font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-dark);
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 1.1rem;
}
.rail__lead span { color: var(--green-lt); }
.rail {
  list-style: none; margin: 0; padding: 0.25rem 0 1.25rem;
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--rule-dark) transparent;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--rule-dark); border-radius: 4px; }
.err {
  flex: 0 0 clamp(240px, 72vw, 290px); scroll-snap-align: start; position: relative;
  background: var(--ink-2); border: 1px solid var(--rule-dark);
  border-left: 3px solid var(--hold); border-radius: 3px;
  padding: 1.35rem 1.4rem 1.5rem;
}
.err__drug {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-lt); display: block; margin-bottom: 0.85rem;
}
.err__trig {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.1rem, 4vw, 1.28rem); line-height: 1.2; color: #fff; margin: 0 0 0.6rem;
}
.err__trig b { color: var(--green-lt); font-weight: 600; }
.err__risk { font-size: 0.92rem; line-height: 1.5; color: #C7DAE4; margin: 0; }
.err__chip {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #fff; background: var(--hold);
  border-radius: 2px; padding: 0.25rem 0.5rem; position: absolute; top: 1.2rem; right: 1.2rem;
}

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2rem); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--ink-2); }
.card__tag {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.9rem;
}
.card ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.card li { font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 0.5rem; }
.card li:last-child { margin-bottom: 0; }
.section--ink .card { background: var(--ink-2); border-color: var(--rule-dark); }
.section--ink .card p, .section--ink .card li { color: #C7DAE4; }
.section--ink .card h3 { color: #fff; }
.section--ink .card__tag { color: var(--green-lt); }

/* ---------- doors ---------- */
.doors { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 840px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { background: var(--paper); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: background-color 0.2s ease; }
.door:hover { background: #fff; }
.door:hover .door__go { gap: 1rem; color: var(--blue); }
.door__who { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.door h3 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.door p { color: var(--ink-2); font-size: 1rem; }
.door ul { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--rule); }
.door li { font-family: var(--mono); font-size: 0.82rem; padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.door__go { margin-top: auto; padding-top: 1.75rem; display: inline-flex; align-items: center;
  gap: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  transition: gap 0.2s ease, color 0.2s ease; }

/* ---------- ordered sequence ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--rule); }
.section--ink .steps { border-color: var(--rule-dark); }
.step { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr;
  gap: 0 1.5rem; padding-block: clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--rule); }
.section--ink .step { border-color: var(--rule-dark); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono);
  font-size: 0.8rem; letter-spacing: 0.1em; color: var(--blue); padding-top: 0.4rem; }
.section--ink .step::before { color: var(--green-lt); }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { max-width: 62ch; color: var(--ink-2); }
.section--ink .step p { color: #C7DAE4; }
.section--ink .step h3 { color: #fff; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
table.data caption { text-align: left; padding-bottom: 1rem; font-family: var(--mono);
  font-size: 0.8rem; color: var(--muted); }
table.data th, table.data td { text-align: left; padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 400; }
.section--ink table.data th, .section--ink table.data td { border-color: var(--rule-dark); }
.section--ink table.data td { color: #C7DAE4; }
.section--ink table.data th { color: var(--muted-dark); }

/* ---------- fact strip ---------- */
.strip { display: grid; gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.strip > div { background: var(--ink-2); padding: 1.4rem; }
.strip dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted-dark); margin-bottom: 0.6rem; }
.strip dd { margin: 0; font-size: 0.98rem; color: var(--paper); }

/* ---------- team ---------- */
.people { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person { border-top: 2px solid var(--green); padding-top: 1.2rem; }
.person h3 { font-size: var(--step-1); margin-bottom: 0.2rem; }
.person .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.person p { font-size: 0.96rem; color: var(--ink-2); }
.section--ink .person p { color: #C7DAE4; }
.section--ink .person .role { color: var(--muted-dark); }

/* ---------- references ---------- */
.refs { list-style: none; counter-reset: ref; padding: 0; margin: 0; }
.refs li { counter-increment: ref; position: relative; padding: 1rem 0 1rem 2.75rem;
  border-bottom: 1px solid var(--rule); font-size: 0.94rem; line-height: 1.55; }
.refs li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; top: 1rem;
  font-family: var(--mono); font-size: 0.78rem; color: var(--blue); }
.refs a { color: var(--blue); white-space: nowrap; }

/* ---------- callout ---------- */
.callout { border-left: 3px solid var(--green); background: var(--paper);
  padding: 1.25rem 1.5rem; border-radius: 0 3px 3px 0; }
.section--ink .callout { background: var(--ink-2); }

/* ---------- form ---------- */
.form { max-width: 620px; }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; padding: 0.75rem 0.85rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- page head ---------- */
.pagehead { background: var(--ink); color: var(--paper); padding-block: clamp(2.75rem, 7vw, 5rem); }
.pagehead h1 { font-size: var(--step-3); max-width: 24ch; margin-bottom: 1.2rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #AFC6D2; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  font-size: 0.92rem; }
.footer a { color: #DCE9EF; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark); }
.footer h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.6rem; }
.footer__base { padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; font-family: var(--mono); font-size: 0.75rem; color: var(--muted-dark); }
.footer__base a { color: var(--muted-dark); }
.footer img { height: 30px; width: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* footer lockup: the logo is used unaltered, on a white chip.
   Ask your designer for an official reverse/knockout version and swap it in here. */
.brand-chip { display: inline-block; background: #fff; padding: 0.6rem 0.9rem;
  border-radius: 6px; }
.brand-chip img { height: 40px; width: auto; }

/* ==========================================================================
   BOLD-BRANDED LAYER  (single-page, health-systems focus)
   ========================================================================== */

/* gradient hairline used as a section divider / accent */
.grad-rule { height: 4px; border: 0; margin: 0; background: var(--grad-line); }

/* eyebrow gets a gradient tick for extra brand presence */
.eyebrow--brand { color: var(--blue); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.13em; margin-bottom: 1.1rem; }
.eyebrow--brand::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--grad-line); flex: 0 0 auto;
}
.eyebrow--brand::after { display: none; }
.section--ink .eyebrow--brand { color: var(--green-lt); }

/* section headings — confident but not oversized */
.h-xl { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.026em;
  max-width: 24ch; margin-bottom: 1.15rem; }
.section--ink .h-lg, .section--ink .h-xl { color: #fff; }
.text-grad {
  background: var(--grad-line); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- gradient stat band ---------- */
.statband { background: var(--grad-soft); color: #fff; position: relative; overflow: hidden; }
.statband::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.statband .wrap { position: relative; z-index: 1; }
.stats { display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat__num { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1; margin-bottom: 0.6rem; }
.stat__lab { font-size: 1rem; line-height: 1.45; color: #E4F0F6; max-width: 30ch; }
.stat + .stat, .stat { position: relative; }
@media (min-width: 720px) {
  .stat:not(:first-child) { padding-left: clamp(1.5rem, 3vw, 2.5rem); }
  .stat:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 0.4rem; bottom: 0.4rem;
    width: 1px; background: rgba(255,255,255,0.25); }
}

/* ---------- pillars (what SaferMed does) ---------- */
.pillars { display: grid; gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.75rem; }
.pillar {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.1rem); position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad-line); }
.pillar__n { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 1rem; }
.pillar h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.pillar p { font-size: 0.98rem; color: var(--ink-2); }

/* ---------- benefit list (why it matters) ---------- */
.benefits { list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px;
  overflow: hidden; }
@media (min-width: 760px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { background: #fff; padding: clamp(1.4rem, 3vw, 1.9rem);
  display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: start; }
.benefits .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 0.15rem; }
.benefits .tick svg { width: 14px; height: 14px; }
.benefits h3 { font-size: 1.1rem; margin-bottom: 0.3rem; grid-column: 2; }
.benefits p { font-size: 0.95rem; color: var(--ink-2); grid-column: 2; }

/* ---------- trust band (compact) ---------- */
.trust { display: grid; gap: 1px; background: var(--rule-dark);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--rule-dark); border-radius: 6px; overflow: hidden; margin-top: 1.75rem; }
.trust > div { background: var(--ink-2); padding: 1.5rem 1.6rem; }
.trust dt { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #fff; margin-bottom: 0.35rem; }
.trust dd { margin: 0; font-size: 0.92rem; color: #C7DAE4; }

/* ---------- honesty callout ---------- */
.honest { border: 1px solid var(--rule); border-left: 5px solid var(--green);
  border-radius: 0 6px 6px 0; background: var(--paper); padding: clamp(1.75rem, 4vw, 2.5rem); }
.honest h2 { font-size: var(--step-2); margin-bottom: 0.8rem; }

/* ---------- contact CTA ---------- */
.cta { background: var(--grad-soft); color: #fff; position: relative; overflow: hidden;
  text-align: center; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -10%, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; max-width: 760px; }
.cta h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.028em; margin-bottom: 1rem; }
.cta p { font-size: var(--step-1); line-height: 1.5; color: #E4F0F6; margin-inline: auto; max-width: 46ch; }
.cta .btn-row { justify-content: center; }
.cta .btn--light { background: #fff; color: var(--ink); }
.cta .btn--light:hover { background: #EAF3F8; }
.cta .btn--ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.14); }
.cta__mail { display: inline-block; margin-top: 1.75rem; font-family: var(--mono);
  font-size: 0.9rem; color: #EAF3F8; }
.cta__mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta__partner { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 0.95rem; color: #DCEAF1; max-width: 52ch; margin-inline: auto; }

/* ---------- contact form (on the gradient CTA band) ---------- */
.cta__form { max-width: 640px; margin: 2.5rem auto 0; text-align: left; }
.cta__form .field-row { display: grid; gap: 0 1.1rem; }
@media (min-width: 560px) { .cta__form .field-row { grid-template-columns: 1fr 1fr; } }
.cta .field label { color: #EAF3F8; }
.cta .field input, .cta .field textarea {
  background: rgba(255,255,255,0.96); border-color: rgba(255,255,255,0.35);
}
.cta .field input:focus-visible, .cta .field textarea:focus-visible { outline-color: #fff; }
.cta__form button { margin-top: 0.4rem; }
.cta__status { margin-top: 1.1rem; font-family: var(--mono); font-size: 0.85rem;
  line-height: 1.5; color: #EAF3F8; }
