/* ==========================================================================
   ClinSupplyCompass — marketing homepage
   Aesthetic: clinical instrument-panel editorial. Warm paper neutrals, one
   deep clinical teal, Fraunces display + IBM Plex Sans/Mono. Calm and exact.
   ========================================================================== */

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --bg: #f6f4ef;
  --bg-raised: #fdfcfa;
  --bg-sunken: #efece4;
  --ink: #20281f;
  --ink-soft: #55604f;
  --line: #ddd8cc;
  --line-strong: #c4beae;

  --accent: #106e5a;
  --accent-strong: #0b5a49;
  --accent-soft: #e3ede7;
  --on-accent: #f4f8f4;

  --warn: #a06a1b;
  --ai: #56688a;
  --ai-soft: #e8ebf1;

  --shadow: 0 1px 2px rgb(32 40 31 / .06), 0 12px 32px -12px rgb(32 40 31 / .14);
  --radius: 10px;
  --shell: 1180px;

  /* instrument palette */
  --hv-teal: #11a899;
  --hv-teal-deep: #0a6f66;
  --hv-teal-bright: #3fd9c7;
  --hv-amber: #eda63f;
  --hv-rose: #d96a5b;
}

[data-theme="dark"] {
  --bg: #171b17;
  --bg-raised: #1e241f;
  --bg-sunken: #121613;
  --ink: #e7eae0;
  --ink-soft: #a3ac99;
  --line: #2d342b;
  --line-strong: #414a3e;

  --accent: #47b394;
  --accent-strong: #63c6a9;
  --accent-soft: #1e2f28;
  --on-accent: #0e1f1a;

  --warn: #d0a04c;
  --ai: #93a4c4;
  --ai-soft: #232a37;

  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .5);
}

/* ---- base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: .6rem 1rem; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.section-lede { color: var(--ink-soft); max-width: 46rem; margin-top: 1rem; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .97rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; text-align: center; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand-word { font-family: var(--font-display); font-size: 1.14rem; letter-spacing: -.01em; }
.brand-word b { font-weight: 600; color: var(--accent-strong); }

.site-nav { display: flex; gap: 1.15rem; margin-left: auto; }
.site-nav a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: .3rem 0; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.nav-glossary, .nav-app { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn-header { padding: .7rem 1.1rem; font-size: .9rem; white-space: nowrap; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  cursor: pointer; transition: border-color .18s ease;
}
.theme-toggle:hover { border-color: var(--ink); }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.nav-burger { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before {
  /* faint dot grid — instrument-panel texture, no gradients */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .45;
  mask-image: linear-gradient(105deg, transparent 44%, black 72%);
  -webkit-mask-image: linear-gradient(105deg, transparent 44%, black 72%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative;
}
.hero-sub { margin-top: 1.4rem; font-size: 1.13rem; color: var(--ink-soft); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }

.hero-visual { position: relative; }
.network-svg { display: block; width: 100%; height: auto; }
.visual-caption {
  margin-top: .8rem; font-family: var(--font-mono); font-size: .76rem;
  color: var(--ink-soft); line-height: 1.5; max-width: 24rem;
}

/* shared instrument base */
.instrument-svg { display: block; width: 100%; height: auto; }

