@charset "utf-8";
/* ==========================================================================
   Hemovance — Clinical Authority design system
   Style:      Accessible & Ethical + Swiss Modernism 2.0
   Type:       Lexend (headings) / Source Sans 3 (body) — "Corporate Trust"
   Reference:  design-system/hemovance/MASTER.md
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Ink & surface */
  --ink:          #0B1F26;
  --ink-muted:    #3D5A63;
  --ink-faint:    #566F78;   /* passes 4.5:1 on --surface and --surface-alt alike */
  --surface:      #FFFFFF;
  --surface-alt:  #F6FAFB;
  --surface-tint: #ECF6F8;

  /* Brand — clinical teal (matches WoundClot Hospital carton) */
  --teal-900:     #083D4C;
  --teal-800:     #0A5468;
  --teal-700:     #0E7490;
  --teal-600:     #0891B2;
  --teal-200:     #A8D5E0;
  --teal-050:     #ECF6F8;

  /* Accents — used with discipline */
  --crimson:      #B3202B;   /* CTA + hemorrhage motif only */
  --crimson-dark: #8E1922;
  --amber-700:    #A16207;   /* EMS / First Responder line only */
  --amber-050:    #FEF9EC;

  --rule:         #D8E3E7;
  --rule-strong:  #B9CDD4;

  /* Spacing — 8px base unit */
  --space-1: 8px;   --space-2: 16px;  --space-3: 24px;  --space-4: 32px;
  --space-5: 40px;  --space-6: 48px;  --space-8: 64px;  --space-10: 80px;
  --space-12: 96px; --space-16: 128px;

  /* Type */
  --font-display: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.938rem);
  --step-0:  1.0625rem;                                    /* 17px body */
  --step-1:  clamp(1.188rem, 1.13rem + 0.28vw, 1.375rem);
  --step-2:  clamp(1.438rem, 1.32rem + 0.58vw, 1.813rem);
  --step-3:  clamp(1.75rem, 1.55rem + 1.00vw, 2.438rem);
  --step-4:  clamp(2.125rem, 1.78rem + 1.72vw, 3.313rem);
  --step-5:  clamp(2.5rem, 1.95rem + 2.75vw, 4.25rem);

  /* Layout */
  --wrap:    1200px;
  --wrap-narrow: 800px;
  --gutter:  clamp(20px, 5vw, 48px);

  /* Motion — Subtle tier */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur:      240ms;

  --shadow-sm: 0 1px 2px rgba(11, 31, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 38, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 38, 0.10);

  --radius:    4px;
  --radius-lg: 8px;
}

/* ----------------------------------------------------------- 2. Foundation */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); letter-spacing: -0.024em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 600; }

p  { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson); }

img, svg { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-6) 0; }

strong, b { font-weight: 700; }

sup { font-size: 0.7em; line-height: 0; vertical-align: super; }

/* Accessible focus — 3px ring, never removed */
:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--teal-200); color: var(--ink); }

.skip-link {
  position: absolute;
  left: var(--space-2); top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--space-2); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- 3. Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(56px, 8vw, var(--space-12)); }
.section--tight { padding-block: clamp(40px, 5vw, var(--space-8)); }
.section--alt  { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }
.section--dark {
  background: var(--teal-900);
  color: #E8F2F5;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: #fff; }

.prose { max-width: 68ch; }
.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 62ch;
}
.section--dark .lede { color: #B9D6DE; }

/* Section eyebrow — mono label with rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 var(--space-2);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 120px;
}
.section--dark .eyebrow { color: var(--teal-200); }
.section--dark .eyebrow::after { background: rgba(255,255,255,0.22); }

.section-head { margin-bottom: var(--space-6); }
.section-head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { display: none; }
.section-head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------- 4. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  padding: 6px 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: flex;
  align-items: center;
  padding: 10px 13px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

/* The in-nav CTA is the mobile fallback for the header button. */
.nav-list .nav-cta { display: none; }
.nav-list a:hover { color: var(--teal-800); background: var(--teal-050); }
.nav-list a[aria-current="page"] { color: var(--teal-800); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  margin-top: 34px;
  width: 18px;
  height: 2px;
  background: var(--crimson);
}
.nav-list li { position: relative; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-alt); }

/* Between the full-nav breakpoint and 1200px the tagline is dropped so the
   seven-item nav and the CTA still fit on one row without overflowing. */
@media (max-width: 1199px) {
  .brand-sub { display: none; }
}

