/* Live Review Map */
.hero-visual { position: relative; min-width: 0; }
.review-map {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 440px;
  width: 100%;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.4s ease;
}
.review-map::before {
  content: '';
  position: absolute;
  inset: 8% 2% 0 2%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 58% 30%, rgba(91,189,162,0.13), transparent 36%),
    radial-gradient(circle at 42% 74%, rgba(201,152,42,0.14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 45%);
  filter: blur(0.2px);
  opacity: 0.9;
}
.trace-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.trace-svg path {
  fill: none;
  stroke: rgba(91,189,162,0.42);
  stroke-width: 1.1;
  stroke-dasharray: 6 9;
  animation: traceDrift 10s linear infinite;
}
.trace-svg path.hot {
  stroke: rgba(201,152,42,0.72);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 7px rgba(201,152,42,0.34));
  animation-duration: 6s;
}
.trace-svg circle {
  fill: var(--accent-secondary);
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(91,189,162,0.5));
}
.trace-svg circle.hot { fill: var(--accent-primary); filter: drop-shadow(0 0 8px rgba(201,152,42,0.55)); }
@keyframes traceDrift { to { stroke-dashoffset: -140; } }

.file-node,
.finding-callout,
.review-console {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(9, 15, 23, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.05);
}
.file-node {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 150px;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: #c6d8d2;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  transition: transform var(--transition-med), border-color var(--transition-med), color var(--transition-med);
}
.file-node svg { width: 18px; height: 18px; color: var(--accent-secondary); flex-shrink: 0; }
.file-node:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(91,189,162,0.42);
  color: #fff;
}
.node-auth { top: 14%; left: 3%; }
.node-permissions { top: 3%; left: 42%; }
.node-billing { top: 13%; right: 3%; }
.node-access { bottom: 14%; left: 1%; }
.node-routes { bottom: 1%; right: 1%; }
.node-migration { display: none; }

.review-console {
  top: 24%;
  left: 22%;
  width: 56%;
  height: 292px;
  border-radius: 18px;
  overflow: hidden;
}
.terminal-header {
  background: rgba(255,255,255,0.035);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }
