/* ============================================================
   OzaviOS — Custom AI Decision Systems
   Premium hybrid light/dark theme
============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}


/* ============================================================
   Tokens — light theme (default)
============================================================ */
:root {
  --bg-page:      #eef2f8;
  --surface:      #ffffff;
  --surface-2:    #f5f8fc;

  --border:       rgba(148, 163, 184, 0.26);
  --border-soft:  rgba(148, 163, 184, 0.16);
  --border-strong:rgba(148, 163, 184, 0.45);

  --text:         #0f1729;
  --text-soft:    #41506b;
  --text-muted:   #6b7a93;

  --accent:       #2563eb;
  --accent-2:     #7c3aed;
  --cyan:         #06b6d4;
  --success:      #16a34a;
  --warning:      #f59e0b;
  --danger:       #ef4444;

  --accent-soft:  rgba(37, 99, 235, 0.08);
  --accent-border:rgba(37, 99, 235, 0.32);

  --radius:       14px;
  --radius-lg:    20px;

  --shadow-sm:  0 1px 2px rgba(15,23,42,.05), 0 3px 8px rgba(15,23,42,.05);
  --shadow:     0 4px 12px rgba(15,23,42,.05), 0 18px 44px -16px rgba(15,23,42,.16);
  --shadow-lg:  0 10px 28px rgba(15,23,42,.08), 0 36px 70px -24px rgba(15,23,42,.26);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --header-h:       78px;
  --scroll-offset:  142px;

  /* Responsive spacing (homepage + layout) */
  --container-px:     28px;
  --section-py:     104px;
  --section-py-home: 88px;
  --section-head-gap: 48px;
  --block-gap:      24px;
}

/* Dark section override */
.section-dark {
  --surface:      rgba(255,255,255,0.045);
  --surface-2:    rgba(255,255,255,0.07);
  --border:       rgba(148,163,184,0.20);
  --border-soft:  rgba(148,163,184,0.12);
  --text:         #f4f7fc;
  --text-soft:    #c2cde0;
  --text-muted:   #8a99b5;
  --accent-soft:  rgba(56,130,246,0.18);
  --accent-border:rgba(120,150,255,0.40);

  background: linear-gradient(180deg, #070b1a 0%, #0a1124 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.section-dark .container { position: relative; z-index: 2; }


/* ============================================================
   Base
============================================================ */
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(820px 460px at 10% -4%, rgba(37,99,235,.07), transparent 62%),
    radial-gradient(760px 440px at 92% 6%, rgba(124,58,237,.07), transparent 62%),
    var(--bg-page);
  background-attachment: fixed;
}

a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text-soft); }


/* ============================================================
   Layout
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
main { min-height: 60vh; }
section { padding: var(--section-py) 0; position: relative; }

.section-light { background: var(--surface); }
.section-alt   { background: var(--surface-2); }


/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  width: auto; height: auto; padding: 12px 18px;
  background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 8px; box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo--brand .logo__img {
  display: block;
  width: auto;
  height: clamp(28px, 7vw, 42px);
  max-width: min(200px, 48vw);
  object-fit: contain;
  object-position: left center;
  opacity: 1;
}
.logo--footer .logo__img {
  height: clamp(32px, 8vw, 46px);
  max-width: min(220px, 72vw);
}
@media (min-width: 768px) {
  .logo--brand .logo__img {
    height: 40px;
    max-width: 190px;
  }
  .logo--footer .logo__img {
    height: 44px;
    max-width: 210px;
  }
}
@media (min-width: 1200px) {
  .logo--brand .logo__img {
    height: 42px;
    max-width: 200px;
  }
}
.logo-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 8px 20px -6px rgba(37,99,235,.5);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  min-width: 0;
}
.nav-item { position: relative; list-style: none; }
.nav-item__head {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.nav-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-item--dropdown:hover .nav-chevron,
.nav-item--dropdown:focus-within .nav-chevron,
.nav-item--dropdown.is-dropdown-hover .nav-chevron,
.nav-item--dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}
.nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-link.active { color: var(--accent); }
.nav-link.active:not(.nav-link--parent)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.nav-link--parent.active {
  background: var(--accent-soft);
}
.nav-item--dropdown.nav-item--align-end .nav-dropdown {
  left: auto;
  right: 0;
}

.nav-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}
.nav-submenu-toggle:hover { background: var(--accent-soft); color: var(--accent); }
.nav-submenu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-submenu-toggle__icon {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s ease;
}
.nav-item--dropdown.is-open .nav-submenu-toggle__icon {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  min-width: 272px;
  padding: 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
/* Invisible bridge so moving from parent link into the panel never loses hover */
.nav-item--dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  z-index: 119;
  pointer-events: none;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.is-dropdown-hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-item--dropdown:hover::after,
.nav-item--dropdown:focus-within::after,
.nav-item--dropdown.is-dropdown-hover::after {
  pointer-events: auto;
}
.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.nav-dropdown__list li { margin: 0; }
.nav-dropdown__list a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.35;
  transition: color .2s ease, background .2s ease;
}
.nav-dropdown__list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-dropdown__list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.nav-dropdown__all {
  display: block;
  margin-top: 4px;
  padding: 12px 14px 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  transition: color .2s ease, background .2s ease;
}
.nav-dropdown__all:hover {
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: 0 0 8px 8px;
}

.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(37,99,235,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(37,99,235,.6); }

.nav-toggle {
  display: none; background: transparent;
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.nav-toggle span { display: block; width: 21px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }


/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 11px;
  font-size: 0.97rem; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(37,99,235,.55);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(37,99,235,.62); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.section-dark .btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #f4f7fc;
}
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #93b4ff; color: #fff; }


