/* =========================================================
   Infomedica — shared design system
   Calm authority · navy/slate · medical blue accent
   ========================================================= */

:root {
  /* Brand */
  --navy:       #122440;
  --navy-700:   #1A3257;
  --navy-600:   #25446E;
  --ink:        #16202E;
  --muted:      #586A82;
  --muted-soft: #7C8CA1;
  --line:       #E2E8F0;
  --line-soft:  #EDF1F6;

  /* Surfaces */
  --bg:         #FFFFFF;
  --bg-cool:    #F5F7FA;
  --bg-cool-2:  #EBF0F6;

  /* Accent — precise medical blue */
  --accent:     #0066CC;
  --accent-700: #0052A6;
  --accent-050: #E9F1FB;
  --accent-100: #D4E5F8;

  /* On-navy */
  --on-navy:        #EAF0F8;
  --on-navy-muted:  #9DB0CB;
  --on-navy-line:   rgba(255,255,255,0.12);

  /* Regulatory semantics */
  --reg-device:     #0066CC;
  --reg-device-bg:  #E9F1FB;
  --reg-neutral:    #5B6B82;
  --reg-neutral-bg: #EEF1F5;

  /* Type */
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --shadow-sm: 0 1px 2px rgba(18,36,64,0.06), 0 1px 3px rgba(18,36,64,0.05);
  --shadow-md: 0 2px 8px rgba(18,36,64,0.06), 0 12px 32px rgba(18,36,64,0.07);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-700); }
