:root {
  --bg: #0c0d0f;
  --bg-2: #121317;
  --bg-3: #17181c;
  --line: #24252b;
  --text: #f2f2f0;
  --muted: #9a9ba2;
  --accent: #ffe600;
  --accent-ink: #131200;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .kicker { font-family: "Space Grotesk", "Inter", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ── Nav ─────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled { background: rgba(12,13,15,.92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 34px; display: block; border-radius: 6px; }
#nav nav { display: flex; gap: 26px; margin-left: auto; }
#nav nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
#nav nav a:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--line);
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.accent:hover { background: #fff04d; }
.btn.ghost { color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 190px 0 130px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 75% -10%, rgba(255,230,0,.07), transparent),
    radial-gradient(ellipse 700px 500px at 15% 110%, rgba(255,255,255,.035), transparent);
}
.hero-mark {
  position: absolute;
  right: -80px; top: 90px;
  width: 480px;
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 16px; height: 16px;
  background: url("assets/mark-yellow.png") no-repeat center / contain;
}
.center .kicker { justify-content: center; }

h1 em.grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #ffb300);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 26px;
}
.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin-bottom: 18px; }
.triplet { font-weight: 600; margin-bottom: 38px; }

/* ── Audiences ───────────────────────────────────────── */
.audiences { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.aud { padding: 34px 0; }
.aud h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent); }
.aud p { color: var(--muted); font-size: 15.5px; }

/* ── Clinical domains ────────────────────────────────── */
.domains { padding: 90px 0 100px; border-bottom: 1px solid var(--line); }
.dom {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
  transition: border-color .2s, transform .2s;
}
.dom:hover { border-color: #3a3b42; transform: translateY(-3px); }
.dom svg {
  width: 54px; height: 54px;
  color: var(--text);
  margin-bottom: 20px;
  display: block;
}
.dom h3 { font-size: 19px; margin-bottom: 10px; }
.dom p { color: var(--muted); font-size: 15px; }

/* ── Proof / stats band ──────────────────────────────── */
.proof { padding: 70px 0; border-bottom: 1px solid var(--line); }
.proof-title {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 34px;
}
.stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat span { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; }

/* ── Team ────────────────────────────────────────────── */
.team { display: flex; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
.member h3 { font-size: 19px; }
.member h3 span { color: var(--muted); font-weight: 400; font-size: 15px; }
.member p { color: var(--accent); font-size: 14px; margin-top: 2px; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 110px 0; }
.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

/* service cards */
.cards { margin-top: 48px; }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #3a3b42; transform: translateY(-3px); }
.card-num { color: var(--accent); font-family: "Space Grotesk", monospace; font-weight: 600; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-top svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ── Platform ────────────────────────────────────────── */
.platform { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split-text > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; }
.ticks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 15px; height: 15px;
  background: url("assets/mark-yellow.png") no-repeat center / contain;
}
.split-visual svg {
  width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* ── Growth prediction ───────────────────────────────── */
.growth { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.growth .split-visual svg {
  width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.growth .split-text > p { color: var(--muted); margin-bottom: 16px; }

/* real segmentation swap */
.seg-frame { position: relative; }
.seg-real {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.seg-caption {
  font-family: "Space Grotesk", monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: .04em;
}
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
.dot-red { background: #e6194B; }
.dot-cyan { background: #29c3e6; }

.seg3d {
  margin: 40px 0 0;
  text-align: center;
}
.seg3d img {
  width: 100%; max-width: 860px; height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.seg3d figcaption {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.seg3d[hidden] { display: none; }

/* ── Conditions deep dive ────────────────────────────── */
.conditions .kicker { margin-bottom: 34px; }
.cond {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-3);
  padding: 30px 32px;
  margin-bottom: 22px;
}
.cond-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cond-head h3 { font-size: 24px; }
.cond-tag {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: .04em;
}
.cond-body { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.cond-facts { display: flex; flex-direction: column; gap: 18px; }
.fact b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.1;
}
.fact span { color: var(--muted); font-size: 13.5px; }
.cond-text p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.cond-text b { color: var(--text); font-weight: 600; }
.disclaimer { color: var(--muted); font-size: 13px; margin-top: 8px; font-style: italic; }

/* platform demo GIF */
.demo-gif {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* service group labels + impact banner */
.svc-group {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 46px 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.svc-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.impact-banner {
  margin-top: 46px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 26px 30px;
  display: flex; align-items: center; gap: 26px;
  background: linear-gradient(100deg, rgba(255,230,0,.07), transparent 60%);
}
.impact-banner b {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.impact-banner p { color: var(--muted); font-size: 15.5px; margin: 0; }
.impact-banner p strong { color: var(--text); }

/* ── Steps ───────────────────────────────────────────── */
.steps { margin-top: 48px; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-family: "Space Grotesk", sans-serif;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── About / CTA ─────────────────────────────────────── */
.about p { color: var(--muted); margin-bottom: 18px; font-size: 18px; }
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 380px at 50% 120%, rgba(255,230,0,.08), transparent),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  background: url("assets/mark-white.png") no-repeat center / contain;
  opacity: .04;
  pointer-events: none;
}
.cta .container { position: relative; }
.cta p { color: var(--muted); margin-bottom: 34px; }

/* contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.contact-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.cf-opt { opacity: .7; }
.cf-row { display: flex; gap: 14px; }
.cf-row label { flex: 1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.contact-form button { margin-top: 6px; cursor: pointer; }
.hp-field { position: absolute; left: -9999px; }
.cf-status { margin-top: 16px; font-size: 15px; }
.cf-status.ok { color: #6ee7a8; }
.cf-status.err { color: #ff9d9d; }
.cf-alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.cf-alt a { color: var(--accent); }

/* imaging split spacing before the R&D cards */
.imaging-split { margin-bottom: 56px; }

/* footer trust chips */
.foot-chips {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.foot-chips span {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ── Footer ──────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg); }
.foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-logo { height: 30px; border-radius: 5px; margin-bottom: 16px; }
footer p, footer a { color: var(--muted); font-size: 14.5px; }
footer a:hover { color: var(--text); }
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; }
.foot-legal { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-legal p { font-size: 13px; }

/* ── Reveal animation ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cond-body { grid-template-columns: 1fr; gap: 24px; }
  .cond-facts { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  #nav nav { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .foot-inner { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .aud { padding: 20px 0; }
  .section { padding: 70px 0; }
}
