/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:         #060D18;
  --bg-2:       #0A1525;
  --bg-3:       #111F32;
  --border:     rgba(100,170,255,0.10);
  --border-2:   rgba(100,170,255,0.05);
  --text:       #F0F2FF;
  --muted:      #9097B5;
  --muted-2:    #1E3050;

  --blue:       #00ABE9;
  --blue-dim:   rgba(0,171,233,0.10);
  --blue-glow:  rgba(0,171,233,0.15);
  --green:      #22D67A;
  --red:        #F04E55;
  --amber:      #F5A623;

  --font-head:  'Space Grotesk', system-ui, sans-serif;
  --font-body:  'Outfit', system-ui, sans-serif;
  --mono:       'JetBrains Mono', monospace;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --spring:     cubic-bezier(0.32, 0.72, 0, 1);
  --radius:     8px;
  --radius-lg:  12px;

  --max-w:      1200px;
  --section-py: clamp(80px, 10vw, 140px);
}


/* GPU layer hints for hover-animated cards */
@media (hover: hover) {
  .fc, .problem__card, .bento-tile { will-change: transform; }
}

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

/* ============================================================
   iOS SAFE AREA (notch / Dynamic Island / home bar)
============================================================ */
@supports (padding: max(0px)) {
  .nav__inner {
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right));
  }
  .container {
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
  .nav__mobile-menu {
    padding-top: max(88px, calc(64px + env(safe-area-inset-top) + 16px));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ── Page-wide grid overlay ───────────────────────────── */
/* Fixed above section backgrounds (z-index: 1), pointer-events: none so it never blocks clicks.
   Mask fades the grid from visible at top → invisible at 70vh so it only tints the upper page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,171,233,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,171,233,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black 0%, transparent 100%);
}
[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(0,144,201,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,144,201,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black 0%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
img { display: block; max-width: 100%; }

/* ── Global focus-visible — WCAG 2.1 AA ──────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Buttons and links get a tighter ring that follows their own radius */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
[data-theme="light"] :focus-visible { outline-color: var(--blue); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
============================================================ */
/* Spacer so fixed nav doesn't overlap content */
#nav-placeholder { height: 64px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(6, 13, 24, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(100,170,255,0.07);
  border-radius: 0;
  transition:
    top 0.45s cubic-bezier(0.16,1,0.3,1),
    left 0.45s cubic-bezier(0.16,1,0.3,1),
    right 0.45s cubic-bezier(0.16,1,0.3,1),
    border-radius 0.45s cubic-bezier(0.16,1,0.3,1),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

/* Floating pill — desktop only */
@media (min-width: 1025px) {
  .nav.scrolled {
    top: 12px;
    left: clamp(16px, 2.5vw, 40px);
    right: clamp(16px, 2.5vw, 40px);
    border-radius: 14px;
    background: rgba(10, 21, 37, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: rgba(100,170,255,0.14);
    box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(100,170,255,0.06) inset;
  }
}
/* Mobile/tablet: stay full-width on scroll, just deepen the glass */
@media (max-width: 1024px) {
  .nav.scrolled {
    background: rgba(6, 13, 24, 0.97);
    border-color: rgba(100,170,255,0.1);
    box-shadow: 0 1px 0 rgba(100,170,255,0.06);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.nav.scrolled .nav__inner { height: 56px; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav__logo-full { height: 30px; width: auto; flex-shrink: 0; }
.nav__logo-mark { height: 28px; width: auto; flex-shrink: 0; display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a,
.nav__links button {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
}
.nav__links a:hover,
.nav__links button:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  padding: 6px 10px;
}
.nav__signin:hover { color: var(--text); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(13,15,23,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  padding-top: 20px;
  width: 600px;
  max-width: calc(100vw - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.mega__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
  transition: background 0.15s;
}
.mega__item:hover { background: rgba(0,171,233,0.06); }
.mega__item-icon {
  width: 28px;
  height: 28px;
  background: var(--blue-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mega__item strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); white-space: normal; }
.mega__item small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; white-space: normal; overflow-wrap: break-word; }
.mega__item span:last-child { min-width: 0; flex: 1; overflow: hidden; }

/* Active page indicator */
.nav__links a.nav-active,
.nav__links button.nav-active {
  color: var(--text);
  background: rgba(0,171,233,0.08);
}
.mega__item--active { background: rgba(0,171,233,0.08); }
.mega__item--active strong { color: var(--blue); }

/* Hamburger button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 7px;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.nav__hamburger:hover { background: rgba(255,255,255,0.06); }
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s var(--ease), background 0.2s var(--ease);
  transform-origin: center;
}
.nav--open .nav__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--text);
}
.nav--open .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav--open .nav__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--text);
}

/* Mobile full-screen menu */
.nav__mobile-menu {
  /* Hard-hidden on desktop — no bleed-through regardless of stacking context */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(6,13,24,0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 88px 28px 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.nav__mobile-menu--open {
  transform: translateY(0);
  pointer-events: all;
}
.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__mobile-link {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--text);
  padding: 12px 0;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-2);
  transition: color 0.2s var(--ease);
}
.nav__mobile-link:hover { color: var(--blue); }
.nav__mobile-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
}
.nav__mobile-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 4px;
}
.nav__mobile-solution {
  font-size: 13px;
  color: var(--muted);
  padding: 9px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  line-height: 1.3;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__mobile-solution:hover { color: var(--blue); border-color: rgba(0,171,233,0.25); }
.nav__mobile-cta {
  margin-top: 28px;
}
.nav__mobile-cta .btn-blue--lg {
  width: 100%;
  justify-content: center;
}

/* Buttons */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.btn-blue:hover { opacity: 0.9; }
.btn-blue:active { transform: scale(0.98); }

.btn-blue--lg { font-size: 15px; padding: 12px 28px; border-radius: 7px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--muted-2); }
.btn-outline:active { transform: scale(0.98); }
.btn-outline--lg { font-size: 15px; padding: 12px 28px; border-radius: 7px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  transition: gap 0.2s var(--ease);
}
.btn-text:hover { gap: 10px; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,171,233,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__grid > * { min-width: 0; }

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-blue 2s ease-in-out infinite;
}
@keyframes pulse-blue {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero__h1 .accent { color: var(--blue); }

.hero__body {
  font-size: clamp(15px, 4.5vw, 18px);
  font-weight: 400;
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: none; }

.hero__stat-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__stat-label { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ============================================================
   DASHBOARD PANEL (Hero Right)
============================================================ */
.dashboard-panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  box-shadow: 0 0 0 1px var(--border-2) inset;
}

.dashboard-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.dashboard-panel__url { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }

.dashboard-panel__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.severity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}

.severity-cell {
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.severity-cell:last-child { border-right: none; }
.severity-cell__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 4px; }
.severity-cell__count { font-size: 20px; font-weight: 600; line-height: 1; }

.sev-crit .severity-cell__label, .sev-crit .severity-cell__count { color: var(--red); }
.sev-high .severity-cell__label, .sev-high .severity-cell__count { color: var(--amber); }
.sev-med .severity-cell__label, .sev-med .severity-cell__count { color: #F97316; }
.sev-low .severity-cell__count { color: var(--text); }
.sev-low .severity-cell__label, .sev-info .severity-cell__label, .sev-info .severity-cell__count { color: var(--muted); }

.findings-list { padding: 0; }

.finding-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.finding-row:hover { background: rgba(255,255,255,0.02); }
.finding-row:last-child { border-bottom: none; }

.badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 1px;
}
.badge-crit { background: rgba(240,78,85,0.15); color: var(--red); }
.badge-high { background: rgba(245,166,35,0.15); color: var(--amber); }
.badge-med  { background: rgba(249,115,22,0.12); color: #F97316; }

.finding-text { font-size: 12px; color: var(--text); line-height: 1.4; }
.finding-path { color: var(--muted); font-size: 11px; }

.finding-ellipsis {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dashboard-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.scan-meta { font-size: 11px; color: var(--muted); }
.scan-progress-wrap { display: flex; align-items: center; gap: 10px; }
.scan-bar-track { width: 100px; height: 3px; background: var(--muted-2); border-radius: 2px; overflow: hidden; }
.scan-bar-fill { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--blue); border-radius: 2px; transition: transform 0.05s linear; }
.scan-label { font-size: 11px; color: var(--muted); }

/* ============================================================
   PROOF BAR
============================================================ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 20px 0;
  overflow: hidden;
}

.proof-bar__inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 24px;
}
.proof-bar__label { font-size: 13px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.proof-bar__divider { width: 1px; height: 16px; background: var(--border); flex-shrink: 0; }
.proof-bar__companies { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.proof-bar__name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.proof-bar__name:hover { color: var(--text); }

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-body {
  font-size: clamp(14px, 4vw, 17px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
}

/* ============================================================
   PROBLEM SECTION — CARD ROW
============================================================ */
.problem {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.problem__intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.problem__body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 20px;
}

.problem__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .problem__cards { grid-template-columns: 1fr; }
}

.problem__card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  cursor: default;
  --mx: 50%; --my: 50%;
  transition: border-color 0.25s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.problem__card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), var(--spot, rgba(255,255,255,0.04)), transparent 65%);
  pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.problem__card:hover::before { opacity: 1; }
.problem__card--red    { --spot: rgba(220,38,38,0.10); }
.problem__card--orange { --spot: rgba(249,115,22,0.10); }
.problem__card--featured { --spot: rgba(0,171,233,0.08); }
.problem__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 64px rgba(0,0,0,0.28);
}

.card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.problem__card--red .card-accent { background: #DC2626; }
.problem__card--red:hover { border-color: rgba(220,38,38,0.35); }

.problem__card--orange .card-accent { background: #F97316; }
.problem__card--orange:hover { border-color: rgba(249,115,22,0.35); }

.problem__card--featured {
  background: rgba(0,171,233,0.04);
  border-color: rgba(0,171,233,0.2);
}
.problem__card--featured .card-accent { background: var(--blue); }
.problem__card--featured:hover { border-color: rgba(0,171,233,0.45); }

.card-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-top: 4px;
}
.problem__card--red .card-label { color: #DC2626; }
.problem__card--orange .card-label { color: #F97316; }
.problem__card--featured .card-label { color: var(--blue); }

.problem__card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.problem__card--featured h3 { font-size: 20px; }
.problem__card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}
.card-stat {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.card-stat__num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.problem__card--red    .card-stat__num { color: #DC2626; }
.problem__card--orange .card-stat__num { color: #F97316; }
.problem__card--featured .card-stat__num { color: var(--blue); font-size: 36px; }
.card-stat__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Commit grid visual ---- */
.commit-vis {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  margin-bottom: clamp(40px, 5vw, 56px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.commit-vis__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 8px;
}
.commit-vis__eyebrow {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: 0.08em;
}
.commit-vis__summary { font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; gap: 14px; }
.csum-g strong { color: var(--green); font-weight: 700; }
.csum-r strong { color: var(--red); font-weight: 700; }

.commit-track { display: flex; align-items: flex-start; gap: 14px; }
.commit-track + .commit-track { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.commit-track__label {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); width: 106px; flex-shrink: 0; padding-top: 30px;
}
.commit-track--code .commit-track__label { padding-top: 2px; }

.commit-grid-wrap { position: relative; padding-top: 26px; }
.commit-track--code .commit-grid-wrap { padding-top: 0; }

.commit-grid {
  display: grid;
  grid-template-rows: repeat(7, 10px);
  grid-auto-flow: column;
  grid-auto-columns: 10px;
  gap: 2px;
  position: relative;
}
.commit-cell {
  width: 10px; height: 10px; border-radius: 2px;
  opacity: 0; transform: scale(0.1);
  transition: opacity 0.3s var(--ease),
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--w, 0) * 22ms + var(--d, 0) * 3ms);
}
.commit-grid.anim .commit-cell { opacity: 1; transform: scale(1); }
/* Simultaneous fade-out — overrides the stagger delay */
.commit-grid.fading .commit-cell {
  opacity: 0; transform: scale(0.3);
  transition: opacity 0.55s ease-in, transform 0.55s ease-in;
  transition-delay: 0ms !important;
}

.commit-cell[data-l="0"]  { background: rgba(255,255,255,0.06); }
.commit-cell[data-l="1"]  { background: rgba(34,214,122,0.18); }
.commit-cell[data-l="2"]  { background: rgba(34,214,122,0.40); }
.commit-cell[data-l="3"]  { background: rgba(34,214,122,0.64); }
.commit-cell[data-l="4"]  { background: rgba(34,214,122,0.90); }
.commit-cell[data-l="s0"] { background: rgba(255,255,255,0.04); }
.commit-cell[data-l="s"]  { background: rgba(240,78,85,0.82); }

/* Scan line */
.commit-scan {
  position: absolute;
  top: -1px; bottom: -1px; left: 0;
  width: 2px; border-radius: 1px;
  pointer-events: none; opacity: 0; z-index: 2;
}
.commit-scan--code { background: linear-gradient(to bottom, transparent, rgba(34,214,122,0.9) 30%, rgba(34,214,122,0.9) 70%, transparent); }
.commit-scan--sec  { background: linear-gradient(to bottom, transparent, rgba(240,78,85,0.7) 30%, rgba(240,78,85,0.7) 70%, transparent); }
@keyframes scan-sweep {
  0%   { left: 0;    opacity: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: calc(100% + 2px); opacity: 0; }
}
.commit-scan.sweep { animation: scan-sweep var(--scan-dur, 0.45s) cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Red cell pulse after security grid fills */
@keyframes sec-cell-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(240,78,85,0.7); }
  50%  { box-shadow: 0 0 0 4px rgba(240,78,85,0);   }
  100% { box-shadow: 0 0 0 0   rgba(240,78,85,0);   }
}
.commit-cell[data-l="s"].pulse { animation: sec-cell-pulse 0.9s ease-out forwards; }

/* Badges fade in after security grid */
.commit-badge { opacity: 0; transition: opacity 0.4s var(--ease); }
.commit-badge.visible { opacity: 1; }

.commit-track__count {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  flex-shrink: 0; padding-top: 30px; min-width: 40px;
}
.commit-track--code .commit-track__count { padding-top: 2px; }
.commit-track__count--g { color: var(--green); }
.commit-track__count--r { color: var(--red); }

.commit-badge {
  position: absolute; top: 2px;
  font-family: var(--mono); font-size: 10px; color: var(--red);
  background: rgba(240,78,85,0.10); border: 1px solid rgba(240,78,85,0.28);
  border-radius: 4px; padding: 3px 8px; white-space: nowrap;
  transform: translateX(-50%);
}
.commit-badge::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%); width: 1px; height: 6px;
  background: rgba(240,78,85,0.35);
}

.commit-legend {
  display: flex; align-items: center; gap: 5px;
  margin-top: 14px; padding-left: 120px;
}
.commit-legend__label { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.commit-legend__cell { width: 10px; height: 10px; border-radius: 2px; }

/* ============================================================
   REFRAME / PRODUCT INTRO
============================================================ */
.reframe {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: #04091A;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  text-align: center;
}
.reframe__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 800px 550px at 50% 50%, rgba(0,171,233,0.07) 0%, transparent 68%),
    radial-gradient(ellipse 400px 300px at 30% 80%, rgba(0,149,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 350px 250px at 75% 15%, rgba(34,214,122,0.03) 0%, transparent 70%);
}
.reframe__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.reframe__overline {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--blue); letter-spacing: 0.12em;
  margin-bottom: 36px; opacity: 0.75;
}
.reframe__h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800; color: #E8EAFF;
  letter-spacing: -0.022em; line-height: 1.18;
  margin-bottom: 0;
}
.reframe__h2-line2 {
  display: block;
  background: linear-gradient(125deg, #00ABE9 0%, #22D67A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reframe__rule {
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,171,233,0.55), transparent);
  margin: 34px auto;
}
.reframe__sub {
  font-size: clamp(15px, 1.7vw, 18.5px);
  color: #5E6480; line-height: 1.75;
  max-width: 660px; margin: 0 auto;
}
.reframe__brand {
  color: #00ABE9; font-weight: 600;
}

/* Reframe — stays dark in light mode */
[data-theme="light"] .reframe { background: #04091A; border-top-color: rgba(0,171,233,0.10); }

/* ============================================================
   HOW IT WORKS (TABS)
============================================================ */
.how {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.how__header { margin-bottom: clamp(40px, 5vw, 56px); }

.how-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}
.how-layout > * { min-width: 0; }
@media (max-width: 960px) { .how-layout { grid-template-columns: 1fr; gap: 44px; } }

.how-tabs { display: flex; flex-direction: column; gap: 4px; }
.how-tab {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.how-tab:hover { background: rgba(0,171,233,0.05); }
.how-tab.active {
  background: rgba(0,171,233,0.08);
  border-color: rgba(0,171,233,0.25);
}
.tab-n {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  flex-shrink: 0; margin-top: 2px; transition: color 0.2s;
}
.how-tab.active .tab-n { color: var(--blue); }
.tab-info-wrap { flex: 1; }
.tab-ttl {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--muted); transition: color 0.2s;
}
.how-tab.active .tab-ttl { color: var(--text); }
.tab-desc {
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  margin-top: 6px;
  opacity: 0.35;
  transition: opacity 0.35s var(--ease);
}
.how-tab.active .tab-desc { opacity: 0.85; }
.tab-prog-wrap {
  position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 2px; background: rgba(0,171,233,0.1); border-radius: 1px;
  overflow: hidden; opacity: 0; transition: opacity 0.2s;
}
.how-tab.active .tab-prog-wrap { opacity: 1; }
.tab-prog-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), rgba(0,171,233,0.6));
  border-radius: 1px;
}

