/* ============================================================
   SolVIS Medical · QA Tron product page
   Combined original design top + new evidence/integration sections
   ============================================================ */

:root {
  /* Brand */
  --brand-orange: #ff8200;
  --brand-orange-soft: rgba(255, 130, 0, 0.15);
  --brand-blue: #1976d2;
  --brand-blue-dark: #0d47a1;

  /* Neutrals */
  --ink: #0e1116;
  --ink-2: #161a21;
  --ink-3: #232831;
  --ink-rule: #2a313c;

  --stone-100: #f5f3ec;
  --stone-200: #ecead0;
  --stone-300: #cfcdb8;
  --stone-400: #a8a594;
  --stone-500: #6e6c5e;
  --stone-700: #3e3d36;
  --stone-900: #1d1d18;

  --rule: rgba(0, 0, 0, 0.08);
  --rule-strong: rgba(0, 0, 0, 0.18);

  /* Typography */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --pad-md: 2.5rem;
  --pad-lg: 5rem;
  --pad-xl: 7rem;

  --container-max: 1180px;
  --container-narrow: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  background: var(--stone-100);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Brand Lockup ===== */
.brand-sol {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-vis {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
}
.brand-medical {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
  font-size: 0.5em;
  vertical-align: 0.3em;
  margin-left: 0.35rem;
  text-transform: none;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-3);
  color: var(--stone-100);
}
.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}
.nav__logo {
  display: block;
  height: 40px;
  width: auto;
  background: #fff;
  padding: 5px 9px;
  border-radius: 8px;
}
.nav__brand .brand-sol { color: var(--stone-100); }
.nav__brand .brand-medical { color: var(--brand-blue); }
.nav__divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--ink-3);
  margin: 0 0.9rem;
}
.nav__product {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-300);
}
.nav__links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__links a {
  color: var(--stone-300);
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--stone-100); }
.nav__links .is-current { color: var(--brand-orange); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__divider, .nav__product { display: none; }
}

/* ===== Typography ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--brand-blue); }

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.4rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}
h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--stone-300);
}

.lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--stone-700);
  margin: 0 0 1.2rem;
  max-width: 65ch;
}
.lead--dark { color: var(--stone-300); }
.lead--max { max-width: 70ch; }

.accent { color: var(--brand-orange); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.78rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}
.btn--primary { background: var(--brand-orange); color: var(--ink); }
.btn--primary:hover { transform: translateY(-1px); background: #ff9526; }
.btn--ghost { background: transparent; color: var(--stone-100); border-color: var(--ink-3); }
.btn--ghost:hover { background: var(--ink-2); border-color: var(--stone-500); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }

/* ============================================================
   HERO + 3D VIEWER (original design)
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 130, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(25, 118, 210, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #0e1116 0%, #161a21 100%);
  color: var(--stone-100);
  padding: var(--pad-xl) 0 var(--pad-lg);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}
.hero__copy .eyebrow { color: var(--brand-orange); }
.hero__logo {
  display: inline-block;
  height: 112px;
  width: auto;
  margin-bottom: 1.4rem;
  background: #fff;
  padding: 14px 22px;
  border-radius: 16px;
}
.hero__copy h1 {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem;
}
.hero__lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--stone-300);
  margin: 0 0 1.8rem;
  max-width: 56ch;
}
.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* 3D viewer */
.hero__visual { display: flex; justify-content: center; }
.hero-video-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-3);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  background: #e9eaec;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.viewer-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(180deg, #1a1e26 0%, #0e1116 100%);
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.viewer-wrap.is-beam-mode {
  background:
    radial-gradient(ellipse at 50% 95%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 32%),
    linear-gradient(180deg, #0e1014 0%, #15171c 55%, #1c1e23 100%);
  border-color: var(--ink-3);
}
.viewer {
  position: absolute;
  inset: 0;
  display: block;
}
.viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.viewer-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--stone-400);
  font-size: 0.9rem;
  background: rgba(14, 17, 22, 0.9);
  transition: opacity 0.4s ease;
  z-index: 5;
}
.viewer-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--ink-3);
  border-top-color: var(--brand-orange);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.viewer-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  z-index: 4;
}
.viewer-btn {
  background: rgba(14, 17, 22, 0.7);
  color: var(--stone-200);
  border: 1px solid var(--ink-3);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  backdrop-filter: blur(6px);
}
.viewer-btn:hover { background: rgba(35, 40, 49, 0.9); color: var(--stone-100); }

