:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: #e2e8f0;
  --text: #0b1220;
  --muted: #475569;
  --muted2: #64748b;

  --b1: #2563eb;
  --b2: #7c3aed;
  --b3: #06b6d4;

  --shadow: 0 12px 34px rgba(2, 6, 23, 0.08);
  --shadow2: 0 8px 18px rgba(2, 6, 23, 0.06);

  --r22: 22px;
  --r18: 18px;
  --max: 1120px;
}
.hero {
  padding: 64px 0 26px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--b1), var(--b2), var(--b3));
}
.h1 {
  margin: 14px 0 10px;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 78ch;
}

.trustStrip {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}
.badge i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--b1), var(--b2), var(--b3));
  display: inline-block;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 26px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--r22);
  box-shadow: var(--shadow);
}
.pad {
  padding: 22px;
}
.h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.muted {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 400;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.sectionTop {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.sectionTop .right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.item {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.06),
    rgba(124, 58, 237, 0.05),
    rgba(6, 182, 212, 0.05)
  );
}
.item b {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
  font-weight: 400;
  line-height: 1.45;
}

.diagram {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.diagram img {
  display: block;
  width: 100%;
  height: auto;
}
.diagramCaption {
  padding: 12px 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--muted2);
  font-weight: 400;
  font-size: 12px;
}

.video {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  position: relative;
}
.video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.9;
}
.note {
  margin-top: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 14px;
  background: rgba(248, 250, 252, 0.85);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
}

.ctaBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
}
.ctaBar b {
  font-size: 16px;
}
.ctaBar span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.featureCard {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow2);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.iconRow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.iconRow img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  padding: 6px;
}
.featureCard h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.featureCard p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
  font-size: 13px;
}
.featureCard a {
  margin-top: 4px;
  font-weight: 900;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.featureCard a:after {
  content: "→";
  font-weight: 900;
}


.small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted2);
}

@media (max-width: 980px) {
  .h1 {
    font-size: 44px;
  }
  .heroGrid {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .cards3 {
    grid-template-columns: 1fr;
  }
 
}

/* =========================
   Per-page accents (from Trinzz ICP palettes)
   ========================= */
body.generic {
  --accent: #c47a5c;
  --accentSoft: #f9f1ee;
  --accentSoft2: #f2e1db;
}
body.radiology {
  --accent: #4168e0;
  --accentSoft: #eceffb;
  --accentSoft2: #d5ddf8;
}
body.pathology {
  --accent: #7177ce;
  --accentSoft: #f0f1fa;
  --accentSoft2: #dfe1f4;
}
body.volumetric {
  --accent: #007f7f;
  --accentSoft: #e5f2f2;
  --accentSoft2: #c6e2e2;
}

/* Flatter visual language */
.item {
  background: var(--accentSoft);
}
.item:nth-child(2n) {
  background: var(--accentSoft2);
}
.badge i {
  background: var(--accent);
}
.btnPrimary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}
.btnPrimary:hover {
  background: #2563EB;
  border-color: #2563EB;
}
/* ===== Motion (subtle, Scale-like) ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Cards */
.card,
.featureCard,
.diagram {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.featureCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.1);
}
/* Gradient border glow on hover */
.featureCard:hover {
  border-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.55),
        rgba(124, 58, 237, 0.55),
        rgba(6, 182, 212, 0.55)
      )
      border-box;
  border: 1px solid transparent;
}

/* Hero subtle floating */
@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
.brandMark {
  animation: floaty 6.5s ease-in-out infinite;
}

/* =========================
   Clinical Imaging – Peace Brown Theme
   ========================= */
body.generic,
body.radiology,
body.pathology,
body.volumetric {
  --accent: #8b5e3c;
  --accentSoft: #f5efea;
  --accentSoft2: #eadfd6;
}

.btnPrimary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.badge i {
  background: #8b5e3c;
}

.item {
  background: #f5efea;
}

.item:nth-child(2n) {
  background: #eadfd6;
}

.featureCard:hover {
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #8b5e3c, #5c3a21) border-box;
  border: 1px solid transparent;
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.12);
}

.brandMark {
  background: linear-gradient(135deg, #8b5e3c, #5c3a21);
}

/* ===== Brochure-style hero (hub) ===== */
.heroBrochure {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}
.heroTitleStack {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 10px 0 10px;
}
.heroTitleStack .line1 {
  display: block;
  color: var(--text);
  font-weight: 800;
}
.heroTitleStack .line2 {
  display: block;
  font-weight: 800;
  color: var(--text);
}
.heroSub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
  max-width: 66ch;
}
.heroActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.heroArt {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 14px;
}
.heroArt img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .heroBrochure {
    grid-template-columns: 1fr;
  }
  .heroTitleStack {
    font-size: 44px;
  }
}

/* =========================
   Mobile Header Fix
========================= */

@media (max-width: 980px) {

  /* Keep header visible */
  .header {
    display: block;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Hide desktop nav */
  .navlinks {
    display: none;
  }

  /* Show hamburger */
  .mobileToggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu full width */
  .mobileMenu {
    display: none;
    background: #fff;
  }

  .mobileMenu.show {
    display: block;
  }
}
@media (max-width: 640px) {

  .nav {
    padding: 12px 0;
  }

  .logo {
    width: 100px;
  }

  .h1,
  .heroTitleStack {
    font-size: 32px;
  }

  .heroSub {
    font-size: 16px;
  }

  .sectionTop {
    flex-direction: column;
    align-items: flex-start;
  }

  .sectionTop .right {
    justify-content: flex-start;
  }

  .ctaBar {
    flex-direction: column;
    align-items: flex-start;
  }

  .heroActions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

}