.how-panel {
  background: var(--bg-3);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  /* CSS grid stack — all panels share one cell so height never changes */
  display: grid;
}
.panel-body-inner {
  grid-area: 1 / 1;
  padding: 40px 36px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.panel-body-inner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.panel-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--blue); letter-spacing: 0.1em; margin-bottom: 18px;
}
.panel-h3 {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  color: var(--text); letter-spacing: -0.015em; margin-bottom: 14px;
}
.panel-p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 12px; color: var(--blue);
  background: rgba(0,171,233,0.1); border: 1px solid rgba(0,171,233,0.22);
  border-radius: 6px; padding: 4px 12px; letter-spacing: 0.04em;
}
.panel-metrics {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.pm { flex: 1; min-width: 90px; }
.pm-n {
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em; line-height: 1;
}
.pm-n.g { color: var(--green); }
.pm-l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── How It Works — mobile accordion ──────────────────────── */
.tab-accordion-slot { display: none; }

@media (max-width: 768px) {
  /* Hide the desktop panel entirely */
  .how-panel { display: none; }

  /* Tabs become accordion items — stack vertically, full width */
  .how-tab {
    flex-wrap: wrap;
    align-items: flex-start;
    cursor: pointer;
  }

  /* Slot hidden by default, shown when parent tab is active */
  .tab-accordion-slot {
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
    opacity: 0;
    /* Slot sits below the tab title row, full width */
    order: 10;
  }
  .how-tab.active .tab-accordion-slot {
    max-height: 800px; /* large enough for any content */
    opacity: 1;
  }

  /* Inner content padding */
  .tab-accordion-slot .panel-body-inner {
    /* Reset desktop grid-area stacking */
    grid-area: unset;
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 20px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 14px;
  }

  /* Tighten typography for narrow screens */
  .tab-accordion-slot .panel-h3 { font-size: 18px; margin-bottom: 10px; }
  .tab-accordion-slot .panel-p  { font-size: 14px; margin-bottom: 18px; }
  .tab-accordion-slot .panel-eyebrow { margin-bottom: 12px; }
  .tab-accordion-slot .panel-metrics {
    margin-top: 20px;
    padding-top: 16px;
    gap: 16px;
  }
  .tab-accordion-slot .pm-n { font-size: 22px; }
}

/* ============================================================
   FEATURE BENTO
============================================================ */
.feat-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.feat-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.fc {
  background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  cursor: default; --mx: 50%; --my: 50%;
  transition: border-color 0.25s, transform 0.28s, box-shadow 0.28s;
}
.fc::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(0,171,233,0.07), transparent 68%);
  pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.fc:hover::before { opacity: 1; }
