/* ============================================================
   OncoOS marketing preview — design tokens mirror the product's
   own oklch palette (navy / teal / iris) from oncoos-ui/src/index.css
   ============================================================ */

@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Inter');
}

:root {
  --c-bg:        #0a0d18;
  --c-bg-1:      #0d1120;
  --c-bg-2:      #10152a;
  --c-surface:   #131a30;
  --c-surface-2: #171f3a;
  --c-line:      rgba(255,255,255,0.09);
  --c-line-2:    rgba(255,255,255,0.16);

  --c-ink:   #f3f5fc;
  --c-ink-2: #c2c8de;
  --c-ink-3: #9298b5;
  --c-ink-4: #6b7191;

  --c-navy:  #7166f2;
  --c-navy-soft: #948bf5;
  --c-teal:  #2fe0c9;
  --c-teal-soft: #6ee9d8;
  --c-iris:  #c158f0;
  --c-iris-soft: #d283f5;
  --c-amber: #f0b33e;
  --c-rose:  #f0616f;

  --grad-brand: linear-gradient(135deg, #7166f2 0%, #4f9df0 100%);
  --grad-intel: linear-gradient(120deg, #c158f0 0%, #7166f2 45%, #2fe0c9 100%);
  --grad-text:  linear-gradient(100deg, #cfd3ff 0%, #9bd9ff 45%, #7bf0d8 100%);

  --shadow-md: 0 12px 32px -12px rgba(3, 5, 15, 0.55);
  --shadow-lg: 0 30px 70px -20px rgba(3, 5, 15, 0.65);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px -20px rgba(113, 102, 242, 0.45);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.16,.8,.24,1);
  --dur: 0.6s;

  color-scheme: dark;
}

/* ---------- reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: 'Inter var', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p { margin: 0; }
::selection { background: rgba(113,102,242,0.35); color: #fff; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- background field ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 14% 0%, rgba(113,102,242,0.20), transparent 60%),
    radial-gradient(50% 35% at 88% 8%, rgba(47,224,201,0.14), transparent 60%),
    radial-gradient(60% 45% at 50% 100%, rgba(193,88,240,0.12), transparent 60%),
    var(--c-bg);
}
.bg-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, black, transparent 75%);
}

.grain { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 11px 0;
  background: rgba(10,13,24,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand svg { flex-shrink: 0; }
.brand .word-onc { color: var(--c-ink); }
.brand .word-os { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-ink-2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--c-ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-line-2);
  border-radius: 10px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(113,102,242,0.55);
}
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(113,102,242,0.7); transform: translateY(-1px); }
.btn-lg { padding: 13px 24px; font-size: 14.5px; border-radius: 13px; }
.btn-ghost { background: transparent; border-color: var(--c-line-2); }
.btn svg { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 178px 0 90px;
  overflow: visible;
}
.hero-inner {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 8px;
  border-radius: 100px;
  border: 1px solid var(--c-line-2);
  background: rgba(255,255,255,0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink-2);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(47,224,201,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
.eyebrow b { color: var(--c-ink); font-weight: 700; }

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 680;
  color: var(--c-ink);
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--c-ink-3);
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--c-ink-4);
}

/* ---------- hero showcase (browser frame) ---------- */
.showcase {
  position: relative;
  margin: 70px auto 0;
  max-width: 1080px;
  perspective: 1600px;
}
.showcase-frame {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-line-2);
  background: linear-gradient(180deg, #1a2140, #0d1120);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(4deg) scale(1);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.showcase:hover .showcase-frame { transform: rotateX(1deg) scale(1.005); }
.showcase-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--c-line);
  background: rgba(255,255,255,0.02);
}
.showcase-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.showcase-bar .url {
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--c-ink-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
}
.showcase-img-wrap { position: relative; line-height: 0; }
.showcase-img-wrap img { width: 100%; height: auto; display: block; }
.showcase-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 74%, rgba(10,13,24,0.65) 100%);
  pointer-events: none;
}
.showcase-glow {
  position: absolute;
  inset: -60px -60px auto -60px;
  height: 240px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(113,102,242,0.35), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(19,26,48,0.85);
  border: 1px solid var(--c-line-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink-2);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip .ic { width: 15px; height: 15px; flex-shrink: 0; }
.float-chip.c1 { top: 8%; left: -6%; animation-delay: 0s; }
.float-chip.c2 { top: 62%; right: -7%; animation-delay: 1.2s; }
.float-chip.c3 { bottom: -6%; left: 12%; animation-delay: 2.4s; }
.float-chip b { color: var(--c-ink); }
.float-chip .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); box-shadow: 0 0 0 3px rgba(47,224,201,0.18); }

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-11px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47,224,201,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(47,224,201,0.06); }
}