/* ============================================================
   Hero
============================================================ */
.hero { padding: 116px 0 108px; }
.hero.section-dark {
  background:
    radial-gradient(720px 480px at 16% 8%,  rgba(37,99,235,.40), transparent 62%),
    radial-gradient(700px 460px at 88% 14%, rgba(124,58,237,.38), transparent 62%),
    radial-gradient(620px 420px at 62% 104%, rgba(6,182,212,.16), transparent 60%),
    linear-gradient(180deg, #070b1a, #0a1226);
}
/* faint grid */
.hero.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

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

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; color: #cdd9f5;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero h1 { margin-bottom: 22px; }
.accent, .gradient-text {
  background: linear-gradient(120deg, #60a5fa, #a78bfa 60%, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.18rem; max-width: 540px; margin-bottom: 34px; color: var(--text-soft); }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.hero-proof {
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; gap: 36px; flex-wrap: wrap;
}
.hero-proof-item { display: flex; flex-direction: column; gap: 2px; }
.hero-proof-num { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hero-proof-label { font-size: 0.82rem; color: var(--text-muted); }


/* ============================================================
   Hero dashboard mockup
============================================================ */
.hero-dashboard { position: relative; }
.dashboard-mock {
  position: relative;
  background: linear-gradient(180deg, rgba(17,25,46,.94), rgba(9,14,30,.97));
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 20px;
  padding: 22px;
  color: #f4f7fc;
  box-shadow:
    0 40px 90px -34px rgba(0,0,0,.92),
    0 0 0 1px rgba(120,150,255,.10) inset,
    0 0 100px -26px rgba(37,99,235,.36);
}

.dashboard-mock-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 15px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(148,163,184,.14);
}
.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148,163,184,.32); }
.dashboard-dot:nth-child(1) { background: #f87171; }
.dashboard-dot:nth-child(2) { background: #fbbf24; }
.dashboard-dot:nth-child(3) { background: #4ade80; }
.dashboard-mock-title { flex: 1; text-align: center; font-size: 0.78rem; color: #93a3c2; font-weight: 600; letter-spacing: 0.03em; }
.dashboard-mock-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.4);
  font-size: 0.7rem; color: #4ade80; font-weight: 800; letter-spacing: 0.04em;
}

.dashboard-score {
  display: flex; align-items: center; gap: 18px;
  padding: 18px; margin-bottom: 12px;
  background: rgba(8,13,28,.7); border: 1px solid rgba(148,163,184,.13); border-radius: 14px;
}
.score-ring {
  position: relative; width: 82px; height: 82px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#3b82f6 0% 87%, rgba(148,163,184,.16) 87% 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 28px -6px rgba(59,130,246,.55);
}
.score-ring::before { content: ""; position: absolute; inset: 7px; background: #0b1226; border-radius: 50%; }
.score-value { position: relative; font-size: 1.55rem; font-weight: 800; color: #fff; }
.score-percent { position: relative; font-size: 0.78rem; color: #93a3c2; margin-top: 6px; align-self: flex-start; }
.score-meta { display: flex; flex-direction: column; gap: 7px; }
.score-label { font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: #93a3c2; font-weight: 700; }
.score-status { display: inline-flex; align-items: center; gap: 8px; }

.dashboard-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.metric-card {
  background: rgba(8,13,28,.7); border: 1px solid rgba(148,163,184,.13);
  border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color .2s ease;
}
.metric-card:hover { border-color: rgba(120,150,255,.4); }
.metric-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #93a3c2; }
.metric-value { font-size: 1.1rem; font-weight: 800; color: #fff; }
.metric-value.up { color: #4ade80; } .metric-value.warn { color: #fbbf24; }
.metric-trend { font-size: 0.72rem; color: #c2cde0; }
.metric-trend.up { color: #4ade80; } .metric-trend.warn { color: #fbbf24; }

.dashboard-chart {
  padding: 16px; margin-bottom: 12px;
  background: rgba(8,13,28,.7); border: 1px solid rgba(148,163,184,.13); border-radius: 12px;
}
.dashboard-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.dashboard-chart-title { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #93a3c2; font-weight: 700; }
.chart-bars { display: flex; flex-direction: column; gap: 11px; }
.chart-bar-row { display: grid; grid-template-columns: 78px 1fr 42px; align-items: center; gap: 12px; font-size: 0.76rem; }
.chart-bar-label { color: #c2cde0; }
.chart-bar-value { color: #fff; font-weight: 800; text-align: right; }
.chart-bar-track { height: 7px; background: rgba(148,163,184,.18); border-radius: 999px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.chart-bar-fill.success { background: linear-gradient(90deg, #16a34a, #4ade80); }
.chart-bar-fill.warning { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.dashboard-action {
  display: flex; align-items: flex-start; gap: 14px; padding: 15px 17px;
  background: linear-gradient(135deg, rgba(37,99,235,.20), rgba(124,58,237,.20));
  border: 1px solid rgba(120,150,255,.34); border-radius: 13px;
}
.action-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.95rem;
}
.action-body { display: flex; flex-direction: column; gap: 3px; }
.action-label { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #93a3c2; font-weight: 700; }
.action-text { font-size: 0.93rem; color: #f4f7fc; font-weight: 600; line-height: 1.45; }

/* Floating insight card */
.dashboard-float {
  position: absolute; left: -26px; bottom: 52px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px; background: #fff; border-radius: 14px;
  border: 1px solid rgba(148,163,184,.2);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.55);
}
.dashboard-float-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.82rem;
}
.dashboard-float-value { display: block; font-size: 1.08rem; font-weight: 800; color: #0f1729; line-height: 1.1; }
.dashboard-float-label { display: block; font-size: 0.72rem; color: #6b7a93; }


/* ============================================================
   Signal dot + alert badge
============================================================ */
.signal-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.alert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em;
}
.alert-badge.success { background: rgba(22,163,74,.12); color: #15803d; border: 1px solid rgba(22,163,74,.32); }
.alert-badge.warning { background: rgba(245,158,11,.14); color: #b45309; border: 1px solid rgba(245,158,11,.4); }
.alert-badge.danger  { background: rgba(239,68,68,.12); color: #b91c1c; border: 1px solid rgba(239,68,68,.32); }
.alert-badge.info    { background: rgba(37,99,235,.1); color: #1d4ed8; border: 1px solid rgba(37,99,235,.32); }
.section-dark .alert-badge.success { background: rgba(34,197,94,.14); color: #4ade80; border-color: rgba(34,197,94,.4); }
.section-dark .alert-badge.warning { color: #fbbf24; }
.section-dark .alert-badge.info { background: rgba(56,130,246,.16); color: #93b4ff; border-color: rgba(120,150,255,.4); }


/* ============================================================
   "Connects with" strip
============================================================ */
.connects {
  padding: 34px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.connects-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px 30px; flex-wrap: wrap;
}
.connects-label {
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.connects-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.connects-chip {
  padding: 8px 16px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 700; color: var(--text-soft);
  transition: border-color .2s ease, color .2s ease;
}
.connects-chip:hover { border-color: var(--accent-border); color: var(--accent); }


/* ============================================================
   Section heading
============================================================ */
.section-head { max-width: 740px; margin: 0 auto var(--section-head-gap); text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--text-soft); }
.section-head p + p { margin-top: 14px; }

.section-head .eyebrow,
.split-head .eyebrow { margin-bottom: 18px; }

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.09em; text-transform: uppercase;
}
.section-dark .section-badge { color: #93b4ff; }
.section-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}


/* ============================================================
   Cards
============================================================ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; }

.card, .glass-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}
.section-dark .card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px -8px rgba(37,99,235,.5);
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; color: var(--text-soft); }


/* ============================================================
   Split layout + problem list
============================================================ */
.split { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 70px; align-items: center; }
.split-head h2 { margin-bottom: 16px; }
.split-head p { font-size: 1.05rem; color: var(--text-soft); }

.problem-list { display: grid; gap: 14px; }
.problem-list li {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft); font-size: 1rem; font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.problem-list li:hover { transform: translateX(4px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.problem-list li::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--danger), var(--warning));
}


/* ============================================================
   Flow diagram — connected pipeline
============================================================ */
.flow-diagram {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; margin-bottom: 62px;
}
.flow-step {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px;
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute;
  top: 28px; left: 50%; width: 100%; height: 3px; z-index: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.35;
}
.flow-step-icon {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--accent-border);
  color: var(--accent); font-size: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.flow-step:hover .flow-step-icon { transform: translateY(-3px); border-color: var(--accent); }
.flow-step-label { font-size: 0.95rem; font-weight: 700; color: var(--text); }


/* ============================================================
   Decision matrix
============================================================ */
.matrix-wrap {
  max-width: 1040px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.matrix { width: 100%; border-collapse: collapse; min-width: 660px; }
.matrix thead th {
  text-align: left; padding: 18px 24px;
  background: var(--surface-2);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.matrix tbody td {
  padding: 22px 24px; border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem; color: var(--text-soft); vertical-align: top; line-height: 1.6;
}
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr { transition: background .15s ease; }
.matrix tbody tr:hover { background: var(--surface-2); }
.matrix th:nth-child(1), .matrix td:nth-child(1) { width: 18%; }
.matrix th:nth-child(2), .matrix td:nth-child(2) { width: 44%; }
.matrix th:nth-child(3), .matrix td:nth-child(3) { width: 38%; }
.matrix-area {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--text); font-size: 0.98rem;
}
.matrix-area::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }
.matrix tbody tr:nth-child(1) .matrix-area::before { background: #2563eb; }
.matrix tbody tr:nth-child(2) .matrix-area::before { background: #7c3aed; }
.matrix tbody tr:nth-child(3) .matrix-area::before { background: #16a34a; }
.matrix tbody tr:nth-child(4) .matrix-area::before { background: #f59e0b; }
.matrix tbody tr:nth-child(5) .matrix-area::before { background: #06b6d4; }
.matrix-decision { color: var(--text); font-weight: 600; }


/* ============================================================
   Use-case list
============================================================ */
.use-cases {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 60px; max-width: 980px; margin: 0 auto;
}
.use-case {
  position: relative; padding: 24px 0 24px 28px;
  border-bottom: 1px solid var(--border-soft);
}
.use-case::before {
  content: ""; position: absolute; left: 0; top: 31px;
  width: 11px; height: 11px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.use-case:nth-last-child(-n+2) { border-bottom: none; }
.use-case-name { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.use-case-desc { font-size: 0.94rem; color: var(--text-muted); }


/* ============================================================
   Timeline
============================================================ */
.timeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; position: relative; margin-bottom: 60px;
}
.timeline::before {
  content: ""; position: absolute; top: 28px;
  left: 16.66%; right: 16.66%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.3;
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.timeline-marker {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 26px -8px rgba(37,99,235,.55);
}
.timeline-marker::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--accent-border);
}
.timeline-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.timeline-body p { font-size: 0.96rem; color: var(--text-soft); max-width: 280px; margin: 0 auto; }


/* ============================================================
   System Layers (other pages)
============================================================ */
.layers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; counter-reset: layer; }
.layer {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px 26px 32px;
  counter-increment: layer; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.layer:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-border); }
.layer::before {
  content: "Layer 0" counter(layer);
  display: inline-block; margin-bottom: 12px; padding: 4px 10px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-border); border-radius: 999px;
}
.layer::after {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.layer h3 { font-size: 1.1rem; margin-bottom: 7px; }
.layer p { font-size: 0.94rem; color: var(--text-soft); }


/* ============================================================
   Industries / industry detail cards (other pages)
============================================================ */
.industries { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.industry {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-border); }
.industry h3 { font-size: 1.05rem; margin-bottom: 5px; }
.industry p { font-size: 0.9rem; color: var(--text-soft); }

.industry-card { display: flex; flex-direction: column; }
.card-tag {
  display: inline-block; align-self: flex-start; margin-bottom: 10px;
  padding: 4px 10px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px;
}
.industry-card > p { margin-bottom: 22px; }
.questions-block { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.questions-block h4 {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 14px;
}
.questions { display: grid; gap: 11px; }
.questions li { position: relative; padding-left: 28px; font-size: 0.94rem; color: var(--text-soft); line-height: 1.55; }
.questions li::before {
  content: "?"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent); font-size: 0.72rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}


/* ============================================================
   Comparison table (other pages)
============================================================ */
.compare-wrap {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
  max-width: 1000px; margin: 0 auto; box-shadow: var(--shadow);
}
.compare-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 560px; }
.compare th, .compare td {
  padding: 18px 24px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text); background: var(--surface-2);
}
.compare th.col-label { width: 22%; color: var(--text-muted); }
.compare tbody th {
  font-weight: 700; color: var(--text-muted); font-size: 0.84rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.compare td.col-bad { color: var(--text-soft); }
.compare td.col-good {
  color: var(--text); font-weight: 600;
  background: linear-gradient(90deg, rgba(37,99,235,.06), rgba(124,58,237,.04));
}
.compare thead th.col-good {
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(124,58,237,.12));
  color: var(--accent);
}

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
.comparison-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.comparison-card.before { border-top: 3px solid var(--danger); }
.comparison-card.after { border-top: 3px solid var(--success); }
.comparison-card h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--text-muted); margin-bottom: 16px; }
.comparison-card ul { display: grid; gap: 11px; }
.comparison-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.95rem; color: var(--text-soft); line-height: 1.5; }
.comparison-card.before li::before {
  content: "\00d7"; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(239,68,68,.1); color: var(--danger);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.comparison-card.after li::before {
  content: "\2713"; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(22,163,74,.12); color: var(--success);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.72rem;
}


/* ============================================================
   Check list (other pages)
============================================================ */
.check-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px 18px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 16px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; color: var(--text-soft); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.check-list li:hover { transform: translateX(3px); border-color: var(--accent-border); }
.check-list li::before {
  content: "\2713"; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.35);
  color: var(--success); font-size: 0.72rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.check-list.cols-3 { grid-template-columns: repeat(3,1fr); }


/* ============================================================
   Steps (other pages)
============================================================ */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(4,1fr); counter-reset: step; }
.steps.cols-3 { grid-template-columns: repeat(3,1fr); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-border); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 0.8rem; color: var(--accent);
  font-weight: 800; letter-spacing: 0.14em; margin-bottom: 13px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: 0.91rem; color: var(--text-soft); }


/* ============================================================
   Categories + blog cards (Insights)
============================================================ */
.categories { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; max-width: 880px; margin: 0 auto; }
.category-pill {
  padding: 10px 19px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.88rem; color: var(--text-soft); font-weight: 600; box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.category-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; }
.post-category {
  display: inline-block; align-self: flex-start; margin-bottom: 14px;
  padding: 4px 10px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px;
}
.post-card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 11px; }
.post-excerpt { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 22px; }
.post-read {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 700; color: var(--accent); transition: gap .2s ease;
}
.post-card:hover .post-read { gap: 11px; }
.post-read::after { content: "\2192"; font-size: 1rem; }


/* ============================================================
   Contact form (other page)
============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-sidebar { padding-top: 6px; }
.contact-sidebar h3 { font-size: 1.1rem; margin-bottom: 12px; }
.form-help {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.08));
  border: 1px solid var(--accent-border); border-radius: var(--radius);
  padding: 20px 22px; font-size: 0.94rem; color: var(--text-soft);
  line-height: 1.6; margin-bottom: 28px;
}
.form-help-title { display: block; color: var(--text); font-weight: 800; margin-bottom: 6px; }
.trust-list { display: grid; gap: 13px; }
.trust-list li { display: flex; align-items: center; gap: 13px; font-size: 0.95rem; color: var(--text-soft); }
.trust-list li::before {
  content: "\2713"; flex-shrink: 0; width: 23px; height: 23px; border-radius: 50%;
  background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.4);
  color: var(--success); font-size: 0.78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-group label { font-size: 0.86rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group label .req { color: var(--accent); margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.form-group select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7a93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer;
}
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option { flex: 1; min-width: 110px; position: relative; }
.radio-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-option label {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 15px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  font-size: 0.92rem; font-weight: 700; color: var(--text-soft); margin-bottom: 0;
  transition: all .2s ease;
}
.radio-option label:hover { border-color: var(--accent); color: var(--accent); }
.radio-option input[type="radio"]:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.form-submit { width: 100%; margin-top: 6px; }
.form-fine { margin-top: 14px; font-size: 0.83rem; color: var(--text-muted); text-align: center; }


/* ============================================================
   Prose (other pages)
============================================================ */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.06rem; margin-bottom: 17px; color: var(--text-soft); }
.prose p:last-child { margin-bottom: 0; }


/* ============================================================
   CTA panel
============================================================ */
.cta-band, .cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 78px 52px; text-align: center;
  color: #f4f7fc;
  background:
    radial-gradient(620px 380px at 14% 6%,  rgba(37,99,235,.45), transparent 60%),
    radial-gradient(620px 400px at 86% 100%, rgba(124,58,237,.5), transparent 60%),
    linear-gradient(180deg, #0b1226, #070b1a);
  border: 1px solid rgba(120,150,255,.2);
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-panel::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64%; height: 1px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  box-shadow: 0 0 16px #60a5fa;
}
.cta-band > *, .cta-panel > * { position: relative; z-index: 1; }
.cta-band h2, .cta-panel h2 { margin-bottom: 16px; color: #fff; }
.cta-band p, .cta-panel p { max-width: 580px; margin: 0 auto 34px; font-size: 1.08rem; color: #c2cde0; }


/* ============================================================
   Footer
============================================================ */
.site-footer {
  padding: 76px 0 34px;
  background: linear-gradient(180deg, #070b1a, #04060f);
  border-top: 1px solid rgba(120,150,255,.14);
  position: relative; color: #c2cde0;
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 720px; height: 1px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  box-shadow: 0 0 14px #60a5fa;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-tagline { font-size: 0.96rem; color: #93a3c2; max-width: 320px; line-height: 1.65; margin-bottom: 20px; }
.footer-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 22px -8px rgba(37,99,235,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-cta:hover { color: #fff; transform: translateY(-2px); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #f4f7fc; margin-bottom: 20px; }
.footer-col a { color: #93a3c2; font-size: 0.94rem; transition: color .2s ease; }
.footer-col a:hover { color: #93b4ff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(120,150,255,.12);
  font-size: 0.85rem; color: #6b7a93;
}
.footer-mini { color: #6b7a93; }

[id] { scroll-margin-top: var(--scroll-offset); }


/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1280px) {
  .site-nav { gap: 10px; }
  .nav-link { padding: 8px 10px; font-size: 0.84rem; }
  .nav-cta { padding: 10px 16px; font-size: 0.84rem; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; max-width: 480px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 22px 26px 44px;
    background: #fff; border-top: 1px solid var(--border-soft);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-item { width: 100%; }
  .nav-item__head {
    width: 100%;
    justify-content: space-between;
  }
  .nav-link {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    white-space: normal;
  }
  .nav-chevron { display: none; }
  .nav-submenu-toggle { display: inline-flex; }
  .nav-item--dropdown::after {
    display: none;
  }
  .nav-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0 0 6px;
    padding: 6px 8px 8px;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    background: var(--surface-2);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }
  .nav-item--dropdown.is-open .nav-dropdown { display: block; }
  .nav-item--dropdown:hover .nav-dropdown,
  .nav-item--dropdown:focus-within .nav-dropdown {
    transform: none;
  }
  .nav-dropdown__list a {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .nav-dropdown__all {
    margin-top: 2px;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .nav-cta { margin-top: 16px; padding: 15px 22px; width: 100%; flex-shrink: 0; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .layers, .industries, .steps, .steps.cols-3, .check-list.cols-3 { grid-template-columns: repeat(2,1fr); }
  .hero-grid .hero-layout { grid-template-columns: 1fr; gap: 56px; }
  .dashboard-float { left: 12px; bottom: 16px; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .comparison-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Flow pipeline → vertical */
  .flow-diagram { flex-direction: column; gap: 0; }
  .flow-step { flex-direction: row; align-items: center; text-align: left; gap: 18px; padding-bottom: 26px; width: 100%; }
  .flow-step:not(:last-child)::after { top: 58px; left: 28px; width: 3px; height: calc(100% - 58px); }
  .flow-step:last-child { padding-bottom: 0; }

  /* Timeline → vertical */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; }
  .timeline-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 32px; }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-marker { margin-bottom: 0; flex-shrink: 0; }
  .timeline-body p { margin: 0; max-width: none; }
}

@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .layers, .industries, .steps, .steps.cols-3, .check-list, .check-list.cols-3 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 76px; }
  .hero-sub { font-size: 1.06rem; }
  .cta-band, .cta-panel { padding: 52px 26px; }

  .matrix { min-width: 0; }
  .matrix thead { display: none; }
  .matrix tbody, .matrix tr, .matrix td { display: block; width: 100%; }
  .matrix td:nth-child(1), .matrix td:nth-child(2), .matrix td:nth-child(3) { width: 100%; }
  .matrix tbody tr { border-bottom: 1px solid var(--border); padding: 10px 4px; }
  .matrix tbody tr:last-child { border-bottom: 0; }
  .matrix tbody td { border-bottom: 0; padding: 7px 20px; }
  .matrix td::before {
    content: attr(data-label); display: block;
    font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 3px;
  }

  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 40px; }
  .footer-col:nth-child(n+3) { grid-column: span 1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 640px) {
  .use-cases { grid-template-columns: 1fr; column-gap: 0; }
  .use-case:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .use-case:last-child { border-bottom: none; }
  .hero-proof { gap: 24px; }
  .dashboard-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .dashboard-mock { padding: 16px; }
  .dashboard-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ============================================================
   HOMEPAGE — Enterprise product page
============================================================ */

/* Shared eyebrow + text link */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.09em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 700; color: var(--accent);
  transition: gap .2s ease;
}
.text-link:hover { gap: 10px; color: var(--accent-2); }

.btn-light {
  background: #fff; color: #1e3a8a;
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.35);
}
.btn-light:hover { color: var(--accent); transform: translateY(-2px); }


/* --- Decorative blobs + pattern --- */
.blob-gradient {
  position: absolute; border-radius: 50%; filter: blur(72px);
  pointer-events: none; z-index: 0;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob-a {
  width: 520px; height: 520px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(37,99,235,.45), transparent 68%);
}
.blob-b {
  width: 440px; height: 440px; top: 10%; right: -60px;
  background: radial-gradient(circle, rgba(124,58,237,.38), transparent 68%);
  animation-delay: -4s;
}
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18px, -22px) scale(1.06); }
}

.vector-pattern {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 20%, #000, transparent 75%);
}


/* --- 1. Product Hero (dark) --- */
.product-hero {
  padding: 108px 0 96px;
  background:
    radial-gradient(720px 480px at 14% 8%,  rgba(37,99,235,.38), transparent 62%),
    radial-gradient(680px 440px at 90% 12%, rgba(124,58,237,.34), transparent 62%),
    linear-gradient(180deg, #070b1a 0%, #0a1226 100%);
  color: #f4f7fc;
  position: relative;
  overflow: hidden;
}
.product-hero .container { position: relative; z-index: 2; }
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.product-hero-copy { position: relative; z-index: 2; min-width: 0; }
.product-hero-copy h1 { margin-bottom: 22px; color: #fff; }
.product-hero-copy .hero-sub { color: #c2cde0; max-width: 540px; }
.product-hero .btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #f4f7fc;
}
.product-hero .btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #93b4ff;
  color: #fff;
}

.hero-visual {
  position: relative; z-index: 2;
  min-width: 0;
  width: 100%;
  transition: transform .35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .blob-gradient { animation: none; }
  .hero-visual:hover,
  .visual-section-art:hover,
  .tab-panel-art:hover,
  .visual-placeholder:hover { transform: none; }
}
.hero-visual:hover { transform: translateY(-6px); }
.hero-visual::before {
  content: "";
  position: absolute; inset: -12% -8%;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,.22), transparent 70%);
  z-index: -1;
}


/* --- Dashboard mockup window --- */
.mockup-window {
  background: linear-gradient(180deg, rgba(17,25,46,.96), rgba(9,14,30,.98));
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 18px;
  overflow: hidden;
  color: #f4f7fc;
  box-shadow:
    0 40px 90px -34px rgba(0,0,0,.88),
    0 0 0 1px rgba(120,150,255,.08) inset,
    0 0 80px -20px rgba(37,99,235,.32);
  transition: box-shadow .35s ease;
}
.mockup-window:hover {
  box-shadow:
    0 48px 100px -30px rgba(0,0,0,.9),
    0 0 0 1px rgba(120,150,255,.14) inset,
    0 0 100px -16px rgba(37,99,235,.4);
}
.mockup-window--flat { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow); }

.mw-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(148,163,184,.14);
}
.mockup-window--flat .mw-bar { background: var(--surface-2); border-color: var(--border); }
.mw-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(148,163,184,.35); }
.mw-dot:nth-child(1) { background: #f87171; }
.mw-dot:nth-child(2) { background: #fbbf24; }
.mw-dot:nth-child(3) { background: #4ade80; }
.mw-title { flex: 1; text-align: center; font-size: 0.74rem; font-weight: 600; color: #93a3c2; }
.mockup-window--flat .mw-title { color: var(--text-muted); }
.mw-live {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.35);
  font-size: 0.66rem; font-weight: 800; color: #4ade80;
}
.mw-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.mw-body { display: flex; min-height: 320px; overflow-x: auto; }
.mw-side {
  width: 48px; padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(0,0,0,.2); border-right: 1px solid rgba(148,163,184,.1);
}
.mw-side-logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff;
}
.mw-side-item {
  width: 22px; height: 4px; border-radius: 4px;
  background: rgba(148,163,184,.2);
}
.mw-side-item.active { background: rgba(96,165,250,.7); width: 26px; }

.mw-main { flex: 1; min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mw-toprow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw-score { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(8,13,28,.65); border: 1px solid rgba(148,163,184,.12); border-radius: 11px; }
.mw-ring {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#3b82f6 0% 87%, rgba(148,163,184,.15) 87% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mw-ring::before { content: ""; position: absolute; inset: 5px; background: #0b1226; border-radius: 50%; }
.mw-ring span { position: relative; font-size: 1rem; font-weight: 800; color: #fff; }
.mw-mini-label { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #93a3c2; }
.mw-chip { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; }
.mw-chip.ok { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.35); }
.mw-kpi-mini { padding: 12px; background: rgba(8,13,28,.65); border: 1px solid rgba(148,163,184,.12); border-radius: 11px; }
.mw-kpi-val { display: block; font-size: 1.2rem; font-weight: 800; color: #4ade80; }
.mw-kpi-sub { font-size: 0.72rem; color: #93a3c2; }

.mw-card { padding: 12px; background: rgba(8,13,28,.65); border: 1px solid rgba(148,163,184,.12); border-radius: 11px; }
.mw-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; color: #c2cde0; }
.mw-tag { font-size: 0.65rem; color: #93a3c2; padding: 2px 8px; background: rgba(148,163,184,.12); border-radius: 999px; }
.mw-chart { width: 100%; height: 72px; display: block; }

.mw-bars { display: flex; flex-direction: column; gap: 8px; }
.mw-bar-row { display: grid; grid-template-columns: 52px 1fr 36px; align-items: center; gap: 8px; font-size: 0.7rem; color: #c2cde0; }
.mw-track { height: 6px; background: rgba(148,163,184,.18); border-radius: 999px; overflow: hidden; }
.mw-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #7c3aed); }
.mw-track i.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.mw-bar-row b { text-align: right; color: #fff; font-size: 0.7rem; }

.mw-action {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(124,58,237,.18));
  border: 1px solid rgba(120,150,255,.3); border-radius: 11px;
}
.mw-action-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff;
}
.mw-action-text { display: block; font-size: 0.82rem; font-weight: 600; color: #f4f7fc; line-height: 1.4; }


/* --- 2. Section navigation (sticky) --- */
.section-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px -12px rgba(15,23,42,.12);
}
.section-nav-scroll {
  margin: 0 -4px;
}
.section-nav-inner {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  min-width: min-content;
}
.section-nav a {
  padding: 16px 20px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.section-nav a:hover { color: var(--accent); }
.section-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.page-home section { padding: var(--section-py-home) 0; }
.page-home .product-hero {
  padding: calc(var(--section-py-home) + 12px) 0 var(--section-py-home);
}
.page-home .cta-section {
  padding: calc(var(--section-py-home) * 0.75) 0 var(--section-py-home);
}
.page-home { overflow-x: hidden; }


/* --- 3. Visual sections (split layout) --- */
.visual-section { padding: 0; }
.visual-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.visual-section-grid.reverse { direction: rtl; }
.visual-section-grid.reverse > * { direction: ltr; }
.visual-section-copy h2 { margin-bottom: 18px; }
.visual-section-copy p { font-size: 1.05rem; margin-bottom: 16px; }
.visual-section-copy p:last-of-type { margin-bottom: 0; }
.visual-section-art { transition: transform .3s ease; }
.visual-section-art:hover { transform: translateY(-5px); }


/* Pipeline visual */
.pipeline {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 12px; padding: 28px 22px; flex-wrap: wrap;
}
.pipeline-node {
  flex: 1; min-width: 140px;
  padding: 20px 16px; text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pipeline-node:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.pipeline-node--highlight {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.06));
  border-color: var(--accent-border);
}
.pipeline-icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 1.1rem; margin-bottom: 12px;
  -webkit-text-fill-color: #fff;
}
.pipeline-node--highlight .pipeline-icon { box-shadow: 0 10px 22px -8px rgba(37,99,235,.45); }
.pipeline-name,
.pipeline-note {
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}
.pipeline-note { color: var(--text-muted); }
.pipeline-name { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pipeline-note { display: block; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.pipeline-arrow { align-self: center; font-size: 1.4rem; color: var(--accent); font-weight: 700; opacity: .5; }


/* --- 4. Feature tabs (CSS radio — no JS required) --- */
.feature-tabs {
  margin-top: 8px;
  position: relative;
  z-index: 2;
}
.tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tab-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 3;
}
.tab-button {
  display: inline-block;
  padding: 12px 22px;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
  position: relative;
  z-index: 1;
  user-select: none;
}
.tab-button:hover { color: var(--accent); background: var(--accent-soft); }

.feature-tabs .tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  animation: tabFadeIn .35s ease;
}

#area-sales:checked ~ #panel-sales,
#area-marketing:checked ~ #panel-marketing,
#area-revenue:checked ~ #panel-revenue,
#area-operations:checked ~ #panel-operations,
#area-executive:checked ~ #panel-executive {
  display: grid;
}

#area-sales:checked ~ .tab-bar label[for="area-sales"],
#area-marketing:checked ~ .tab-bar label[for="area-marketing"],
#area-revenue:checked ~ .tab-bar label[for="area-revenue"],
#area-operations:checked ~ .tab-bar label[for="area-operations"],
#area-executive:checked ~ .tab-bar label[for="area-executive"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-soft);
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel-copy h3 { font-size: 1.45rem; margin-bottom: 14px; }
.tab-panel-copy p { font-size: 1.02rem; margin-bottom: 22px; }
.outcome-list { display: grid; gap: 12px; }
.outcome-list li {
  position: relative; padding-left: 28px;
  font-size: 0.96rem; font-weight: 500; color: var(--text-soft);
}
.outcome-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.tab-panel-art { transition: transform .3s ease; }
.tab-panel-art:hover { transform: translateY(-4px); }

.report-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.rm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rm-title { font-size: 0.9rem; font-weight: 800; color: var(--text); }
.rm-tag {
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-border); border-radius: 999px;
}
.rm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.rm-kpi {
  padding: 14px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.rm-kpi-num { display: block; font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.rm-kpi-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rm-cols { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 8px; }
.rm-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.rm-col i {
  display: block; width: 100%; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: .85;
  transition: height .3s ease;
}

/* --- 4b. Decision Systems platform showcase (premium) --- */
.decision-systems-section {
  position: relative;
}
.decision-systems-section .section-head {
  margin-bottom: var(--block-gap);
}
.decision-systems-showcase {
  position: relative;
}
/* Horizontal tab scroll (prev/next when overflow) */
.tabs-scroll {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 100%;
  position: relative;
}
.tabs-scroll__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-inline: 12px;
}
.tabs-scroll__viewport::-webkit-scrollbar { display: none; }
.tabs-scroll__btn {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.tabs-scroll__btn:hover:not(:disabled) {
  color: var(--accent);
  background: var(--accent-soft);
}
.tabs-scroll__btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}
.tabs-scroll--loop .tabs-scroll__btn {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}
.tabs-scroll:not(.tabs-scroll--overflow) .tabs-scroll__btn {
  display: none;
}
.tabs-scroll__icon {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.tabs-scroll--at-start .tabs-scroll__btn--prev:disabled,
.tabs-scroll--at-end .tabs-scroll__btn--next:disabled {
  opacity: 0.28;
}
.decision-system-tabs-wrap {
  margin-bottom: 32px;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 100%;
}
.decision-system-tabs-wrap .tabs-scroll__viewport {
  padding: 0 2px;
}
.decision-system-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: min-content;
}
.decision-system-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  margin-bottom: 0;
  border: 0;
  border-radius: 10px;
  border-bottom: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-soft);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.decision-system-tab:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}
.decision-system-tab__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.decision-system-panel {
  display: none;
  animation: tabFadeIn 0.35s ease;
}
#ds-sales:checked ~ #sales,
#ds-marketing:checked ~ #marketing,
#ds-revenue:checked ~ #revenue,
#ds-operations:checked ~ #operations,
#ds-executive:checked ~ #executive {
  display: block;
}
#ds-sales:checked ~ .decision-system-tabs-wrap label[for="ds-sales"],
#ds-marketing:checked ~ .decision-system-tabs-wrap label[for="ds-marketing"],
#ds-revenue:checked ~ .decision-system-tabs-wrap label[for="ds-revenue"],
#ds-operations:checked ~ .decision-system-tabs-wrap label[for="ds-operations"],
#ds-executive:checked ~ .decision-system-tabs-wrap label[for="ds-executive"] {
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
#ds-sales:checked ~ .decision-system-tabs-wrap label[for="ds-sales"] .decision-system-tab__dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
#ds-marketing:checked ~ .decision-system-tabs-wrap label[for="ds-marketing"] .decision-system-tab__dot {
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
#ds-revenue:checked ~ .decision-system-tabs-wrap label[for="ds-revenue"] .decision-system-tab__dot {
  background: #0891b2;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
#ds-operations:checked ~ .decision-system-tabs-wrap label[for="ds-operations"] .decision-system-tab__dot {
  background: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}
#ds-executive:checked ~ .decision-system-tabs-wrap label[for="ds-executive"] .decision-system-tab__dot {
  background: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.decision-systems-shell {
  position: relative;
  padding: 28px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 242, 248, 0.95) 100%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.decision-systems-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124, 58, 237, 0.06), transparent 50%),
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  opacity: 0.85;
}
.decision-systems-shell > :not(.decision-systems-bg) {
  position: relative;
  z-index: 1;
}
.decision-system-panel__head {
  max-width: 720px;
  margin-bottom: 22px;
}
.decision-system-panel__head h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 8px;
}
.decision-system-panel__head p {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.decision-system-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 56px -28px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: linear-gradient(180deg, #fafbfd 0%, #eef2f8 100%);
  border-bottom: 1px solid var(--border-soft);
}
.mockup-header__dots {
  display: inline-flex;
  gap: 6px;
  padding-right: 4px;
  border-right: 1px solid var(--border-soft);
  margin-right: 4px;
}
.mockup-header__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.mockup-header__dots i:nth-child(1) { background: #f87171; }
.mockup-header__dots i:nth-child(2) { background: #fbbf24; }
.mockup-header__dots i:nth-child(3) { background: #4ade80; }
.mockup-header__title {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.mockup-header__live {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.decision-system-mockup__body {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 400px;
}
.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #121a2e 0%, #0f1729 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.mockup-sidebar__brand {
  width: 32px;
  height: 32px;
  margin: 0 0 14px 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mockup-sidebar__item {
  padding: 9px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  border-left: 2px solid transparent;
}
.mockup-sidebar__item.active {
  color: #fff;
  background: rgba(37, 99, 235, 0.22);
  border-left-color: var(--accent);
}
.decision-system-mockup--marketing .mockup-sidebar__item.active {
  background: rgba(124, 58, 237, 0.28);
  border-left-color: #a78bfa;
}
.decision-system-mockup--revenue .mockup-sidebar__item.active {
  background: rgba(6, 182, 212, 0.22);
  border-left-color: #22d3ee;
}
.decision-system-mockup--operations .mockup-sidebar__item.active {
  background: rgba(6, 182, 212, 0.2);
  border-left-color: #22d3ee;
}
.decision-system-mockup--executive .mockup-sidebar__item.active {
  background: rgba(99, 102, 241, 0.28);
  border-left-color: #818cf8;
}
.mockup-main {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  background: linear-gradient(180deg, #fafbfd 0%, #f5f8fc 100%);
}
.mockup-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.mockup-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-right: auto;
}
.mockup-filter {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 5px 11px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
}
.mockup-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.mockup-status-pill--sm {
  font-size: 0.6rem;
  padding: 2px 7px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.mockup-toolbar__team {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mockup-output-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mockup-output-strip__arrow {
  color: var(--accent);
  opacity: 0.7;
}
.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.mockup-kpi {
  padding: 12px 12px 11px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.mockup-kpi__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mockup-kpi__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.mockup-kpi__status {
  font-size: 0.8rem;
  font-weight: 800;
}
.mockup-kpi__status.status-ok { color: #15803d; }
.mockup-kpi__status.status-warn { color: #b45309; }
.mockup-kpi__status.status-mid { color: var(--accent); }
.mockup-kpi__trend {
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}
.mockup-kpi__trend.trend-up { color: #15803d; }
.mockup-kpi__trend.trend-down { color: #b45309; }
.mockup-kpi__trend.trend-flat { color: var(--text-muted); }
.mockup-mini-metric {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}
.mockup-mini-metric.trend-up { color: #15803d; }
.mockup-chart {
  padding: 14px 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.mockup-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.mockup-chart__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mockup-chart__inner {
  position: relative;
  min-height: 96px;
}
.mockup-chart__inner--line {
  min-height: 100px;
}
.mockup-chart-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 6px;
  opacity: 0.6;
}
.mockup-chart__bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
}
.mockup-chart__bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.92;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.45);
}
.decision-system-mockup--marketing .mockup-chart__bars span {
  background: linear-gradient(180deg, #8b5cf6, #6d28d9);
  box-shadow: 0 4px 12px -4px rgba(109, 40, 217, 0.4);
}
.decision-system-mockup--revenue .mockup-chart__svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 96px;
  color: var(--accent);
}
.decision-system-mockup--operations .mockup-chart__bars span {
  background: linear-gradient(180deg, #06b6d4, #0891b2);
  box-shadow: 0 4px 12px -4px rgba(8, 145, 178, 0.4);
}
.decision-system-mockup--executive .mockup-chart__bars span {
  background: linear-gradient(180deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 12px -4px rgba(79, 70, 229, 0.4);
}
.mockup-signals-block {
  padding-top: 2px;
}
.mockup-signals-block .mockup-section-title {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mockup-signals {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.mockup-signals li {
  position: relative;
  padding: 11px 14px 11px 34px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.45;
  border-bottom: 1px solid var(--border-soft);
}
.mockup-signals li:last-child {
  border-bottom: 0;
}
.mockup-signals li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.decision-system-mockup--marketing .mockup-signals li::before { background: #7c3aed; }
.decision-system-mockup--operations .mockup-signals li::before { background: #0891b2; }
.decision-system-mockup--executive .mockup-signals li::before { background: #6366f1; }
.mockup-recommendation {
  position: relative;
  padding: 16px 44px 16px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.06));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px -8px rgba(37, 99, 235, 0.25);
}
.mockup-recommendation__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.mockup-recommendation p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.mockup-recommendation__arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.65;
}
.decision-system-panel__footer {
  margin-top: 20px;
  padding-top: 4px;
}
.system-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.system-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.system-cta:hover {
  color: var(--accent-2);
  gap: 12px;
  border-bottom-color: var(--accent-border);
}
.system-cta:hover::after {
  transform: translateX(3px);
}

/* --- 5. Customer Stories (case study showcase) --- */
.customer-stories {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.customer-stories .container { position: relative; z-index: 2; }
.blob-stories {
  width: 560px; height: 560px;
  top: 5%; right: -160px;
  background: radial-gradient(circle, rgba(124,58,237,.2), rgba(6,182,212,.14), transparent 68%);
}

.stories-head {
  max-width: 800px;
  margin-bottom: var(--section-head-gap);
  text-align: left;
}
.stories-head h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.5vw, 2.7rem); }
.stories-head p { font-size: 1.1rem; color: var(--text-soft); max-width: 640px; }

.stories-showcase { position: relative; }
.story-input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.casestudy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.casestudy-card {
  display: none;
  overflow: hidden;
}
#story-travel:checked ~ #story-panel-travel,
#story-marketing:checked ~ #story-panel-marketing,
#story-sales:checked ~ #story-panel-sales,
#story-service:checked ~ #story-panel-service {
  display: block;
  animation: tabFadeIn .4s ease;
}

.casestudy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 400px;
}
.casestudy-copy {
  padding: 44px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  container-type: inline-size;
  container-name: casestudy-copy;
}
@container casestudy-copy (max-width: 520px) {
  .casestudy-outcomes {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .casestudy-outcomes > div {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 12px 14px;
    text-align: left;
  }
  .casestudy-stat-label {
    max-width: none;
    margin: 0;
    flex: 1;
  }
}
.casestudy-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.casestudy-logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.casestudy-company {
  font-size: 1rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em;
}
.casestudy-quote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.025em;
}
.casestudy-person {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.casestudy-person strong { color: var(--text); font-weight: 700; }
.casestudy-meta { margin-bottom: 22px; }
.casestudy-block { margin-bottom: 20px; }
.casestudy-label {
  display: block;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.casestudy-block p {
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.casestudy-results {
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.casestudy-results > .casestudy-label {
  margin-bottom: 12px;
}
.casestudy-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.casestudy-outcomes > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 14px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-align: center;
}
.casestudy-stat {
  display: block;
  font-size: 1.35rem; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
  flex-shrink: 0;
}
.casestudy-stat-label {
  display: block;
  font-size: 0.65rem; font-weight: 700;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 11em;
  margin: 0 auto;
}
.casestudy-products {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 26px;
}
.casestudy-products-label {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.casestudy-products span:not(.casestudy-products-label) {
  padding: 5px 11px;
  font-size: 0.75rem; font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.casestudy-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.casestudy-actions .btn { padding: 12px 22px; font-size: 0.9rem; }

/* Case study hero visual (photo-style placeholder + dashboard overlay) */
.casestudy-visual {
  position: relative;
  min-height: 320px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  overflow: hidden;
}
.casestudy-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.casestudy-visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.35) 55%,
    rgba(15, 23, 42, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.casestudy-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.casestudy-visual--travel .casestudy-visual-bg {
  background: linear-gradient(160deg, #7eb8e8 0%, #2d6a9f 100%);
}
.casestudy-visual--travel .casestudy-visual-bg img {
  object-position: center 40%;
}
.casestudy-visual--marketing .casestudy-visual-bg {
  background: linear-gradient(160deg, #c4b5fd 0%, #6d28d9 100%);
}
.casestudy-visual--marketing .casestudy-visual-bg img {
  object-position: center 25%;
}
.casestudy-visual--sales .casestudy-visual-bg {
  background: linear-gradient(160deg, #93c5fd 0%, #1d4ed8 100%);
}
.casestudy-visual--sales .casestudy-visual-bg img {
  object-position: center 30%;
}
.casestudy-visual--service .casestudy-visual-bg {
  background: linear-gradient(160deg, #86efac 0%, #15803d 100%);
}
.casestudy-visual-screen {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  padding: 18px 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.casestudy-screen-label {
  display: block;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.casestudy-screen-kpis {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 14px;
}
.casestudy-screen-kpis span {
  padding: 6px 11px;
  font-size: 0.78rem; color: var(--text-soft);
  background: var(--surface-2);
  border-radius: 8px;
}
.casestudy-screen-kpis b { color: var(--text); font-weight: 800; }
.casestudy-screen-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 72px;
}
.casestudy-screen-chart span {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

/* Customer stories — horizontal logo row with scroll */
.story-selector.tabs-scroll {
  flex-wrap: nowrap;
  margin-top: 32px;
  max-width: 100%;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.story-selector .tabs-scroll__viewport {
  --carousel-gap: 14px;
  --carousel-visible: 4;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  padding: 8px 4px;
  container-type: inline-size;
  container-name: stories-viewport;
}
.story-selector__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--carousel-gap);
  min-width: min-content;
  padding: 4px 0;
}
.story-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  flex: 0 0 calc(
    (100cqi - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible)
  );
  width: calc(
    (100cqi - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible)
  );
  min-width: 0;
  max-width: none;
  scroll-snap-align: center;
  padding: clamp(14px, 3vw, 20px) clamp(12px, 3vw, 22px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  user-select: none;
  text-align: center;
}
@container stories-viewport (max-width: 899px) {
  .story-selector .tabs-scroll__viewport {
    --carousel-visible: 2;
    scroll-padding-inline: 6%;
  }
}
@container stories-viewport (max-width: 599px) {
  .story-selector .tabs-scroll__viewport {
    --carousel-visible: 1;
    --carousel-gap: 12px;
    scroll-padding-inline: 6%;
  }
}
@media (min-width: 1024px) {
  .story-selector .tabs-scroll__viewport {
    --carousel-visible: 6;
    --carousel-gap: 16px;
  }
  .story-selector__track {
    width: 100%;
    justify-content: center;
    gap: var(--carousel-gap);
  }
  .story-selector:not(.tabs-scroll--overflow) .story-selector__track {
    justify-content: center;
  }
  .story-selector__track .story-pick {
    flex: 0 0 auto;
    width: auto;
    min-width: 128px;
    max-width: 168px;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .story-selector .tabs-scroll__viewport {
    --carousel-visible: 2;
  }
  .story-selector__track .story-pick {
    flex: 0 0 calc((100% - var(--carousel-gap)) / 2);
    width: calc((100% - var(--carousel-gap)) / 2);
  }
}
@media (max-width: 599px) {
  .story-selector .tabs-scroll__viewport {
    --carousel-visible: 1;
  }
  .story-selector__track .story-pick {
    flex: 0 0 88%;
    width: 88%;
  }
}
.story-pick:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.story-pick-logo {
  width: clamp(44px, 14vw, 52px);
  height: clamp(44px, 14vw, 52px);
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: clamp(0.7rem, 2.5vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.story-pick-name {
  width: 100%;
  font-size: clamp(0.72rem, 2.8vw, 0.8rem);
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.3;
  max-width: 100%;
}
#story-travel:checked ~ .story-selector label[for="story-travel"],
#story-marketing:checked ~ .story-selector label[for="story-marketing"],
#story-sales:checked ~ .story-selector label[for="story-sales"],
#story-service:checked ~ .story-selector label[for="story-service"] {
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow);
}
#story-travel:checked ~ .story-selector label[for="story-travel"] .story-pick-logo,
#story-marketing:checked ~ .story-selector label[for="story-marketing"] .story-pick-logo,
#story-sales:checked ~ .story-selector label[for="story-sales"] .story-pick-logo,
#story-service:checked ~ .story-selector label[for="story-service"] .story-pick-logo {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
#story-travel:checked ~ .story-selector label[for="story-travel"] .story-pick-name,
#story-marketing:checked ~ .story-selector label[for="story-marketing"] .story-pick-name,
#story-sales:checked ~ .story-selector label[for="story-sales"] .story-pick-name,
#story-service:checked ~ .story-selector label[for="story-service"] .story-pick-name {
  color: var(--accent);
}
.stories-footnote {
  text-align: center;
  margin-top: 28px;
  font-size: 0.95rem;
}

/* --- 6. Industries showcase (section-master layout) --- */
.industries-showcase {
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
}
.industries-showcase__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.industries-showcase__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(238, 242, 248, 0.55) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    #ffffff 100%
  );
}
.industries-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.industries-showcase__inner {
  position: relative;
  z-index: 1;
}
.industries-showcase__header {
  margin-bottom: var(--section-head-gap);
}
.industries-showcase__link {
  display: inline-block;
  margin-top: 14px;
}
.audit-sources-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  padding: 16px 28px 18px;
  border-bottom: 1px solid var(--border-soft);
}
/* Industries horizontal carousel (6 items) */
.industries-carousel.tabs-scroll {
  align-items: stretch;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.industries-carousel .tabs-scroll__viewport {
  --carousel-gap: 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 8px 0;
  container-type: inline-size;
  container-name: industries-viewport;
}
.industries-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--carousel-gap);
  padding: 0;
}
/* Mobile first: 1 card fills the scroll viewport */
.industry-card--carousel {
  box-sizing: border-box;
  flex: 0 0 100cqw;
  width: 100cqw;
  max-width: 100cqw;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: center;
  padding: clamp(14px, 4vw, 18px) clamp(12px, 3vw, 16px);
}
.industry-card--carousel .industry-row-title,
.industry-card--carousel .industry-row-text,
.industry-card--carousel .industry-card__link {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.industry-card--carousel .industry-row-text {
  font-size: clamp(0.78rem, 3.2vw, 0.84rem);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.industry-card--carousel .industry-row-title {
  font-size: clamp(0.88rem, 3.8vw, 0.95rem);
  line-height: 1.3;
}
.industry-card--carousel .industry-card__link {
  font-size: clamp(0.82rem, 3vw, 0.92rem);
  margin-top: auto;
}
.industry-card--carousel .industry-card__icon {
  width: clamp(40px, 12vw, 44px);
  height: clamp(40px, 12vw, 44px);
  margin-bottom: 10px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .industry-card--carousel {
    flex: 0 0 calc(100cqw - 4px);
    width: calc(100cqw - 4px);
    max-width: calc(100cqw - 4px);
  }
  @supports not (width: 100cqw) {
    .industry-card--carousel {
      flex: 0 0 calc(100vw - 8rem);
      width: calc(100vw - 8rem);
      max-width: calc(100vw - 8rem);
    }
  }
  .industry-card--carousel .industry-row-text {
    -webkit-line-clamp: 5;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .industries-carousel .tabs-scroll__viewport {
    --carousel-gap: 14px;
    scroll-padding-inline: 4px;
  }
  .industry-card--carousel {
    flex: 0 0 calc((100cqw - var(--carousel-gap)) / 2);
    width: calc((100cqw - var(--carousel-gap)) / 2);
    max-width: calc((100cqw - var(--carousel-gap)) / 2);
  }
}
@media (min-width: 1024px) {
  .industries-carousel .tabs-scroll__viewport {
    --carousel-gap: 14px;
    --carousel-visible: 6;
    scroll-padding-inline: 0;
  }
  .industries-carousel__track {
    width: 100%;
    justify-content: center;
  }
  .industries-carousel:not(.tabs-scroll--overflow) .industries-carousel__track {
    justify-content: center;
  }
  .industries-carousel__track .industry-card--carousel {
    flex: 0 0 auto;
    width: min(196px, calc((100cqw - (5 * var(--carousel-gap))) / 6));
    max-width: 210px;
    min-width: 150px;
  }
}
.industry-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}
.industry-card--cta {
  justify-content: flex-end;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  padding: 24px;
  background:
    linear-gradient(145deg, #dbeafe 0%, #e0e7ff 42%, #ede9fe 100%);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-sm);
}
.industry-card--cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}
.industry-card--cta .industry-row-text {
  margin-bottom: auto;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.industry-card--cta .industries-cta {
  margin-top: 16px;
}
.industry-card__icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  flex-shrink: 0;
}
.industry-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.industry-card__icon span {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}
.industry-card__icon--fallback img {
  display: none;
}
.industry-card__icon--fallback span {
  display: flex;
}
.industry-row-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}
.industry-row-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  flex: 1;
}
.industry-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s ease, color 0.2s ease;
}
.industry-card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.industry-card__link:hover {
  color: var(--accent-2);
  gap: 10px;
}
.industry-card__link:hover::after {
  transform: translateX(3px);
}
.industries-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}
.industries-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.industries-cta:hover {
  color: var(--accent-2);
  gap: 12px;
}
.industries-cta:hover::after {
  transform: translateX(3px);
}
.visual-placeholder {
  position: relative;
  padding: 16px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.visual-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.visual-placeholder .report-mock,
.visual-placeholder .trust-mock {
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 8px 0 0;
}
.visual-placeholder--tall { min-height: 280px; display: flex; align-items: center; width: 100%; }


/* --- 6. Process journey --- */
.process-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 16px;
}
.process-journey::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .28;
  z-index: 0;
}
.journey-step {
  position: relative; z-index: 1;
  text-align: center;
  padding: 28px 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.journey-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}
.journey-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 0.78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(37,99,235,.5);
}
.journey-icon {
  display: block; font-size: 1.5rem; margin: 12px 0 14px;
  color: var(--accent);
}
.journey-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.journey-step p { font-size: 0.9rem; color: var(--text-soft); }


/* --- 7. Audit preview --- */
.audit-preview {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.audit-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(90deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--border);
}
.audit-title { font-size: 0.95rem; font-weight: 800; color: var(--text); }
.audit-flag {
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-border);
}
.audit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.audit-stat {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}
.audit-stat:last-child { border-right: 0; }
.audit-num {
  display: block;
  font-size: 2.6rem; font-weight: 800;
  line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.audit-num.warn { color: var(--warning); }
.audit-num.success { color: var(--success); }
.audit-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); }

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.decision-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.decision-matrix thead th {
  text-align: left;
  padding: 16px 24px;
  background: var(--surface-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.decision-matrix tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.94rem;
  color: var(--text-soft);
  vertical-align: top;
  line-height: 1.55;
}
.decision-matrix tbody tr:last-child td { border-bottom: 0; }
.decision-matrix tbody tr:hover { background: var(--surface-2); }
.dm-signal {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--text);
}
.dm-signal::before {
  content: "";
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--accent);
  flex-shrink: 0;
}
.decision-matrix tbody tr:nth-child(1) .dm-signal::before { background: #2563eb; }
.decision-matrix tbody tr:nth-child(2) .dm-signal::before { background: #7c3aed; }
.decision-matrix tbody tr:nth-child(3) .dm-signal::before { background: #16a34a; }
.decision-matrix tbody tr:nth-child(4) .dm-signal::before { background: #f59e0b; }


/* --- Management comparison (Built for Management section) --- */
.management-section .visual-section-copy p {
  margin-bottom: 14px;
}
.management-value-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}
.management-value-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.45;
}
.management-value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.management-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  margin-bottom: 0;
}
.management-comparison {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 248, 0.98) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.management-comparison__panels {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  align-items: stretch;
}
.management-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  overflow: hidden;
}
.management-panel--raw {
  opacity: 0.92;
  box-shadow: var(--shadow-sm);
}
.management-panel--decision {
  border-color: var(--accent-border);
  box-shadow:
    0 4px 20px -8px rgba(37, 99, 235, 0.35),
    var(--shadow);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.management-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.management-panel--decision .management-panel__head {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
  border-bottom-color: var(--accent-border);
}
.management-panel__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.management-panel--decision .management-panel__title {
  color: var(--accent);
}
.management-panel__badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.management-panel__body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.management-raw-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.management-raw-kpi {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 5px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
}
.management-raw-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.management-raw-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 52px;
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}
.management-raw-chart--sm {
  height: 40px;
}
.management-raw-chart__bar {
  flex: 1;
  border-radius: 2px 2px 1px 1px;
  background: #cbd5e1;
  min-height: 4px;
}
.management-raw-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.management-raw-notes li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.management-raw-notes li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #94a3b8;
}
.management-block__title {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.management-signal-list,
.management-action-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.management-signal-list li,
.management-action-list li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.4;
  padding: 8px 10px 8px 26px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}
.management-signal-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.management-action-list li::before {
  content: "→";
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
}
.management-summary {
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.05));
  border: 1px solid var(--accent-border);
  border-radius: 8px;
}
.management-summary__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.management-summary__text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.management-panel__label {
  display: block;
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.management-panel__label--muted {
  color: var(--text-muted);
}
.management-panel__label--accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-top-color: var(--accent-border);
}
.management-flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.management-flow-strip__arrow {
  color: var(--accent);
  opacity: 0.75;
}
.management-flow-strip span:not(.management-flow-strip__arrow):last-of-type {
  color: var(--accent);
}

/* --- 8. FAQ accordion --- */
.faq-accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 24px;
  font-family: inherit; font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: var(--faq-height, 320px); }
.faq-answer-inner { padding: 0 24px 22px; }
.faq-answer-inner p { font-size: 0.98rem; color: var(--text-soft); line-height: 1.65; }


/* --- 9. Final CTA --- */
.cta-section { padding: 72px 0 104px; }
.gradient-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: #f4f7fc;
  background:
    radial-gradient(560px 340px at 12% 0%, rgba(37,99,235,.42), transparent 58%),
    radial-gradient(520px 360px at 88% 100%, rgba(124,58,237,.45), transparent 58%),
    linear-gradient(165deg, #0b1226, #070b1a);
  border: 1px solid rgba(120,150,255,.22);
  box-shadow: var(--shadow-lg);
}
.gradient-cta .vector-pattern { opacity: .2; }
.gradient-cta-inner { position: relative; z-index: 2; }
.gradient-cta h2 { color: #fff; margin-bottom: 16px; }
.gradient-cta p {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.06rem;
  color: #c2cde0;
}


/* ============================================================
   Responsive spacing tokens
============================================================ */
@media (max-width: 1200px) {
  :root { --container-px: 26px; }
}

@media (max-width: 1024px) {
  :root {
    --container-px: 24px;
    --section-py: 80px;
    --section-py-home: 72px;
    --section-head-gap: 40px;
    --block-gap: 20px;
    --scroll-offset: 134px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-px: 20px;
    --section-py: 64px;
    --section-py-home: 56px;
    --section-head-gap: 32px;
    --block-gap: 18px;
    --header-h: 72px;
    --scroll-offset: 120px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 18px;
    --section-py: 52px;
    --section-py-home: 48px;
    --section-head-gap: 28px;
    --block-gap: 16px;
    --scroll-offset: 114px;
  }
}

@media (max-width: 360px) {
  :root {
    --container-px: 16px;
    --section-py: 44px;
    --section-py-home: 40px;
    --section-head-gap: 24px;
    --header-h: 68px;
  }
}

@media (max-width: 320px) {
  :root { --container-px: 14px; }
}


/* ============================================================
   Homepage responsive
============================================================ */
@media (max-width: 1024px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 100%; margin: 0 auto; }
  .visual-section-grid,
  .visual-section-grid.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .management-comparison__panels { grid-template-columns: 1fr; }
  .management-panel--decision { order: -1; }
  .decision-systems-shell { padding: 18px; }
  .decision-systems-section .section-head { margin-bottom: var(--block-gap); }
  .mockup-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .decision-system-mockup__body { grid-template-columns: 1fr; min-height: 0; }
  .mockup-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    gap: 6px;
  }
  .mockup-sidebar__brand { margin: 0 8px 0 0; }
  .casestudy-inner { grid-template-columns: 1fr; min-height: 0; }
  .casestudy-visual { border-radius: 0 0 var(--radius-lg) var(--radius-lg); min-height: 240px; }
  .casestudy-copy { padding: 28px var(--container-px) 24px; }
  .process-journey { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-journey::before { display: none; }
  .audit-preview { padding: 0; }
  .matrix-scroll {
    margin: 0 calc(var(--container-px) * -0.25);
    padding: 0 calc(var(--container-px) * 0.25);
  }
}

@media (max-width: 860px) {
  .pipeline { flex-direction: column; align-items: stretch; gap: 10px; padding: 20px 16px; }
  .pipeline-arrow { transform: rotate(90deg); text-align: center; }
  .pipeline-node { min-width: 0; width: 100%; }
  .audit-stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .audit-stat:nth-child(2n) { border-right: 0; }
  .audit-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
}

@media (max-width: 768px) {
  .decision-systems-showcase,
  .stories-showcase,
  .casestudy-card,
  .mockup-window,
  .industries-carousel {
    min-width: 0;
    max-width: 100%;
  }
  .product-hero-copy .hero-sub { max-width: none; }
  .product-hero-copy h1 { margin-bottom: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 13px 22px; }
  .section-nav a { padding: 12px 14px; font-size: 0.84rem; }
  .section-nav-inner { padding: 2px 4px; gap: 2px; }
  .tabs-scroll__btn { width: 32px; min-width: 32px; }
  .decision-system-tabs-wrap { margin-bottom: 20px; padding: 4px 0; }
  .tab-button,
  .decision-system-tab { padding: 10px 14px; font-size: 0.84rem; }
  .decision-systems-shell { padding: 12px; }
  .decision-system-panel__head { margin-bottom: 12px; }
  .mockup-main { padding: 14px 12px 16px; }
  .mockup-toolbar { gap: 6px; }
  .mockup-chart__bars { height: 68px; }
  .mockup-recommendation { padding: 14px 36px 14px 14px; }
  .mockup-kpis { gap: 8px; }
  .industries-showcase__header { margin-bottom: var(--section-head-gap); }
  .management-section .visual-section-grid { gap: 28px; }
  .management-comparison { padding: 10px; }
  .management-comparison__panels { gap: 10px; }
  .management-flow-strip { margin-top: 12px; padding-top: 12px; gap: 6px 10px; font-size: 0.62rem; }
  .management-note { padding: 12px 14px; }
  .stories-head { text-align: center; margin-left: auto; margin-right: auto; }
  .stories-head p { margin-left: auto; margin-right: auto; }
  .casestudy-copy { padding: 24px var(--container-px) 22px; }
  .casestudy-outcomes { grid-template-columns: 1fr; gap: 10px; }
  .casestudy-outcomes > div { padding: 12px; }
  .casestudy-actions { gap: 10px; flex-wrap: wrap; }
  .story-selector { margin-top: 24px; }
  .stories-footnote { margin-top: 20px; }
  .faq-question { padding: 16px 18px; font-size: 0.98rem; gap: 12px; }
  .faq-answer-inner { padding: 0 18px 18px; }
  .gradient-cta { padding: 44px 20px; }
  .gradient-cta-inner .btn { margin-top: 4px; }
  .process-journey { grid-template-columns: 1fr; gap: 14px; }
  .journey-step { padding: 0 4px; }
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px 20px; padding-bottom: 32px; }
}

@media (max-width: 720px) {
  .casestudy-visual { min-height: 220px; }
  .mw-body { min-height: auto; }
  .decision-matrix tbody td { padding: 8px var(--container-px); }
  .decision-matrix tbody tr { padding: 6px 0; }
  .audit-head {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px var(--container-px);
  }
  .audit-sources-note {
    padding: 14px var(--container-px) 16px;
  }
  .audit-stats { margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .product-hero-grid { gap: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .visual-section-copy h2 { margin-bottom: 14px; }
  .visual-section-copy p { font-size: 1rem; margin-bottom: 12px; }
  .section-head p { font-size: 1rem; }
  .management-value-list { margin: 16px 0 14px; gap: 8px; }
  .mockup-kpis { grid-template-columns: 1fr 1fr; }
  .mockup-window { border-radius: 14px; }
  .gradient-cta { padding: 36px 16px; }
  .gradient-cta h2 { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { max-width: none; }
  .audit-stats { grid-template-columns: 1fr; }
  .audit-stat { border-right: 0; border-bottom: 1px solid var(--border-soft); padding: 14px 16px; }
  .audit-stat:last-child { border-bottom: 0; }
  .audit-preview { border-radius: var(--radius); }
  .rm-kpis { grid-template-columns: 1fr; }
  .mw-toprow { grid-template-columns: 1fr; }
  .casestudy-quote { font-size: 1.1rem; }
  .story-pick { padding: 14px 12px; }
}

@media (max-width: 360px) {
  .section-nav a { padding: 11px 12px; font-size: 0.8rem; }
  .tabs-scroll__btn { width: 28px; min-width: 28px; }
  .tabs-scroll__icon { font-size: 1.25rem; }
  .decision-systems-shell { padding: 10px; }
  .management-comparison { padding: 8px; }
  .faq-question { padding: 14px 14px; font-size: 0.92rem; }
  .gradient-cta { padding: 32px 14px; }
}

@media (max-width: 320px) {
  .header-inner { gap: 12px; }
  .product-hero-copy h1 { font-size: 1.85rem; }
}


/* Hero decision report mockup (decision-systems.php) */
.hero-decision-report .mw-body--report {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.mw-report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mw-report-badge {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.mw-report-badge__val {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.mw-card--signals .mw-signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mw-card--signals .mw-signal-list li {
  font-size: 0.82rem;
  color: var(--text-soft);
  padding-left: 14px;
  position: relative;
}
.mw-card--signals .mw-signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.mw-action--compact { margin-top: 0; }
.mw-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mw-pill-action {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Overview comparison columns */
.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.compare-col {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.compare-col h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-col li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.compare-col li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.compare-col--accent {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 120%);
}
.compare-col--accent li::before { color: var(--accent); content: "✓"; font-size: 0.75rem; font-weight: 700; }
.management-comparison--compact { margin-bottom: 20px; }
.decision-evolution {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
}
.decision-evolution__node {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.decision-evolution__node--highlight {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.decision-evolution__arrow {
  color: var(--accent);
  font-weight: 700;
}

/* System detail meta (page panels) */
.system-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-soft);
}
.system-detail-meta h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.system-detail-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.system-detail-meta li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 14px;
  position: relative;
}
.system-detail-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Compact decision mockups on page */
.decision-system-mockup--compact .decision-system-mockup__body {
  grid-template-columns: 1fr;
  min-height: 0;
}
.mockup-main--solo { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mockup-kpis--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mockup-kpis--row .mockup-kpi {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-kpis--row .mockup-kpi__label { font-size: 0.72rem; }
.mockup-kpis--row .mockup-kpi__status { font-size: 0.82rem; font-weight: 700; }

/* Decision output layout */
.decision-output-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: 40px;
  align-items: start;
}
.decision-output-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.decision-output-list li {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.decision-output-list li:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}
.decision-output-list strong {
  font-size: 0.95rem;
  color: var(--text);
}
.decision-output-list span {
  font-size: 0.88rem;
  color: var(--text-soft);
}
.audit-preview--embedded { margin: 0; }
.audit-stats--compact .audit-stat { padding: 14px 10px; }

/* Customization tags */
.decision-custom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.decision-custom-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.pipeline--decision .pipeline-node { min-width: 0; flex: 1; }

/* 5-step process */
.process-journey--5 {
  grid-template-columns: repeat(5, 1fr);
}
.process-journey--5::before {
  left: 10%;
  right: 10%;
}

@media (max-width: 1200px) {
  .mockup-kpis--row { grid-template-columns: repeat(2, 1fr); }
  .decision-output-layout { grid-template-columns: 1fr; }
  .process-journey--5 { grid-template-columns: repeat(3, 1fr); }
  .process-journey--5::before { display: none; }
}

@media (max-width: 768px) {
  .page-decision-systems [id],
  .page-ds-sub [id] { scroll-margin-top: 100px; }
  .compare-columns { grid-template-columns: 1fr; }
  .system-detail-meta { grid-template-columns: 1fr; }
  .mockup-kpis--row { grid-template-columns: 1fr 1fr; }
  .process-journey--5,
  .process-journey--6 { grid-template-columns: 1fr; }
  .pipeline--decision {
    flex-direction: column;
    align-items: stretch;
  }
  .pipeline--decision .pipeline-arrow { transform: rotate(90deg); align-self: center; }
}


/* --- Decision System sub pages (reusable) --- */
.page-ds-sub,
.page-decision-systems {
  overflow-x: hidden;
}
.page-ds-sub .visual-section.section-pad,
.page-ds-sub section.section-pad,
.page-decision-systems .visual-section.section-pad,
.page-decision-systems section.section-pad {
  padding: var(--section-py) 0;
}
.page-ds-sub .section-pad-bottom,
.page-decision-systems .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-ds-sub .product-hero,
.page-decision-systems .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-ds-sub [id],
.page-decision-systems [id] {
  scroll-margin-top: 120px;
}
.page-ds-sub .section-nav,
.page-decision-systems .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

/* Hero platform mockup — Decision System sub pages (dark window) */
.hero-ds-report .mw-body,
.hero-marketing-report .mw-body {
  min-height: 300px;
}
.hero-ds-report .mw-main,
.hero-marketing-report .mw-main {
  gap: 12px;
}
.mw-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.mw-kpi-tile {
  padding: 10px 10px 11px;
  background: rgba(8, 13, 28, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  min-width: 0;
}
.mw-kpi-tile__val {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1.2;
}
.mw-kpi-tile__val--ok { color: #4ade80; }
.mw-kpi-tile__val--warn { color: #fbbf24; }
.mw-track--marketing {
  background: linear-gradient(90deg, #7c3aed, #a78bfa) !important;
}
.hero-marketing-report .mw-side-item.active {
  background: rgba(167, 139, 250, 0.75);
}
.hero-sales-report .mw-side-item.active {
  background: rgba(96, 165, 250, 0.75);
}
.mw-track--sales {
  background: linear-gradient(90deg, #2563eb, #60a5fa) !important;
}
.mw-tag.warn,
.mw-card-head .mw-tag.warn {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
@media (max-width: 1024px) {
  .mw-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ds-report .mw-body,
  .hero-marketing-report .mw-body { min-height: 0; }
}
@media (max-width: 480px) {
  .mw-kpi-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .mw-kpi-tile { padding: 8px; }
  .mw-kpi-tile__val { font-size: 0.8rem; }
  .hero-ds-report .mw-bar-row,
  .hero-marketing-report .mw-bar-row { grid-template-columns: 44px 1fr 32px; font-size: 0.65rem; }
}
.page-ds-sub--marketing .hero-eyebrow .dot,
.page-ds-sub--marketing .compare-col--accent li::before {
  background: #7c3aed;
}
.page-ds-sub--marketing .compare-col--accent {
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(124, 58, 237, 0.08) 120%);
}
.page-ds-sub--sales .hero-eyebrow .dot,
.page-ds-sub--sales .compare-col--accent li::before {
  background: var(--accent);
}
.page-ds-sub--sales .compare-col--accent {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 120%);
}
.page-ds-sub--sales .ds-signal-feed__tag {
  background: var(--accent-soft);
  color: var(--accent);
}
.ds-problem-matrix--sales tbody tr:nth-child(1) .dm-signal::before { background: #2563eb; }
.ds-problem-matrix--sales tbody tr:nth-child(2) .dm-signal::before { background: #0891b2; }
.ds-problem-matrix--sales tbody tr:nth-child(3) .dm-signal::before { background: #7c3aed; }
.ds-problem-matrix--sales tbody tr:nth-child(4) .dm-signal::before { background: #f59e0b; }
.page-ds-sub--revenue .hero-eyebrow .dot,
.page-ds-sub--revenue .compare-col--accent li::before {
  background: #0891b2;
}
.page-ds-sub--revenue .compare-col--accent {
  border-color: rgba(6, 182, 212, 0.35);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(6, 182, 212, 0.08) 120%);
}
.page-ds-sub--revenue .ds-signal-feed__tag {
  background: rgba(6, 182, 212, 0.12);
  color: #0e7490;
}
.hero-revenue-report .mw-side-item.active {
  background: rgba(34, 211, 238, 0.75);
}
.ds-problem-matrix--revenue tbody tr:nth-child(1) .dm-signal::before { background: #0891b2; }
.ds-problem-matrix--revenue tbody tr:nth-child(2) .dm-signal::before { background: #f59e0b; }
.ds-problem-matrix--revenue tbody tr:nth-child(3) .dm-signal::before { background: #2563eb; }
.ds-problem-matrix--revenue tbody tr:nth-child(4) .dm-signal::before { background: #7c3aed; }
.page-ds-sub--operations .hero-eyebrow .dot,
.page-ds-sub--operations .compare-col--accent li::before {
  background: #06b6d4;
}
.page-ds-sub--operations .compare-col--accent {
  border-color: rgba(6, 182, 212, 0.35);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(6, 182, 212, 0.08) 120%);
}
.page-ds-sub--operations .ds-signal-feed__tag {
  background: rgba(6, 182, 212, 0.12);
  color: #0e7490;
}
.hero-operations-report .mw-side-item.active {
  background: rgba(34, 211, 238, 0.75);
}
.mw-track--operations {
  background: linear-gradient(90deg, #06b6d4, #22d3ee) !important;
}
.mw-track--operations-warn {
  background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}
.ds-problem-matrix--operations tbody tr:nth-child(1) .dm-signal::before { background: #06b6d4; }
.ds-problem-matrix--operations tbody tr:nth-child(2) .dm-signal::before { background: #f59e0b; }
.ds-problem-matrix--operations tbody tr:nth-child(3) .dm-signal::before { background: #2563eb; }
.ds-problem-matrix--operations tbody tr:nth-child(4) .dm-signal::before { background: #7c3aed; }

/* Executive sub page — premium leadership styling */
.page-ds-sub--executive .hero-eyebrow .dot,
.page-ds-sub--executive .compare-col--accent li::before {
  background: #6366f1;
}
.page-ds-sub--executive .compare-col--accent {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(99, 102, 241, 0.1) 120%);
}
.page-ds-sub--executive .ds-signal-feed__tag {
  background: rgba(99, 102, 241, 0.14);
  color: #4f46e5;
}
.product-hero.ds-sub-hero--executive {
  background:
    radial-gradient(720px 480px at 14% 8%, rgba(99, 102, 241, 0.32), transparent 62%),
    radial-gradient(680px 440px at 90% 12%, rgba(37, 99, 235, 0.28), transparent 62%),
    linear-gradient(180deg, #070b1a 0%, #0a1226 100%);
}
.hero-executive-report .mw-side-item.active {
  background: rgba(129, 140, 248, 0.8);
}
.mw-ring--executive {
  background: conic-gradient(#6366f1 0% 86%, rgba(148, 163, 184, 0.15) 86% 100%) !important;
}
.mw-body--executive .mw-main { gap: 10px; }
.mw-kpi-grid--exec {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mw-card--exec-summary {
  padding: 10px 12px;
}
.mw-signal-list--compact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mw-signal-list--compact li {
  font-size: 0.78rem;
  color: #c2cde0;
  padding-left: 12px;
  position: relative;
}
.mw-signal-list--compact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #818cf8;
}
.ds-signal-layout--wide { max-width: 820px; }
.ds-executive-summary-panel .audit-stats--compact {
  grid-template-columns: repeat(4, 1fr);
}
.ds-signal-feed--executive .ds-signal-feed__tag {
  min-width: 72px;
  text-align: center;
}
.ds-problem-matrix--executive tbody tr:nth-child(1) .dm-signal::before { background: #6366f1; }
.ds-problem-matrix--executive tbody tr:nth-child(2) .dm-signal::before { background: #2563eb; }
.ds-problem-matrix--executive tbody tr:nth-child(3) .dm-signal::before { background: #f59e0b; }
.ds-problem-matrix--executive tbody tr:nth-child(4) .dm-signal::before { background: #0891b2; }
.ds-problem-matrix--executive tbody tr:nth-child(5) .dm-signal::before { background: #7c3aed; }
.gradient-cta--executive {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 42%, #1e3a8a 100%);
}
@media (max-width: 1024px) {
  .ds-executive-summary-panel .audit-stats--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mw-kpi-grid--exec { grid-template-columns: 1fr; }
  .ds-executive-summary-panel .audit-stats--compact { grid-template-columns: 1fr 1fr; }
}

/* Problem list + matrix */
.ds-problem-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.ds-problem-list li {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.ds-problem-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
.ds-matrix-wrap { margin-top: 8px; }
.ds-problem-matrix tbody tr:nth-child(1) .dm-signal::before { background: #7c3aed; }
.ds-problem-matrix tbody tr:nth-child(2) .dm-signal::before { background: #2563eb; }
.ds-problem-matrix tbody tr:nth-child(3) .dm-signal::before { background: #0891b2; }
.ds-problem-matrix tbody tr:nth-child(4) .dm-signal::before { background: #f59e0b; }

/* Data source tags */
.ds-source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ds-source-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* Signal panel */
.ds-signal-layout {
  max-width: 720px;
  margin: 0 auto;
}
.ds-signal-panel { margin: 0; }
.ds-signal-feed {
  list-style: none;
  margin: 0;
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-signal-feed li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.ds-signal-feed__tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.page-ds-sub--marketing .ds-signal-feed__tag {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

/* Fit grid */
.ds-fit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.ds-fit-block {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.ds-fit-block h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.ds-fit-block--yes {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 140%);
}
.ds-fit-block--no {
  background: var(--surface-2);
}
.ds-fit-list-muted {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-fit-list-muted li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.ds-fit-list-muted li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}

/* 6-step workflow */
.process-journey--6 {
  grid-template-columns: repeat(6, 1fr);
}
.process-journey--6::before {
  left: 8%;
  right: 8%;
}

/* CTA dual actions */
.gradient-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.btn-ghost--on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost--on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 1200px) {
  .ds-problem-list { grid-template-columns: 1fr; }
  .ds-fit-grid { grid-template-columns: 1fr; }
  .process-journey--6 { grid-template-columns: repeat(3, 1fr); }
  .process-journey--6::before { display: none; }
}

@media (max-width: 768px) {
  .gradient-cta-actions { flex-direction: column; align-items: stretch; }
  .gradient-cta-actions .btn { width: 100%; text-align: center; }
}


/* --- Intelligence Platform page --- */
.page-platform {
  overflow-x: hidden;
}
.page-platform .visual-section.section-pad,
.page-platform section.section-pad {
  padding: var(--section-py) 0;
}
.page-platform .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-platform .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-platform [id] {
  scroll-margin-top: 120px;
}
.page-platform .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

/* Hero architecture */
.platform-architecture--hero {
  box-shadow: var(--shadow-lg);
}
.platform-architecture__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.platform-flow-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.platform-flow-node {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(8, 13, 28, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  text-align: center;
}
.platform-flow-node__label { display: block; }
.platform-flow-node__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}
.platform-flow-node__tags span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #93a3c2;
}
.platform-flow-node--signal {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.12);
}
.platform-flow-node--highlight {
  border-color: rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.18));
  color: #fff;
}
.platform-flow-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.7;
}
.platform-dept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
.platform-dept-pills span {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.platform-hero-action {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(120, 150, 255, 0.3);
}
.platform-hero-action__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93b4ff;
  margin-bottom: 6px;
}
.platform-hero-action p {
  margin: 0;
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Problem split */
.platform-problem .section-head { max-width: 720px; }
.platform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.platform-split__col {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.platform-split__col--muted { background: var(--surface-2); }
.platform-split__col--accent {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 130%);
  box-shadow: var(--shadow);
}
.platform-split__col h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.platform-split__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.platform-split__col h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.platform-split__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.platform-split__col li {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-left: 16px;
  position: relative;
}
.platform-split__col li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.platform-split__col--accent li::before { content: "?"; color: var(--accent); font-weight: 700; }

/* Platform bridge */
.platform-simple-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-simple-list li {
  font-size: 0.95rem;
  color: var(--text-soft);
}
.platform-bridge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.platform-bridge__node {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.platform-bridge__node--core {
  flex: 1.4;
  min-width: 200px;
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 120%);
  box-shadow: var(--shadow-sm);
}
.platform-bridge__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.platform-bridge__note {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.platform-bridge__steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.platform-bridge__steps li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.platform-bridge__arrow {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

/* Layer stack */
.platform-layer-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.platform-layer-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.platform-layer-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -1px;
  width: 2px;
  height: 12px;
  background: var(--accent);
  opacity: 0.35;
  z-index: 1;
}
.platform-layer-item:last-child { border-bottom: 0; }
.platform-layer-item--highlight {
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--surface) 55%);
  border-left: 3px solid var(--accent);
}
.platform-layer-item__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-layer-item__content h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.platform-layer-item__content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Data to decision */
.platform-flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.platform-flow-step {
  padding: 16px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.platform-flow-step__num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.platform-flow-step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.platform-flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.platform-flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.platform-flow-strip__arrow { opacity: 0.6; }
.platform-example-panel {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.platform-example-panel__row {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.platform-example-panel__row:last-child { border-bottom: 0; }
.platform-example-panel__row--action {
  background: var(--accent-soft);
}
.platform-example-panel__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}
.platform-example-panel__row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Comparison */
.platform-comparison {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.platform-comparison__col {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.platform-comparison__col--accent {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.platform-comparison__col h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.platform-comparison__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-comparison__col li {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.platform-comparison__col li::before {
  content: "—";
  position: absolute;
  left: 0;
}
.platform-comparison__col--accent li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Foundation / use cases */
.platform-foundation__base {
  text-align: center;
  padding: 20px 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #312e81 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.platform-foundation__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.platform-foundation__note {
  font-size: 0.82rem;
  color: #a5b4fc;
}
.platform-foundation__systems {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.platform-foundation__system {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.platform-foundation__system::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity .2s ease;
}
.platform-foundation__system:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.platform-foundation__system:hover::before { opacity: 1; }
.platform-foundation__system--executive {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(99, 102, 241, 0.08) 100%);
}
.platform-foundation__system-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.platform-foundation__system-desc {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.platform-foundation-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

/* Governance panel */
.platform-governance-panel__body {
  padding: 16px;
  background: var(--surface-2);
}
.platform-gov-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 0.84rem;
}
.platform-gov-row--muted {
  background: transparent;
  border-style: dashed;
  color: var(--text-muted);
}
.platform-gov-row__role { font-weight: 700; color: var(--text); }
.platform-gov-row__access { color: var(--text-soft); text-align: right; }
.platform-gov-note {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--accent-border);
}

@media (max-width: 1200px) {
  .page-platform [id] { scroll-margin-top: 100px; }
  .platform-flow-steps { grid-template-columns: repeat(3, 1fr); }
  .platform-foundation__systems { grid-template-columns: repeat(3, 1fr); }
  .platform-bridge { flex-direction: column; }
  .platform-bridge__arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .platform-split,
  .platform-comparison { grid-template-columns: 1fr; }
  .platform-comparison__col--accent { order: -1; }
  .platform-flow-steps { grid-template-columns: 1fr 1fr; }
  .platform-foundation__systems { grid-template-columns: 1fr; }
  .platform-gov-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .platform-gov-row__access { text-align: left; }
}
@media (max-width: 480px) {
  .platform-flow-steps { grid-template-columns: 1fr; }
  .platform-split__col { padding: 20px 18px; }
}


/* --- About page --- */
.page-about {
  overflow-x: hidden;
}
.page-about .visual-section.section-pad,
.page-about section.section-pad {
  padding: var(--section-py) 0;
}
.page-about .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-about .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-about [id] {
  scroll-margin-top: 120px;
}
.page-about .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

/* Hero flow mockup */
.about-hero-visual .about-hero-visual__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.about-hero-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  margin-bottom: 14px;
}
.about-hero-flow__col {
  padding: 10px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(8, 13, 28, 0.65);
  min-width: 0;
}
.about-hero-flow__col--scatter .about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.about-hero-flow__col--scatter .about-hero-tags span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #93a3c2;
}
.about-hero-flow__col--highlight {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.15));
}
.about-hero-flow__title {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.about-hero-flow__arrow {
  align-self: center;
  color: var(--accent);
  font-size: 0.85rem;
  opacity: 0.75;
  padding-top: 18px;
}
.about-hero-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.about-hero-signals li {
  font-size: 0.68rem;
  color: #cbd5e1;
  padding-left: 10px;
  position: relative;
}
.about-hero-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.about-hero-flow__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.about-hero-priority {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(120, 150, 255, 0.28);
}
.about-hero-priority__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 4px;
}
.about-hero-priority p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Mission */
.about-mission-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-mission-points li {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.about-mission-points strong {
  color: var(--accent);
}
.about-mission-feed {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-mission-feed li {
  font-size: 0.86rem;
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
}

/* Comparison */
.about-comparison {
  margin-top: 8px;
}

/* Offerings */
.about-offerings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.about-offering {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.about-offering:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.about-offering--primary {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.about-offering__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.about-offering__content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.about-offering__content p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.about-offering__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

/* Approach note */
.about-approach-note {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 16px 18px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-radius: var(--radius-lg);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--accent-border);
}

/* Who we help */
.about-industries-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.about-industries-compact span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
}
.about-who-cta-wrap {
  margin-top: 8px;
}

/* Principles */
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.about-principle {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.about-principle--highlight {
  grid-column: 1 / -1;
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 100%);
}
.about-principle__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.about-principle h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.about-principle p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Trust */
.about-trust-flow {
  margin-bottom: 16px;
}
.about-trust-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.about-trust-panel__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem;
}
.about-trust-panel__row:last-child {
  border-bottom: none;
}
.about-trust-panel__label {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.about-trust-panel__val {
  color: var(--text-soft);
}

@media (max-width: 1200px) {
  .page-about [id] { scroll-margin-top: 100px; }
}
@media (max-width: 900px) {
  .about-hero-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .about-hero-flow__arrow {
    display: none;
  }
  .about-principles { grid-template-columns: 1fr; }
  .about-principle--highlight { grid-column: auto; }
}
@media (max-width: 768px) {
  .page-about .platform-comparison,
  .about-comparison { grid-template-columns: 1fr; }
  .about-comparison .platform-comparison__col--accent { order: -1; }
  .about-offering {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-trust-panel__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .about-trust-flow {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .about-trust-flow .platform-flow-strip__arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 480px) {
  .about-hero-visual__body { padding: 12px; }
  .about-offering { padding: 18px 16px; }
}


/* --- Request AI Audit page --- */
.page-audit-request {
  overflow-x: hidden;
}
.page-audit-request .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-audit-request section.section-pad {
  padding: var(--section-py) 0;
}
.page-audit-request .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-audit-request [id] {
  scroll-margin-top: 100px;
}

/* Hero mockup */
.audit-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.audit-hero-snapshot__title {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}
.audit-hero-snapshot__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.audit-hero-snapshot__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(8, 13, 28, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.72rem;
  color: #cbd5e1;
}
.audit-hero-snapshot__status {
  font-weight: 700;
  color: #94a3b8;
}
.audit-hero-snapshot__status.warn { color: #fbbf24; }
.audit-hero-snapshot__status.accent { color: #93c5fd; }
.audit-hero-priority {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(120, 150, 255, 0.28);
}
.audit-hero-priority__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 4px;
}
.audit-hero-priority p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Review list */
.audit-review-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: audit-review;
}
.audit-review-list li {
  counter-increment: audit-review;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  position: relative;
}
.audit-review-list li::before {
  content: counter(audit-review);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.audit-review-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

/* Checklist panel */
.audit-checklist-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.audit-checklist-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 800;
  font-size: 0.9rem;
}
.audit-checklist-panel__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.audit-checklist-panel__items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem;
  color: var(--text-soft);
}
.audit-checklist-panel__items li:last-child { border-bottom: 0; }
.audit-checklist-panel__items li.is-done { color: var(--text); }
.audit-checklist-panel__items li.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.audit-checklist-panel__note {
  margin: 0;
  padding: 12px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border-top: 1px solid var(--border-soft);
}

/* Form layout */
.audit-form-section .section-head {
  max-width: 680px;
}
.audit-form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.audit-form {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.audit-form-progress {
  margin-bottom: 22px;
}
.audit-form-progress__text {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.82rem;
}
.audit-form-progress__text span:first-child {
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.audit-form-progress__text span:last-child {
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}
.audit-form-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.audit-form-progress__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  transition: width 0.25s ease;
}
.audit-form-steps-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.audit-form-steps-dots span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--border-soft);
}
.audit-form-steps-dots span.is-active,
.audit-form-steps-dots span.is-done {
  background: var(--accent);
}
.audit-form-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.audit-form-step[hidden] {
  display: none !important;
}
.audit-form-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 600;
}
.audit-form-error[hidden] { display: none !important; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field .req { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid,
.form-check input.is-invalid {
  border-color: #ef4444;
}
.form-field--full { grid-column: 1 / -1; }
.form-check-group {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}
.form-check-group > legend {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding: 0;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  font-size: 0.9rem;
  color: var(--text-soft);
  cursor: pointer;
}
.form-check input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form-check--consent {
  margin-top: 14px;
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.form-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.audit-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.audit-form-success {
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--accent-border);
}
.audit-form-success[hidden] { display: none !important; }
.audit-form-success h3 {
  margin-bottom: 10px;
  color: var(--accent);
}
.audit-form-success p {
  margin-bottom: 18px;
  color: var(--text-soft);
}
.audit-form-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audit-aside-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.audit-aside-card--muted {
  background: var(--surface-2);
  box-shadow: none;
}
.audit-aside-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.audit-aside-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.audit-aside-card .check-list {
  grid-template-columns: 1fr;
  gap: 8px;
}
.audit-aside-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Deliverables */
.audit-deliverables-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.audit-deliverables-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 800;
}
.audit-deliverable-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem;
}
.audit-deliverable-row:last-child { border-bottom: 0; }
.audit-deliverable-row--accent {
  background: var(--accent-soft);
}
.audit-deliverable-row__label {
  font-weight: 700;
  color: var(--text-muted);
}
.audit-deliverable-row__val { color: var(--text-soft); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .audit-form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-audit-request [id] { scroll-margin-top: 88px; }
  .audit-form { padding: 20px 16px; }
  .form-grid,
  .form-check-grid { grid-template-columns: 1fr; }
  .audit-form-actions { flex-direction: column; }
  .audit-form-actions .btn { width: 100%; text-align: center; }
  .audit-form-progress__text { flex-direction: column; align-items: flex-start; }
  .audit-deliverable-row { grid-template-columns: 1fr; gap: 4px; }
  .platform-split.audit-who-split,
  .platform-split.audit-why-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .audit-hero-mockup__body { padding: 12px; }
  .audit-form-steps-dots { gap: 5px; }
}


/* --- Customer Stories page --- */
.page-customer-stories {
  overflow-x: hidden;
}
.page-customer-stories .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-customer-stories section.section-pad {
  padding: var(--section-py) 0;
}
.page-customer-stories .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-customer-stories [id] {
  scroll-margin-top: 120px;
}
.page-customer-stories .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Hero mockup */
.stories-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.stories-hero-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stories-hero-flow__item {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(8, 13, 28, 0.55);
}
.stories-hero-flow__item--highlight {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.14));
}
.stories-hero-flow__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}
.stories-hero-flow__item p {
  margin: 0;
  font-size: 0.76rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Featured */
.stories-featured-grid {
  align-items: start;
}
.story-card-brand,
.story-preview-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.story-card-industry {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.story-card-company {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.stories-featured-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.6;
}
.story-detail-list {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.story-detail-list > div {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.story-detail-list dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.story-detail-list dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.story-card-systems {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.story-card-systems span {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
  color: var(--accent);
  margin-bottom: 4px;
}

/* Snapshot panel */
.stories-snapshot-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stories-snapshot-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 800;
}
.stories-snapshot-panel__body {
  padding: 8px 0;
}
.stories-snapshot-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.stories-snapshot-row:last-child { border-bottom: 0; }
.stories-snapshot-row--accent {
  background: var(--accent-soft);
}
.stories-snapshot-row__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.stories-snapshot-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Story grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.story-preview-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.story-preview-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.story-preview-card[hidden] {
  display: none !important;
}
.story-preview-card__challenge {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 10px;
}
.story-preview-card__summary {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}
.story-preview-meta {
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.story-preview-meta dt {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.story-preview-meta dd {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.story-preview-card__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.story-preview-card__link:hover { text-decoration: underline; }
.stories-grid-empty {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.stories-grid-empty[hidden] { display: none !important; }
.stories-grid-empty .text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--accent);
}

/* Category pills */
.stories-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.stories-category-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.stories-category-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.stories-category-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* Results matrix */
.stories-results-matrix {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 24px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.stories-results-matrix__core {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.stories-results-matrix__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.stories-results-matrix__core p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.stories-results-matrix__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stories-result-theme {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.stories-result-theme--accent {
  grid-column: 1 / -1;
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.stories-result-theme h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.stories-result-theme p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* How to read */
.stories-pattern-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: story-pattern;
}
.stories-pattern-list li {
  counter-increment: story-pattern;
  padding: 14px 16px 14px 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  position: relative;
}
.stories-pattern-list li::before {
  content: counter(story-pattern);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.stories-pattern-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}
.stories-pattern-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.stories-pattern-visual__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-weight: 700;
  font-size: 0.9rem;
}
.stories-pattern-visual__step span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.stories-pattern-visual__step--accent {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.stories-pattern-visual__arrow {
  text-align: center;
  color: var(--accent);
  opacity: 0.6;
  font-size: 0.85rem;
}

@media (max-width: 1200px) {
  .page-customer-stories [id] { scroll-margin-top: 100px; }
}
@media (max-width: 900px) {
  .stories-grid { grid-template-columns: 1fr; }
  .stories-results-matrix { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stories-category-pills { justify-content: flex-start; }
  .stories-results-matrix__items { grid-template-columns: 1fr; }
  .stories-result-theme--accent { grid-column: auto; }
}
@media (max-width: 480px) {
  .story-preview-card { padding: 18px 16px; }
  .stories-hero-mockup__body { padding: 12px; }
}


/* --- Case study pages (reusable pattern) --- */
.page-case-study {
  overflow-x: hidden;
}
.page-case-study .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-case-study section.section-pad {
  padding: var(--section-py) 0;
}
.page-case-study .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-case-study [id] {
  scroll-margin-top: 100px;
}
.page-case-study--travel {
  --case-accent: #0ea5e9;
  --case-accent-soft: rgba(14, 165, 233, 0.1);
  --case-accent-border: rgba(14, 165, 233, 0.28);
}
.page-case-study--marketing {
  --case-accent: #7c3aed;
  --case-accent-soft: rgba(124, 58, 237, 0.1);
  --case-accent-border: rgba(124, 58, 237, 0.28);
}
.page-case-study--marketing .case-travel-mockup__action {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(167, 139, 250, 0.35);
}
.page-case-study--marketing .case-travel-mockup__action-label {
  color: #c4b5fd;
}
.page-case-study--ecommerce {
  --case-accent: #16a34a;
  --case-accent-soft: rgba(22, 163, 74, 0.1);
  --case-accent-border: rgba(22, 163, 74, 0.28);
}
.page-case-study--ecommerce .case-travel-mockup__action {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(74, 222, 128, 0.35);
}
.page-case-study--ecommerce .case-travel-mockup__action-label {
  color: #86efac;
}
.ecommerce-case-combine .case-system-combine__inputs {
  flex-wrap: wrap;
}
.page-case-study--service {
  --case-accent: #f59e0b;
  --case-accent-soft: rgba(245, 158, 11, 0.1);
  --case-accent-border: rgba(245, 158, 11, 0.28);
}
.page-case-study--service .case-travel-mockup__action {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(251, 191, 36, 0.35);
}
.page-case-study--service .case-travel-mockup__action-label {
  color: #fcd34d;
}
.page-case-study--realestate {
  --case-accent: #6366f1;
  --case-accent-soft: rgba(99, 102, 241, 0.1);
  --case-accent-border: rgba(99, 102, 241, 0.28);
}
.page-case-study--realestate .case-travel-mockup__action {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(129, 140, 248, 0.35);
}
.page-case-study--realestate .case-travel-mockup__action-label {
  color: #c7d2fe;
}
.page-case-study--logistics {
  --case-accent: #0891b2;
  --case-accent-soft: rgba(8, 145, 178, 0.1);
  --case-accent-border: rgba(8, 145, 178, 0.28);
}
.page-case-study--logistics .case-travel-mockup__action {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(34, 211, 238, 0.35);
}
.page-case-study--logistics .case-travel-mockup__action-label {
  color: #67e8f9;
}

/* Hero */
.case-study-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.case-study-brand .hero-eyebrow {
  margin-bottom: 4px;
}
.case-study-brand__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.case-travel-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.case-travel-mockup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.case-travel-mockup__tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}
.case-travel-mockup__tag--warn {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}
.case-travel-mockup__signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.case-travel-mockup__signal {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(8, 13, 28, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.case-travel-mockup__signal span {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 2px;
}
.case-travel-mockup__signal strong {
  font-size: 0.76rem;
  color: #e2e8f0;
}
.case-travel-mockup__action {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.14));
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.case-travel-mockup__action-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 4px;
}
.case-travel-mockup__action p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Snapshot */
.case-snapshot-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.case-snapshot-panel__main {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-snapshot-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  font-size: 0.92rem;
}
.case-snapshot-row--wide {
  grid-template-columns: 140px 1fr;
}
.case-snapshot-row__label {
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.case-snapshot-row__val {
  color: var(--text-soft);
  line-height: 1.5;
}
.case-snapshot-panel__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.case-snapshot-block {
  padding: 22px 24px;
  border-right: 1px solid var(--border-soft);
}
.case-snapshot-block:last-child { border-right: 0; }
.case-snapshot-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.case-snapshot-block p,
.case-snapshot-block ul {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.case-snapshot-block ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-snapshot-block--accent {
  background: var(--case-accent-soft, var(--accent-soft));
  border-color: var(--case-accent-border, var(--accent-border));
}
.case-snapshot-block--accent h3 { color: var(--case-accent, var(--accent)); }

/* Flow panel */
.case-flow-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.case-flow-panel__head {
  padding: 14px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.case-flow-stack {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.case-flow-stack span:not(.case-flow-stack__arrow) {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
}
.case-flow-stack__node--highlight {
  border-color: var(--case-accent-border, var(--accent-border)) !important;
  background: var(--case-accent-soft, var(--accent-soft)) !important;
  color: var(--case-accent, var(--accent)) !important;
}
.case-flow-stack__arrow {
  text-align: center;
  color: var(--accent);
  opacity: 0.6;
  font-size: 0.85rem;
}

/* Problem list on case study */
.case-problem-list {
  max-width: 800px;
  margin: 0 auto var(--section-head-gap);
}

/* Questions panel */
.case-questions-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.case-questions-panel__head {
  padding: 16px 20px;
  font-weight: 800;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.case-questions-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.case-questions-list li {
  padding: 12px 20px 12px 36px;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  line-height: 1.5;
}
.case-questions-list li:last-child { border-bottom: 0; }
.case-questions-list li::before {
  content: "?";
  position: absolute;
  left: 14px;
  top: 12px;
  font-weight: 800;
  color: var(--case-accent, var(--accent));
}

/* Approach */
.case-approach-journey {
  margin-bottom: 20px;
}
.case-approach-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.case-approach-strip__arrow { opacity: 0.6; }

/* System layers */
.case-system-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.case-system-layer {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.case-system-layer__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--case-accent, var(--accent));
  background: var(--case-accent-soft, var(--accent-soft));
  border: 1px solid var(--case-accent-border, var(--accent-border));
  margin-bottom: 12px;
}
.case-system-layer h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.case-system-layer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.case-system-combine {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--case-accent-border, var(--accent-border));
  background: linear-gradient(145deg, var(--surface) 0%, var(--case-accent-soft, var(--accent-soft)) 100%);
  text-align: center;
}
.case-system-combine__inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.case-system-combine__arrow {
  display: block;
  color: var(--accent);
  margin: 8px 0;
}
.case-system-combine__output {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

/* Results grid */
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.case-results-theme {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.case-results-theme--accent {
  grid-column: 1 / -1;
  border-color: var(--case-accent-border, var(--accent-border));
  background: var(--case-accent-soft, var(--accent-soft));
  color: var(--text);
}
.case-results-note {
  margin-top: 24px;
}

/* Next improvements */
.case-next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-next-list li {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 32px;
  position: relative;
}
.case-next-list li::before {
  content: "→";
  position: absolute;
  left: 12px;
  color: var(--case-accent, var(--accent));
  font-weight: 700;
}

/* Related systems */
.case-related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.case-related-link {
  display: block;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-related-link:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.case-related-link h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.case-related-link p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.case-related-link > span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
}
.case-related-link--accent {
  border-color: var(--case-accent-border, var(--accent-border));
  background: linear-gradient(145deg, var(--surface) 0%, var(--case-accent-soft, var(--accent-soft)) 100%);
}

@media (max-width: 900px) {
  .case-snapshot-panel__cols { grid-template-columns: 1fr; }
  .case-snapshot-block {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .case-snapshot-block:last-child { border-bottom: 0; }
  .case-system-layers { grid-template-columns: 1fr; }
  .case-results-grid { grid-template-columns: 1fr; }
  .case-results-theme--accent { grid-column: auto; }
  .case-related-links { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .case-snapshot-row { grid-template-columns: 1fr; gap: 4px; }
  .case-travel-mockup__grid { grid-template-columns: 1fr; }
  .case-travel-mockup__signals { grid-template-columns: 1fr; }
  .case-approach-strip { flex-direction: column; }
}
@media (max-width: 480px) {
  .case-travel-mockup__body { padding: 12px; }
}


/* --- Industries page --- */
.page-industries {
  overflow-x: hidden;
}
.page-industries .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-industries section.section-pad {
  padding: var(--section-py) 0;
}
.page-industries .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-industries [id] {
  scroll-margin-top: 120px;
}
.page-industries .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

/* Hero */
.industries-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.industries-hero-mockup__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.industries-hero-mockup__tags span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.industries-hero-mockup__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
}
.industries-hero-mockup__arrow { color: var(--accent); opacity: 0.7; }
.industries-hero-mockup__action {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(120, 150, 255, 0.28);
}
.industries-hero-mockup__action-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 4px;
}
.industries-hero-mockup__action p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Overview rows */
.industry-overview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.industry-overview-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.industry-overview-row:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.industry-overview-row__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
}
.industry-overview-row__content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.industry-overview-row__focus {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.industry-overview-row__question {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
}
.industry-overview-row__link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Industry sections */
.industry-section--travel { --industry-accent: #0ea5e9; --industry-accent-soft: rgba(14, 165, 233, 0.1); --industry-accent-border: rgba(14, 165, 233, 0.28); }
.industry-section--marketing { --industry-accent: #7c3aed; --industry-accent-soft: rgba(124, 58, 237, 0.1); --industry-accent-border: rgba(124, 58, 237, 0.28); }
.industry-section--ecommerce { --industry-accent: #16a34a; --industry-accent-soft: rgba(22, 163, 74, 0.1); --industry-accent-border: rgba(22, 163, 74, 0.28); }
.industry-section--service { --industry-accent: #f59e0b; --industry-accent-soft: rgba(245, 158, 11, 0.1); --industry-accent-border: rgba(245, 158, 11, 0.28); }
.industry-section--real-estate { --industry-accent: #6366f1; --industry-accent-soft: rgba(99, 102, 241, 0.1); --industry-accent-border: rgba(99, 102, 241, 0.28); }
.industry-section--logistics { --industry-accent: #0891b2; --industry-accent-soft: rgba(8, 145, 178, 0.1); --industry-accent-border: rgba(8, 145, 178, 0.28); }

.industry-section .case-flow-stack__node--highlight {
  border-color: var(--industry-accent-border, var(--accent-border)) !important;
  background: var(--industry-accent-soft, var(--accent-soft)) !important;
  color: var(--industry-accent, var(--accent)) !important;
}
.industry-focus-block,
.industry-questions-block {
  margin-bottom: 18px;
}
.industry-focus-block h3,
.industry-questions-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.industry-focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.industry-focus-list li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
}
.industry-questions-inline {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.industry-questions-inline .case-questions-panel__head { display: none; }
.industry-questions-inline li {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 6px;
  background: var(--surface);
}
.industry-questions-inline li::before {
  color: var(--industry-accent, var(--accent));
}
.industry-page-note {
  margin-top: 12px;
  font-size: 0.88rem;
}
.industry-flow-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.industry-flow-mockup__head {
  padding: 14px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

/* Adaptation */
.industry-adapt-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.industry-adapt-layer {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  text-align: center;
}
.industry-adapt-layer span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  margin-bottom: 8px;
}
.industry-adapt-layer p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
}
.industry-adapt-flow { margin-top: 0; }

/* Global questions */
.industry-global-questions {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

/* Systems connect */
.industry-systems-connect {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
}
.industry-systems-connect__inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
}
.industry-systems-connect__inputs span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.industry-systems-connect__arrow {
  display: block;
  margin: 10px 0;
  color: var(--accent);
}
.industry-systems-connect__label {
  font-weight: 800;
  color: var(--text);
}
.industry-related-links {
  grid-template-columns: repeat(2, 1fr);
}
.industry-related-links__wide {
  grid-column: 1 / -1;
}

@media (max-width: 1200px) {
  .page-industries [id] { scroll-margin-top: 100px; }
}
@media (max-width: 900px) {
  .industry-adapt-layers { grid-template-columns: repeat(2, 1fr); }
  .industry-overview-row {
    grid-template-columns: auto 1fr;
  }
  .industry-overview-row__link {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 768px) {
  .industry-adapt-layers { grid-template-columns: 1fr; }
  .industry-related-links { grid-template-columns: 1fr; }
  .industry-related-links__wide { grid-column: auto; }
  .industry-adapt-flow { flex-direction: column; }
  .industries-hero-mockup__flow { flex-direction: column; }
}
@media (max-width: 480px) {
  .industry-overview-row { padding: 16px; }
  .industries-hero-mockup__body { padding: 12px; }
}


/* --- Industry sub-pages (travel) --- */
.page-industry-sub {
  overflow-x: hidden;
  --industry-accent: #0ea5e9;
  --industry-accent-soft: rgba(14, 165, 233, 0.1);
  --industry-accent-border: rgba(14, 165, 233, 0.28);
}
.page-industry-sub .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-industry-sub section.section-pad {
  padding: var(--section-py) 0;
}
.page-industry-sub .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-industry-sub [id] {
  scroll-margin-top: 120px;
}
.page-industry-sub .section-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

/* Status labels (qualitative) */
.status-strong, .status-healthy { color: #4ade80; }
.status-review { color: #fbbf24; }
.status-action { color: #f87171; }
.status-priority { color: #93c5fd; }

.travel-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.travel-dashboard-kpi {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(8, 13, 28, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.travel-dashboard-kpi span {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}
.travel-dashboard-kpi strong {
  font-size: 0.76rem;
}

.travel-problem-split { margin-top: 8px; }

.travel-questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.travel-questions-group {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.travel-questions-group h3 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--industry-accent);
  margin-bottom: 12px;
}
.travel-questions-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.travel-questions-group li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.travel-questions-group li::before {
  content: "?";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--industry-accent);
}

.travel-data-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.travel-data-list li {
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
}

.travel-data-flow-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.travel-data-flow-panel__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}
.travel-data-flow-panel__sources span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
}
.travel-data-flow-panel__arrow {
  display: block;
  text-align: center;
  color: var(--industry-accent);
  opacity: 0.7;
  margin: 6px 0;
}
.travel-data-flow-panel__step {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
}
.travel-data-flow-panel__step--highlight {
  border-color: var(--industry-accent-border);
  background: var(--industry-accent-soft);
  color: var(--industry-accent);
}

.travel-view-report {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.travel-view-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 800;
}
.travel-view-report__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
.travel-view-area {
  padding: 18px 20px;
  background: var(--surface);
}
.travel-view-area--wide {
  grid-column: 1 / -1;
}
.travel-view-area h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.travel-view-area p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.travel-view-area__status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.travel-systems-combine {
  margin-bottom: 28px;
  border-color: var(--industry-accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--industry-accent-soft) 100%);
}
.travel-systems-links { margin-top: 0; }

.travel-use-cases {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.travel-use-case {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.travel-use-case--accent {
  border-color: var(--industry-accent-border);
  background: linear-gradient(145deg, var(--surface) 0%, var(--industry-accent-soft) 100%);
}
.travel-use-case__num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--industry-accent);
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--industry-accent-soft);
  border: 1px solid var(--industry-accent-border);
}
.travel-use-case h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.travel-use-case p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.travel-case-preview__theme {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 16px 0 20px;
}

@media (max-width: 1200px) {
  .page-industry-sub [id] { scroll-margin-top: 100px; }
}
@media (max-width: 900px) {
  .travel-questions-grid { grid-template-columns: 1fr; }
  .travel-data-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .travel-view-report__grid { grid-template-columns: 1fr; }
  .travel-view-area--wide { grid-column: auto; }
  .travel-dashboard-kpis { grid-template-columns: 1fr; }
  .platform-split.travel-problem-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .travel-use-case { grid-template-columns: 1fr; gap: 10px; }
}

.page-industry-sub--marketing {
  --industry-accent: #7c3aed;
  --industry-accent-soft: rgba(124, 58, 237, 0.1);
  --industry-accent-border: rgba(124, 58, 237, 0.28);
}
.page-industry-sub--ecommerce {
  --industry-accent: #16a34a;
  --industry-accent-soft: rgba(22, 163, 74, 0.1);
  --industry-accent-border: rgba(22, 163, 74, 0.28);
}
.page-industry-sub--ecommerce .industry-sub-mockup__action {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(37, 99, 235, 0.1));
  border-color: rgba(74, 222, 128, 0.35);
}
.page-industry-sub--service {
  --industry-accent: #f59e0b;
  --industry-accent-soft: rgba(245, 158, 11, 0.1);
  --industry-accent-border: rgba(245, 158, 11, 0.28);
}
.page-industry-sub--service .industry-sub-mockup__action {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(37, 99, 235, 0.1));
  border-color: rgba(251, 191, 36, 0.35);
}
.page-industry-sub--realestate {
  --industry-accent: #6366f1;
  --industry-accent-soft: rgba(99, 102, 241, 0.1);
  --industry-accent-border: rgba(99, 102, 241, 0.28);
}
.page-industry-sub--realestate .industry-sub-mockup__action {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(37, 99, 235, 0.1));
  border-color: rgba(129, 140, 248, 0.35);
}
.realestate-systems-combine .case-system-combine__inputs {
  flex-wrap: wrap;
}
.page-industry-sub--logistics {
  --industry-accent: #0891b2;
  --industry-accent-soft: rgba(8, 145, 178, 0.1);
  --industry-accent-border: rgba(8, 145, 178, 0.28);
}
.page-industry-sub--logistics .industry-sub-mockup__action {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.22), rgba(37, 99, 235, 0.1));
  border-color: rgba(34, 211, 238, 0.35);
}
.logistics-systems-combine .case-system-combine__inputs {
  flex-wrap: wrap;
}
.ecommerce-systems-combine__inputs {
  flex-wrap: wrap;
  gap: 6px 8px;
}

/* Shared industry sub mockup (travel + marketing + future) */
.industry-sub-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.industry-sub-mockup__action {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(120, 150, 255, 0.28);
}
.page-industry-sub--marketing .industry-sub-mockup__action {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.12));
  border-color: rgba(167, 139, 250, 0.35);
}
.industry-sub-mockup__action-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 4px;
}
.industry-sub-mockup__action p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}
.industry-problem-split { margin-top: 8px; }

/* --- Resources page --- */
.page-resources {
  overflow-x: hidden;
}
.page-resources .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-resources section.section-pad {
  padding: var(--section-py) 0;
}
.page-resources .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-resources [id] {
  scroll-margin-top: 100px;
}

.resources-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.resources-library-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.resources-library-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}
.resources-hero-mockup__rec {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.resources-hero-mockup__rec-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 4px;
}
.resources-hero-mockup__rec p {
  margin: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
}
.resources-hero-mockup__rec strong {
  color: #fff;
}

.resource-type-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.resources-featured-panel {
  align-items: stretch;
}
.resource-featured-card {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.resource-featured-card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.resource-featured-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
}
.resources-flow-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.resources-flow-panel__head {
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt, #f8fafc);
}

.resources-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.resources-category-panel {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.resources-category-panel h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.resources-category-panel > p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.resources-category-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.resources-category-links li + li {
  margin-top: 6px;
}
.resources-category-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.resources-category-links a:hover {
  text-decoration: underline;
}

.resources-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-guide-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.resource-guide-card:hover {
  color: inherit;
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.resource-guide-card__category {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.resource-guide-card h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0 0 10px;
}
.resource-guide-card p {
  flex: 1;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.resource-guide-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.resources-learning-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.resources-learning-step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.resources-learning-step:last-child {
  border-bottom: none;
}
.resources-learning-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--accent-soft, rgba(37, 99, 235, 0.1));
  color: var(--accent);
  border: 1px solid var(--accent-border, rgba(37, 99, 235, 0.28));
}
.resources-learning-step--accent .resources-learning-step__num {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  border-color: transparent;
}
.resources-learning-step h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
}
.resources-learning-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.resources-learning-cta {
  text-align: center;
  margin-top: 28px;
}

.resources-industry-featured {
  margin-bottom: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.resources-industry-featured h3 {
  margin: 0 0 10px;
}
.resources-industry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.resources-industry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resources-industry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.resources-industry-row h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.resources-industry-row > div > p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 52ch;
}
.resources-industry-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}
.resources-industry-row__actions a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.resources-industry-row__actions a:hover {
  text-decoration: underline;
}

.resources-stories-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.resources-story-mini {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resources-story-mini:hover {
  color: inherit;
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  box-shadow: var(--shadow);
}
.resources-story-mini h3 {
  font-size: 0.95rem;
  margin: 2px 0 6px;
}
.resources-story-mini p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.resources-audit-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(37, 99, 235, 0.04) 100%);
  box-shadow: var(--shadow-lg);
}
.resources-audit-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resources-audit-visual__item {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.resources-audit-visual__item span {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.resources-audit-visual__item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.resources-audit-visual__item--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.28));
  background: var(--accent-soft, rgba(37, 99, 235, 0.06));
}

@media (max-width: 1024px) {
  .resources-categories-grid { grid-template-columns: 1fr; }
  .resources-guides-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-stories-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .resources-library-tags { grid-template-columns: 1fr; }
  .resources-guides-grid { grid-template-columns: 1fr; }
  .resources-industry-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .resources-audit-panel { padding: 22px; }
  .resources-audit-panel .visual-section-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .page-resources [id] { scroll-margin-top: 88px; }
}
@media (max-width: 360px) {
  .resources-story-mini { flex-direction: column; }
  .resources-industry-links { flex-direction: column; align-items: stretch; }
  .resources-industry-links .btn { width: 100%; text-align: center; }
}

/* --- FAQs page --- */
.page-faqs {
  overflow-x: hidden;
}
.page-faqs .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-faqs section.section-pad {
  padding: var(--section-py) 0;
}
.page-faqs .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-faqs [id] {
  scroll-margin-top: 110px;
}
.page-faqs .faqs-page-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.faqs-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.faqs-hub-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.faqs-hub-tags span {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 7px 8px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}
.faqs-hero-mockup__highlight {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.faqs-hero-mockup__highlight-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 6px;
}
.faqs-hero-mockup__highlight-q {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.faqs-hero-mockup__highlight-a {
  margin: 0;
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.faqs-group-section .section-head {
  margin-bottom: 24px;
}
.faq-accordion--page {
  max-width: 100%;
  margin: 0;
}

.faqs-still-panel {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(37, 99, 235, 0.04) 100%);
  box-shadow: var(--shadow-lg);
}
.faqs-still-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faqs-still-visual__item {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.faqs-still-visual__item span {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.faqs-still-visual__item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.faqs-still-visual__item--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.28));
  background: var(--accent-soft, rgba(37, 99, 235, 0.06));
}

@media (max-width: 640px) {
  .faqs-hub-tags { grid-template-columns: 1fr; }
  .faqs-still-panel { padding: 22px; }
  .faqs-still-panel .visual-section-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .page-faqs [id] { scroll-margin-top: 96px; }
  .page-faqs .faqs-page-nav { top: 64px; }
}
@media (max-width: 360px) {
  .faqs-still-panel .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .faqs-still-panel .hero-actions .btn { width: 100%; text-align: center; }
}

/* --- Guides page --- */
.page-guides {
  overflow-x: hidden;
}
.page-guides .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-guides section.section-pad {
  padding: var(--section-py) 0;
}
.page-guides .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-guides [id] {
  scroll-margin-top: 100px;
}

.guides-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.guides-library-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.guides-library-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}
.guides-hero-mockup__rec {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.guides-hero-mockup__rec-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 4px;
}
.guides-hero-mockup__rec-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.guides-hero-mockup__rec-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  text-decoration: none;
}
.guides-hero-mockup__rec-link:hover {
  color: #fff;
  text-decoration: underline;
}

.guides-featured-section .resources-featured-panel {
  align-items: stretch;
}

.guides-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.guides-category-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.guides-category-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.guides-category-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.page-guides .resources-guides-grid {
  margin-top: 8px;
}
.guide-library-card[hidden] {
  display: none !important;
}
.guides-grid-empty {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.guides-grid-empty[hidden] {
  display: none !important;
}
.guides-grid-empty .text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--accent);
}

.guides-reading-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.guides-reading-step {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
  transition: background 0.2s;
}
.guides-reading-step:first-child {
  border-top: 1px solid var(--border);
}
.guides-reading-step:hover {
  color: inherit;
  background: var(--accent-soft, rgba(37, 99, 235, 0.06));
}
.guides-reading-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--accent-soft, rgba(37, 99, 235, 0.1));
  color: var(--accent);
  border: 1px solid var(--accent-border, rgba(37, 99, 235, 0.28));
}
.guides-reading-step--accent .guides-reading-step__num {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  border-color: transparent;
}
.guides-reading-step h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
  color: var(--text);
}
.guides-reading-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.guides-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.guides-topic-tag {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.guides-topic-tag:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.guides-topic-tag.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.guides-resource-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.guides-resource-tile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.guides-resource-tile:hover {
  color: inherit;
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.guides-resource-tile--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.06)) 100%);
}
.guides-resource-tile h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.guides-resource-tile p {
  flex: 1;
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.guides-resource-tile > span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .guides-resource-tiles { grid-template-columns: repeat(2, 1fr); }
  .page-guides .resources-guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .guides-library-tags { grid-template-columns: 1fr; }
  .guides-category-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .guides-category-pills::-webkit-scrollbar { display: none; }
  .page-guides .resources-guides-grid { grid-template-columns: 1fr; }
  .guides-resource-tiles { grid-template-columns: 1fr; }
  .guides-reading-step {
    padding: 16px 0;
  }
  .page-guides [id] { scroll-margin-top: 88px; }
}
@media (max-width: 360px) {
  .guides-topic-tags { justify-content: flex-start; }
  .page-guides .gradient-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-guides .gradient-cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Insights page --- */
.page-insights {
  overflow-x: hidden;
}
.page-insights .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-insights section.section-pad {
  padding: var(--section-py) 0;
}
.page-insights .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-insights [id] {
  scroll-margin-top: 100px;
}

.insights-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.insights-board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.insights-board-signal {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-align: center;
  line-height: 1.3;
}
.insights-board-signal--priority {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(124, 58, 237, 0.18));
  border-color: rgba(96, 165, 250, 0.4);
  color: #e2e8f0;
  font-weight: 700;
}
.insights-hero-mockup__rec {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-left: 3px solid #60a5fa;
}
.insights-hero-mockup__rec-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 6px;
}
.insights-hero-mockup__rec-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
  font-style: italic;
}

.insights-featured-section .resources-featured-panel {
  align-items: stretch;
}
.insights-featured-card {
  border-left: 3px solid var(--accent);
}

.insights-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.insights-category-pill {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.insights-category-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.insights-category-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.insights-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.insights-post-card {
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  border-left: 3px solid transparent;
}
.insights-post-card:hover {
  color: inherit;
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  border-left-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.insights-post-card__category {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.insights-post-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 0 10px;
}
.insights-post-card p {
  flex: 1;
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.insights-post-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.insights-post-card[hidden] {
  display: none !important;
}
.insights-grid-empty {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.insights-grid-empty[hidden] {
  display: none !important;
}
.insights-grid-empty .text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--accent);
}

.insights-strategic-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.insights-strategic-card {
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.insights-strategic-card:hover {
  color: inherit;
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.insights-strategic-card--lead {
  grid-row: 1 / -1;
  padding: 32px 30px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.08)) 100%);
  border-left: 4px solid var(--accent);
}
.insights-strategic-card__label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.insights-strategic-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 8px;
}
.insights-strategic-card--lead h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}
.insights-strategic-card p {
  flex: 1;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.insights-strategic-card--lead p {
  font-size: 0.95rem;
}
.insights-strategic-card__link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
}

.insights-themes-grid {
  align-items: stretch;
}
.insights-theme-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.insights-theme-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.insights-theme-list li:first-child {
  border-top: 1px solid var(--border);
}
.insights-theme-list h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
}
.insights-theme-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.insights-themes-flow .case-flow-stack {
  padding: 20px;
}

.insights-industry-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.insights-industry-row {
  display: block;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.insights-industry-row:last-child {
  border-bottom: none;
}
.insights-industry-row:hover {
  color: inherit;
  background: var(--accent-soft, rgba(37, 99, 235, 0.06));
}
.insights-industry-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.insights-industry-row h3 {
  font-size: 1rem;
  margin: 0;
}
.insights-industry-row__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.insights-industry-row p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.page-insights .insights-resource-tiles {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .insights-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-strategic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .insights-strategic-card--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .insights-board-grid { grid-template-columns: 1fr; }
  .insights-category-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .insights-category-pills::-webkit-scrollbar { display: none; }
  .insights-posts-grid { grid-template-columns: 1fr; }
  .insights-strategic-grid { grid-template-columns: 1fr; }
  .page-insights .guides-resource-tiles { grid-template-columns: 1fr; }
  .page-insights [id] { scroll-margin-top: 88px; }
}
@media (max-width: 360px) {
  .insights-industry-row__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-insights .gradient-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-insights .gradient-cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Comparison page --- */
.page-comparison {
  overflow-x: hidden;
}
.page-comparison .product-hero {
  padding: calc(var(--section-py) + 8px) 0 var(--section-py);
}
.page-comparison section.section-pad,
.page-comparison .visual-section.section-pad {
  padding: var(--section-py) 0;
}
.page-comparison .section-pad-bottom {
  padding-bottom: var(--section-py);
}
.page-comparison [id] {
  scroll-margin-top: 120px;
}
.page-comparison .section-nav,
.page-comparison .comparison-page-nav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.comparison-hero-mockup__body {
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.95) 0%, rgba(11, 18, 38, 0.98) 100%);
}
.comparison-hero-lanes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comparison-hero-lane {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.comparison-hero-lane--accent {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.14));
  border-color: rgba(96, 165, 250, 0.4);
}
.comparison-hero-lane__type {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}
.comparison-hero-lane--accent .comparison-hero-lane__type {
  color: #e2e8f0;
}
.comparison-hero-lane__arrow {
  font-size: 0.8rem;
  color: #64748b;
  flex-shrink: 0;
}
.comparison-hero-lane__outcome {
  font-size: 0.72rem;
  font-weight: 800;
  color: #93c5fd;
  text-align: right;
}
.comparison-hero-lane--accent .comparison-hero-lane__outcome {
  color: #fff;
}

.comparison-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.comparison-overview-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.comparison-overview-card--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.08)) 100%);
}
.comparison-overview-card__label {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.comparison-overview-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.comparison-overview-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.comparison-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.comparison-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-platform-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 1080px;
}
.comparison-platform-table th,
.comparison-platform-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.45;
}
.comparison-platform-table tr:last-child th,
.comparison-platform-table tr:last-child td {
  border-bottom: 0;
}
.comparison-platform-table thead th {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  white-space: nowrap;
}
.comparison-platform-table tbody th {
  font-weight: 700;
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
}
.comparison-platform-table tbody td {
  color: var(--text-soft);
}
.comparison-platform-table__ozavion,
.comparison-platform-table thead th.comparison-platform-table__OzaviOS {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.04));
  color: var(--text);
  font-weight: 600;
}
.comparison-platform-table thead th.comparison-platform-table__OzaviOS {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.08));
}

.comparison-segments {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.comparison-segment {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.comparison-segment--highlight {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.06)) 100%);
}
.comparison-segment__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.comparison-segment__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.comparison-segment__head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.comparison-segment__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}
.comparison-segment__label {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.comparison-segment__col p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.comparison-segment__col--accent p {
  color: var(--text);
  font-weight: 600;
}

.comparison-impl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 28px;
}
.comparison-impl-panel {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.comparison-impl-panel--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.08)) 100%);
}
.comparison-impl-panel h3 {
  font-size: 1.02rem;
  margin: 0 0 14px;
}
.comparison-impl-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comparison-impl-panel li {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.comparison-impl-panel li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.comparison-impl-panel--accent li::before {
  content: "✓";
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}
.comparison-process-flow {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-bestfit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.comparison-bestfit-card {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.comparison-bestfit-card--accent {
  border-color: var(--accent-border, rgba(37, 99, 235, 0.35));
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-soft, rgba(37, 99, 235, 0.08)) 100%);
  grid-column: 1 / -1;
}
.comparison-bestfit-card h3 {
  font-size: 1rem;
  margin: 0 0 12px;
}
.comparison-bestfit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comparison-bestfit-card li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.comparison-bestfit-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.comparison-bestfit-card--accent li::before {
  content: "✓";
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.comparison-focus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.comparison-focus-list li {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.comparison-focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.comparison-positioning-section .resources-featured-panel {
  align-items: stretch;
}

@media (max-width: 1024px) {
  .comparison-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-segment__body { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
  .comparison-impl-grid { grid-template-columns: 1fr; }
  .comparison-bestfit-grid { grid-template-columns: 1fr; }
  .comparison-bestfit-card--accent { grid-column: auto; }
  .comparison-focus-list { grid-template-columns: 1fr; }
  .page-comparison .visual-section-grid { display: flex; flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
  .comparison-overview-grid { grid-template-columns: 1fr; }
  .page-comparison [id] { scroll-margin-top: 88px; }
}
@media (max-width: 360px) {
  .page-comparison .gradient-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-comparison .gradient-cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}