.terminal-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.review-console-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.75rem;
  padding: 0.9rem;
  font-family: var(--font-mono);
}
.summary-panel,
.activity-panel,
.code-panel {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  padding: 0.75rem;
}
.panel-label {
  color: var(--text-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.7rem;
}
.metric-row {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(72px, max-content);
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}
.metric-row > span { white-space: nowrap; }
.metric-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(91,189,162,0.8), rgba(201,152,42,0.86));
  animation: metricPulse 3.4s ease-in-out infinite;
}
@keyframes metricPulse {
  0%, 100% { opacity: 0.7; transform: scaleX(0.94); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.65rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.69rem;
  margin-bottom: 0.55rem;
}
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91,189,162,0.36);
}
.activity-list li.active .activity-dot {
  background: var(--accent-secondary);
  box-shadow: 0 0 14px rgba(91,189,162,0.7);
  animation: softPulse 1.8s ease-in-out infinite;
}
@keyframes softPulse { 50% { transform: scale(1.35); } }
.code-panel {
  grid-column: span 2;
  display: grid;
  gap: 0.28rem;
}
.code-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.6rem;
  align-items: center;
  color: rgba(232,228,220,0.48);
  font-size: 0.68rem;
}
.code-line .sign { color: var(--accent-secondary); }
.code-line.warn {
  color: rgba(255,255,255,0.8);
  background: linear-gradient(90deg, rgba(201,152,42,0.18), rgba(201,152,42,0.03));
  border: 1px solid rgba(201,152,42,0.18);
  border-radius: 6px;
  padding: 0.22rem 0.35rem;
  margin-left: -0.35rem;
}
.code-line.warn .sign { color: var(--accent-primary); }
.finding-callout {
  bottom: 1%;
  left: 33%;
  width: 200px;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  border-color: rgba(201,152,42,0.38);
  box-shadow: 0 0 0 1px rgba(201,152,42,0.08), 0 22px 60px rgba(0,0,0,0.34), 0 0 35px rgba(201,152,42,0.13);
}
.finding-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.severity {
  color: var(--accent-primary);
  border: 1px solid rgba(201,152,42,0.35);
  border-radius: 6px;
  padding: 0.12rem 0.42rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.finding-meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* Showcase-style preview strip */
.showcase-band {
  padding: 1.25rem 2rem 5rem;
  position: relative;
  z-index: 10;
}
.showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.35rem;
}
.showcase-header h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  max-width: 620px;
}
.showcase-header p {
  color: var(--text-muted);
  max-width: 420px;
  font-size: 1rem;
  font-weight: 300;
}
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.65fr);
  gap: 1rem;
}
.showcase-card {
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background: rgba(7, 12, 19, 0.72);
  overflow: hidden;
  transition: transform var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,152,42,0.28);
  background: rgba(10, 16, 25, 0.84);
}
.showcase-card-media {
  aspect-ratio: 16 / 9;
  background: #05080d;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.showcase-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.showcase-card-copy,
.value-card {
  padding: 1.25rem;
}
.showcase-eyebrow,
.value-label {
  display: block;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.showcase-card h3,
.value-card h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}
.showcase-card p,
.value-card p {
  color: var(--text-muted);
  font-weight: 300;
}
.showcase-side {
  display: grid;
  gap: 1rem;
}
.value-card {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  justify-content: space-between;
}
.value-metric {
  display: block;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  margin-top: 1.4rem;
}
.comparison-link {
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
/* Redesigned mid-page product sections */
.product-band {
  max-width: 1220px;
}

.flow-board {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 5%, rgba(91,189,162,0.12), transparent 34%),
    linear-gradient(180deg, rgba(13, 24, 38, 0.7), rgba(9, 14, 22, 0.55));
  padding: 2rem;
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.flow-board::before {
  content: '';
  position: absolute;
  top: 118px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,189,162,0.44), rgba(201,152,42,0.48), rgba(91,189,162,0.44), transparent);
  opacity: 0.75;
}
.flow-board::after {
  content: '';
  position: absolute;
  top: 118px;
  left: 0;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  filter: drop-shadow(0 0 8px rgba(201,152,42,0.55));
  animation: flowRight 3.4s linear infinite;
}
.flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.flow-card {
  min-height: 280px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(6, 11, 18, 0.56);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}
.flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,189,162,0.26);
  background: rgba(10, 18, 28, 0.74);
}
.flow-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-secondary);
  border: 1px solid rgba(91,189,162,0.44);
  background: rgba(91,189,162,0.08);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(91,189,162,0.12);
}
.flow-card:nth-child(2) .flow-number,
.flow-card:nth-child(4) .flow-number {
  color: var(--accent-primary);
  border-color: rgba(201,152,42,0.42);
  background: rgba(201,152,42,0.08);
  box-shadow: 0 0 18px rgba(201,152,42,0.12);
}
.flow-card h4 {
  font-size: 1.6rem;
  color: #fff;
  margin: 1.2rem 0 0.55rem;
}
.flow-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}
.flow-art {
  margin-top: 1.2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  padding: 0.85rem;
  min-height: 86px;
  display: grid;
  gap: 0.42rem;
}
.flow-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.flow-chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.18rem 0.4rem;
  background: rgba(255,255,255,0.03);
}
.mini-line {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.mini-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
}
.flow-card.verify-card {
  border-color: rgba(91,189,162,0.32);
  box-shadow: inset 0 0 0 1px rgba(91,189,162,0.08), 0 0 34px rgba(91,189,162,0.08);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.mission-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(12, 25, 39, 0.74), rgba(8, 13, 21, 0.58));
  padding: 2rem;
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(91,189,162,0.12), transparent 36%);
}
.mission-card.sec::before {
  background: radial-gradient(circle at 80% 20%, rgba(217,64,82,0.12), transparent 36%);
}
.mission-card.bug { border-top: 4px solid var(--accent-secondary); }
.mission-card.sec { border-top: 4px solid var(--accent-danger); }
.mission-content,
.mission-visual {
  position: relative;
  z-index: 1;
}
.mission-card h3 {
  font-size: 2.45rem;
  color: #fff;
  margin-bottom: 1rem;
}
.mission-card p {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 620px;
}
.mission-visual {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 1rem;
}
.mission-console,
.mission-sidecar,
.mission-command {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(0,0,0,0.22);
}
.mission-console {
  padding: 1rem;
  min-height: 196px;
  display: grid;
  gap: 0.55rem;
}
.mission-sidecar {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.evidence-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(91,189,162,0.4);
}
.sec .row-dot { background: var(--accent-danger); box-shadow: 0 0 12px rgba(217,64,82,0.35); }
.row-tag {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  font-size: 0.62rem;
}
.mission-command {
  grid-column: span 2;
  padding: 1rem;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.sec .mission-command { color: var(--accent-danger); }

.capability-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}
.capability-stack {
  display: grid;
  gap: 1.5rem;
}
.capability-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(12, 25, 39, 0.7), rgba(8, 13, 21, 0.56));
  padding: 2rem;
  overflow: hidden;
  min-height: 238px;
  backdrop-filter: blur(14px);
}
.capability-card.large {
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}
.capability-card h3 {
  color: #fff;
  font-size: 2.35rem;
  margin-bottom: 1rem;
}
.capability-card p {
  color: var(--text-muted);
  font-weight: 300;
}
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.capability-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-secondary);
  border: 1px solid rgba(91,189,162,0.2);
  background: rgba(91,189,162,0.06);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}