/* ---------- stat strip ---------- */
.stats {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 46px 0;
  margin-top: 110px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.stat p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.5;
}

/* ---------- section shell ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin: 0 0 56px; text-align: left; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-teal-soft);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--c-teal-soft);
  display: inline-block;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
  color: var(--c-ink);
}
.section-head p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-3);
}

/* ---------- feature tour rows ---------- */
.tour-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--c-line);
}
.tour-row:first-of-type { border-top: none; }
.tour-row.rev { grid-template-columns: 1.15fr 0.85fr; }
.tour-row.rev .tour-copy { order: 2; }
.tour-row.rev .tour-media { order: 1; }

.tour-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line-2);
  color: var(--c-teal-soft);
}
.tour-badge svg { width: 21px; height: 21px; }
.tour-copy h3 {
  font-size: 25px;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.tour-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink-3);
}
.tour-copy .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.tour-copy .tags span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-2);
  background: rgba(255,255,255,0.03);
}

.tour-media {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line-2);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tour-media:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-media img { width: 100%; height: auto; display: block; }
.tour-media .tag-corner {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(10,13,24,0.7);
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-2);
  backdrop-filter: blur(6px);
}

/* ---------- feature grid (small cards) ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--c-line);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line-2); background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)); }
.card .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-line-2);
  color: var(--c-iris-soft);
  margin-bottom: 16px;
}
.card .ic svg { width: 18px; height: 18px; }
.card h4 { font-size: 15.5px; font-weight: 620; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 13.5px; line-height: 1.6; color: var(--c-ink-3); }

/* ---------- architecture / state machine ---------- */
.arch {
  border-radius: var(--r-xl);
  border: 1px solid var(--c-line-2);
  background: linear-gradient(160deg, rgba(113,102,242,0.08), rgba(47,224,201,0.04) 60%, transparent);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.18) 1px, transparent 0),
                     radial-gradient(1px 1px at 70% 65%, rgba(255,255,255,0.14) 1px, transparent 0),
                     radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 240px 240px;
  opacity: 0.6;
}
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }

