/* =====================================================================
   SentinelMesh — Marketing Site
   Shares tokens, reset, buttons, badges and cards with
   sentinelmesh-dashboard-enterprise.css (loaded first). This file adds
   only what the public site needs on top of that: nav, hero, section
   rhythm, feature layouts, comparison/pricing tables, and footer.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Marketing type scale — the dashboard's body copy is tuned for dense
   UI (15px); marketing prose and headlines need more room to breathe.
   ------------------------------------------------------------------ */
html{ scroll-behavior:smooth; }
body{ font-size:16px; overflow-x:hidden; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.container-narrow{ max-width:760px; margin:0 auto; padding:0 24px; }

section{ padding:110px 0; position:relative; }
@media (max-width:768px){ section{ padding:72px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12px; color:var(--brand-light);
  background:var(--brand-subtle); border:1px solid var(--brand-line);
  padding:6px 14px; border-radius:var(--radius-full); margin-bottom:22px;
}

h1, h2, h3, h4{ font-family:var(--font-display); color:var(--text); line-height:1.12; letter-spacing:-.01em; margin:0; }
.display-1 {
  font-size: clamp(20px, 2.5vw, 32px);
}

.display-2 {
  font-size: clamp(20px, 2.5vw, 30px);
}

.display-3 {
  font-size: clamp(17px, 2vw, 24px);
}


.lede{ font-family:var(--font-body); font-size:18px; line-height:1.65; color:var(--text-dim); max-width:640px; }
.lede-center{ margin-left:auto; margin-right:auto; text-align:center; }

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------------------------------------------------------------------
   Buttons — larger marketing variants of the shared .btn-primary etc.
   ------------------------------------------------------------------ */
.btn-lg{ padding:15px 30px; font-size:15.5px; border-radius:var(--radius-sm); }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* ---------------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------------ */
.sm-nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:18px 0;
  background:transparent;
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), padding var(--t-base) var(--ease);
  border-bottom:1px solid transparent;
}
.sm-nav.scrolled{
  background:rgba(19,16,25,.86); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom-color:var(--border); padding:12px 0;
}
.sm-nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.sm-nav-logo{ display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.sm-nav-logo img{ height:28px; width:auto; display:block; }
.sm-nav-links{ display:flex; align-items:center; gap:6px; list-style:none; margin:0; padding:0; }
.sm-nav-links a{
  font-size:14px; color:var(--text-dim); text-decoration:none; padding:9px 14px;
  border-radius:var(--radius-sm); transition:color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.sm-nav-links a:hover{ color:var(--text); background:var(--surface-2); }
.sm-nav-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.sm-nav-toggle{ display:none; background:none; border:none; color:var(--text); font-size:22px; cursor:pointer; }

@media (max-width:960px){
  .sm-nav-links{ display:none; }
  .sm-nav-toggle{ display:block; }
  .sm-nav-actions .btn-outline-custom{ display:none; }
}

.sm-mobile-panel{
  position:fixed; inset:0; z-index:250; background:var(--bg);
  display:flex; flex-direction:column; padding:20px 24px; transform:translateY(-100%);
  transition:transform var(--t-base) var(--ease); overflow-y:auto;
}
.sm-mobile-panel.is-open{ transform:translateY(0); }
.sm-mobile-panel a{
  display:block; padding:16px 0; font-family:var(--font-display); font-size:22px;
  color:var(--text); text-decoration:none; border-bottom:1px solid var(--border);
}

/* ---------------------------------------------------------------------
   HERO — centered headline that crossfades between two real product
   framings (the router / the prompt agent), sitting above a wide stage
   that crossfades in sync. Stats and the full feature grid live in the
   sections immediately below, so the hero itself stays to the pitch +
   one live mechanism, rather than re-stating them here.
   ------------------------------------------------------------------ */
.sm-hero{ position:relative; padding:100px 0 100px; overflow:hidden; justify-content: flex-start;}
.sm-hero-glow{
  position:absolute; z-index:-1; pointer-events:none; inset:-12% 0 auto 0; height:680px;
  background:
    radial-gradient(600px circle at 24% 32%, var(--brand-subtle), transparent 62%),
    radial-gradient(520px circle at 76% 18%, var(--brand-subtle), transparent 66%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 24%, black 40%, transparent 80%);
  mask-image:radial-gradient(ellipse 70% 60% at 50% 24%, black 40%, transparent 80%);
}

.sm-hero-top{ text-align:center; margin:0 auto; margin-bottom: 0 auto; }
.sm-hero-top .eyebrow{ margin-left:auto; margin-right:auto; }
.sm-hero-top h1{ margin-bottom:12px; }
.sm-hero-top .lede{ margin:0 auto 16px; }
.sm-hero-slide{ display:none; }
.sm-hero-slide.is-active{ display:block; animation:sm-hero-fadeup .5s var(--ease) both; }

@keyframes sm-hero-fadeup{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }

/* ---------------------------------------------------------------------
   HERO STAGE — the same CSS-3D technique the old single-card frame
   used (perspective + idle drift + mouse tilt, no rendering library),
   now driving two full scenes instead of one card: the routing network
   (core.router, live on every request) and the prompt agent's deploy
   flow (agents.engine_client.generate_agent_config). One continuous,
   deliberate motion rather than scattered hover effects.
   ------------------------------------------------------------------ */
.sm-hero-stage{ position:relative; perspective:1500px; margin-top: 0;  }
.sm-hero-stage-drift{
  position:relative; transform-style:preserve-3d;
  animation:sm-hero-idle 16s ease-in-out infinite;
}
@keyframes sm-hero-idle{
  0%,100%{ transform:rotateX(3deg) rotateY(-4deg); }
  50%{ transform:rotateX(1.5deg) rotateY(3deg); }
}
.sm-hero-stage-frame{
  position:relative; transform-style:preserve-3d;
  transition:transform .35s var(--ease);
}

.sm-hero-scene{ display:none; position:relative; width:100%; aspect-ratio:2.5/1; max-height:440px; min-height:300px; }
.sm-hero-scene.is-active{ display:block; animation:sm-hero-fadeup .6s var(--ease) both; }

/* scene 0: routing network */
.sm-hero-net-svg{ position:absolute; inset:0; width:100%; height:100%; }
.sm-hero-net-svg line{ stroke:var(--border-bright); stroke-width:1; vector-effect:non-scaling-stroke; }

.sm-hero-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  padding:10px 18px; border-radius:var(--radius-full);
  background:var(--brand-soft); border:1px solid var(--brand-line);
  font-family:var(--font-mono); font-size:12.5px; font-weight:600; color:var(--brand-light);
  box-shadow:var(--shadow-md);
}
.sm-hero-core-dot{
  width:7px; height:7px; border-radius:50%; background:var(--brand);
  box-shadow:0 0 8px var(--brand); animation:sm-hero-pulse 2s ease-in-out infinite;
}
@keyframes sm-hero-pulse{ 0%,100%{ opacity:.6; } 50%{ opacity:1; } }

.sm-hero-node{
  position:absolute; transform:translate(-50%,-50%);
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  padding:8px 13px; border-radius:var(--radius-full);
  background:var(--surface-2); border:1px solid var(--border-mid);
  font-family:var(--font-mono); font-size:11.5px; color:var(--text-dim);
  box-shadow:var(--shadow-md);
  animation:sm-hero-float 5s ease-in-out infinite;
}
.sm-hero-node svg{ color:var(--brand-light); flex-shrink:0; }
@keyframes sm-hero-float{
  0%,100%{ transform:translate(-50%,-50%); }
  50%{ transform:translate(-50%, calc(-50% - 7px)); }
}

/* scene 1: prompt agent deploy terminal — reuses the same window chrome
   (.sm-demo-bar/.sm-demo-dot/.sm-demo-label) as the agent demo and
   model-ownership panels further down the page. */
.sm-hero-term{
  position:absolute; inset:0; display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border-mid);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); overflow:hidden;
}
.sm-hero-term-status{
  margin-left:auto; display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-mono); font-size:10.5px; font-weight:600; color:var(--green);
  background:rgba(52,211,153,.1); padding:3px 10px; border-radius:var(--radius-full);
}
.sm-hero-term-status .dot{
  width:5px; height:5px; border-radius:50%; background:var(--green);
  box-shadow:0 0 5px var(--green); animation:sm-hero-pulse 1.5s ease-in-out infinite;
}
.sm-hero-term-body{ flex:1; padding:22px 24px; font-family:var(--font-mono); font-size:12.5px; line-height:1.9; overflow-y:auto; }
.sm-hero-term-line{
  opacity:0; transform:translateY(4px); margin-bottom:2px;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.sm-hero-term-line.is-visible{ opacity:1; transform:translateY(0); }
.sm-hero-term-line .cmd{ color:var(--brand-light); }
.sm-hero-term-line .k{ color:var(--text-ghost); }
.sm-hero-term-line .v{ color:var(--text); }
.sm-hero-term-line .ok{ color:var(--green); font-weight:600; }
.sm-hero-term-caret{
  display:inline-block; width:6px; height:12px; margin-left:2px;
  background:var(--brand-light); animation:sm-caret 1s step-end infinite; vertical-align:middle;
}

.sm-hero-tabs{ display:flex; gap:8px; justify-content:center; margin-top:22px; }
.sm-hero-tab{
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 16px; border-radius:var(--radius-full);
  font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--text-ghost);
  background:var(--surface); border:1px solid var(--border-mid);
  cursor:pointer; transition:color var(--t-fast) var(--ease), 
  background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.sm-hero-tab svg{ opacity:.7; }
.sm-hero-tab:hover{ color:var(--text); }
.sm-hero-tab.is-active{ color:var(--brand-light); background:var(--brand-subtle); border-color:var(--brand-line); }
.sm-hero-tab.is-active svg{ opacity:1; }
.sm-hero-tab:focus-visible{ outline:2px solid var(--brand-line); outline-offset:2px; }

.label-3d {
  position: absolute; pointer-events: none;
  padding: 2px 5px;
  background: rgba(10,13,26,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 10px; font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.label-3d.visible { opacity: 1; }
.label-3d .status-dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  margin-right: 5px; vertical-align: middle;
  box-shadow: 0 0 4px currentColor;
}
.label-3d.core-label {
  font-size: 12px; font-weight: 700;
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.5);
  color: #93c5fd;
  padding: 7px 14px;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1600px; /* Made wider */
  flex: 1; /* THIS IS THE MAGIC: Takes all remaining vertical space */
  min-height: 0;
  animation: fadeIn 1s .2s ease both;
}

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  width: 100%;
  height: 100%; /* Ensures slide fills the wrapper */
}