.fc:hover {
  border-color: rgba(0,171,233,0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 64px rgba(0,0,0,0.3);
}
.fc-8  { grid-column: span 8; }
.fc-4  { grid-column: span 4; }
.fc-7  { grid-column: span 7; }
.fc-5  { grid-column: span 5; }
.fc-6  { grid-column: span 6; }
.fc-12 { grid-column: span 12; }
@media (max-width: 960px) {
  .fc-8, .fc-4, .fc-7, .fc-5, .fc-6, .fc-12 { grid-column: span 12; }
  .fc-row-right { display: grid !important; grid-template-columns: 1fr !important; }
}
.fc-icon {
  width: 44px; height: 44px;
  background: rgba(0,171,233,0.1);
  border: 1px solid rgba(0,171,233,0.22);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.fc-icon svg { width: 22px; height: 22px; }
.fc-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px;
}
.fc-body { font-size: 14px; color: var(--muted); line-height: 1.65; }
.fc-big-num {
  font-family: var(--font-head); font-size: 56px; font-weight: 800;
  color: var(--blue); letter-spacing: -0.03em; line-height: 1;
  margin-top: 28px;
}
.fc-big-lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mini-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mbar { display: flex; align-items: center; gap: 10px; }
.mbar-lbl { font-family: var(--mono); font-size: 11px; color: var(--muted); width: 80px; flex-shrink: 0; }
.mbar-track { flex: 1; height: 4px; background: rgba(0,171,233,0.1); border-radius: 2px; overflow: hidden; }
.mbar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
}
.mbar-fill.anim { transform: scaleX(1); }
.mbar-val { font-family: var(--mono); font-size: 11px; color: var(--blue); width: 36px; text-align: right; flex-shrink: 0; }
.tl-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.tl-item { display: flex; align-items: flex-start; gap: 14px; }
.tl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 5px;
  position: relative;
}
.tl-dot::after {
  content: ''; position: absolute; top: 8px; left: 3px;
  width: 2px; height: 26px; background: var(--border);
}
.tl-item:last-child .tl-dot::after { display: none; }
.tl-txt { font-size: 13px; color: var(--muted); line-height: 1.5; }
.tl-txt strong { color: var(--text); font-weight: 600; }

