/* ===========================================================
   HeatAmp — single-page website
   Vanilla CSS, mobile-first, no framework
   =========================================================== */

:root {
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-deep:      #0f172a;
  --ink:          #0f172a;
  --ink-mid:      #475569;
  --ink-muted:    #64748b;
  --line:         #e2e8f0;
  --line-strong:  #cbd5e1;
  --accent:       #c8102e;
  --accent-dark:  #9a0c23;
  --accent-soft:  rgba(200,16,46,0.08);

  --wrap:         1200px;
  --pad-block:    clamp(64px, 8vw, 112px);

  --radius-sm:    6px;
  --radius:       10px;

  --shadow-sm:    0 1px 2px rgba(15,23,42,0.05);
  --shadow:       0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg:    0 24px 48px rgba(15,23,42,0.12);

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

button { font-family: inherit; }

/* ============== Layout ============== */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--pad-block) 0;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { margin: 12px 0 16px; }
.section-head .lede { margin: 0 auto; }

/* ============== Typography ============== */

h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.02em; }

.display {
  font-size: clamp(1.9rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--ink-mid);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 0 24px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* ============== Buttons ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-large {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ============== Header / Nav ============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, background 150ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

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

.brand img { height: 40px; width: auto; display: block; }

@media (max-width: 640px) {
  .nav-wrap { height: 64px; }
  .brand img { height: 32px; }
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.primary-nav .nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 7px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 23px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ============== Hero ============== */

.hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy .eyebrow { display: inline-block; margin-bottom: 18px; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
  filter: drop-shadow(0 16px 40px rgba(15,23,42,0.16));
}

/* Landscape in-home photo treatment */
.hero-visual-photo img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(15,23,42,0.16), 0 4px 12px rgba(15,23,42,0.06);
  filter: none;
}

/* ============== Stat grids ============== */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.stat {
  padding: 28px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}

.section-alt .stat { background: var(--bg); }

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.stat-unit {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--ink-muted);
  margin-left: 4px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.45;
}

.stat-grid-accent .stat-value { color: var(--accent); }
.stat-grid-accent .stat-unit { color: var(--accent); opacity: 0.7; }

.patents-strip {
  margin-top: 40px;
  padding: 18px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.patents-label { color: var(--ink); }
.patents-list { color: var(--ink-mid); font-size: 0.95rem; font-weight: 500; }

/* ============== Diagram blocks ============== */

.diagram-wrap {
  margin-top: 24px;
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sorption-diagram, .funnel-diagram {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 800px;
}
.diagram-caption {
  text-align: center;
  margin: 28px auto 0;
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.55;
}
.diagram-caption strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 8px; }

.funnel-wrap {
  display: flex;
  justify-content: center;
}

/* ============== Team ============== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.team-name { font-size: 1.25rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.team-bio { color: var(--ink-mid); font-size: 0.95rem; margin: 0 0 20px; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-mid);
  font-size: 0.9rem;
  font-weight: 600;
}
.team-linkedin:hover { color: var(--accent); }

.team-supporting {
  text-align: center;
  color: var(--ink-mid);
  font-size: 0.95rem;
  margin: 12px 0 0;
}
.team-supporting strong { color: var(--ink); }

/* ============== Logo wall ============== */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-items: center;
}
.logo-wall li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.logo-wall img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 200ms ease, opacity 200ms ease;
}
.logo-wall li:hover img { filter: grayscale(0%); opacity: 1; }

.backers-note {
  margin: 48px auto 0;
  text-align: center;
  color: var(--ink-mid);
  max-width: 60ch;
}
.backers-note strong { color: var(--ink); font-weight: 700; }

/* ============== Contact ============== */

.section-contact {
  background: var(--bg-deep);
  color: #f1f5f9;
  text-align: center;
}
.section-contact h2 { color: #fff; }
.section-contact .lede { color: #94a3b8; margin: 16px auto 32px; }
.section-contact .eyebrow { color: var(--accent); }
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-address {
  margin: 28px 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ============== Footer ============== */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo { height: 22px; width: auto; opacity: 0.85; }
.footer-text { margin: 0; color: var(--ink-muted); font-size: 0.85rem; }
.footer-link { color: var(--ink-muted); }
.footer-link:hover { color: var(--accent); }

/* ============== Responsive: tablet ============== */

@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .footer-wrap { flex-direction: row; justify-content: space-between; }
}

/* ============== Responsive: desktop ============== */

@media (min-width: 1024px) {
  .hero {
    padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
  }
  .hero .wrap { width: 100%; }
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
  .hero-copy { padding-right: 24px; }
  .hero-visual img { max-height: 520px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(5, 1fr); gap: 48px 40px; }
  .logo-wall img { max-height: 60px; }
}

/* ============== Mobile nav (< 768px) ============== */

@media (max-width: 767.98px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .site-header.is-open .primary-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .primary-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }
  .primary-nav a:first-child { border-top: 0; }
  .primary-nav .nav-cta {
    margin: 12px 24px 0;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

/* ============== Solution intro (side-by-side) ============== */

.solution-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  text-align: left;
}
.solution-copy .eyebrow { display: inline-block; margin-bottom: 12px; }
.solution-copy h2 { margin-bottom: 16px; }
.solution-visual { display: flex; justify-content: center; }
.solution-visual img {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: contrast(1.08) saturate(1.05) drop-shadow(0 18px 40px rgba(15,23,42,0.15));
}

@media (min-width: 768px) {
  .solution-intro {
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
  }
  .solution-visual img { max-width: 260px; }
}

/* ============== Savings strip ============== */

.savings-strip {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  justify-content: center;
  text-align: center;
}
.section-alt .savings-strip { background: var(--bg); }
.savings-label { color: var(--ink-mid); }
.savings-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.savings-note { color: var(--ink-mid); font-size: 0.95rem; }

/* ============== Feature grid (Solution + Technology subsections) ============== */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.section-alt .feature { background: var(--bg); }
.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--ink-mid); font-size: 0.97rem; line-height: 1.55; }

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .feature-grid { gap: 28px; }
}