@media (max-width:860px){
  .sm-hero{ padding:110px 0 64px; }
  .sm-hero-stage{ perspective:1000px; }
  .sm-hero-node{ display:none; }
  .sm-hero-scene{ aspect-ratio:4/3; max-height:340px; }
}
@media (max-width:560px){
  .sm-hero-scene{ aspect-ratio:1/1; max-height:300px; }
}
@media (prefers-reduced-motion: reduce){
  .sm-hero-stage-drift{ animation:none; }
  .sm-hero-node{ animation:none; }
  .sm-hero-core-dot, .sm-hero-term-status .dot{ animation:none; opacity:1; }
  .sm-hero-slide.is-active, .sm-hero-scene.is-active{ animation:none; }
}

/* ---------------------------------------------------------------------
   PROMPT AGENT — home page gallery section (three real prompt -> config
   examples) and the shared building blocks the dedicated /prompt-agent/
   page also uses (step sequence, example card, FAQ already covered by
   .card-custom/.faq-body from pricing.html).
   ------------------------------------------------------------------ */
.sm-pa-grid{ display:grid; grid-template-columns:var(--cols, repeat(3,minmax(0,1fr))); gap:18px; margin-top:44px; }
.sm-pa-grid > *{ min-width:0; }
@media (max-width:860px){ .sm-pa-grid{ grid-template-columns:minmax(0,1fr); } }
.sm-pa-card{
  background:var(--surface); border:1px solid var(--border-mid); border-radius:var(--radius-lg);
  padding:24px; box-shadow:var(--shadow-md);
}
.sm-pa-you{
  font-family:var(--font-mono); font-size:13px; color:var(--text-dim); line-height:1.6;
  padding-bottom:16px; margin-bottom:14px; border-bottom:1px dashed var(--border-mid);
}
.sm-pa-row{ display:flex; gap:10px; font-size:13px; padding:4px 0; }
.sm-pa-row .k{ color:var(--text-ghost); width:60px; flex-shrink:0; font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.sm-pa-row .v{ color:var(--text); font-weight:500; }

.sm-pa-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:860px){ .sm-pa-steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .sm-pa-steps{ grid-template-columns:1fr; } }
.sm-pa-step{ position:relative; padding:22px 20px; background:var(--surface); border:1px solid var(--border-mid); border-radius:var(--radius-lg); }
.sm-pa-step-num{ font-family:var(--font-display); font-size:26px; color:var(--brand-light); margin-bottom:10px; }
.sm-pa-step h4{ font-size:15px; margin-bottom:6px; }
.sm-pa-step p{ font-size:13px; color:var(--text-dim); line-height:1.6; margin:0; }