/* ============================================================
   FEATURE BENTO — CARD VISUALS
============================================================ */

/* — Reasoning trace (AI transparency) — */
@keyframes fadeInTrace {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.fc-trace { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.trace-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
  opacity: 0;
  animation: fadeInTrace 0.45s var(--ease) both;
  animation-play-state: paused;
}
.fc.visible .trace-row { animation-play-state: running; }
.trace-row:nth-child(1) { animation-delay: 0.20s; }
.trace-row:nth-child(2) { animation-delay: 0.55s; }
.trace-row:nth-child(3) { animation-delay: 0.90s; }
.trace-row:nth-child(4) { animation-delay: 1.25s; }
.trace-row:nth-child(5) { animation-delay: 1.60s; }
.trace-row:nth-child(6) { animation-delay: 1.95s; }
.trace-icon {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; margin-top: 1px;
}
.trace-icon--scan { background: rgba(0,171,233,0.15);  color: var(--blue); }
.trace-icon--ok   { background: rgba(34,214,122,0.15);  color: var(--green); }
.trace-icon--warn { background: rgba(245,166,35,0.18);  color: var(--amber); }
.trace-icon--crit { background: rgba(240,78,85,0.15);   color: var(--red); }
.trace-text { color: var(--muted); }
.trace-text strong { color: var(--text); font-weight: 600; }
.trace-text.trace-crit { color: var(--red); }

/* — One-click deploy environments — */
.deploy-envs { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.deploy-env {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.deploy-env__icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.deploy-env__name { font-size: 13px; color: var(--text); font-weight: 500; flex: 1; }
.deploy-env__status { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--green); }
.deploy-stat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.deploy-time {
  margin-top: 16px; font-family: var(--mono); font-size: 12px;
  color: var(--blue); display: flex; align-items: center; gap: 8px;
}
.deploy-time::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); opacity: 0.4; }

/* — Authenticated session — */
.auth-session { margin-top: 20px; }
.auth-session__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  background: rgba(0,171,233,0.06); border: 1px solid rgba(0,171,233,0.18);
}
.auth-session__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.auth-session__txt { color: var(--muted); flex: 1; font-size: 12.5px; }
.auth-session__txt strong { color: var(--text); }
.auth-session__badge {
  font-family: var(--mono); font-size: 10px; color: var(--green);
  background: rgba(34,214,122,0.1); border: 1px solid rgba(34,214,122,0.25);
  padding: 2px 8px; border-radius: 4px; white-space: nowrap;
}
.auth-roles { display: flex; gap: 8px; margin-top: 12px; }
.auth-role {
  font-family: var(--mono); font-size: 11px; padding: 5px 12px;
  border-radius: 6px; border: 1px solid var(--border); color: var(--muted);
  cursor: default;
}
.auth-role--active { background: rgba(0,171,233,0.1); border-color: rgba(0,171,233,0.3); color: var(--blue); }
.auth-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* — Deduplication viz — */
.dedup-viz { margin-top: 24px; display: flex; align-items: flex-start; gap: 20px; }
.dedup-col { flex: 1; }
.dedup-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 8px; text-transform: uppercase; }
.dedup-num {
  font-family: var(--font-head); font-size: 52px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.dedup-num--before { color: var(--red); }
.dedup-num--after  { color: var(--green); }
.dedup-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }
.dedup-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; max-width: 90px; }
.dedup-dot  { width: 7px; height: 7px; border-radius: 50%; background: rgba(240,78,85,0.4); }
.dedup-dot-lg { width: 14px; height: 14px; border-radius: 50%; background: rgba(34,214,122,0.55); }
.dedup-arrow { font-size: 20px; color: var(--muted); flex-shrink: 0; padding-top: 48px; }
.dedup-note {
  font-size: 13px; color: var(--muted); margin-top: 20px;
  padding-top: 16px; border-top: 1px solid var(--border); line-height: 1.5;
}
.dedup-note strong { color: var(--text); }