.viewer-modes {
  display: flex;
  gap: 1px;
  background: var(--ink-3);
  border-radius: 4px;
  overflow: hidden;
}
.viewer-mode-btn {
  background: rgba(14, 17, 22, 0.7);
  color: var(--stone-300);
  border: 0;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  backdrop-filter: blur(6px);
}
.viewer-mode-btn:hover { color: var(--stone-100); }
.viewer-mode-btn.is-active {
  background: var(--brand-orange);
  color: var(--ink);
  font-weight: 600;
}

.viewer-panel {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 17, 22, 0.72);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(6px);
  z-index: 3;
}
.viewer-panel__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--stone-300);
  letter-spacing: 0.06em;
}
.viewer-panel input[type="color"] {
  width: 28px; height: 22px;
  border: 1px solid var(--ink-3);
  border-radius: 3px;
  background: none;
  cursor: pointer;
  padding: 0;
}
.viewer-panel input[type="range"] {
  width: 80px;
  accent-color: var(--brand-orange);
}
.viewer-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--stone-500);
  background: rgba(14, 17, 22, 0.6);
  border: 1px solid var(--ink-3);
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--pad-xl) 0;
}
.section--light { background: var(--stone-100); color: var(--ink); }
.section--dark { background: var(--ink); color: var(--stone-100); }
.section--ink { background: var(--ink-2); color: var(--stone-100); }
.section--accent {
  background: linear-gradient(135deg, #143a6b 0%, #0d2548 100%);
  color: var(--stone-100);
}
.section--dark h2, .section--ink h2, .section--accent h2 { color: var(--stone-100); }

/* ===== Overview (3 cards) ===== */
.overview-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.overview-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
}
.overview-card__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--brand-orange);
  margin-bottom: 0.7rem;
}
.overview-card h3 { color: var(--ink); font-size: 1.1rem; }
.overview-card p { color: var(--stone-700); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* ===== Why QA Tron (4 cards, positive tone) ===== */
.why-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-3);
  border-left: 3px solid var(--brand-orange);
  border-radius: 6px;
  padding: 1.5rem 1.5rem;
  transition: background 0.2s ease;
}
.why-card:hover { background: rgba(255, 255, 255, 0.06); }
.why-card h3 { color: var(--stone-100); font-size: 1.1rem; }
.why-card p { color: var(--stone-300); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* Light variants · for sections that flip to light background */
.why-card--light {
  background: white;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand-orange);
}
.why-card--light:hover { background: white; border-color: var(--rule-strong); border-left-color: var(--brand-orange); }
.why-card--light h3 { color: var(--ink); }
.why-card--light p { color: var(--stone-700); }

/* ===== Capabilities ===== */
.cap-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.cap-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.6rem 1.5rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cap-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.cap-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brand-orange);
  font-weight: 500;
  display: block;
  margin-bottom: 0.6rem;
}
.cap-card h3 { color: var(--ink); font-size: 1.05rem; }
.cap-card p { font-size: 0.92rem; color: var(--stone-700); line-height: 1.6; margin: 0; }

/* ===== Stats / Evidence ===== */
.stat-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-3);
  border-top: 3px solid var(--brand-orange);
  border-radius: 6px;
  padding: 1.4rem 1.4rem;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--stone-100);
  margin-bottom: 0.3rem;
}
.stat__note {
  font-size: 0.82rem;
  color: var(--stone-400);
  line-height: 1.5;
}

/* Light variant · Evidence section on light bg */
.stat--light {
  background: white;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand-orange);
}
.stat--light .stat__label { color: var(--ink); }
.stat--light .stat__note { color: var(--stone-500); }

.evidence-figure {
  margin: 3rem auto 0;
  max-width: 720px;
}
.evidence-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  background: #000;
}
.evidence-figure figcaption {
  font-size: 0.88rem;
  color: var(--stone-400);
  margin-top: 0.8rem;
  line-height: 1.6;
  text-align: center;
}
.evidence-figure strong { color: var(--brand-orange); }