/* Interactive "describe it" hero demo — the actual product mechanism,
   not a decorative mockup: a real prompt resolving into a real agent
   config, mirroring what agents/engine_client.generate_agent_config
   does server-side. */
.sm-demo{
  background:var(--surface); border:1px solid var(--border-mid); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); overflow:hidden;
}
.sm-demo-bar{
  display:flex; align-items:center; gap:8px; padding:14px 18px;
  border-bottom:1px solid var(--border); background:var(--surface-2);
}
.sm-demo-dot{ width:10px; height:10px; border-radius:50%; }
.sm-demo-dot.r{ background:#F0665E; } .sm-demo-dot.y{ background:#F5B759; } .sm-demo-dot.g{ background:#34D399; }
.sm-demo-label{ margin-left:8px; font-family:var(--font-mono); font-size:12px; color:var(--text-ghost); }
.sm-demo-body{ padding:26px; }
.sm-demo-prompt{
  font-family:var(--font-mono); font-size:14.5px; color:var(--text); line-height:1.6;
  min-height:44px;
}
.sm-demo-prompt::after{ content:'|'; color:var(--brand); animation:sm-caret 1s step-end infinite; }
.sm-demo-prompt.done::after{ display:none; }
@keyframes sm-caret{ 50%{ opacity:0; } }
.sm-demo-result{
  margin-top:20px; padding-top:20px; border-top:1px dashed var(--border-mid);
  opacity:0; transform:translateY(6px); transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.sm-demo-result.show{ opacity:1; transform:translateY(0); }
.sm-demo-row{ display:flex; gap:10px; font-size:13px; padding:6px 0; }
.sm-demo-row .k{ color:var(--text-ghost); width:88px; flex-shrink:0; font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; }
.sm-demo-row .v{ color:var(--text-dim); }
.sm-demo-status{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; color:var(--green); font-family:var(--font-mono); }
.sm-demo-status .dot{ width:6px; height:6px; border-radius:50%; background:var(--green); }

/* ---------------------------------------------------------------------
   COMPARISON — sentence vs. canvas. A genuine side-by-side contrast,
   not a decorative card grid.
   ------------------------------------------------------------------ */
.sm-compare{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--border-mid); border-radius:var(--radius-lg); overflow:hidden; }
@media (max-width:820px){ .sm-compare{ grid-template-columns:1fr; } }
.sm-compare-col{ padding:36px; }
.sm-compare-col + .sm-compare-col{ border-left:1px solid var(--border-mid); }
@media (max-width:820px){ .sm-compare-col + .sm-compare-col{ border-left:none; border-top:1px solid var(--border-mid); } }
.sm-compare-col.is-them{ background:var(--surface); }
.sm-compare-col.is-us{ background:var(--surface-2); }
.sm-compare-label{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.03em; color:var(--text-ghost); margin-bottom:16px; }
.sm-compare-col.is-us .sm-compare-label{ color:var(--brand-light); }
.sm-compare-col h4{ font-size:20px; margin-bottom:18px; }
.sm-compare-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
.sm-compare-list li{ display:flex; gap:10px; font-size:14px; color:var(--text-dim); line-height:1.5; }
.sm-compare-list svg{ flex-shrink:0; margin-top:2px; }
.sm-compare-col.is-them svg{ color:var(--text-ghost); }
.sm-compare-col.is-us svg{ color:var(--green); }

/* ---------------------------------------------------------------------
   FEATURE LAYOUTS — deliberately varied, not one repeated card grid.
   ------------------------------------------------------------------ */
/* Column proportions arrive as --cols (an INLINE grid-template-columns would out-rank the media query below and keep two columns on a phone). */
.sm-feature-row{ display:grid; grid-template-columns:var(--cols, minmax(0,1fr) minmax(0,1fr)); gap:64px; align-items:center; margin-bottom:120px; }
.sm-feature-row > *{ min-width:0; }
.sm-feature-row:last-child{ margin-bottom:0; }
.sm-feature-row.reverse .sm-feature-visual{ order:2; }
@media (max-width:860px){
  .sm-feature-row, .sm-feature-row.reverse .sm-feature-visual{ grid-template-columns:minmax(0,1fr); order:0; }
  .sm-feature-row{ gap:32px; margin-bottom:72px; }
}
.sm-feature-copy h3{ font-size:28px; margin-bottom:14px; }
.sm-feature-copy p{ font-size:15.5px; color:var(--text-dim); line-height:1.7; margin-bottom:20px; }
.sm-feature-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.sm-feature-list li{ display:flex; gap:10px; font-size:14px; color:var(--text-dim); }
.sm-feature-list svg{ color:var(--green); flex-shrink:0; margin-top:2px; }
.sm-feature-visual{ background:var(--surface); border:1px solid var(--border-mid); border-radius:var(--radius-lg); padding:6px; box-shadow:var(--shadow-md); }
.sm-feature-visual-inner{ background:var(--surface-2); border-radius:calc(var(--radius-lg) - 6px); padding:28px; min-height:280px; }

.grid-cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
@media (max-width:860px){ .grid-cards{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .grid-cards{ grid-template-columns:1fr; } }
.feat-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px; }
.feat-card-icon{ width:38px; height:38px; border-radius:var(--radius-sm); background:var(--brand-soft); color:var(--brand-light); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.feat-card h4{ font-size:16px; margin-bottom:8px; }
.feat-card p{ font-size:13.5px; color:var(--text-dim); line-height:1.6; margin:0; }

/* ---------------------------------------------------------------------
   INTEGRATIONS STRIP
   ------------------------------------------------------------------ */
.sm-integ-grid{ display:grid; grid-template-columns:repeat(6, 1fr); gap:14px; }
@media (max-width:820px){ .sm-integ-grid{ grid-template-columns:repeat(3, 1fr); } }
.sm-integ-tile{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:22px 12px; font-size:12.5px; color:var(--text-dim); text-align:center;
}
.sm-integ-tile svg{ color:var(--text-mid); }
.sm-integ-tile.is-live{ border-color:var(--green-line); }
.sm-integ-tile .live-tag{ font-family:var(--font-mono); font-size:9.5px; color:var(--green); text-transform:uppercase; letter-spacing:.04em; }

/* ---------------------------------------------------------------------
   PRICING
   ------------------------------------------------------------------ */
.pricing-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; align-items:stretch; }
@media (max-width:1000px){ .pricing-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:30px 26px; display:flex; flex-direction:column; }
.price-card.is-featured{ border-color:var(--brand-line); background:var(--surface-2); position:relative; }
.price-card-tag{ position:absolute; top:-12px; left:26px; background:var(--brand); color:var(--brand-ink); font-size:11px; font-weight:600; padding:4px 12px; border-radius:var(--radius-full); }
.price-card h3{ font-size:18px; margin-bottom:4px; }
.price-card .sub{ font-size:13px; color:var(--text-ghost); margin-bottom:20px; }
.price-amount{ font-family:var(--font-display); font-size:38px; color:var(--text); margin-bottom:4px; }
.price-amount .per{ font-family:var(--font-body); font-size:14px; color:var(--text-ghost); font-weight:400; }
.price-card .btn{ width:100%; justify-content:center; margin:22px 0 22px; }
.price-features{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; flex:1; }
.price-features li{ display:flex; gap:9px; font-size:13.5px; color:var(--text-dim); }
.price-features svg{ color:var(--green); flex-shrink:0; margin-top:2px; }

/* ---------------------------------------------------------------------
   OUTCOMES — replaces fabricated testimonials with honest, mechanism-
   grounded statements about what the product actually does.
   ------------------------------------------------------------------ */
.outcome-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; }
@media (max-width:820px){ .outcome-grid{ grid-template-columns:1fr; } }
.outcome-cell{ background:var(--surface); padding:32px; }
.outcome-cell .num{ font-family:var(--font-display); font-size:34px; color:var(--brand-light); margin-bottom:10px; }
.outcome-cell p{ font-size:14px; color:var(--text-dim); line-height:1.6; margin:0; }