/* — Jira-style ticket card — */
.ticket-card {
  margin-top: 20px; border: 1px solid var(--border); border-radius: 9px; overflow: hidden;
}
.ticket-header {
  background: var(--bg-3); padding: 9px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.ticket-id { font-family: var(--mono); font-size: 11px; color: var(--blue); }
.ticket-auto {
  font-family: var(--mono); font-size: 10px; color: var(--green);
  background: rgba(34,214,122,0.1); border: 1px solid rgba(34,214,122,0.2);
  padding: 2px 8px; border-radius: 4px;
}
.ticket-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.ticket-title { font-size: 13px; color: var(--text); font-weight: 500; line-height: 1.4; }
.ticket-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ticket-sev { font-family: var(--mono); font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.ticket-sev--crit { background: rgba(240,78,85,0.15); color: var(--red); border: 1px solid rgba(240,78,85,0.2); }
.ticket-assign { font-size: 12px; color: var(--muted); }
.ticket-pr {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--bg-3);
  border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.ticket-pr__ok { color: var(--green); }

/* — AI CISO dual panel — */
.ciso-dual {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 20px; align-items: start;
}
.ciso-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 12px; text-transform: uppercase; }
.ciso-content { display: flex; flex-direction: column; gap: 10px; }
.ciso-badge {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  padding: 3px 10px; border-radius: 4px; font-weight: 700; align-self: flex-start;
}
.ciso-badge--crit { background: rgba(240,78,85,0.15); color: var(--red); border: 1px solid rgba(240,78,85,0.2); }
.ciso-badge--risk { background: rgba(245,166,35,0.15); color: var(--amber); border: 1px solid rgba(245,166,35,0.2); }
.ciso-txt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.ciso-divider { background: var(--border); width: 1px; align-self: stretch; }

/* — RBAC grid — */
.rbac-grid { margin-top: 20px; }
.rbac-header, .rbac-row { display: grid; grid-template-columns: 60px repeat(3, 1fr); gap: 6px; margin-bottom: 6px; }
.rbac-col-lbl { font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: center; padding: 4px 2px; }
.rbac-role { font-size: 12px; color: var(--muted); display: flex; align-items: center; font-weight: 500; }
.rbac-cell { font-family: var(--mono); font-size: 10px; text-align: center; padding: 6px 4px; border-radius: 5px; font-weight: 600; }
.rbac-cell--full  { background: rgba(0,171,233,0.12); color: var(--blue); }
.rbac-cell--write { background: rgba(34,214,122,0.10); color: var(--green); }
.rbac-cell--read  { background: rgba(245,166,35,0.10); color: var(--amber); }
.rbac-cell--none  { background: rgba(255,255,255,0.03); color: var(--muted-2); }

/* — Compliance badges — */
.compliance-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.comp-badge {
  font-family: var(--mono); font-size: 11px; padding: 5px 12px;
  border-radius: 6px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.comp-badge::before { content: '✓'; font-size: 9px; }
.comp-badge--ok { color: var(--green); background: rgba(34,214,122,0.08); border: 1px solid rgba(34,214,122,0.22); }
.comp-generate {
  margin-top: 16px; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 7px;
  background: rgba(0,171,233,0.07); border: 1px solid rgba(0,171,233,0.2);
  font-size: 13px; color: var(--blue); cursor: default; font-weight: 500;
}

/* — Config sliders — */
.config-sliders { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.config-row { display: flex; align-items: center; gap: 10px; }
.config-lbl { font-family: var(--mono); font-size: 11px; color: var(--muted); width: 72px; flex-shrink: 0; }
.config-track { flex: 1; height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; position: relative; overflow: visible; }
.config-fill { height: 100%; background: linear-gradient(90deg, var(--blue), rgba(0,171,233,0.55)); border-radius: 3px; position: relative; }
.config-fill::after { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0,171,233,0.22); }
.config-val { font-family: var(--mono); font-size: 11px; color: var(--blue); width: 44px; text-align: right; flex-shrink: 0; }

/* — Integration logo grid — */
.integration-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.int-strip {
  display: flex; align-items: center; gap: 48px;
}
.int-strip__left { min-width: 220px; flex-shrink: 0; }
.int-strip__left .fc-icon { margin-bottom: 16px; }
.int-strip__left .fc-title { margin-bottom: 8px; }
.int-strip__logos {
  flex: 1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.int-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 7px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.int-badge img {
  width: 15px; height: 15px; flex-shrink: 0;
  /* Convert any branded color → muted gray on dark bg */
  filter: brightness(0) invert(1) opacity(0.45);
  transition: filter 0.2s var(--ease);
}
.int-badge:hover {
  border-color: rgba(0,171,233,0.3); color: var(--blue);
  background: rgba(0,171,233,0.04);
}
.int-badge:hover img {
  /* Shift to blue tint on hover */
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(175deg) opacity(0.9);
}
[data-theme="light"] .int-badge img {
  filter: brightness(0) opacity(0.45);
}
[data-theme="light"] .int-badge:hover img {
  filter: brightness(0) sepia(1) saturate(8) hue-rotate(175deg) opacity(0.85);
}
@media (max-width: 960px) {
  .int-strip { flex-direction: column; align-items: flex-start; gap: 20px; }
  .int-strip__logos { width: 100%; }
}

/* ============================================================
   BENTO METRICS
============================================================ */
.bento {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.bento__header { margin-bottom: clamp(40px, 5vw, 64px); }

.bento__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-tile {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: default;
}
.bento-tile:hover {
  border-color: rgba(0,171,233,0.25);
  transform: translateY(-2px);
}
.bento-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: transparent;
  transition: background 0.3s;
}
.bento-tile:hover::after { background: rgba(0,171,233,0.2); }

.bento-tile__label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.bento-tile__num {
  font-family: var(--mono);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.bento-tile__num::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}
.bento-tile__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 28ch;
}

/* Spotlight effect on cards */
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at calc(var(--mx, 50%) * 1px) calc(var(--my, 50%) * 1px),
    rgba(0,171,233,0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.spotlight-card:hover::before { opacity: 1; }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.comparison__header { margin-bottom: clamp(40px, 5vw, 64px); }
.comparison__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x; overscroll-behavior-x: contain; }
.comparison__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }

.comparison__table thead th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.comparison__table thead th.col-vortex {
  background: var(--blue-dim);
  color: var(--blue);
  border-top: 2px solid var(--blue);
}
.comparison__table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.comparison__table tbody tr:last-child { border-bottom: none; }
.comparison__table tbody tr:hover { background: rgba(255,255,255,0.02); }
.comparison__table td { padding: 14px 20px; color: var(--muted); vertical-align: middle; }
.comparison__table td:first-child { color: var(--text); font-weight: 500; font-size: 13px; }
.comparison__table td.col-vortex { background: rgba(0,171,233,0.03); color: var(--text); }

.sym-pass { color: var(--green); font-weight: 700; }
.sym-fail { color: var(--red); font-weight: 700; }
.sym-partial { color: var(--amber); font-weight: 700; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.testimonials__header { margin-bottom: clamp(40px, 5vw, 64px); }

.testimonial-featured {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.testimonial-featured:hover {
  border-color: rgba(0,171,233,0.25);
  border-left-color: var(--blue);
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 72px;
  line-height: 0.6;
  color: var(--blue);
  margin-bottom: 24px;
  display: block;
  opacity: 0.7;
}
.testimonial-quote {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 80ch;
  font-weight: 400;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--muted); margin-top: 1px; }

.testimonials__small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.testimonial-small {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.testimonial-small:hover { border-color: var(--muted-2); }
.testimonial-small .quote-mark { font-size: 48px; margin-bottom: 14px; }
.testimonial-small .testimonial-quote { font-size: 14px; margin-bottom: 20px; }

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,171,233,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.final-cta__h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.final-cta__body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.final-cta__fine {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.fine-dot { margin: 0 8px; opacity: 0.4; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: clamp(48px, 6vw, 80px) 0 40px;
}
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}
.footer__cta-copy { display: flex; flex-direction: column; gap: 4px; }
.footer__cta-headline {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text);
  letter-spacing: -0.01em;
}
.footer__cta-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.footer__logo-img { height: 28px; width: auto; }
.footer__desc { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 28ch; }
.footer__tagline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 16px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13px; color: var(--muted); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--blue); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 12px; color: var(--muted); }
.footer__legal-links {
  display: flex;
  gap: 20px;
}
.footer__legal-links a { font-size: 12px; color: var(--muted); transition: color 0.2s var(--ease); }
.footer__legal-links a:hover { color: var(--text); }