@media (max-width: 1059px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-list .nav-cta { display: block; }
  .brand-sub { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    padding: var(--space-2) var(--gutter) var(--space-3);
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-list a[aria-current="page"] { border-left: 3px solid var(--crimson); padding-left: 12px; }
  .nav-list .nav-cta { margin-top: var(--space-2); }
  .nav-list .nav-cta a {
    background: var(--crimson); color: #fff; justify-content: center;
    border-radius: var(--radius); border-bottom: 0;
  }
  .nav-list .nav-cta a:hover { background: var(--crimson-dark); color: #fff; }
}

/* -------------------------------------------------------------- 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.btn--primary:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); color: #fff; }

.btn--secondary { background: transparent; color: var(--teal-800); border-color: var(--rule-strong); }
.btn--secondary:hover { background: var(--teal-050); border-color: var(--teal-700); color: var(--teal-800); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4);
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--teal-800);
  text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover { color: var(--crimson); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----------------------------------------------------------------- 6. Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  color: #E8F2F5;
  padding-block: clamp(56px, 9vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { color: #fff; }
.hero .lede { color: #B9D6DE; font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem); }

.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  margin-bottom: var(--space-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #DCEEF3;
}
.hero-flag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 3px rgba(179,32,43,0.28);
  flex-shrink: 0;
}

.hero-figure {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
}
.hero-figure img { border-radius: var(--radius); }
.hero-figure figcaption {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Stat rail */
.stat-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 860px) { .stat-rail { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: var(--space-4) var(--space-3);
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
@media (max-width: 860px) {
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { font-size: 0.5em; font-weight: 600; letter-spacing: -0.01em; }
.stat-label {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------- 7. Cards/grids */
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* Always two across — for grids nested inside a column, where auto-fit's
   min track width would otherwise collapse them to a single file. */
.grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .grid--pair { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.card h3 { font-size: var(--step-1); }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card--link:hover { border-color: var(--teal-600); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius);
  background: var(--teal-050);
  color: var(--teal-700);
}
.icon-badge svg { width: 22px; height: 22px; }

/* Mechanism sequence — the four A's */
.moa {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: moa;
}
@media (max-width: 980px) { .moa { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .moa { grid-template-columns: 1fr; } }

.moa-step {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border-top: 3px solid var(--rule);
  transition: border-color var(--dur) var(--ease);
}
.moa-step + .moa-step { border-left: 1px solid var(--rule); }
@media (max-width: 980px) {
  .moa-step:nth-child(2n+1) { border-left: 0; }
}
@media (max-width: 560px) {
  .moa-step + .moa-step { border-left: 0; }
}
.moa-step:hover { border-top-color: var(--teal-600); }
.moa-step::before {
  counter-increment: moa;
  content: "0" counter(moa);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.moa-step h3 { font-size: var(--step-1); margin-bottom: 10px; }
.moa-step p { font-size: 0.9375rem; color: var(--ink-muted); margin: 0; }
.moa-step .icon-badge { margin-bottom: 16px; }

/* Mechanism figure — the drawn gauze → gel → clot sequence.
   Artwork is generated into the empty <svg> elements by site.js. */
.mechfig {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: var(--space-6);
}
/* Three panels need ~300px each for the stage labels to stay on one line. */
@media (max-width: 960px) { .mechfig { grid-template-columns: 1fr; } }

.mechfig-panel { border-right: 1px solid var(--rule); }
.mechfig-panel:last-child { border-right: 0; }
@media (max-width: 960px) {
  .mechfig-panel { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mechfig-panel:last-child { border-bottom: 0; }
}

.mechfig-art {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--rule);
}
.mechfig-art svg { display: block; width: 100%; height: auto; }

/* Photographic variant. Source photographs differ in aspect and resolution, so
   each is cropped to a common frame rather than letterboxed. */
.mechfig--photo .mechfig-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--teal-900);
}
.mechfig--photo .mechfig-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@supports not (aspect-ratio: 4 / 3) {
  .mechfig--photo .mechfig-art { height: 240px; }
}

.mechfig-body { padding: var(--space-3); }
.mechfig-stage {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0;
}
.mechfig-stage::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal-600);
  flex-shrink: 0;
}
.mechfig-body h3 { font-size: 1.0625rem; margin: 12px 0 8px; }
.mechfig-body p { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-muted); margin: 0; }

.mechfig-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
  margin: calc(var(--space-6) * -1 + 14px) 0 var(--space-6);
}

/* Absorption comparison — single measure, two categories, direct-labelled.
   Bar widths are the true ratio: 400 / 2500 = 16%. */
.absorb {
  margin: 0 0 var(--space-6);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-4) clamp(20px, 3vw, 32px) var(--space-3);
}
.absorb-head { margin-bottom: var(--space-3); }
.absorb-head h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.absorb-head p { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

.absorb-row {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 660px) {
  .absorb-row { grid-template-columns: 1fr; gap: 9px; }
}
.absorb-name { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
.absorb-name span {
  display: block; font-weight: 400; font-size: 0.8125rem;
  color: var(--ink-faint); margin-top: 3px;
}

.absorb-track {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  border-left: 2px solid var(--rule-strong);
  padding-left: 2px;
}
.absorb-bar {
  height: 22px;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  flex-shrink: 0;
  min-width: 4px;
}
.absorb-bar--primary { background: var(--teal-700); }
.absorb-bar--base    { background: #7E939B; padding-right: 0; }

.absorb-val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.absorb-val--in  { color: #fff; }
.absorb-val--out { color: var(--ink-muted); }

/* Specification list */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.5;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  color: var(--teal-700);
}
.section--dark .spec-list li { border-bottom-color: rgba(255,255,255,0.15); }
.section--dark .spec-list .tick { color: var(--teal-200); }

/* --------------------------------------------------------------- 8. Tables */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
caption {
  caption-side: top;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
thead th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--surface-alt);
  white-space: nowrap;
}
tbody th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  width: 24%;
}

/* Key/value spec table (About "At a glance", Technology "Composition").
   The label column shrinks to its content and never breaks mid-label, so each
   row reads as one line of label beside one block of value. */
.spec-table { min-width: 0; }
.spec-table tbody th {
  width: 1%;                 /* with nowrap, collapses the column to content */
  white-space: nowrap;
  padding-right: 28px;
  vertical-align: top;
}
.spec-table tbody td { vertical-align: top; }

/* The card, not the viewport, decides whether there is room for two columns:
   the same table sits in a full-width card on phones and in a half-width card
   on tablets, and only the latter is cramped. Below ~440px of card width the
   label stacks above its value rather than squeezing the value into a sliver. */
.card { container-type: inline-size; }

@container (max-width: 440px) {
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table tbody th,
  .spec-table tbody td { display: block; width: auto; }

  .spec-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table tr:first-child { padding-top: 0; }

  .spec-table tbody th {
    white-space: normal;
    border-bottom: 0;
    padding: 0 0 5px;
    font-size: 0.875rem;
    color: var(--ink-muted);
  }
  .spec-table tbody td { border-bottom: 0; padding: 0; }
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.ref { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.02em; }

/* Comparison table — highlight the WoundClot column */
.compare thead th.is-featured,
.compare tbody td.is-featured {
  background: var(--teal-050);
  color: var(--ink);
  box-shadow: inset 1px 0 0 var(--teal-200), inset -1px 0 0 var(--teal-200);
}
.compare thead th.is-featured {
  color: var(--teal-900);
  box-shadow: inset 1px 0 0 var(--teal-200), inset -1px 0 0 var(--teal-200), inset 0 3px 0 var(--teal-600);
}
.compare tbody tr:last-child td.is-featured {
  box-shadow: inset 1px 0 0 var(--teal-200), inset -1px 0 0 var(--teal-200), inset 0 -1px 0 var(--teal-200);
}

/* Yes / No / Partial markers — never color alone (icon + text) */
.mark { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.mark svg { width: 16px; height: 16px; flex-shrink: 0; }
.mark--yes { color: #14682B; }
.mark--no  { color: var(--crimson); }
.mark--part{ color: var(--amber-700); }

/* ---------------------------------------------------------- 9. Product card */
.product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }

.product-media {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.line-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.line-tag--hospital { background: var(--teal-050); color: var(--teal-800); border: 1px solid var(--teal-200); }
.line-tag--ems      { background: var(--amber-050); color: var(--amber-700); border: 1px solid #EBD9A8; }

/* ------------------------------------------------------------- 10. Callouts */
.callout {
  border-left: 3px solid var(--teal-600);
  background: var(--surface-alt);
  padding: var(--space-3);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout--rx { border-left-color: var(--crimson); background: #FDF4F4; }
.callout h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.callout p { font-size: 0.9375rem; color: var(--ink-muted); }
.callout p:last-child { margin-bottom: 0; }

.note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-faint);
}
.note a { color: var(--ink-muted); }

/* Document availability badge — sets expectations on non-clickable literature cards */
.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 5px 11px 5px 9px;
  background: var(--teal-050);
  border: 1px solid var(--teal-200);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-800);
}
.doc-tag svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Markets strip */
.markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2); }
.market {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-900);
  min-height: 150px;
  display: flex;
  align-items: flex-end;
}
.market img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.75);
}
.market span {
  position: relative;
  padding: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.market::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,61,76,0.92) 0%, rgba(8,61,76,0.25) 60%, rgba(8,61,76,0.15) 100%);
}
.market span { z-index: 1; }

