/* ===== Oscorpex landing — design tokens mirror the console app ===== */
:root {
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --surface: #0a0a0a;
  --surface-light: #141414;
  --surface-card: #111111;
  --surface-elev: #161616;
  --border: #262626;
  --border-light: #333333;
  --text: #fafafa;
  --text-2: #a3a3a3;
  --text-muted: #737373;
  --workflow: #a855f7;
  --tool: #3b82f6;
  --warning: #f59e0b;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell: 1140px;
  --ring: 0 0 0 1px var(--border);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; line-height: 1.1; }
img { max-width: 100%; }
.mono { font-family: var(--mono); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: 10px; padding: 10px 18px;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: #04140a; box-shadow: 0 8px 28px -12px rgba(34,197,94,.7); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { border-color: var(--border-light); color: var(--text); background: rgba(255,255,255,.015); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-logo { height: 22px; width: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-word { height: 17px; width: auto; filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; margin-left: auto; align-items: center; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.nav-mobile { flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--border); background: var(--surface); }
.nav-mobile a { padding: 10px 0; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav-mobile a.btn { margin-top: 10px; border: 1px solid transparent; justify-content: center; }
.nav-mobile[hidden] { display: none; }

/* ===== Hero ===== */
.hero { position: relative; padding-block: clamp(56px, 9vw, 110px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 78% 8%, rgba(34,197,94,.14), transparent 70%),
    radial-gradient(520px 380px at 10% 30%, rgba(168,85,247,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; margin: 20px 0 0; }
.grad { background: linear-gradient(100deg, var(--primary), #86efac 60%, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); max-width: 46ch; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-trust { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero-trust .mono { font-size: 11.5px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.trust-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-logos span {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 6px 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-card);
}

/* Faux terminal */
.hero-visual { position: relative; }
.glow { position: absolute; inset: -8% -4% -12% -4%; z-index: 0; background: radial-gradient(60% 55% at 60% 40%, rgba(34,197,94,.16), transparent 70%); filter: blur(10px); }
.term {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--surface-light), var(--surface-card));
  border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.03);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.tdot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-light); }
.tdot:nth-child(1){ background:#ef4444aa; } .tdot:nth-child(2){ background:#f59e0baa; } .tdot:nth-child(3){ background:#22c55eaa; }
.term-title { margin-left: 8px; font-size: 12px; color: var(--text-muted); }
.term-body { padding: 18px 18px 20px; font-size: 13px; line-height: 1.75; }
.term-body .line { margin: 0; color: var(--text-2); }
.term-body .prompt { color: var(--primary); margin-right: 8px; }
.term-body .str { color: #86efac; }
.term-body .dim { color: var(--text-muted); margin: 4px 0 12px; }
.term-body .ok { margin-top: 14px; color: var(--text); }
.term-body .ok b { color: var(--primary); }
.stage {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 7px 0;
  border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.015); font-size: 12.5px;
}
.stage .meta { margin-left: auto; color: var(--text-muted); font-size: 11.5px; }
.stage.done { border-color: rgba(34,197,94,.3); }
.stage .chk { color: var(--primary); font-weight: 700; }
.stage.run { border-color: rgba(59,130,246,.35); }
.stage .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-light); border-top-color: var(--tool); animation: spin .9s linear infinite; }
.stage.wait { opacity: .6; }
.stage .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Hero v2 (redesign) ===== */
.hero-v2 { position: relative; overflow: hidden; text-align: center; padding-block: clamp(76px, 12vw, 148px) clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--border); }
.hero-mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(72% 82% at 50% 36%, #000 38%, transparent 86%); mask-image: radial-gradient(72% 82% at 50% 36%, #000 38%, transparent 86%); }
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px 380px at 28% 18%, rgba(34,197,94,.13), transparent 70%), radial-gradient(480px 360px at 74% 26%, rgba(168,85,247,.1), transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.pill-live { background: rgba(17,17,17,.6); backdrop-filter: blur(6px); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; }
.hero-v2 h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; letter-spacing: -.03em; margin-top: 22px; max-width: 18ch; }
.hero-sub { color: var(--text-2); font-size: clamp(16px, 1.7vw, 19px); max-width: 60ch; margin: 22px auto 0; }
.hero-v2 .hero-actions { margin-top: 32px; }
.hero-partners { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.hero-partners .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.hp-logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hp-logos span { font-size: 13px; font-weight: 600; color: var(--text-2); padding: 7px 14px; border: 1px solid var(--border); border-radius: 9px; background: rgba(17,17,17,.6); backdrop-filter: blur(4px); transition: color .2s, border-color .2s; }
.hp-logos span:hover { color: var(--text); border-color: var(--border-light); }

.float-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: rgba(17,17,17,.74); backdrop-filter: blur(7px); border: 1px solid var(--border); border-radius: 11px; padding: 8px 13px; box-shadow: var(--shadow); white-space: nowrap; }
.float-chip .fc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.fc-dot.green { background: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.fc-dot.blue { background: var(--tool); box-shadow: 0 0 0 3px rgba(59,130,246,.16); }
.fc-dot.purple { background: var(--workflow); box-shadow: 0 0 0 3px rgba(168,85,247,.16); }
.fc-dot.amber { background: var(--warning); box-shadow: 0 0 0 3px rgba(245,158,11,.16); }
.fc-1 { top: 15%; left: 3%; animation: floaty 6s ease-in-out infinite; }
.fc-2 { top: 27%; right: 4%; animation: floaty 7s ease-in-out .5s infinite; }
.fc-3 { bottom: 34%; left: 6%; animation: floaty 6.6s ease-in-out .3s infinite; }
.fc-4 { bottom: 28%; right: 5%; animation: floaty 7.4s ease-in-out .8s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1040px) { .float-chip { display: none; } }

/* ===== Stats band ===== */
.stats-band { border-block: 1px solid var(--border); background: var(--surface-card); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.snum { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--primary); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.slabel { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ===== Capabilities marquee ===== */
.marquee { border-bottom: 1px solid var(--border); background: var(--surface); overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; will-change: transform; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 13px; color: var(--text-2); letter-spacing: .02em; }
.marquee-track span.sep { color: var(--primary); opacity: .5; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ===== Live engine visualization ===== */
.engine-stage { display: grid; grid-template-columns: 1.55fr .9fr; gap: 20px; align-items: stretch; }
.engine-canvas {
  position: relative; border: 1px solid var(--border-light); border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(520px 300px at 50% 46%, rgba(34,197,94,.1), transparent 70%),
    linear-gradient(180deg, var(--surface-light), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.engine-canvas::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.dag { position: relative; display: block; width: 100%; height: auto; }
.dag .edge { fill: none; stroke: rgba(34,197,94,.3); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7; animation: edgeflow 1.1s linear infinite; }
@keyframes edgeflow { to { stroke-dashoffset: -12; } }
.dag .token { fill: var(--primary); filter: drop-shadow(0 0 6px rgba(34,197,94,.9)); }
.dag .node circle:first-child { fill: var(--surface); stroke: var(--border-light); stroke-width: 2; }
.dag .node .core { stroke: none; }
.dag .node text { font-family: var(--mono); font-size: 12px; fill: var(--text-muted); text-anchor: middle; }
.dag .node.green circle:first-child { animation: nodering 4.4s ease-in-out infinite; animation-delay: var(--d); }
.dag .node.blue circle:first-child { animation: nodering 4.4s ease-in-out infinite; animation-delay: var(--d); }
.dag .node.purple circle:first-child { animation: nodering 4.4s ease-in-out infinite; animation-delay: var(--d); }
.dag .node.green .core { fill: var(--primary); }
.dag .node.blue .core { fill: var(--tool); }
.dag .node.purple .core { fill: var(--workflow); }
.dag .node.green circle:first-child { --nc: 34,197,94; }
.dag .node.blue circle:first-child { --nc: 59,130,246; }
.dag .node.purple circle:first-child { --nc: 168,85,247; }
@keyframes nodering {
  0%, 72%, 100% { stroke: var(--border-light); filter: none; }
  12%, 24% { stroke: rgb(var(--nc)); filter: drop-shadow(0 0 7px rgba(var(--nc), .8)); }
}

.engine-side { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.es-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.es-head .mono { font-size: 11.5px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.es-log { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.es-log li {
  font-family: var(--mono); font-size: 12px; color: var(--text-muted);
  padding: 8px 10px; border-radius: 8px; border: 1px solid transparent;
  display: flex; gap: 8px; transition: color .3s, background .3s, border-color .3s; opacity: .55;
}
.es-log li::before { content: "▸"; color: var(--border-light); }
.es-log li.active { color: var(--text); background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); opacity: 1; }
.es-log li.active::before { color: var(--primary); }
.es-progress { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.es-progress .mono { font-size: 11.5px; color: var(--text-muted); }
.es-progress .es-pct { color: var(--primary); margin-left: auto; }
.es-track { flex: 1; height: 7px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.es-bar { display: block; height: 100%; width: 72%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #86efac); animation: esbar 3.2s ease-in-out infinite; }
@keyframes esbar { 0%,100% { width: 46%; } 50% { width: 82%; } }

/* ===== Sections ===== */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section.alt { background: var(--surface-card); border-block: 1px solid var(--border); }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; margin-top: 14px; }
.sec-sub { color: var(--text-2); margin-top: 16px; font-size: 16.5px; }

/* ===== Flow ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step { position: relative; background: var(--surface-card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; }
.flow-step::after { content: ""; position: absolute; top: 34px; right: -11px; width: 10px; height: 1px; background: var(--border-light); }
.flow-step:nth-child(4)::after, .flow-step:last-child::after { display: none; }
.fnum { font-size: 12px; color: var(--primary); letter-spacing: .1em; }
.flow-step h3 { font-size: 17px; margin: 12px 0 8px; }
.flow-step p { font-size: 14px; color: var(--text-2); margin: 0; }

/* ===== Bento features ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; background: var(--surface-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 24px; overflow: hidden; transition: border-color .2s, transform .2s;
}
.card.wide { grid-column: span 2; }
.card:hover { transform: translateY(-3px); }
.card-ic { font-size: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); margin: 0; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .8; }
.accent-green::before { background: var(--primary); } .accent-green:hover { border-color: rgba(34,197,94,.45); } .accent-green .card-ic { background: rgba(34,197,94,.12); color: var(--primary); }
.accent-purple::before { background: var(--workflow); } .accent-purple:hover { border-color: rgba(168,85,247,.45); } .accent-purple .card-ic { background: rgba(168,85,247,.12); color: var(--workflow); }
.accent-blue::before { background: var(--tool); } .accent-blue:hover { border-color: rgba(59,130,246,.45); } .accent-blue .card-ic { background: rgba(59,130,246,.12); color: var(--tool); }

/* --- Animated solution icons --- */
.card-ic { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease; }
.card-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-ic { transform: translateY(-2px) scale(1.07) rotate(-3deg); }
.accent-green:hover .card-ic { box-shadow: 0 10px 24px -10px rgba(34,197,94,.6); }
.accent-purple:hover .card-ic { box-shadow: 0 10px 24px -10px rgba(168,85,247,.6); }
.accent-blue:hover .card-ic { box-shadow: 0 10px 24px -10px rgba(59,130,246,.6); }
.ic-flow .flow-line { stroke-dasharray: 5 5; animation: dashflow 1.1s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -10; } }
.ic-graph .node-core { transform-box: fill-box; transform-origin: center; animation: nodepulse 2.2s ease-in-out infinite; }
@keyframes nodepulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.card:hover .ic-link rect { animation: linknudge .5s ease; }
@keyframes linknudge { 50% { transform: translateX(1.5px); } }

/* --- Wide-card mini visuals --- */
.sol-flow { display: flex; align-items: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.fchip { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); border: 1px solid var(--border); border-radius: 7px; padding: 5px 11px; background: var(--surface); }
.fchip.ok { color: var(--primary); border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.07); }
.fdash { flex: 1; min-width: 16px; height: 2px; border-radius: 2px; background-image: linear-gradient(90deg, var(--border-light) 0 50%, transparent 0 100%); background-size: 8px 2px; animation: dashmove 1s linear infinite; }
@keyframes dashmove { to { background-position: 8px 0; } }
.sol-meter { margin-top: 20px; }
.meter-row { display: flex; align-items: center; gap: 12px; }
.meter-row .mono { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.meter-row .mval { color: var(--primary); }
.meter-track { flex: 1; height: 7px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 64%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #86efac); animation: meterpulse 2.8s ease-in-out infinite; }
@keyframes meterpulse { 0%,100% { width: 56%; } 50% { width: 70%; } }

/* Platform — animated layer stack */
.sol-stack { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.sol-stack .layer { position: relative; overflow: hidden; font-family: var(--mono); font-size: 11px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 6px 11px; }
.sol-stack .layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(168,85,247,.2), transparent); transform: translateX(-100%); animation: sweep 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * .28s); }
@keyframes sweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* Orchestration — agent badges pulsing in sequence */
.sol-agents { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.sol-agents .ag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
.sol-agents .ag i { width: 7px; height: 7px; border-radius: 50%; background: var(--tool); animation: agpulse 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes agpulse { 0%, 100% { opacity: .3; box-shadow: 0 0 0 0 rgba(59,130,246,0); } 50% { opacity: 1; box-shadow: 0 0 0 3px rgba(59,130,246,.18); } }

/* Integration — flowing connector */
.sol-connect { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.sol-connect .endp { font-family: var(--mono); font-size: 11px; color: var(--text-2); border: 1px solid var(--border); border-radius: 7px; padding: 6px 10px; background: var(--surface); white-space: nowrap; }
.sol-connect .endp.oscor { color: var(--workflow); border-color: rgba(168,85,247,.4); }
.sol-connect .wire { position: relative; flex: 1; min-width: 20px; height: 2px; border-radius: 2px; background-image: linear-gradient(90deg, var(--border-light) 0 50%, transparent 0 100%); background-size: 8px 2px; animation: dashmove 1s linear infinite; }
.sol-connect .pulse-dot { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--workflow); box-shadow: 0 0 6px rgba(168,85,247,.85); animation: wiremove 2.4s ease-in-out infinite; }
@keyframes wiremove { 0% { left: 0; } 50% { left: 100%; } 100% { left: 0; } }

/* ===== Solutions bento v2 ===== */
.bento-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-template-areas: "a a b" "c d b" "e e e"; }
.b-a { grid-area: a; display: flex; flex-direction: column; }
.b-b { grid-area: b; display: flex; flex-direction: column; }
.b-c { grid-area: c; }
.b-d { grid-area: d; }
.b-e { grid-area: e; }
.b-a-top { display: flex; gap: 16px; align-items: flex-start; }
.b-a-top .card-ic { flex: none; margin-bottom: 0; }
.b-a-copy h3 { margin-bottom: 8px; }
.b-b .sol-stack { margin-top: auto; padding-top: 18px; }

/* feature pipeline visual */
.feature-viz { margin-top: auto; padding-top: 22px; }
.fviz { width: 100%; height: auto; display: block; overflow: visible; }
.fedge { fill: none; stroke: rgba(34,197,94,.3); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 9; animation: edgeflow 1.1s linear infinite; }
.ftoken { fill: var(--primary); filter: drop-shadow(0 0 7px rgba(34,197,94,.9)); }
.fnode .fo { fill: var(--surface-light); stroke: var(--border-light); stroke-width: 2; animation: fnodeglow 3.6s ease-in-out infinite; animation-delay: var(--d); }
.fnode .fc { fill: var(--primary); }
.fnode text { font-family: var(--mono); font-size: 13px; fill: var(--text-muted); text-anchor: middle; }
@keyframes fnodeglow { 0%, 72%, 100% { stroke: var(--border-light); filter: none; } 10%, 24% { stroke: var(--primary); filter: drop-shadow(0 0 8px rgba(34,197,94,.8)); } }

/* governance panel */
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; height: 100%; }
.gov-copy .card-ic { margin-bottom: 14px; }
.gov-copy h3 { margin-bottom: 10px; }
.gov-visual { display: flex; flex-direction: column; gap: 14px; }
.gov-queue { display: flex; flex-direction: column; gap: 8px; }
.gq { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; }
.gq-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.gq-dot.warn { background: var(--warning); box-shadow: 0 0 0 3px rgba(245,158,11,.14); animation: satpulse 2s ease-in-out infinite; }
.gq-dot.ok { background: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.14); }
.gq-name { color: var(--text); }
.gq-tag { margin-left: auto; font-size: 10.5px; color: var(--warning); }
.gq-tag.ok { color: var(--primary); }

/* --- Scroll reveal (JS + motion gated; visible by default) --- */
.anim-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.anim-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .flow-line, .node-core, .fdash, .meter-fill { animation: none !important; }
  .vic .vdraw { stroke-dashoffset: 0 !important; }
  .apx-segs span::after { transform: scaleY(.6) !important; }
}

/* ===== Providers ===== */
.prov-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.prov {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: 13px; padding: 22px 20px;
  transition: border-color .2s;
}
.prov:hover { border-color: var(--border-light); }
.prov-name { font-size: 18px; font-weight: 700; }
.prov-tag { font-size: 11.5px; color: var(--text-muted); }

/* ===== Safety ===== */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); }
.checks b { color: var(--text); font-weight: 600; }
.checks .ck { color: var(--primary); font-weight: 700; margin-top: 1px; }

.safety-panel { background: var(--surface); border: 1px solid var(--border-light); border-radius: 16px; padding: 18px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.panel-row.head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.panel-row.head .mono { font-size: 12px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.badge { font-size: 11px; font-weight: 600; color: var(--warning); background: rgba(245,158,11,.14); padding: 3px 9px; border-radius: 999px; }
.panel-item { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.panel-item > div { display: flex; flex-direction: column; }
.panel-item b { font-size: 14px; }
.panel-item .mono { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pi-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pi-dot.warn { background: var(--warning); box-shadow: 0 0 0 4px rgba(245,158,11,.14); }
.pi-dot.ok { background: var(--primary); box-shadow: 0 0 0 4px rgba(34,197,94,.14); }
.panel-item .mini { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--primary); }
.panel-foot { padding-top: 14px; font-size: 11px; color: var(--text-muted); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; margin-top: 14px; }
.about-p { color: var(--text-2); margin-top: 18px; font-size: 15.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; padding: 0; }
.facts > div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
.facts dd a { color: var(--primary); }
.facts dd a:hover { color: var(--primary-hover); }
.foot-meta { color: var(--text-muted); font-size: 12px; margin-top: 10px; line-height: 1.7; }
.foot-meta a { color: var(--text-2); }
.foot-meta a:hover { color: var(--primary); }
.link-arrow { display: inline-block; margin-top: 24px; color: var(--primary); font-weight: 600; font-size: 15px; }
.link-arrow:hover { color: var(--primary-hover); }
.about-pillars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-pillars li { display: flex; gap: 16px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.about-pillars .pi { color: var(--primary); font-size: 13px; padding-top: 2px; letter-spacing: .08em; }
.about-pillars b { font-size: 16px; }
.about-pillars p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }

/* ===== Values ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: var(--surface-card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; transition: border-color .2s; }
.value:hover { border-color: var(--border-light); }
.value .v-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(34,197,94,.1); color: var(--primary); transition: transform .25s ease, box-shadow .25s ease; }
.value:hover .v-ic { transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 24px -10px rgba(34,197,94,.55); }
.value h3 { font-size: 17px; margin: 14px 0 8px; }
.value p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.vic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vic .vdraw { stroke-dasharray: 22; stroke-dashoffset: 22; animation: vdraw 2.6s ease-in-out infinite; }
@keyframes vdraw { 0% { stroke-dashoffset: 22; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 22; } }
.vic-scan .scanline { stroke: var(--primary); animation: scanmove 2.2s ease-in-out infinite; }
@keyframes scanmove { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
.vic-approve .ring { transform-box: fill-box; transform-origin: center; animation: ringpulse 2.3s ease-in-out infinite; }
@keyframes ringpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.vic-bars .bar { transform-box: fill-box; transform-origin: bottom; animation: bargrow 2.6s ease-in-out infinite; }
.vic-bars .b2 { animation-delay: .2s; } .vic-bars .b3 { animation-delay: .4s; }
@keyframes bargrow { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* ===== Approach value mini-visuals ===== */
.apx { margin-top: 18px; }
.apx-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.apx-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px; }
.apx-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-light); animation: apxtick 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes apxtick { 0%, 100% { background: var(--border-light); box-shadow: none; } 45%, 78% { background: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.16); } }

.apx-spark svg { width: 100%; height: auto; display: block; overflow: visible; }
.apx-spark .spark-line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.apx-spark .spark-dot { fill: var(--primary); filter: drop-shadow(0 0 4px rgba(34,197,94,.9)); animation: satpulse 1.8s ease-in-out infinite; }

.apx-approve-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apx-label { font-size: 10.5px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.apx-toggle { width: 42px; height: 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); position: relative; flex: none; animation: toggletrack 3s ease-in-out infinite; }
.apx-toggle .knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); animation: toggleknob 3s ease-in-out infinite; }
@keyframes toggletrack { 0%, 42% { background: var(--surface); border-color: var(--border); } 58%, 100% { background: rgba(34,197,94,.18); border-color: rgba(34,197,94,.5); } }
@keyframes toggleknob { 0%, 42% { left: 2px; background: var(--text-muted); } 58%, 100% { left: 22px; background: var(--primary); } }

.apx-segs { display: flex; gap: 4px; align-items: flex-end; height: 26px; }
.apx-segs span { flex: 1; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; position: relative; overflow: hidden; }
.apx-segs span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, #86efac, var(--primary)); transform: scaleY(.18); transform-origin: bottom; animation: segwave 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes segwave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }

/* ===== About chips + orbit visual ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); border: 1px solid var(--border); background: var(--surface-card); border-radius: 999px; padding: 7px 14px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.orbit-viz { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.orbit-viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--border); stroke-width: 1; }
.orbit-rot { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
.orbit-link { stroke: rgba(34,197,94,.16); stroke-width: 1.5; }
.sat { transform-box: fill-box; transform-origin: center; animation: satpulse 3s ease-in-out infinite; animation-delay: var(--d); }
.sat.green { fill: var(--primary); } .sat.blue { fill: var(--tool); } .sat.purple { fill: var(--workflow); }
@keyframes satpulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.core-halo { fill: rgba(34,197,94,.08); animation: satpulse 3s ease-in-out infinite; }
.core { fill: var(--surface-light); stroke: rgba(34,197,94,.5); stroke-width: 2; }
.core-dot { fill: var(--primary); filter: drop-shadow(0 0 6px rgba(34,197,94,.8)); animation: satpulse 2.4s ease-in-out infinite; }

/* ===== Industries ===== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ind {
  display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.ind:hover { border-color: var(--primary); transform: translateY(-2px); }
.ind-ic { color: var(--primary); font-size: 13px; }

/* ===== Contact ===== */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding-block: clamp(64px, 9vw, 104px); }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.contact-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-top: 14px; }
.contact-copy p { color: var(--text-2); font-size: 17px; margin: 16px 0 0; max-width: 42ch; }
.contact-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-points li { display: flex; align-items: center; gap: 14px; }
.contact-points .cp-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(34,197,94,.1); color: var(--primary); font-size: 15px; }
.contact-points > li > div { display: flex; flex-direction: column; }
.cp-label { font-size: 11px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contact-points a, .contact-points span:not(.cp-label) { font-size: 15px; color: var(--text); font-weight: 500; }
.contact-points a:hover { color: var(--primary); }

/* Contact form */
.contact-form { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: 18px; padding: 28px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field label .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-family: var(--sans); font-size: 15px; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.14); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field .invalid { border-color: var(--error); }
.form-submit { width: 100%; margin-top: 4px; }
.form-status { margin: 0; font-size: 14px; font-weight: 500; }
.form-status.ok { color: var(--primary); }
.form-status.err { color: var(--error); }
.form-status[hidden] { display: none; }
.form-note { margin: 0; font-size: 11.5px; color: var(--text-muted); text-align: center; }

/* ===== CTA ===== */
.cta { position: relative; text-align: center; padding-block: clamp(70px, 10vw, 120px); overflow: hidden; border-top: 1px solid var(--border); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(640px 320px at 50% 0%, rgba(34,197,94,.16), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; max-width: 680px; }
.cta h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; }
.cta p { color: var(--text-2); font-size: 17px; margin: 18px 0 0; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--surface-card); padding-top: 54px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; }
.foot-brand .mono { color: var(--text-muted); font-size: 12.5px; margin-top: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.foot-cols a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; transition: color .15s; }
.foot-cols a:hover { color: var(--primary); }
.foot-base { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.foot-legal { display: inline-flex; gap: 18px; }
.foot-legal a { color: var(--text-muted); transition: color .15s; }
.foot-legal a:hover { color: var(--text-2); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: 2; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .bento-v2 { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b b" "c d" "e e"; }
  .gov-grid { grid-template-columns: 1fr; gap: 24px; }
  .prov-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .engine-stage { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .flow, .bento, .prov-grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .bento-v2 { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
  .values, .ind-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; gap: 10px; }
}