/* ============================================================
   SOLUTION PAGES — shared layout
============================================================ */

/* Breadcrumb */
.sol-breadcrumb {
  padding: 20px 0 0;
}
.sol-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.sol-breadcrumb__inner a { color: var(--muted); transition: color 0.2s var(--ease); }
.sol-breadcrumb__inner a:hover { color: var(--blue); }
.sol-breadcrumb__sep { opacity: 0.4; }
.sol-breadcrumb__current { color: var(--blue); }

/* Solution Hero */
.sol-hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.sol-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,171,233,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.sol-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sol-hero__grid > * { min-width: 0; }
.sol-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.2);
  border-radius: 100px;
  padding: 5px 12px;
}
.sol-hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}
.sol-hero__body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.sol-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Sol hero visual — code panel */
.sol-code-panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.sol-code-panel__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.sol-code-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-2);
}
.sol-code-panel__dot:nth-child(1) { background: #F04E55; }
.sol-code-panel__dot:nth-child(2) { background: #F5A623; }
.sol-code-panel__dot:nth-child(3) { background: #22D67A; }
.sol-code-panel__title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}
.sol-code-panel__body {
  padding: 20px 20px 8px;
}
.sol-code-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1px 0;
}
.sol-code-num {
  color: rgba(144, 151, 181, 0.5);
  user-select: none;
  min-width: 20px;
  text-align: right;
  flex-shrink: 0;
  font-size: 12px;
}
.sol-code-text { color: #8FBAFF; }
.sol-code-text .kw  { color: #C792EA; }
.sol-code-text .fn  { color: #82AAFF; }
.sol-code-text .str { color: #C3E88D; }
.sol-code-text .cm  { color: var(--muted); }
.sol-code-text .num { color: #F78C6C; }
.sol-code-line--vuln .sol-code-text { color: #F04E55; }
.sol-code-line--vuln { background: rgba(240,78,85,0.07); border-radius: 3px; margin: 0 -8px; padding: 2px 8px; }
.sol-code-line--fix  { background: rgba(34,214,122,0.07); border-radius: 3px; margin: 0 -8px; padding: 2px 8px; }
.sol-code-line--fix .sol-code-text { color: #22D67A; }
.sol-code-panel__alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 20px;
  padding: 12px 14px;
  background: rgba(240,78,85,0.08);
  border: 1px solid rgba(240,78,85,0.25);
  border-radius: 6px;
}
.sol-code-panel__alert-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sol-code-panel__alert-body strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #F04E55;
  margin-bottom: 2px;
}
.sol-code-panel__alert-body span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.sol-code-panel__fix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 20px 16px;
  padding: 10px 14px;
  background: rgba(34,214,122,0.07);
  border: 1px solid rgba(34,214,122,0.2);
  border-radius: 6px;
}
.sol-code-panel__fix-label {
  font-size: 12px;
  color: #22D67A;
  font-weight: 600;
}
.sol-code-panel__fix-text {
  font-size: 12px;
  color: var(--muted);
}

/* Solution problem section */
.sol-problem {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.sol-problem__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.sol-section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.sol-section-h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}
.sol-section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}
.sol-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sol-problem__card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
}
.sol-problem__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.sol-problem__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  opacity: 0.7;
}
.sol-problem__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}
.sol-problem__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* How Vortex solves it */
.sol-how {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.sol-how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sol-how__grid > * { min-width: 0; }
.sol-how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sol-how__step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.sol-how__step:last-child { border-bottom: none; }
.sol-how__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.sol-how__step-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.sol-how__step-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Pipeline visual */
.sol-pipeline {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.sol-pipeline__title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.sol-pipeline__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sol-pipeline__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  transition: border-color 0.2s;
}
.sol-pipeline__item--active {
  border-color: rgba(0,171,233,0.35);
  background: rgba(0,171,233,0.05);
}
.sol-pipeline__item--done {
  border-color: rgba(34,214,122,0.2);
  background: rgba(34,214,122,0.04);
}
.sol-pipeline__badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sol-pipeline__badge--pending { background: var(--muted-2); }
.sol-pipeline__badge--active  { background: var(--blue); }
.sol-pipeline__badge--done    { background: var(--green); }
.sol-pipeline__step-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}
.sol-pipeline__step-status {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.sol-pipeline__step-status--active { color: var(--blue); }
.sol-pipeline__step-status--done   { color: var(--green); }
.sol-pipeline__step-status--wait   { color: var(--muted); }
.sol-pipeline__meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sol-pipeline__commit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.sol-pipeline__commit span { color: var(--blue); }
.sol-pipeline__finding {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(240,78,85,0.1);
  border: 1px solid rgba(240,78,85,0.2);
  color: #F04E55;
}

/* Key Capabilities */
.sol-caps {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.sol-caps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 60px);
}
.sol-cap {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.25s var(--ease);
}
.sol-cap:hover { border-color: rgba(0,171,233,0.25); }
.sol-cap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,171,233,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sol-cap:hover::after { opacity: 1; }
.sol-cap__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.sol-cap__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.sol-cap__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.sol-cap__tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--blue-dim);
  border-radius: 4px;
  padding: 3px 8px;
}