/* Photoless tile — carries an icon so it reads as intentional, not a failed image. */
.market--plain { background: var(--teal-800); }
.market--plain::after {
  background:
    radial-gradient(circle at 78% 26%, rgba(255,255,255,0.10) 0%, transparent 52%),
    linear-gradient(to top, rgba(8,61,76,0.88) 0%, rgba(8,61,76,0.30) 70%);
}
.market-icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  color: rgba(255,255,255,0.45);
  z-index: 1;
}

/* Specialty list */
.specialties { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.specialty { background: var(--surface); padding: var(--space-3); }
.specialty h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.specialty p { font-size: 0.9375rem; color: var(--ink-muted); margin: 0; }

/* ------------------------------------------------------------ 11. Accordion */
.accordion { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-trigger {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  min-height: 56px;
  padding: 18px 0;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.acc-trigger:hover { color: var(--teal-800); }
.acc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-800);
  padding-top: 5px;
  flex-shrink: 0;
  min-width: 26px;
}
.acc-trigger .chev {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--ink-faint);
  transition: transform var(--dur) var(--ease);
  margin-top: 3px;
}
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-panel { padding: 0 0 var(--space-3) 42px; }
.acc-panel[hidden] { display: none; }
.acc-panel p { color: var(--ink-muted); max-width: 72ch; }