.capability-visual {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  overflow: hidden;
}
.capability-visual::before {
  content: '';
  position: absolute;
  inset: 20% 12%;
  border: 1px dashed rgba(91,189,162,0.26);
  border-radius: 50%;
}
.engine-node {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(7, 13, 21, 0.78);
  padding: 0.7rem 0.85rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.engine-main {
  top: 38%;
  left: 28%;
  right: 28%;
  text-align: center;
  color: var(--accent-secondary);
  border-color: rgba(91,189,162,0.3);
  box-shadow: 0 0 26px rgba(91,189,162,0.12);
}
.engine-claude { top: 16%; left: 9%; }
.engine-codex { top: 16%; right: 9%; }
.engine-local { bottom: 13%; left: 12%; color: var(--accent-primary); border-color: rgba(201,152,42,0.28); }
.engine-report { bottom: 13%; right: 10%; }
.small-visual {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.stat-tile {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
  padding: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.stat-tile strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Glass Panels / Bento Box */
.section {
  padding: 8rem 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.section-header h2 {
  font-size: 3.35rem;
  letter-spacing: 0;
}

.bento-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201, 152, 42, 0.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 152, 42, 0.15);
  color: var(--accent-primary);
}
@keyframes flowRight {
  0% { left: -50%; }
  100% { left: 100%; }
}

.mode-badge {
  font-family: var(--font-mono); font-size: 0.75rem; padding: 0.25rem 0.75rem;
  border-radius: 6px; display: inline-block; margin-bottom: 1.5rem; letter-spacing: 1px; text-transform: uppercase;
}
.bug .mode-badge { background: rgba(91,189,162,0.1); color: var(--accent-secondary); border: 1px solid rgba(91,189,162,0.3); }
.sec .mode-badge { background: rgba(217,64,82,0.1); color: var(--accent-danger); border: 1px solid rgba(217,64,82,0.3); }

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  background: rgba(10,15,24,0.6);
  position: relative;
  z-index: 10;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.footer-col h4 { font-family: var(--font-mono); color: #fff; margin-bottom: 1.5rem; font-size: 0.85rem; opacity: 0.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); font-size: 0.9rem;}
.footer-col ul li a:hover { color: var(--accent-primary); }

/* Scroll Reveal Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 4.2rem; }
  .hero-content p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-proof { margin-left: auto; margin-right: auto; }
  .review-map { min-height: 500px; transform: none !important; }
  .review-console { left: 12%; width: 76%; height: 336px; }
  .node-auth { top: 13%; left: 0; }
  .node-permissions { top: 4%; left: 42%; }
  .node-billing { top: 14%; right: 0; }
  .node-access { bottom: 13%; left: 0; }
  .node-routes { bottom: 1%; right: 0; }
  .node-migration { display: inline-flex; bottom: 1%; left: 12%; }
  .finding-callout { bottom: 1%; left: 33%; }
  .flow-board::before,
  .flow-board::after { display: none; }
  .showcase-header {
    align-items: start;
    flex-direction: column;
  }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-grid,
  .capability-layout { grid-template-columns: 1fr; }
  .mission-card { min-height: auto; }
  .capability-card.large {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .footer-content { flex-direction: column; gap: 3rem; }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem 0; }
  .nav-links { display: none; }
  .hero {
    min-height: auto;
    padding-top: 5.25rem;
    padding-bottom: 1rem;
  }
  .hero-grid { gap: 1.15rem; }
  .hero-content {
    max-width: 21rem;
    margin: 0 auto;
  }
  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.04;
    margin-bottom: 1.15rem;
  }
  .hero-content h1 .text-accent { display: block; }
  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 19rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions { gap: 0.8rem; }
  .hero-actions .btn {
    width: min(100%, 240px);
    padding: 0.78rem 1.1rem;
  }
  .hero-proof { display: none; }
  .hero-visual { display: none; }
  .review-map { min-height: 350px; max-width: 440px; margin: 0 auto; }
  .trace-svg { opacity: 0.45; transform: scale(1.18); transform-origin: center; }
  .review-map::before { inset: 2% 0 8% 0; }
  .review-console {
    top: 17%;
    left: 4%;
    width: 92%;
    height: 232px;
  }
  .review-console-body { grid-template-columns: 1fr; }
  .activity-panel { display: none; }
  .code-panel { grid-column: span 1; }
  .file-node { min-width: auto; font-size: 0.66rem; padding: 0.58rem 0.65rem; }
  .node-permissions, .node-routes { display: none; }
  .node-auth { top: 3%; left: 4%; }
  .node-billing { top: 7%; right: 4%; }
  .node-access { display: none; }
  .node-migration { display: inline-flex; bottom: 1%; left: 4%; }
  .finding-callout {
    left: 13%;
    bottom: 2%;
    width: 74%;
    padding: 0.8rem 0.85rem;
  }
  .showcase-band { padding: 1rem 1.5rem 4rem; }
  .showcase-header {
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
  }
  .showcase-header h2 {
    max-width: 100%;
    font-size: 2rem;
  }
  .showcase-header p { max-width: 20rem; }
  .showcase-side { grid-template-columns: 1fr; }
  .showcase-card-copy,
  .value-card { padding: 1rem; }
  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 2.5rem; }
  .flow-board { padding: 1rem; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 230px; }
  .mission-card { padding: 1.25rem; }
  .mission-visual { grid-template-columns: 1fr; }
  .mission-command { grid-column: span 1; font-size: 0.78rem; }
  .mission-sidecar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card { padding: 1.25rem; }
  .capability-visual { min-height: 260px; }
  .engine-node { font-size: 0.66rem; padding: 0.58rem 0.68rem; }
  .engine-main { left: 24%; right: 24%; }
  .small-visual { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  .brand { font-size: 1.55rem; }
  .brand-icon { width: 24px; height: 24px; }
  .section-label { margin-bottom: 0.75rem; }
  .hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  .hero-content h1 {
    font-size: 2.78rem;
    line-height: 1.03;
    margin-bottom: 1.25rem;
  }
  .hero-content p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-actions .btn {
    width: min(100%, 230px);
  }
  .review-map { min-height: 330px; }
  .review-console {
    height: 224px;
  }
  .node-billing { display: none; }
  .mission-card h3,
  .capability-card h3 {
    font-size: 1.75rem;
  }
  .flow-card h4 {
    font-size: 1.45rem;
  }
}