/* Stats strip */
.sol-stats {
  padding: clamp(56px, 7vw, 80px) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.sol-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sol-stat {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  text-align: center;
}
.sol-stat__num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.sol-stat__num .accent { color: var(--blue); }
.sol-stat__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.sol-stat__source {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__signin { display: none; }
  .nav__hamburger { display: flex; }
  .nav__logo-full { display: none; }
  .nav__logo-mark { display: block; }
  .nav__mobile-menu { display: block; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .how-layout { grid-template-columns: 1fr; gap: 44px; }
  .bento__grid { grid-template-columns: 1fr 1fr; }
  .problem__row { grid-template-columns: 1fr; gap: 32px; }
  .problem__row--reverse .problem__text { order: 0; }
  .problem__row--reverse .problem__visual { order: 0; }
  .testimonials__small-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Solution pages */
  .sol-hero__grid { grid-template-columns: 1fr; }
  .sol-problem__grid { grid-template-columns: 1fr; }
  .sol-how__grid { grid-template-columns: 1fr; }
  .sol-caps__grid { grid-template-columns: 1fr; }
  .sol-stats__grid { grid-template-columns: 1fr; background: none; border: 1px solid var(--border); }
  .sol-stat { border-bottom: 1px solid var(--border); }
  .sol-stat:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .how-layout { grid-template-columns: 1fr; }
  .bento__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px 0; }
  .hero__stat:last-child { border-bottom: none; padding-bottom: 0; }
  .severity-grid { grid-template-columns: repeat(3, 1fr); }
  .severity-cell:nth-child(4),
  .severity-cell:nth-child(5) { border-top: 1px solid var(--border); }

  /* ── Commit visualization — smaller cells so grid compacts on mobile ── */
  .commit-grid {
    grid-template-rows: repeat(7, 8px);
    grid-auto-columns: 8px;
    gap: 1.5px;
  }
  .commit-cell { width: 8px; height: 8px; }
  .commit-track__label { width: 80px; font-size: 10px; }
  .commit-legend { padding-left: 94px; }

  /* ── How It Works panel — less padding on small screens ── */
  .panel-body-inner { padding: 24px 20px; }
  .panel-h3 { font-size: 22px; }

  /* ── Feature bento cards — less padding ── */
  .fc { padding: 24px 20px; }
  .fc-title { font-size: 18px; }
  .fc-big-num { font-size: 44px; }

  /* ── Integration grid — 2 columns ── */
  .integration-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── CISO dual panel — stack vertically ── */
  .ciso-dual { grid-template-columns: 1fr; }
  .ciso-divider { display: none; }

  /* ── Proof bar — stack label and companies ── */
  .proof-bar__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .proof-bar__divider { display: none; }
  .proof-bar__companies { gap: 14px; }

  /* ── Final CTA — stack buttons full-width ── */
  .final-cta__actions { flex-direction: column; align-items: center; }
  .final-cta__actions .btn-blue--lg,
  .final-cta__actions .btn-outline--lg { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Solution hero actions — stack on small screens ── */
  .sol-hero__actions { flex-direction: column; align-items: flex-start; }
  .sol-hero__actions .btn-blue--lg,
  .sol-hero__actions .btn-outline--lg { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Hero actions — stack ── */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn-blue--lg { width: 100%; max-width: 280px; justify-content: center; }

  /* ── Screenshot placeholder — reduce min-height on mobile ── */
  .scr-slot__ph { min-height: 240px !important; }
  .ns-screenshot__placeholder { min-height: 240px !important; }

  /* ── Footer legal — wrap on small screens ── */
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal-links { flex-wrap: wrap; gap: 12px; }

  /* ── Problem cards vis ── */
  .commit-vis { padding: 20px 16px 16px; }

  /* ── Footer CTA strip + Mid-page CTA — column layout on mobile ── */
  .footer__cta,
  .mid-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px;
    gap: 12px;
  }
  .footer__cta .btn-blue,
  .footer__cta .btn-blue--lg,
  .mid-cta .btn-blue,
  .mid-cta .btn-blue--lg {
    width: 100%;
    justify-content: center;
  }

  /* ── Integration grid — 2 columns (already set, explicit) ── */
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Very small phones (≤ 390px) ── */
@media (max-width: 390px) {
  .nav__mobile-solutions { grid-template-columns: 1fr; }
  .hero__h1 { font-size: clamp(28px, 9vw, 38px); }
  .bento-tile { padding: 20px 16px; }
  .comparison__table { font-size: 12px; }
  .comparison__table thead th,
  .comparison__table td { padding: 10px 12px; }
  /* Reduce commit track label width to reclaim grid space */
  .commit-track__label { width: 68px; }
  .commit-legend { padding-left: 82px; }
  /* sol-pipeline meta — wrap commit ref + badge on very small screens */
  .sol-pipeline__meta { flex-wrap: wrap; gap: 8px; }
  /* mbar label — tighten on very small screens */
  .mbar-lbl { width: 68px; font-size: 10px; }
  /* Proof bar company names — tighter gap */
  .proof-bar__companies { gap: 10px; }
}

/* ============================================================
   VIDEO SLOTS — shared across all pages
   Same chrome as scr-slot. Swap .vid-slot__ph for:

   OPTION A — YouTube (recommended for quick turnaround):
     <div class="vid-slot__embed">
       <iframe src="https://www.youtube.com/embed/VIDEO_ID?rel=0&modestbranding=1"
               frameborder="0" allowfullscreen
               allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture">
       </iframe>
     </div>

   OPTION B — Self-hosted muted autoplay loop (hero only):
     <video class="vid-slot__video" autoplay muted loop playsinline>
       <source src="/assets/videos/filename.mp4" type="video/mp4">
     </video>
============================================================ */
.vid-slot {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.vid-slot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.vid-slot__dots { display: flex; gap: 5px; flex-shrink: 0; }
.vid-slot__dot { width: 10px; height: 10px; border-radius: 50%; }
.vid-slot__dot:nth-child(1) { background: rgba(240,78,85,0.5); }
.vid-slot__dot:nth-child(2) { background: rgba(245,166,35,0.5); }
.vid-slot__dot:nth-child(3) { background: rgba(34,214,122,0.5); }
.vid-slot__title {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vid-slot__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid;
  flex-shrink: 0;
}
.vid-slot__tag--blue  { color: var(--blue);  border-color: rgba(0,171,233,0.25);  background: rgba(0,171,233,0.08); }
.vid-slot__tag--amber { color: var(--amber); border-color: rgba(245,166,35,0.25); background: rgba(245,166,35,0.08); }
.vid-slot__tag--green { color: var(--green); border-color: rgba(34,214,122,0.25); background: rgba(34,214,122,0.08); }
.vid-slot__tag--red   { color: var(--red);   border-color: rgba(240,78,85,0.25);  background: rgba(240,78,85,0.08); }
/* Placeholder — remove when video is ready */
.vid-slot__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 56px 32px;
  text-align: center;
  background: var(--bg-3);
  border: 2px dashed rgba(100,170,255,0.08);
}
.vid-slot__ph-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.vid-slot__ph-icon svg { color: var(--blue); }
.vid-slot__ph-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,171,233,0.08);
  border: 1px solid rgba(0,171,233,0.15);
  padding: 3px 10px;
  border-radius: 4px;
}
.vid-slot__ph-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-top: 2px;
}
.vid-slot__ph-desc {
  font-size: 12px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}
