/* ==========================================================================
   MIRAGEN PRIVATE LIMITED — Site Stylesheet
   Design language: clinical minimal — white ground, light-blue tint sections,
   a single teal accent reserved for diagnostic/data moments, and a recurring
   "sensorgram" line motif (the real-time binding curve from the SPR platform)
   used as the page signature.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- color ---- */
  --c-white:        #FFFFFF;
  --c-ink:           #0E2538;
  --c-ink-soft:       #324A5E;
  --c-muted:         #5B7387;
  --c-primary:       #155E9C;
  --c-primary-dark:  #0C3F6B;
  --c-primary-deep:  #082B49;
  --c-tint-50:       #F4F9FC;
  --c-tint-100:      #E9F3FA;
  --c-tint-200:      #D9EBF7;
  --c-border:        #D3E3EE;
  --c-accent:        #0E9C8F;
  --c-accent-dark:   #07675F;
  --c-accent-tint:   #E3F5F3;
  --c-amber:         #B8862E;

  /* ---- type ---- */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* ---- layout ---- */
  --max-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14,37,56,0.06), 0 1px 1px rgba(14,37,56,0.04);
  --shadow-md: 0 8px 28px rgba(14,37,56,0.08);
  --shadow-lg: 0 18px 48px rgba(14,37,56,0.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--c-primary);
}
.eyebrow.on-dark { color: #8FCBEF; }
.eyebrow.on-dark::before { background: #8FCBEF; }
.eyebrow.accent { color: var(--c-accent-dark); }
.eyebrow.accent::before { background: var(--c-accent-dark); }

h1, .h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
h2, .h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
h3, .h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--c-ink);
}
h4, .h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-ink);
}
.lede {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--c-ink-soft);
  line-height: 1.65;
  max-width: 56ch;
}
.body-text { color: var(--c-ink-soft); font-size: 15.5px; line-height: 1.7; }
.small { font-size: 13px; color: var(--c-muted); }
.mono { font-family: var(--f-mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--c-primary-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-primary); background: var(--c-tint-50); }
.btn-on-dark {
  background: var(--c-white);
  color: var(--c-primary-deep);
}
.btn-on-dark:hover { background: #DCEEFA; transform: translateY(-1px); }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-on-dark:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}
.brand-mark { color: var(--c-primary); }
.brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--c-tint-100); color: var(--c-primary-dark); }
.nav-links a.active { color: var(--c-primary-dark); background: var(--c-tint-100); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-panel { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .mobile-panel {
    display: none;
    flex-direction: column;
    padding: 8px 0 22px;
    border-top: 1px solid var(--c-border);
  }
  .mobile-panel.open {
    display: flex;
    background: var(--c-white);
    position: relative;
    z-index: 5;
  }
  .mobile-panel a:not(.btn) {
    padding: 13px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-ink-soft);
    border-bottom: 1px solid var(--c-tint-100);
  }
  .mobile-panel a.active:not(.btn) { color: var(--c-primary-dark); font-weight: 700; }
  .mobile-panel .btn { margin-top: 14px; align-self: flex-start; }
}

/* ---------- hero / page header ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--c-tint-50) 0%, #FFFFFF 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.page-hero .container { position: relative; z-index: 2; }
.sensorgram {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 150px;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.sensorgram.small { height: 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* dark variant (used sparingly: home hero, footer, CTA bands) */
.on-dark {
  background: linear-gradient(160deg, var(--c-primary-deep) 0%, var(--c-primary-dark) 62%, var(--c-primary) 100%);
  color: var(--c-white);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--c-white); }
.on-dark .lede, .on-dark .body-text { color: #C7DEEE; }
.on-dark .small { color: #9FC2DC; }

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-cell {
  background: var(--c-white);
  padding: 22px 20px;
}
.stat-num {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--c-primary-dark);
}
.stat-label {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-tint { background: var(--c-tint-50); }
.section-header { max-width: 680px; margin-bottom: 44px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header > .eyebrow { margin-bottom: 14px; }
.section-header > h2 { margin-top: 10px; }
.section-header > .lede { margin-top: 14px; }

/* ---------- cards: platforms ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .platform-grid { grid-template-columns: 1fr; } }

.platform-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.platform-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--c-tint-200); }
.platform-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--c-tint-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
}
.platform-card .platform-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-muted);
}
.platform-card h3 { margin-top: 2px; }
.platform-card .platform-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  background: var(--c-accent-tint);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.platform-card p { color: var(--c-ink-soft); font-size: 14.5px; line-height: 1.65; }
.platform-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- feature row (icon + text) ---------- */
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
@media (max-width: 640px) { .feature-row { grid-template-columns: 1fr; } }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-dot {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 9px;
  background: var(--c-tint-100);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-item h4 { margin-bottom: 3px; }
.feature-item p { font-size: 14px; color: var(--c-muted); line-height: 1.55; }

/* ---------- two column layout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col.tight { gap: 40px; }

/* ---------- panel / visual block ---------- */
.panel {
  background: var(--c-tint-50);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.panel-dark {
  background: var(--c-primary-deep);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--c-white);
}

/* ---------- timeline (vertical) ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--c-border);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-primary);
}
.timeline-item h4 { font-size: 14.5px; color: var(--c-primary-dark); }
.timeline-item p { font-size: 14px; color: var(--c-muted); margin-top: 3px; }

/* ---------- roadmap phases ---------- */
.phase-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .phase-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .phase-row { grid-template-columns: 1fr; } }
.phase-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--c-white);
}
.phase-card.is-done { background: var(--c-tint-50); }
.phase-card.is-current { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-tint); }
.phase-status {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.phase-card.is-current .phase-status { color: var(--c-accent-dark); }
.phase-card h4 { font-size: 15px; margin-bottom: 8px; }
.phase-card ul li { font-size: 13px; color: var(--c-muted); padding: 3px 0; }
.phase-card ul li::before { content: "— "; color: var(--c-border); }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-md); scrollbar-width: thin; scrollbar-color: var(--c-primary) var(--c-tint-100); }
.table-wrap::-webkit-scrollbar { height: 7px; }
.table-wrap::-webkit-scrollbar-track { background: var(--c-tint-100); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 4px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 440px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-border); }
table.compare th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); background: var(--c-tint-50); font-weight: 500; }
table.compare td { color: var(--c-ink-soft); }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.standard { color: var(--c-muted); }
table.compare td.miragen { color: var(--c-primary-dark); font-weight: 600; }