/* ===== Product showcase (top of light section) ===== */
.showcase-figure {
  margin: 0 auto 3.5rem;
  max-width: 980px;
}
.showcase-figure img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(14, 17, 22, 0.12);
  box-shadow: 0 18px 45px rgba(14, 17, 22, 0.16);
}
.showcase-figure figcaption {
  font-size: 0.88rem;
  color: var(--stone-500);
  margin-top: 0.9rem;
  line-height: 1.6;
  text-align: center;
}
.showcase-figure strong { color: var(--brand-orange); }

/* ===== Software ===== */
.software-figure {
  margin: 2.5rem 0 3rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.software-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.software-figure figcaption {
  font-size: 0.88rem;
  color: var(--stone-400);
  margin-top: 0.9rem;
  line-height: 1.6;
  text-align: center;
}
.software-figure strong { color: var(--brand-orange); }

/* ===== Software runthrough (WIP placeholder) ===== */
/* ===== Software runthrough (four-step grid) ===== */
.runthrough-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2.5rem 2.5rem;
}
@media (max-width: 520px) {
  .runthrough-grid { grid-template-columns: 1fr; }
}
.step-figure { margin: 0; }
.step-figure img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--ink-rule);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.step-figure figcaption {
  font-size: 0.88rem;
  color: var(--stone-400);
  margin-top: 0.9rem;
  line-height: 1.6;
}
.step-figure strong { color: var(--brand-orange); }

.runthrough-figure {
  margin: 2.5rem auto 0;
  max-width: 900px;
}
.runthrough-figure img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--ink-rule);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.runthrough-figure figcaption {
  font-size: 0.88rem;
  color: var(--stone-400);
  margin-top: 0.9rem;
  line-height: 1.6;
  text-align: center;
}
.runthrough-figure strong { color: var(--brand-orange); }

.software-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.software-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  padding: 1.5rem 1.5rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.software-card:hover {
  border-color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.06);
}
.software-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--brand-orange);
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.software-card h3 { color: var(--stone-100); font-size: 1.05rem; }
.software-card p { color: var(--stone-300); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.software-card strong { color: var(--stone-100); font-weight: 600; }

/* ===== Workflow ===== */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.workflow li {
  display: flex;
  gap: 1.5rem;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.3rem 1.5rem;
  align-items: flex-start;
}
.workflow__step {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  background: var(--ink);
  color: var(--brand-orange);
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.workflow h4 { color: var(--ink); }
.workflow p { color: var(--stone-700); font-size: 0.94rem; margin: 0; }

/* Dark variant · Workflow on dark section */
.workflow--dark li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-3);
}
.workflow--dark h4 { color: var(--stone-100); }
.workflow--dark p { color: var(--stone-300); }

/* ===== Integration ===== */
.integ-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.integ-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(8px);
}
.integ-card h4 { color: var(--stone-100); margin-bottom: 0.5rem; font-size: 1rem; font-weight: 700; }
.integ-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* Light variant · Integration on light section */
.integ-card--light {
  background: white;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand-blue);
}
.integ-card--light h4 { color: var(--ink); }
.integ-card--light p { color: var(--stone-700); }

/* ===== Inside (original style) ===== */
.inside-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 760px) { .inside-list { grid-template-columns: 1fr; } }
.inside-row {
  display: flex;
  gap: 1.2rem;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.2rem 1.3rem;
  align-items: flex-start;
}
.inside-row__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}
.inside-row h4 { color: var(--ink); }
.inside-row p { color: var(--stone-700); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ===== Specs (quad layout from original) ===== */
.specs-quad {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.specs-block {
  background: var(--ink);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  padding: 1.4rem 1.4rem;
}
.specs-block h4 {
  color: var(--brand-orange);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ink-3);
}
.specs-row-q {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ink-3);
  font-size: 0.86rem;
}
.specs-row-q:last-child { border-bottom: 0; }
.specs-row-q span:first-child { color: var(--stone-400); }
.specs-row-q span:last-child {
  color: var(--stone-100);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: right;
}
.specs-note {
  margin-top: 2rem;
  font-size: 0.84rem;
  color: var(--stone-500);
  font-style: italic;
  text-align: center;
}