/* ---------------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------------ */
.sm-cta-band{
  background:linear-gradient(135deg, var(--surface-2), var(--surface));
  border:1px solid var(--border-mid); border-radius:var(--radius-lg);
  padding:64px 48px; text-align:center;
}
@media (max-width:600px){ .sm-cta-band{ padding:44px 24px; } }

/* ---------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.sm-footer{ border-top:1px solid var(--border); padding:72px 0 32px; }
.sm-footer-grid{ display:grid; grid-template-columns:1.6fr repeat(4, 1fr); gap:32px; margin-bottom:56px; }
@media (max-width:860px){ .sm-footer-grid{ grid-template-columns:1fr 1fr; } }
.sm-footer-brand img{ height:26px; margin-bottom:14px; }
.sm-footer-brand p{ font-size:13px; color:var(--text-ghost); max-width:260px; line-height:1.6; }
.sm-footer-col h5{ font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--text); margin-bottom:16px; }
.sm-footer-col a{ display:block; font-size:13.5px; color:var(--text-dim); text-decoration:none; padding:6px 0; }
.sm-footer-col a:hover{ color:var(--text); }
.sm-footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:28px; border-top:1px solid var(--border); font-size:12.5px; color:var(--text-ghost); }
.sm-footer-bottom a{ color:var(--text-ghost); text-decoration:none; }
.sm-footer-bottom a:hover{ color:var(--text-dim); }
.sm-footer-social{ display:flex; gap:10px; }
.sm-footer-social a{ width:32px; height:32px; border-radius:var(--radius-sm); background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; }

/* ---------------------------------------------------------------------
   MISC UTILITIES
   ------------------------------------------------------------------ */