/* For Technology section which has only 2 features */
#technology .feature-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  #technology .feature-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
}

/* ============== Solution closing line ============== */

.solution-closing {
  margin: 48px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ============== Opportunity (extra-large headline) ============== */

.opportunity-headline {
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

/* "Rest of the world" + "Platform technology" sub-blocks under the funnel */
.opportunity-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.opp-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.section-alt .opp-block { background: var(--bg); }
.opp-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.opp-block p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 0.97rem;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .opportunity-blocks { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============== Technology diagram image ============== */

.tech-diagram {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

/* ============== Prototype gallery ============== */

.prototype-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.prototype {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.section-alt .prototype { background: var(--bg); }
.prototype img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 640px) {
  .prototype-gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .prototype-gallery { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .prototype { padding: 12px; }
}

/* ============== Backed By logo wall links + sizing ============== */

.logo-wall a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.logo-wall a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}
/* Some logos read smaller — bump them up for visual parity */
.logo-wall img.logo-big {
  max-height: 72px;
}
@media (min-width: 1024px) {
  .logo-wall img.logo-big { max-height: 76px; }
}

/* ============================================================
   DARK MODE — pure color swap. No layout, font, or size changes.
   Adds: logo swap, floating toggle button, color overrides.
   Everything above this block is light-mode CSS and remains
   byte-identical when dark mode is not active.
   ============================================================ */

/* Logo swap (only affects light mode by hiding the dark variant by default) */
.brand img.brand-dark { display: none; }
[data-theme="dark"] .brand img.brand-light { display: none; }
[data-theme="dark"] .brand img.brand-dark  { display: block; }

/* Footer logo swap */
.footer-logo-dark { display: none; }
[data-theme="dark"] .footer-logo-light { display: none; }
[data-theme="dark"] .footer-logo-dark  { display: block; }

/* Floating theme toggle button — bottom-right corner */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15,23,42,0.12), 0 1px 3px rgba(15,23,42,0.06);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(15,23,42,0.18);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.theme-toggle .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle { box-shadow: 0 6px 18px rgba(0,0,0,0.55); }

@media (max-width: 767.98px) {
  .theme-toggle { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

/* Color variable overrides — flip palette to dark */
[data-theme="dark"] {
  --bg:           #0a0e1a;
  --bg-alt:       #111827;
  --bg-deep:      #050810;
  --ink:          #f1f5f9;
  --ink-mid:      #cbd5e1;
  --ink-muted:    #94a3b8;
  --line:         #1f2937;
  --line-strong:  #334155;
  --accent:       #ef4444;
  --accent-dark:  #dc2626;
  --accent-soft:  rgba(239,68,68,0.10);
}

/* Surfaces that have hardcoded backgrounds need a dark-mode override */
[data-theme="dark"] .site-header { background: rgba(10,14,26,0.82); }
[data-theme="dark"] .hero        { background: linear-gradient(180deg, #0a0e1a 0%, #0c1322 100%); }
[data-theme="dark"] .section-contact { background: #000; }

/* Cosmetic touch-ups for elements that look weird on dark */
[data-theme="dark"] .team-photo {
  border-color: var(--bg-alt);
  box-shadow: 0 0 0 1px var(--line-strong);
}
[data-theme="dark"] .logo-wall img {
  filter: grayscale(100%) invert(0.9) brightness(1.1);
  opacity: 0.85;
}
[data-theme="dark"] .logo-wall li:hover img,
[data-theme="dark"] .logo-wall a:hover img {
  filter: none;
  opacity: 1;
}
[data-theme="dark"] .hero-visual-photo img {
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .nav-toggle span { background: var(--ink); }
[data-theme="dark"] .primary-nav .nav-cta { background: var(--accent); }
[data-theme="dark"] .primary-nav .nav-cta:hover { background: var(--accent-dark); }

@media (max-width: 767.98px) {
  [data-theme="dark"] .primary-nav { background: var(--bg-alt); }
}

/* Funnel diagram (Opportunity section) — dark mode tweaks */
[data-theme="dark"] .funnel-tier-tam { fill: #1e293b; }     /* TAM needs to lift off the near-black bg */
[data-theme="dark"] .funnel-tier-sam { fill: #475569; }     /* SAM a bit lighter for separation */
[data-theme="dark"] .funnel-tier-som { fill: #ef4444; }     /* SOM uses the brighter red */
[data-theme="dark"] .funnel-aside-line  { stroke: #475569; }
[data-theme="dark"] .funnel-aside-label { fill: #f1f5f9; }
[data-theme="dark"] .funnel-aside-note  { fill: #94a3b8; }

/* Product render in Solution — dark mode showcase card */
[data-theme="dark"] .solution-visual {
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}
[data-theme="dark"] .solution-visual img {
  filter: contrast(1.08) saturate(1.05) drop-shadow(0 8px 20px rgba(15,23,42,0.15));
}