/* ===== Publications ===== */
.pubs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.pubs li {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
}
.pubs__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(25, 118, 210, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.pubs h4 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--ink); }
.pubs__authors {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--stone-700);
  margin: 0 0 0.2rem;
}
.pubs__meta { font-size: 0.86rem; color: var(--stone-500); margin: 0; }
.pubs__footer {
  font-size: 0.88rem;
  color: var(--stone-500);
  font-style: italic;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Dark variant · Publications moved to dark section */
.pubs--dark li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-3);
}
.pubs--dark h4 { color: var(--stone-100); }
.pubs--dark .pubs__authors { color: var(--stone-300); }
.pubs--dark .pubs__meta { color: var(--stone-400); }
.pubs--dark .pubs__tag {
  background: rgba(25, 118, 210, 0.18);
  color: #4fa3e8;
}

/* ===== Compliance grid ===== */
.compliance-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.compliance-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  padding: 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.compliance-card__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.compliance-card__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--stone-100);
}
.compliance-card__sub {
  font-size: 0.84rem;
  color: var(--stone-400);
}

/* ===== CTA ===== */
.cta {
  background: var(--brand-orange);
  color: var(--ink);
  padding: var(--pad-lg) 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }
.cta h2 { color: var(--ink); }
.cta p {
  font-size: 1.1rem;
  color: rgba(14, 17, 22, 0.85);
  margin: 0;
  max-width: 50ch;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cta .btn--primary { background: var(--ink); color: var(--stone-100); }
.cta .btn--primary:hover { background: var(--ink-2); }
.cta .btn--ghost { border-color: var(--ink); color: var(--ink); }
.cta .btn--ghost:hover { background: rgba(0,0,0,0.06); }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--stone-300);
  padding: var(--pad-lg) 0 2rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--ink-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--pad-md);
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.footer h5 { color: var(--stone-100); }
.footer ul li { margin-bottom: 0.4rem; }
.footer a:hover { color: var(--brand-orange); }
.footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.footer__logo {
  display: inline-block;
  height: 60px;
  width: auto;
  background: #fff;
  padding: 8px 13px;
  border-radius: 10px;
}
.footer__brand .brand-sol { color: var(--stone-100); }
.footer__brand .brand-medical { color: var(--brand-blue); }
.footer__addr {
  font-size: 0.86rem;
  color: var(--stone-400);
  line-height: 1.7;
  margin: 0;
}
.footer__bottom {
  border-top: 1px solid var(--ink-3);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--stone-500);
}

/* ===== QA Tron header refresh + Products menu + LeoCC partner (custom) ===== */
/* Big logo moved into the nav; small logo + "QA Tron" lockup removed; motto added for a uniform look. */
.nav__inner { justify-content: flex-start; gap: 1.1rem; }
.nav__brand-logo {
  display: block; height: 64px; width: auto;
  background: #fff; padding: 8px 14px; border-radius: 12px;
}
.nav__motto {
  font-style: italic; font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--stone-400); white-space: nowrap;
}
.nav__links { margin-left: auto; gap: 1.875rem; font-size: 15px; }

/* Products dropdown — opens on hover / keyboard focus (no JS dependency) */
.nav__dd { position: relative; display: inline-flex; align-items: center; }
.nav__dd-toggle {
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand-orange); -webkit-user-select: none; user-select: none;
}
.nav__dd-caret { font-size: 0.7em; line-height: 1; }
.nav__dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.75rem; }
.nav__dd-menu {
  position: absolute; left: 0; top: calc(100% + 0.6rem); min-width: 184px; z-index: 200;
  display: none; flex-direction: column;
  background: #1b2027; border: 1px solid var(--ink-3); border-radius: 10px;
  padding: 6px; box-shadow: 0 14px 32px rgba(0,0,0,0.5);
}
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu { display: flex; }
.nav__dd-menu a, .nav__dd-menu .nav__dd-soon {
  display: block; padding: 8px 12px; border-radius: 6px; white-space: nowrap;
  font-size: 0.92rem; font-weight: 500;
}
.nav__dd-menu a { color: var(--stone-300); }
.nav__dd-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--stone-100); }
.nav__dd-soon { color: var(--stone-500); cursor: default; }

/* Footer: "Engineered and Designed in collaboration with Leo Cancer Care" + logo */
.footer__collab { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.footer__partner-logo { display: inline-flex; }
.footer__partner-logo img {
  display: block; height: 24px; width: auto;
  background: #fff; padding: 5px 9px; border-radius: 6px; vertical-align: middle;
}

@media (max-width: 760px) {
  .nav__motto { display: none; }
  .nav__brand-logo { height: 52px; }
}