.vid-slot__ph-length {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  font-weight: 500;
  margin-top: 4px;
}
.vid-slot__ph-format {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.65;
}
.vid-slot__ph-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.4;
  margin-top: 2px;
}
/* Drop-in: YouTube embed — 16:9 */
.vid-slot__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.vid-slot__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
/* Drop-in: native video element */
.vid-slot__video { width: 100%; display: block; }

/* ============================================================
   HOMEPAGE HERO — stacked layout
============================================================ */
.hero__stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero__top { max-width: 760px; }

/* ============================================================
   MID-PAGE CTA NUDGE — shared across all pages
   Usage:
     <div class="mid-cta reveal">
       <span class="mid-cta__text">Ready to <span>see X</span>?</span>
       <a href="/contact/request-live-demo.html" class="btn-blue">Get a Demo &rarr;</a>
     </div>
============================================================ */
.mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.mid-cta__text {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.mid-cta__text span { color: var(--blue); }

/* ============================================================
   SCREENSHOT SLOTS — shared across all pages
   Usage:
     <div class="scr-slot">
       <div class="scr-slot__bar">
         <div class="scr-slot__dots">...</div>
         <span class="scr-slot__title">window title</span>
         <span class="scr-slot__tag scr-slot__tag--blue">TAG</span>
       </div>
       <!-- Replace .scr-slot__ph with: <img src="/assets/screenshots/file.png" alt="..." class="scr-slot__img" /> -->
       <div class="scr-slot__ph" style="min-height: Xpx;">
         <div class="scr-slot__ph-icon">...</div>
         <div class="scr-slot__ph-badge">SCREENSHOT</div>
         <div class="scr-slot__ph-title">Short label of what to capture</div>
         <div class="scr-slot__ph-desc">Detailed brief for the person taking the screenshot</div>
         <div class="scr-slot__ph-meta">Ideal: WxH · format note</div>
       </div>
     </div>
============================================================ */
.scr-slot {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.scr-slot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.scr-slot__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.scr-slot__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.scr-slot__dot:nth-child(1) { background: rgba(240,78,85,0.5); }
.scr-slot__dot:nth-child(2) { background: rgba(245,166,35,0.5); }
.scr-slot__dot:nth-child(3) { background: rgba(34,214,122,0.5); }
.scr-slot__title {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scr-slot__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid;
  flex-shrink: 0;
}
.scr-slot__tag--blue { color: var(--blue); border-color: rgba(0,171,233,0.25); background: rgba(0,171,233,0.08); }
.scr-slot__tag--amber { color: var(--amber); border-color: rgba(245,166,35,0.25); background: rgba(245,166,35,0.08); }
.scr-slot__tag--green { color: var(--green); border-color: rgba(34,214,122,0.25); background: rgba(34,214,122,0.08); }
.scr-slot__tag--red { color: var(--red); border-color: rgba(240,78,85,0.25); background: rgba(240,78,85,0.08); }
/* The placeholder body — remove this and replace with <img> when screenshot is ready */
.scr-slot__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 32px;
  text-align: center;
  background: var(--bg-3);
  border: 2px dashed rgba(100,170,255,0.08);
  position: relative;
}
.scr-slot__ph-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.scr-slot__ph-icon svg { color: var(--blue); }
.scr-slot__ph-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(0,171,233,0.2);
  padding: 3px 10px;
  border-radius: 4px;
}
.scr-slot__ph-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.scr-slot__ph-desc {
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}
.scr-slot__ph-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.45;
  margin-top: 2px;
}
/* Drop-in image — swap the .scr-slot__ph div for this */
.scr-slot__img {
  width: 100%;
  max-width: 100%;
  display: block;
}