/* ---------- contact parity instrument (light card family) ---------- */
.hv-card {
  fill: var(--bg-raised); stroke: var(--line);
  filter: drop-shadow(0 8px 20px rgb(28 40 34 / .14));
}
.hv-topline { fill: var(--hv-teal); }
.hv-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; fill: var(--ink-soft); }
.hv-legend { font-family: var(--font-mono); font-size: 8px; letter-spacing: .06em; fill: var(--ink-soft); }
.hv-file rect { fill: var(--bg-sunken); stroke: var(--line-strong); stroke-width: 1.2; }
.hv-file text { font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; fill: var(--ink); font-weight: 500; }
.hv-route {
  stroke: var(--hv-teal); stroke-width: 1.8; stroke-dasharray: 3 4;
  animation: hv-flow 1.1s linear infinite;
}
.hv-mk { fill: var(--hv-teal); }
.hv-depot rect { fill: var(--hv-teal); filter: drop-shadow(0 0 6px rgba(17, 168, 153, .45)); }
.hv-depot text { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .08em; fill: #ffffff; }
.hv-flagline { stroke: var(--line-strong); stroke-width: 1.1; stroke-dasharray: 2 3; }
.hv-badge {
  fill: var(--hv-teal); stroke: var(--hv-teal-bright); stroke-width: 1.4;
  filter: drop-shadow(0 0 9px rgba(17, 168, 153, .5));
}
.hv-badge-text { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; font-weight: 600; fill: #ffffff; }
.contact-visual { margin-top: 1.8rem; max-width: 27.5rem; }

/* ---------- hero dashboard ---------- */
.db-card {
  fill: var(--bg-raised); stroke: var(--line);
  filter: drop-shadow(0 10px 24px rgb(28 40 34 / .16));
}
.db-colhead { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--ink-soft); font-weight: 500; }
.db-legend { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em; fill: var(--ink-soft); }
.db-cell { animation: db-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.db-cell-h { fill: var(--hv-teal); }
.db-cell-t { fill: var(--hv-amber); }
.db-cell-c { fill: var(--hv-rose); animation: db-pop .5s cubic-bezier(.2,.9,.3,1.2) both, hv-pulse 2.4s 1s ease-in-out infinite; }
.db-cellnum { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; fill: var(--ink); }
.db-cellnum--light { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; fill: #ffffff; }
.db-depot--a { fill: var(--hv-teal-deep); }
.db-depot--b { fill: var(--hv-teal); }
.db-depot--c { fill: var(--hv-amber); }
.db-depot { filter: drop-shadow(0 3px 8px rgb(20 45 38 / .28)); }
.db-depot-icon { fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linejoin: round; }
.db-depot-icon--c { stroke: #3d2a10; }
.db-depotcode { font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: .1em; fill: #ffffff; }
.db-depotcode--c { fill: #3d2a10; }
.db-chip rect, .db-chip { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.1; }
.db-chiptext { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .05em; fill: var(--ink); }
.db-chiptext--muted { fill: var(--ink-soft); }
.db-route { stroke: var(--hv-teal); stroke-width: 2; stroke-dasharray: 4 5; animation: hv-flow 1.1s linear infinite; }
.db-mk { fill: var(--hv-teal); }
.db-divider { stroke: var(--line); stroke-width: 1; }
.db-staticon--a { fill: var(--hv-teal-deep); }
.db-staticon--b { fill: var(--hv-teal); }
.db-staticon--c { fill: var(--hv-amber); }
.db-staticon { filter: drop-shadow(0 3px 7px rgb(20 45 38 / .25)); }
.db-staticon-stroke { fill: none; stroke: #ffffff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.db-statnum { font-family: var(--font-display); font-size: 21px; font-weight: 600; fill: var(--ink); }
.db-statlabel { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; fill: var(--ink-soft); }
.db-flagchip { fill: var(--hv-amber); filter: drop-shadow(0 2px 6px rgb(180 120 30 / .4)); }
.db-flagtext { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; fill: #3d2a10; }
.db-vline { stroke: var(--hv-amber); stroke-width: 1.2; stroke-dasharray: 3 3; }
.db-axis { stroke: var(--line-strong); stroke-width: 1; }
.db-baseline { fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-dasharray: 5 4; }
.db-actual {
  fill: none; stroke: var(--hv-teal); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(17, 168, 153, .55));
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: hv-draw 1.6s .4s ease-out forwards;
}
.db-actual-leg { stroke: var(--hv-teal); stroke-width: 3; stroke-linecap: round; }
.db-actualdot { fill: var(--hv-teal); }
.db-actualring { fill: none; stroke: var(--hv-teal); stroke-width: 1.6; animation: hv-pulse 2.2s ease-in-out infinite; }
.db-statustext { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; fill: var(--ink); font-weight: 500; }
.db-pulse { animation: hv-pulse 2.6s ease-in-out infinite; }

/* ---------- roadmap cold chain ---------- */
.coldchain { max-width: 27rem; width: 100%; }
.cc-foil rect { fill: #c7ced2; stroke: #9aa4aa; stroke-width: 1.3; }
[data-theme="dark"] .cc-foil rect { fill: #6d7a80; stroke: #57646a; }
.cc-foilhatch { stroke: rgba(255, 255, 255, .5) !important; stroke-width: 2; fill: none !important; }
.cc-snowbadge { fill: var(--hv-teal-deep) !important; stroke: none !important; filter: drop-shadow(0 2px 5px rgb(10 60 52 / .4)); }
.cc-snowflake path { stroke: #ffffff; stroke-width: 2; fill: none; stroke-linecap: round; }
.cc-lid { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1.4; }
.cc-body { fill: var(--hv-teal-deep); stroke: none; filter: drop-shadow(0 8px 18px rgb(10 60 52 / .3)); }
.cc-plate { fill: #f4f6f4; }
.cc-platearrows path { stroke: var(--hv-teal-deep); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cc-platesnow path { stroke: var(--hv-teal-deep); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.cc-logger { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1.4; filter: drop-shadow(0 6px 14px rgb(28 40 34 / .2)); }
.cc-screen { fill: #10201b; }
.cc-temp { font-family: var(--font-mono); font-size: 21px; font-weight: 600; fill: var(--hv-teal-bright); }
.cc-hum { font-family: var(--font-mono); font-size: 13px; font-weight: 500; fill: var(--hv-amber); }
.cc-blink { animation: hv-pulse 3s ease-in-out infinite; }
.cc-btn { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.cc-loglabel { font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; fill: var(--ink-soft); }
.cc-cable { fill: none; stroke: var(--hv-teal); stroke-width: 1.8; stroke-dasharray: 3 4; stroke-linecap: round; animation: hv-flow 1.1s linear infinite; }
.cc-pack { fill: #bfe8df; stroke: var(--hv-teal); stroke-width: 1.4; }
[data-theme="dark"] .cc-pack { fill: #1e4a41; }
.cc-packsnow path { stroke: var(--hv-teal-deep); stroke-width: 2.2; fill: none; stroke-linecap: round; }
[data-theme="dark"] .cc-packsnow path { stroke: var(--hv-teal-bright); }
.cc-packtext { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: var(--hv-teal-deep); }
[data-theme="dark"] .cc-packtext { fill: var(--hv-teal-bright); }
.cc-vial { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1.4; }
.cc-vialcap { fill: var(--hv-amber); stroke: none; }
.cc-vialtext { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; fill: var(--ink); }
.cc-vialsub { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: .1em; fill: var(--ink-soft); }
.cc-vialshield path { fill: var(--hv-teal); stroke: none; }
.cc-vialshield .cc-shieldcheck { fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@keyframes hv-flow { to { stroke-dashoffset: -14; } }
@keyframes hv-draw { to { stroke-dashoffset: 0; } }
@keyframes hv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes db-pop { from { opacity: 0; transform: scale(.6); transform-origin: center; transform-box: fill-box; } to { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; } } 50% { opacity: .35; } }

/* ==========================================================================
   Proof strip
   ========================================================================== */
.proof-strip { border-block: 1px solid var(--line); background: var(--bg-sunken); }
.proof-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
  padding: 1.4rem 0;
}
.proof-list li { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.proof-list b { display: block; color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Sections — shared rhythm
   ========================================================================== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 52rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

/* ==========================================================================
   Why — spectrum
   ========================================================================== */
.why-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.why-copy p + p { margin-top: 1.1rem; }
.why-kicker {
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4;
  color: var(--accent-strong);
  border-left: 3px solid var(--accent); padding-left: 1.1rem;
  margin-top: 1.6rem !important;
}
.why-spectrum { display: grid; gap: 0; border-left: 1px solid var(--line); }
.spectrum-item { padding: 1.35rem 0 1.35rem 1.6rem; position: relative; }
.spectrum-item + .spectrum-item { border-top: 1px dashed var(--line); }
.spectrum-item::before {
  content: ""; position: absolute; left: -5px; top: 1.85rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line-strong);
}
.spectrum-item--active {
  background: var(--bg-raised); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.spectrum-item--active::before { background: var(--accent); border-color: var(--accent); }
.spectrum-tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.spectrum-item--active .spectrum-tag { color: var(--accent-strong); }
.spectrum-item h3 { margin: .35rem 0 .3rem; }
.spectrum-item p { font-size: .95rem; color: var(--ink-soft); }

/* ==========================================================================
   Capabilities
   ========================================================================== */
.section-cap { background: var(--bg-raised); border-block: 1px solid var(--line); }

.cap-spotlights { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spotlight {
  display: grid; grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.4rem; padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.spotlight-num {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 400;
  color: var(--accent); line-height: 1;
}
.spotlight-body p { margin-top: .45rem; color: var(--ink-soft); max-width: 44rem; }

.cap-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.cap-band-head h3 { font-size: 1.55rem; }
.cap-band-head p { margin-top: .7rem; color: var(--ink-soft); font-size: .97rem; }
.cap-band-list { list-style: none; display: grid; gap: 1.05rem; }
.cap-band-list li { font-size: .97rem; color: var(--ink-soft); padding-left: 1.3rem; position: relative; }
.cap-band-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
}
.cap-band-list b { color: var(--ink); font-weight: 600; }

.cap-columns {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.cap-col-title {
  font-size: 1.05rem; font-family: var(--font-mono); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1.3rem;
}
.cap-dl { display: grid; gap: 1.25rem; }
.cap-dl dt { font-weight: 600; font-family: var(--font-body); }
.cap-dl dd { color: var(--ink-soft); font-size: .95rem; margin-top: .25rem; }

/* AI card — the one distinct, subordinate identity */
.ai-card {
  margin-top: 1.6rem;
  border: 1px dashed color-mix(in srgb, var(--ai) 55%, transparent);
  background: var(--ai-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.ai-tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ai); margin-bottom: .5rem;
}
.ai-card h3 { font-size: 1.15rem; }
.ai-card p:last-child { margin-top: .45rem; font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   Closed loop — showpiece
   ========================================================================== */
.section-loop { background: var(--bg-sunken); border-bottom: 1px solid var(--line); }

.loop-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.loop-svg { display: block; width: 100%; height: auto; }
.lp-ring path {
  fill: none; stroke: var(--hv-teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 5 7; animation: hv-flow 1.2s linear infinite;
}
.lp-mk { fill: var(--hv-teal); }
.lp-node { animation: db-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.lp-node circle { filter: drop-shadow(0 4px 10px rgb(15 50 42 / .3)); }
.lp-node--a { fill: var(--hv-teal-deep); }
.lp-node--b { fill: var(--hv-teal); }
.lp-node--c { fill: var(--hv-amber); }
.lp-num { font-family: var(--font-display); font-size: 26px; font-weight: 600; fill: #ffffff; }
.lp-num--dark { fill: #3d2a10; }
.lp-core {
  fill: var(--hv-teal-deep);
  filter: drop-shadow(0 0 14px rgba(17, 168, 153, .45));
}
.lp-corering { fill: none; stroke: var(--hv-teal); stroke-width: 1.6; animation: hv-pulse 2.6s ease-in-out infinite; }
.lp-coretitle { font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: .14em; fill: #ffffff; }
.lp-coresub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; fill: rgba(255, 255, 255, .75); }
.lp-label text, .lp-label tspan {
  font-family: var(--font-mono); font-size: 14.5px; font-weight: 600;
  letter-spacing: .1em; fill: var(--ink);
}

.loop-steps { list-style: none; counter-reset: loopstep; display: grid; gap: 1.05rem; }
.loop-steps li {
  counter-increment: loopstep;
  position: relative; padding-left: 3rem;
  font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft);
}
.loop-steps li::before {
  content: counter(loopstep);
  position: absolute; left: 0; top: .05rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  background: var(--hv-teal); border-radius: 50%;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff;
  box-shadow: 0 3px 8px rgb(15 50 42 / .25);
}
.loop-steps b { color: var(--ink); font-weight: 600; }

.house-rules { margin-top: clamp(2.5rem, 5vw, 4rem); }
.house-rules > h3 {
  font-size: 1.35rem; margin-bottom: 1.4rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line-strong);
}
.rules-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.rule { border-top: 3px solid var(--accent); padding-top: .9rem; }
.rule-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; margin-bottom: .35rem; }
.rule p:last-child { font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   Differentiation
   ========================================================================== */
.diff-rows { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 56rem; }
.diff-row { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.diff-row h3 { color: var(--accent-strong); font-size: 1.2rem; }
.diff-row p { margin-top: .6rem; color: var(--ink-soft); }

/* ==========================================================================
   Who it's for
   ========================================================================== */
.section-who { background: var(--bg-raised); border-block: 1px solid var(--line); }
.who-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.who-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.who-card:nth-child(even) { transform: translateY(14px); }
.who-card h3 { font-size: 1.22rem; }
.who-card p { margin-top: .55rem; font-size: .95rem; color: var(--ink-soft); }

/* ==========================================================================
   Trust & architecture
   ========================================================================== */
.trust-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.trust-grid .section-head { margin-bottom: 0; }
.trust-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.trust-list li { padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--ink-soft); }
.trust-list b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.roadmap-card {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; background: transparent;
}
.roadmap-status {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  border-radius: 99px; padding: .18rem .6rem; margin-bottom: .8rem;
}
.roadmap-card h3 { font-size: 1.1rem; }
.roadmap-card p { margin-top: .45rem; font-size: .92rem; color: var(--ink-soft); }

/* ==========================================================================
   Conversion
   ========================================================================== */
.section-convert { padding-block: clamp(4rem, 8vw, 7rem); }
.convert-inner {
  background: var(--ink); color: var(--bg);
  border-radius: 18px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.2rem, 5vw, 4rem);
}
[data-theme="dark"] .convert-inner { background: var(--bg-raised); color: var(--ink); border: 1px solid var(--line-strong); }
.eyebrow-invert { color: var(--accent); }
[data-theme="dark"] .eyebrow-invert { color: var(--accent); }
.convert-copy h2 { color: inherit; }
.convert-copy > p { margin-top: 1.1rem; opacity: .82; max-width: 38rem; }
.convert-steps { margin: 1.6rem 0 0 1.2rem; display: grid; gap: .55rem; font-size: .95rem; opacity: .82; }
.convert-actions { display: grid; gap: .85rem; align-content: center; }
.convert-actions .btn-outline { border-color: color-mix(in srgb, currentColor 40%, transparent); color: inherit; }
.convert-actions .btn-outline:hover { border-color: currentColor; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-sunken); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)) minmax(0, 3fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-tag { margin-top: 1rem; font-size: .9rem; color: var(--ink-soft); max-width: 20rem; }
.footer-col { display: grid; gap: .55rem; align-content: start; }
.footer-col h3 {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: .4rem;
}
.footer-col a { font-size: .92rem; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-cta { align-content: start; display: grid; gap: .9rem; }
.footer-cta p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; }
.footer-base { border-top: 1px solid var(--line); padding-block: 1.3rem; }
.footer-base p { font-size: .82rem; color: var(--ink-soft); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .proof-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 8px;
    cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-raised); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(20px, 4vw, 44px) 1rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open a { padding: .8rem 0; border-bottom: 1px dashed var(--line); font-size: 1rem; }
  .site-nav.is-open a:last-child { border-bottom: 0; }
  .site-nav.is-open .nav-glossary, .site-nav.is-open .nav-app { display: block; }
  .site-nav.is-open .nav-app-cta { color: var(--accent-strong); font-weight: 600; }
  .btn-header { display: none; }
}

@media (max-width: 880px) {
  .hero-grid, .why-grid, .loop-grid, .cap-columns, .trust-grid, .convert-inner, .cap-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; }
  .who-card:nth-child(even) { transform: none; }
  .loop-visual { max-width: 34rem; margin-inline: auto; }
}

@media (max-width: 620px) {
  .proof-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .roadmap-grid, .who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 48px 1fr; gap: 1rem; }
  .spotlight-num { font-size: 1.6rem; }
  .rules-row { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-section { padding-top: clamp(3rem, 6vw, 5rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.contact-title { font-size: clamp(2rem, 4vw, 2.9rem); }
.contact-lede { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.08rem; }
.contact-reasons { list-style: none; margin-top: 1.8rem; display: grid; gap: .9rem; }
.contact-reasons li { padding-left: 1.3rem; position: relative; font-size: .97rem; color: var(--ink-soft); }
.contact-reasons li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
}
.contact-reasons b { color: var(--ink); font-weight: 600; }
.contact-direct { margin-top: 1.4rem; font-size: .95rem; color: var(--ink-soft); }

.contact-form-wrap {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.contact-form-title { font-size: 1.45rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem;
}
.field-optional {
  font-family: var(--font-mono); font-weight: 400; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 8px;
  padding: .7rem .85rem; transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field-hint { margin-top: .35rem; font-size: .82rem; color: var(--ink-soft); }
.field-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.contact-submit { width: 100%; margin-top: .4rem; }
.contact-privacy { margin-top: .8rem; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); text-align: center; }
.form-status { margin-top: .9rem; font-size: .93rem; }
.form-status--error { color: var(--warn); }
.form-success {
  text-align: left; padding: 1rem 0;
}
.form-success h2 { color: var(--accent-strong); }
.form-success p { margin-top: .8rem; color: var(--ink-soft); }
.contact-noscript { margin-top: 1rem; font-size: .93rem; color: var(--warn); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer base: copyright + deployed ref
   ========================================================================== */
.footer-base { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.build-ref {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em;
  color: var(--ink-soft); white-space: nowrap;
}

/* ==========================================================================
   Capability rings overview
   ========================================================================== */
.cap-overview {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.cap-rings { max-width: 24rem; margin-inline: auto; width: 100%; }
.ring { stroke: none; mix-blend-mode: multiply; }
[data-theme="dark"] .ring { mix-blend-mode: screen; }
.ring--a { fill: #3fd9c7; fill-opacity: .8; }
.ring--b { fill: #11a899; fill-opacity: .85; }
.ring--c { fill: #0a6f66; fill-opacity: .85; }
.ring--d { fill: #eda63f; fill-opacity: .72; }
.ring-icon { stroke: #ffffff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .ring-icon { stroke: #0e1b17; }
.ring-icon-fill { fill: #ffffff; stroke: none; }
[data-theme="dark"] .ring-icon-fill { fill: #0e1b17; }
.cap-rings svg { filter: drop-shadow(0 10px 24px rgb(20 40 34 / .18)); }
.cap-overview-list { list-style: none; display: grid; gap: 1rem; }
.cap-overview-list li { padding-left: 1.3rem; position: relative; font-size: .97rem; color: var(--ink-soft); }
.cap-overview-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
}
.cap-overview-list b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Roadmap cold-chain illustration
   ========================================================================== */
.roadmap-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.roadmap-head .section-head { margin-bottom: 0; }


@media (max-width: 880px) {
  .cap-overview, .roadmap-head { grid-template-columns: 1fr; }
  .cap-rings { max-width: 19rem; }
  .coldchain { margin-inline: auto; }
}

/* ==========================================================================
   Section 04 — comparison matrix
   ========================================================================== */
.diff-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.diff-grid .diff-rows { max-width: none; }
.diff-visual { position: sticky; top: 100px; }
.mx-band { fill: var(--hv-teal); fill-opacity: .1; stroke: var(--hv-teal); stroke-opacity: .4; stroke-width: 1.2; }
.mx-cschip { fill: var(--hv-teal); filter: drop-shadow(0 3px 7px rgb(15 60 52 / .3)); }
.mx-colhead { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: var(--ink); }
.mx-colhead--light { fill: #ffffff; }
.mx-rowlabel { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; fill: var(--ink); }
.mx-rowlabel--soft { fill: var(--ink-soft); }
.mx-sep { stroke: var(--line); stroke-width: 1; }
.mx-yes { fill: var(--hv-teal); }
.mx-yes--big .mx-yes { fill: var(--hv-teal-deep); filter: drop-shadow(0 0 7px rgba(17, 168, 153, .55)); }
.mx-no { fill: var(--hv-rose); fill-opacity: .85; }
.mx-icon { fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Section 05 — four seats at the same table
   ========================================================================== */
.who-wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.who-visual { max-width: 25rem; margin-inline: auto; width: 100%; }
.st-table { fill: var(--hv-teal-deep); filter: drop-shadow(0 0 14px rgba(17, 168, 153, .4)); }
.st-tabletext { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; fill: #ffffff; }
.st-tablesub { font-family: var(--font-mono); font-size: 6.8px; letter-spacing: .12em; fill: rgba(255, 255, 255, .72); }
.st-seat { filter: drop-shadow(0 4px 10px rgb(15 50 42 / .3)); }
.st-seat--a { fill: var(--hv-teal-deep); }
.st-seat--b { fill: var(--hv-teal); }
.st-seat--c { fill: var(--hv-amber); }
.st-icon { fill: none; stroke: #ffffff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.st-seat--c + .st-icon, .st-seat--c ~ .st-icon { stroke: #3d2a10; }
.st-link { stroke: var(--hv-teal); stroke-width: 2; stroke-dasharray: 3 5; animation: hv-flow 1.2s linear infinite; }
.st-label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; fill: var(--ink); }

/* ==========================================================================
   Section 06 — trust instrument
   ========================================================================== */
.trust-left { display: grid; gap: 1.8rem; align-content: start; }
.trust-visual { max-width: 27rem; width: 100%; }
.tr-org { fill: var(--bg-sunken); stroke: var(--line-strong); stroke-width: 1.3; }
.tr-org--mine { fill: var(--hv-teal); fill-opacity: .16; stroke: var(--hv-teal); }
.tr-orgtext { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; fill: var(--ink-soft); }
.tr-orgtext--mine { fill: var(--accent-strong); }
.tr-wall { stroke: var(--hv-rose); stroke-width: 3; stroke-dasharray: 6 5; stroke-linecap: round; }
.tr-shield { fill: var(--hv-teal-deep); filter: drop-shadow(0 0 12px rgba(17, 168, 153, .45)); }
.tr-shieldcheck { fill: none; stroke: #ffffff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tr-shieldring { fill: none; stroke: var(--hv-teal); stroke-width: 1.6; animation: hv-pulse 2.6s ease-in-out infinite; }
.tr-role { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; fill: var(--ink); }
.tr-dot { fill: var(--hv-teal); }
.tr-dot--off { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.tr-block--a { fill: var(--hv-teal-deep); }
.tr-block--b { fill: var(--hv-teal); }
.tr-block { filter: drop-shadow(0 3px 8px rgb(15 50 42 / .28)); }
.tr-blocktext { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; fill: #ffffff; }
.tr-chain { stroke: var(--hv-teal); stroke-width: 2.4; }
.tr-lock rect, .tr-lock path { fill: none; stroke: var(--hv-amber); stroke-width: 1.8; stroke-linecap: round; }
.tr-mini { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em; fill: var(--ink-soft); }
.tr-mini--left { text-anchor: start; }

@media (max-width: 880px) {
  .diff-grid, .who-wrap { grid-template-columns: 1fr; }
  .diff-visual { position: static; max-width: 27rem; margin-inline: auto; }
  .trust-visual { margin-inline: auto; }
}