/* ---------------------------------------------------------------- 12. Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9375rem; }
.field .hint { font-size: 0.8125rem; color: var(--ink-faint); }
.field .req { color: var(--crimson); font-weight: 700; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-faint); }
input:focus, select:focus, textarea:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.18);
  outline: none;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233D5A63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

/* Inline outcome message for the quote form. Shown only when the background
   submission fails, so the visitor gets a direct route instead of a dead end. */
.form-status {
  margin-top: var(--space-3);
  padding: 14px 18px;
  border-left: 3px solid var(--crimson);
  background: #FDF4F4;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
}
.form-status a { color: var(--crimson-dark); font-weight: 700; }

.checkbox-row { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-row input[type="checkbox"] { width: 24px; height: 24px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal-700); }
.checkbox-row label { font-weight: 400; font-size: 0.9375rem; color: var(--ink-muted); }

/* --------------------------------------------------------------- 13. Footer */
.site-footer {
  background: var(--ink);
  color: #A9C3CB;
  padding-block: var(--space-8) var(--space-4);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8FB3BE;
  margin: 0 0 var(--space-2);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 2px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #CFE0E5;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #6D909B; }
.footer-brand p { margin-top: var(--space-2); max-width: 40ch; color: #A9C3CB; }

.footer-legal {
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #7FA3AD;
}
.footer-legal p { max-width: 78ch; }
.rx-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CFE0E5;
  margin-bottom: 10px;
}

/* ------------------------------------------------------------------ 14. CTA */
.cta-band {
  background: var(--teal-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, var(--space-8));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #B9D6DE; max-width: 56ch; margin: 0; }
.cta-band .btn-row { margin-top: 0; }

/* ------------------------------------------------------- 15. Motion (subtle) */
/* Reveal only when JS is running, so content is never hidden without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------- 15b. Small-screen fit
   Short labels that must read as a single line get room to do so. */

/* Stat rail: a 2-column grid leaves ~150px per cell on a phone, which wraps
   every label to three lines. Below 480px, each stat becomes one row with the
   figure beside its label, so the label has ~200px and reads in one or two. */
@media (max-width: 480px) {
  .stat-rail { grid-template-columns: 1fr; }
  .stat-rail .stat {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .stat-rail .stat:last-child { border-bottom: 0; }
  .stat-rail .stat-value { flex: 0 0 116px; font-size: 1.875rem; }
  .stat-rail .stat-label { margin-top: 0; }
}

/* Buttons stack on very narrow screens; give each the full width so a
   long label stays on one line instead of breaking inside the button. */
@media (max-width: 400px) {
  .btn-row .btn { width: 100%; }
}

/* The hero pill keeps its regulatory half on phones and drops the tail. */
@media (max-width: 480px) {
  .hero-flag-ext { display: none; }
}

/* On the narrowest phones the figure's stage labels ("Stage 03 · Hemostasis")
   are a few pixels too wide for one line. Reclaim that from the panel's inner
   padding, the label's tracking and its leading bar, not from the type size. */
@media (max-width: 360px) {
  .mechfig-body { padding: 20px 18px; }
  .mechfig-stage { letter-spacing: 0.02em; gap: 7px; }
  .mechfig-stage::before { width: 12px; }
}

/* ------------------------------------------------------------ 16. Utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

@media print {
  .site-header, .cta-band, .nav-toggle, .skip-link { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