/* ---------- patent cards ---------- */
.patent-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  overflow: hidden;
}
.patent-head {
  background: var(--c-tint-50);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.patent-no { font-family: var(--f-mono); font-size: 13px; color: var(--c-muted); }
.patent-status {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--c-accent-tint);
  color: var(--c-accent-dark);
  padding: 5px 12px;
  border-radius: 999px;
}
.patent-body { padding: 26px; }
.patent-body .claim-list { display: grid; gap: 14px; margin-top: 16px; }
.claim-item { display: flex; gap: 12px; }
.claim-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-primary);
  min-width: 18px;
}
.claim-item p { font-size: 14px; color: var(--c-ink-soft); line-height: 1.6; }
.claim-item strong { color: var(--c-ink); }

/* ---------- pricing / engagement cards ---------- */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .engage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .engage-grid { grid-template-columns: repeat(2, 1fr); } }
.engage-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  background: var(--c-white);
}
.engage-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
}
.engage-card h4 { margin: 8px 0 10px; font-size: 14.5px; }
.engage-price { font-family: var(--f-mono); font-weight: 600; font-size: 19px; color: var(--c-primary-dark); }
.engage-sub { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

/* ---------- quote / pull text ---------- */
.pull-quote {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-ink);
  border-left: none;
  padding: 0;
}
.pull-quote::before { content: open-quote; color: var(--c-primary); }
.pull-quote::after { content: close-quote; color: var(--c-primary); }

/* ---------- audience split (about/home use) ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--c-border);
}
.audience-card.partners { background: var(--c-tint-50); }
.audience-card.public { background: var(--c-white); }
.audience-card .eyebrow { margin-bottom: 12px; }
.audience-card p { margin-top: 10px; }
.audience-card ul { margin-top: 16px; display: grid; gap: 9px; }
.audience-card ul li { font-size: 14px; color: var(--c-ink-soft); display: flex; gap: 9px; }
.audience-card ul li::before { content: "›"; color: var(--c-primary); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 480px; }
@media (max-width: 700px) { .cta-band { padding: 40px 28px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--c-primary-deep); color: #C7DEEE; padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #FFFFFF; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--f-mono); font-weight: 500; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: #A9C9E0; font-size: 14px; line-height: 2; }
.footer-grid a:hover { color: #FFFFFF; }
.footer-brand { font-family: var(--f-display); font-size: 22px; color: #FFFFFF; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #7FA3C2; }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--c-ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--c-ink);
  background: var(--c-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint-200);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: var(--c-accent-tint);
  border: 1px solid var(--c-accent);
  color: var(--c-accent-dark);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- contact info cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 22px; }
.contact-card .platform-icon { margin-bottom: 14px; }
.contact-card h4 { margin-bottom: 6px; }
.contact-card a { color: var(--c-primary); font-weight: 600; font-size: 14px; }

/* ---------- reveal-on-scroll (progressive enhancement: hidden only once JS confirms it will reveal it) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- grid overflow guard ----------
   Grid items default to min-width:auto (their content's min-content size),
   which lets wide children (like .table-wrap's comparison tables) force
   their track — and the page — wider than the viewport. Resetting to 0
   restores the intended shrink-to-fit + internal-scroll behavior. */
.hero-grid > *, .stat-strip > *, .platform-grid > *, .feature-row > *,
.two-col > *, .phase-row > *, .engage-grid > *, .audience-grid > *,
.footer-grid > *, .form-grid > *, .contact-grid > * {
  min-width: 0;
}

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--c-border); border: none; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--c-primary-dark);
  background: var(--c-tint-100);
  padding: 6px 12px;
  border-radius: 999px;
}
.tag.accent { color: var(--c-accent-dark); background: var(--c-accent-tint); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.crumb { font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.crumb a { color: var(--c-primary); font-weight: 600; }