/* state machine diagram */
.sm { display: flex; flex-direction: column; gap: 0; position: relative; }
.sm-row { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.sm-node {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--c-line-2);
  background: rgba(10,13,24,0.55);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--c-ink-2);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.sm-node.active { color: #0a0d18; background: var(--c-teal); border-color: transparent; box-shadow: 0 0 0 4px rgba(47,224,201,0.16); }
.sm-node.warn { color: var(--c-amber); border-color: rgba(240,179,62,0.4); }
.sm-node.err { color: var(--c-rose); border-color: rgba(240,97,111,0.4); }
.sm-arrow {
  width: 46px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-line-2) 0 6px, transparent 6px 10px);
  position: relative;
  flex-shrink: 0;
}
.sm-arrow.flow::after {
  content:'';
  position: absolute; top: -2.5px; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 8px 1px rgba(47,224,201,0.7);
  animation: travel 2.4s linear infinite;
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
.sm-branch {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 14px 30px;
  padding-left: 20px;
  border-left: 1px dashed var(--c-line-2);
}
.sm-branch .lbl { font-size: 11px; color: var(--c-ink-4); }

.arch-copy h3 { font-size: 22px; font-weight: 640; margin-bottom: 14px; letter-spacing: -0.02em; }
.arch-copy p { font-size: 14.5px; line-height: 1.7; color: var(--c-ink-3); margin-bottom: 14px; }
.arch-copy ul { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.arch-copy li { display: flex; gap: 10px; font-size: 13.5px; color: var(--c-ink-2); align-items: flex-start; }
.arch-copy li svg { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; color: var(--c-teal-soft); }

/* ---------- pipeline diagram (how it works) ---------- */
.flow-diagram {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin-top: 10px;
}
.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.flow-step .num {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-2);
  font-size: 13px; font-weight: 700;
  color: var(--c-teal-soft);
  margin-bottom: 16px;
}
.flow-step h5 { font-size: 14px; font-weight: 640; margin-bottom: 8px; }
.flow-step p { font-size: 12.5px; color: var(--c-ink-3); line-height: 1.55; }
.flow-connector {
  flex: 0 0 auto;
  width: 60px;
  display: flex;
  align-items: flex-start;
  padding-top: 17px;
  position: relative;
}
.flow-connector svg { width: 100%; height: 20px; overflow: visible; }
.flow-connector .dash { stroke: var(--c-line-2); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.flow-connector .dot { fill: var(--c-teal); }

/* ---------- AI split ---------- */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ai-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line-2);
  padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
}
.ai-card .glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  filter: blur(60px); opacity: 0.35; z-index: 0;
}
.ai-card.a .glow { background: var(--c-iris); top: -80px; right: -60px; }
.ai-card.b .glow { background: var(--c-teal); top: -80px; right: -60px; }
.ai-card > * { position: relative; z-index: 1; }
.ai-card .tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c-ink-4);
  margin-bottom: 14px;
}
.ai-card h4 { font-size: 19px; font-weight: 640; margin-bottom: 12px; letter-spacing: -0.01em; }
.ai-card p { font-size: 14px; line-height: 1.7; color: var(--c-ink-3); }
.ai-chat {
  margin-top: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: rgba(6,8,16,0.55);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-msg { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.5; }
.ai-msg .who { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display:flex; align-items:center; justify-content:center; font-size: 10px; font-weight: 700; }
.ai-msg.user .who { background: rgba(255,255,255,0.08); color: var(--c-ink-2); }
.ai-msg.bot .who { background: var(--grad-brand); color: white; }
.ai-msg .bubble { padding: 8px 12px; border-radius: 9px; background: rgba(255,255,255,0.04); color: var(--c-ink-2); border: 1px solid var(--c-line); }
.ai-msg.bot .bubble { background: rgba(113,102,242,0.10); border-color: rgba(113,102,242,0.25); }

/* ---------- clinical strip ---------- */
.clinical { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-xl);
  padding: 74px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line-2);
  background: linear-gradient(160deg, rgba(113,102,242,0.16), rgba(47,224,201,0.08));
}
.cta::before {
  content: '';
  position: absolute; inset: -2px;
  background: var(--grad-intel);
  opacity: 0.12;
  filter: blur(50px);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 650; letter-spacing: -0.025em; }
.cta p { margin: 16px auto 0; max-width: 520px; color: var(--c-ink-3); font-size: 15.5px; line-height: 1.6; }
.cta .hero-ctas { margin-top: 30px; }

/* ---------- footer ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--c-line); }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--c-ink-4); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-ink-4); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; color: var(--c-ink-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--c-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--c-line);
  font-size: 12.5px; color: var(--c-ink-4);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .disclaimer { max-width: 640px; line-height: 1.6; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in .stagger-child {
  opacity: 1;
  transform: translateY(0);
}
.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .arch-grid { grid-template-columns: 1fr; gap: 40px; }
  .tour-row, .tour-row.rev { grid-template-columns: 1fr; gap: 34px; }
  .tour-row.rev .tour-copy, .tour-row.rev .tour-media { order: unset; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .clinical { grid-template-columns: repeat(2,1fr); }
  .ai-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .flow-diagram { flex-direction: column; }
  .flow-connector { width: auto; height: 34px; padding: 0; align-items: center; justify-content: center; }
  .flow-connector svg { width: 20px; height: 100%; transform: rotate(90deg); }
  .float-chip { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 130px; }
  .section { padding: 84px 0; }
  .grid-cards { grid-template-columns: 1fr; }
  .clinical { grid-template-columns: 1fr; }
  .cta { padding: 50px 26px; }
  .footer-top { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-bar .url { display: none; }
}

/* mobile nav sheet */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,10,20,0.92);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  padding: 22px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-sheet.open { transform: translateY(0); }
.mobile-sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-sheet a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.mobile-sheet .btn { margin-top: 24px; justify-content: center; }