h1,h2,h3,h4 { margin: 0; line-height: 1.12; letter-spacing: -0.018em; font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--cool { background: var(--bg-cool); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.section--navy .eyebrow { color: #6FA8E8; }
.section--navy .eyebrow::before { background: #6FA8E8; }

/* ---------- Typographic scale ---------- */
.display { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.h2 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -0.022em; }
.h3 { font-size: clamp(20px, 2.1vw, 25px); letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); font-weight: 400; }
.section--navy .lead { color: var(--on-navy-muted); }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }

/* numerals */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 15.5px; font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn .ico { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted-soft); color: var(--ink); background: var(--bg-cool); }
.section--navy .btn--ghost { color: var(--on-navy); border-color: var(--on-navy-line); }
.section--navy .btn--ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
.hero .btn--ghost, .page-hero .btn--ghost { color: var(--on-navy); border-color: var(--on-navy-line); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn-arrow { transition: transform .16s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { height: 27px; width: auto; display: block; }
.brand__logo--footer { height: 30px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--muted-soft); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  color: var(--ink); font-size: 15px; font-weight: 450;
  padding: 8px 13px; border-radius: var(--r-sm); white-space: nowrap;
  transition: background .14s ease, color .14s ease;
}
.nav a:hover { background: var(--bg-cool); color: var(--ink); }
.nav a.is-active { color: var(--accent); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
}
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 6px 11px; color: var(--muted); font-family: inherit; font-size: inherit;
  font-weight: 500; transition: background .14s ease, color .14s ease;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none; appearance: none; background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-sm); width: 42px; height: 38px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding-block: 64px 38px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--on-navy-line);
}
.footer-col h4 {
  color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { color: var(--on-navy-muted); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-about .brand__name { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 36ch; }
.footer-tagline { font-weight: 600; color: #fff; font-size: 18px; letter-spacing: -0.01em; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding-top: 26px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--on-navy-muted); font-size: 13.5px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--on-navy-muted); font-size: 13.5px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  font-weight: 500; padding: 5px 11px; border-radius: 999px; line-height: 1;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.pill--device  { background: var(--reg-device-bg); color: var(--accent-700); }
.pill--device .dot { background: var(--accent); }
.pill--neutral { background: var(--reg-neutral-bg); color: var(--reg-neutral); }
.pill--neutral .dot { background: var(--reg-neutral); }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  height: 100%;
}
.pcard:hover { border-color: var(--accent-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.pcard__icon { width: 40px; height: 40px; color: var(--accent); }
.pcard h3 { margin-bottom: 9px; }
.pcard__desc { color: var(--muted); font-size: 15.5px; flex: 1; }
.pcard__link {
  margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 7px;
}
.pcard__link svg { width: 15px; height: 15px; transition: transform .16s ease; }
.pcard:hover .pcard__link svg { transform: translateX(3px); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--on-navy-line); border-radius: var(--r-lg); overflow: hidden; }
.stat {
  background: var(--navy); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px;
}
.stat__n { font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat__l { font-size: 13.5px; color: var(--on-navy-muted); line-height: 1.4; }

/* ---------- Feature/spec lists ---------- */
.spec-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 56px; }
.spec-group { padding-top: 26px; border-top: 1px solid var(--line); }
.spec-group h3 { font-size: 16px; font-family: var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 16px; font-weight: 600; }
.feat { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.feat__tick { flex: none; width: 19px; height: 19px; margin-top: 3px; color: var(--accent); }
.feat p { font-size: 15.5px; color: var(--ink); }

/* ---------- Specs table ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg-cool); }
.tbl td:first-child, .tbl th:first-child { width: 32%; font-weight: 500; color: var(--ink); }
.tbl td:last-child { color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }

/* ---------- Standards badge row ---------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px;
  background: var(--bg); display: flex; flex-direction: column; gap: 4px;
}
.badge__code { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.badge__desc { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 74ch; }
.prose > h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.018em; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 17px; margin: 24px 0 8px; color: var(--navy-600); }
.prose p { margin-bottom: 15px; color: var(--ink); }
.prose p.muted { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose ul.bullets { margin: 4px 0 18px; display: flex; flex-direction: column; gap: 9px; }
.prose ul.bullets li { position: relative; padding-left: 22px; color: var(--muted); }
.prose ul.bullets li strong { color: var(--ink); font-weight: 600; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-updated { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: 18px; }
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--bg-cool); border-radius: var(--r-md); padding: 18px 22px; margin: 8px 0 18px;
}
.callout p { margin: 0; color: var(--ink); font-size: 15.5px; }
.rd-closing { font-size: clamp(19px, 2vw, 23px); font-weight: 500; color: var(--ink); margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); letter-spacing: -0.01em; }

/* ---------- Standards rows ---------- */
.std {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: baseline;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 24px;
}
.std__code { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.std__desc { font-size: 16px; color: var(--muted); }
@media (max-width: 700px) {
  .std { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.tl-item { padding: 30px 22px 0; border-top: 2px solid var(--line); position: relative; }
.tl-item::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl-item.is-now::before { box-shadow: 0 0 0 5px var(--accent-050); }
.tl-year { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.tl-item h4 { font-size: 16px; margin: 8px 0 6px; }
.tl-item p { font-size: 14px; color: var(--muted); }

/* ---------- DICOM viewport mock ---------- */
.viewport {
  position: relative; aspect-ratio: 16/11; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 42%, #1c2c3f 0%, #0c1622 60%, #070d15 100%);
  border: 1px solid #0a1320;
}
.viewport__scan {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 46% at 50% 46%, rgba(190,205,225,0.9) 0%, rgba(120,140,170,0.45) 38%, rgba(40,60,90,0.12) 62%, transparent 78%);
  mix-blend-mode: screen;
}
.viewport__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,160,210,0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120,160,210,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.viewport__hud { position: absolute; inset: 0; padding: 14px 16px; font-family: var(--mono); font-size: 11px; color: #8fb4dd; letter-spacing: .04em; pointer-events: none; }
.viewport__hud .tl, .viewport__hud .tr, .viewport__hud .bl, .viewport__hud .br { position: absolute; line-height: 1.5; }
.viewport__hud .tl { top: 14px; left: 16px; }
.viewport__hud .tr { top: 14px; right: 16px; text-align: right; }
.viewport__hud .bl { bottom: 14px; left: 16px; }
.viewport__hud .br { bottom: 14px; right: 16px; text-align: right; color: var(--on-navy-muted); }
.viewport__cross { position: absolute; top: 50%; left: 50%; width: 1px; height: 100%; background: rgba(120,160,210,0.18); transform: translateX(-50%); }
.viewport__cross.h { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }

/* ---------- Patient portal mock ---------- */
.portal-mock {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid #0a1320;
  background: #0c1622; box-shadow: var(--shadow-md); aspect-ratio: 16/11; display: flex; flex-direction: column;
}
.portal-mock__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); }
.portal-mock__avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(160deg, #2f5e96, #0066CC); flex: none; }
.portal-mock__id { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--on-navy); }
.portal-mock__lock { margin-left: auto; font-size: 12px; opacity: .8; }
.portal-mock__body { display: grid; grid-template-columns: 42% 58%; flex: 1; min-height: 0; }
.portal-mock__list { padding: 10px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,0.08); }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: var(--r-sm); font-family: var(--mono); font-size: 11.5px; color: var(--on-navy-muted); background: rgba(255,255,255,0.02); }
.prow.is-sel { background: rgba(0,102,204,0.22); color: #fff; box-shadow: inset 2px 0 0 #0066CC; }
.prow__date { opacity: .7; font-size: 10.5px; }
.portal-mock__view { position: relative; min-height: 0; }

/* ---------- Pillars (numbered domains) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 52px); }
a.pillar { display: block; text-decoration: none; color: inherit; transition: transform .18s ease; }
a.pillar:hover { color: inherit; transform: translateY(-3px); }
.pillar__num {
  width: 52px; height: 52px; border-radius: 11px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--navy);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
a.pillar:hover .pillar__num { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 6px 16px rgba(0,102,204,0.3); }
.pillar--accent .pillar__num { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px rgba(0,102,204,0.28); }
.pillar h3 { margin: 22px 0 12px; transition: color .16s ease; }
a.pillar:hover h3 { color: var(--accent-700); }
.pillar p { color: var(--muted); font-size: 16px; max-width: 38ch; }
.pillar__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 14.5px; font-weight: 500; color: var(--accent);
  opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease;
}
.pillar__more svg { width: 15px; height: 15px; transition: transform .16s ease; }
a.pillar:hover .pillar__more { opacity: 1; transform: translateY(0); }
a.pillar:hover .pillar__more svg { transform: translateX(3px); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 30px; } .pillar__more { opacity: 1; transform: none; } }

/* ---------- Hero photo ---------- */
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16/11; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; display: block; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent 70%, rgba(18,36,64,0.28) 100%);
}
@media (max-width: 900px) { .hero-photo { aspect-ratio: 16/10; } }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background-color: var(--bg-cool);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(18,36,64,0.035) 14px 15px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
}
.ph__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-soft);
  text-transform: uppercase; padding: 7px 12px; border: 1px dashed var(--muted-soft); border-radius: 999px;
  background: rgba(255,255,255,0.7);
}