.text-brand{ color:var(--brand-light); }
.mono-tag{ font-family:var(--font-mono); font-size:12px; color:var(--brand); }
.divider{ height:1px; background:var(--border); border:none; margin:0; }
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE HELPERS
   Replace inline `display:grid;grid-template-columns:…` blocks, which cannot respond to screen size.
   minmax(0,1fr) lets a column shrink below its content's min-width instead of overflowing the viewport.
   ------------------------------------------------------------------ */
.sm-stat-strip{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.sm-stat-strip > *{ min-width:0; }
@media (max-width:900px){ .sm-stat-strip{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:380px){ .sm-stat-strip{ grid-template-columns:minmax(0,1fr); } }

.sm-steps-5{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.sm-steps-5 > *{ min-width:0; }
@media (max-width:1100px){ .sm-steps-5{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px){ .sm-steps-5{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px){ .sm-steps-5{ grid-template-columns:minmax(0,1fr); } }

/* Wide tables scroll inside their own box rather than stretching the page. */
.table-scroll{ width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 0 1.2em; }
.table-scroll > table{ margin:0; min-width:480px; }

/* Long unbreakable strings (URLs, env var names, code) must wrap or scroll, never push the page wider. */
.container, .container-fluid{ min-width:0; }
pre{ max-width:100%; overflow-x:auto; }
p, li, td, th, h1, h2, h3, h4, .param-desc, .feat-card p{ overflow-wrap:break-word; }
code{ overflow-wrap:anywhere; }
img, svg, video, iframe{ max-width:100%; }