/* ---------- Architecture diagram ---------- */
.arch {
  background: var(--navy); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px);
  color: var(--on-navy);
}
.arch__row { display: grid; gap: 14px; }
.arch__row + .arch__connector { height: 26px; display: flex; align-items: center; justify-content: center; }
.arch__connector span { width: 1.5px; height: 100%; background: var(--on-navy-line); }
.arch-grid-3 { grid-template-columns: repeat(3, 1fr); }
.arch-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 70%; margin-inline: auto; }
.node {
  border: 1px solid var(--on-navy-line); border-radius: var(--r-md); padding: 16px 18px;
  background: rgba(255,255,255,0.03); display: flex; flex-direction: column; gap: 4px; text-align: center;
}
.node--core { border-color: rgba(111,168,232,0.5); background: rgba(0,102,204,0.14); }
.node__name { font-weight: 600; color: #fff; font-size: 15.5px; }
.node__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--on-navy-muted); }
.node--core .node__sub { color: #9DC4F2; }

/* ---------- Generic two-up ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 120% at 88% -10%, rgba(0,102,204,0.28) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(64px, 10vw, 128px); }
.hero .display { color: #fff; max-width: 20ch; }
.hero .lead { color: var(--on-navy-muted); max-width: 56ch; margin-top: 22px; }
.hero-sub { color: var(--on-navy-muted); opacity: .82; font-size: 15.5px; line-height: 1.6; max-width: 56ch; margin-top: 16px; }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 80% at 70% 30%, #000 0%, transparent 80%); }

/* page hero (interior) */
.page-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 130% at 92% 0%, rgba(0,102,204,0.22) 0%, transparent 55%); pointer-events:none; }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.028em; max-width: 20ch; }
.page-hero .lead { color: var(--on-navy-muted); margin-top: 20px; }
.page-hero__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--on-navy-muted); text-transform: uppercase; margin-bottom: 20px; display: flex; gap: 9px; align-items:center; }
.breadcrumb a { color: var(--on-navy-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* section header block */
.sec-head { max-width: 60ch; margin-bottom: 44px; }
.sec-head .h2 { margin-top: 0; }
.sec-head .lead { margin-top: 16px; }

/* heading + screenshot two-up (text left, image right) */
.products-head {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 44px;
}
.products-head .sec-head { margin-bottom: 0; max-width: 46ch; }
.products-head__img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .products-head { grid-template-columns: 1fr; gap: 28px; }
  .products-head .sec-head { max-width: 60ch; }
}

/* anchor offset for sticky header */
.anchor { scroll-margin-top: 88px; }

/* small print note */
.note { font-size: 13.5px; color: var(--muted); font-style: normal; }

/* CTA band */
.cta-band { background: var(--bg-cool-2); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); max-width: 24ch; }
.cta-band .lead { margin-top: 10px; max-width: 50ch; font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav, .header-right .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .split { grid-template-columns: 1fr; }
  .spec-cols { grid-template-columns: 1fr; gap: 6px; }
  .arch-grid-2 { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stat-strip { grid-template-columns: 1fr; }
  .badges, .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__cta .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .tbl td:first-child, .tbl th:first-child { width: 42%; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; }
.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 99; background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px); padding: 18px var(--gutter) 40px; border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-nav a { display: block; font-size: 19px; font-weight: 500; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 22px; width: 100%; justify-content: center; }

@media print {
  .site-header, .site-footer, .menu-toggle { position: static; }
}
