/* Kimss landing redesign 2026 — cinematic HUD / command-center */
:root {
  --au-bg: #05060f;
  --au-bg-2: #0a0c1d;
  --au-surface: rgba(255, 255, 255, 0.035);
  --au-surface-2: rgba(255, 255, 255, 0.06);
  --au-line: rgba(139, 124, 246, 0.16);
  --au-line-strong: rgba(139, 124, 246, 0.38);
  --au-text: #f7f8ff;
  --au-muted: #c8cee8;
  --au-dim: #9aa3c4;
  --au-violet: #8b5cf6;
  --au-indigo: #818cf8;
  --au-cyan: #22d3ee;
  --au-grad: linear-gradient(100deg, #c4b5fd 0%, #818cf8 38%, #22d3ee 100%);
  --au-font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --au-font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --au-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --au-radius: 16px;
  --au-max: 1200px;
  --au-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

::-webkit-scrollbar { width: 0; height: 0; }
html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html { background: var(--au-bg); scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

.au-page, .au-page * { box-sizing: border-box; }
.au-page {
  font-family: var(--au-font-body);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(900px 600px at 0% 35%, rgba(139, 92, 246, 0.08), transparent 55%),
    radial-gradient(1000px 800px at 100% 80%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--au-bg);
  color: var(--au-text);
  line-height: 1.6;
  overflow-x: clip;
}

.au-wrap { max-width: var(--au-max); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.au-section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.au-center { text-align: center; }
.au-center .au-lede { margin-left: auto; margin-right: auto; }

/* HUD corner brackets */
.au-bracket {
  position: relative;
}
.au-bracket::before,
.au-bracket::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(34, 211, 238, 0.45);
  border-style: solid;
  pointer-events: none;
}
.au-bracket::before {
  top: 8px; left: 8px;
  border-width: 1px 0 0 1px;
}
.au-bracket::after {
  bottom: 8px; right: 8px;
  border-width: 0 1px 1px 0;
}

.au-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--au-line);
  background: rgba(139, 92, 246, 0.07);
  color: #c4b5fd;
  font-family: var(--au-font-mono);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.au-kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--au-cyan);
  box-shadow: 0 0 8px var(--au-cyan);
  animation: au-blink 2.4s ease-in-out infinite;
}
@keyframes au-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.au-h2 {
  font-family: var(--au-font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 18px 0;
  color: var(--au-text);
}
.au-h2 em {
  font-style: normal;
  color: #67e8f9;
  background: none;
  -webkit-text-fill-color: #67e8f9;
  animation: none;
}
@keyframes au-grad-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.au-lede {
  color: #d5dced;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}
.au-lede a { color: #67e8f9; text-decoration: none; font-weight: 600; }
.au-lede a:hover { text-decoration: underline; }

/* Buttons */
.au-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--au-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--au-ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.au-btn:focus-visible { outline: 2px solid var(--au-cyan); outline-offset: 3px; }
.au-btn-primary {
  background: var(--au-grad);
  color: #0a0c1d;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}
.au-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(34, 211, 238, 0.3); }
.au-btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--au-line-strong);
  color: var(--au-text);
}
.au-btn-ghost:hover { background: rgba(129, 140, 248, 0.12); border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }
.au-btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #67e8f9; font-weight: 600; text-decoration: none;
  font-size: 0.95rem; cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}
.au-btn-link:hover { color: #a5f3fc; gap: 10px; }
.au-btn-link:focus-visible { outline: 2px solid var(--au-cyan); outline-offset: 3px; }

/* ============================================================
   HERO
   ============================================================ */
.au-hero {
  position: relative;
  min-height: min(100vh, 1080px);
  display: flex;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--au-line);
}
#au-agent-network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0.55;
  /* Full-bleed FX; soft left dip only so copy stays readable (no hard side clip) */
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 18%, black 40%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 18%, black 40%, black 100%);
}
.au-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,15,0.88) 0%, rgba(5,6,15,0.62) 28%, rgba(5,6,15,0.18) 55%, transparent 78%),
    linear-gradient(180deg, rgba(5,6,15,0.45) 0%, transparent 28%, transparent 55%, var(--au-bg) 100%),
    radial-gradient(900px 520px at 50% 40%, rgba(139, 92, 246, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.au-hero-scan {
  display: none; /* scanlines softens type — keep FX on canvas only */
}
.au-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  /* Edge-to-edge grid; fade only top/bottom so sides aren't boxed */
  mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.au-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(88px, 12vw, 140px);
  padding-bottom: clamp(64px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.au-hero-copy {
  position: relative;
  z-index: 3;
  text-shadow: none;
}
.au-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--au-font-mono);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #d4d8ff;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: rgba(10, 12, 29, 0.85);
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.au-h1 {
  font-family: var(--au-font-display);
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 22px;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.au-h1 .au-h1-grad {
  /* Solid high-contrast accent — clipped gradients read soft/blurry */
  color: #67e8f9;
  background: none;
  -webkit-text-fill-color: #67e8f9;
  text-fill-color: #67e8f9;
  animation: none;
}
.au-h1 .au-line {
  display: block;
  overflow: hidden;
}
.au-hero-sub {
  color: #dce1f5;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 28px;
}
.au-hero-sub strong { color: #ffffff; font-weight: 700; }
.au-hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.au-hero-trust {
  display: flex; align-items: center; gap: 8px;
  color: #b8c0de;
  font-size: 0.86rem;
  margin: 0;
}
.au-hero-trust .ti { color: #67e8f9; }

.au-status-ticker {
  font-family: var(--au-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #c5cce6;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: rgba(5, 6, 15, 0.9);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.au-status-ticker span,
.au-hud-item b { color: #e8ecff; }
.au-hud-item .au-hud-ok { color: #34d399; text-shadow: none; }
.au-hud-item .au-hud-num { color: #67e8f9; }

/* Hero console panel */
.au-console {
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(165deg, rgba(18, 22, 48, 0.92), rgba(8, 10, 26, 0.95));
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.06),
    0 30px 80px rgba(2, 4, 18, 0.65),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.au-console-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(0,0,0,0.25);
}
.au-console-dots { display: flex; gap: 6px; }
.au-console-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(167, 173, 204, 0.35);
}
.au-console-dots span:nth-child(1) { background: #f87171; }
.au-console-dots span:nth-child(2) { background: #fbbf24; }
.au-console-dots span:nth-child(3) { background: #34d399; }
.au-console-path {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  color: var(--au-dim);
  letter-spacing: 0.04em;
}
.au-console-body { padding: 20px; }
.au-console-prompt {
  font-family: var(--au-font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: #8fa3d9;
  min-height: 3.4em;
  margin-bottom: 18px;
}
.au-console-prompt .dim { color: var(--au-dim); }
.au-cursor {
  display: inline-block;
  width: 8px; height: 1.05em;
  background: var(--au-cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: au-cursor 1s steps(1) infinite;
}
@keyframes au-cursor { 50% { opacity: 0; } }
.au-models {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.au-models li {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  color: var(--au-muted);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.au-models li.is-active {
  border-color: rgba(34, 211, 238, 0.5);
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
}
.au-route { position: relative; padding-top: 8px; }
.au-route-svg { width: 100%; height: 54px; display: block; }
.au-route-path {
  fill: none;
  stroke: rgba(129, 140, 248, 0.35);
  stroke-width: 1.5;
}
.au-route-nodes {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: 4px;
}
.au-route-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  color: var(--au-dim);
  text-align: center;
}
.au-route-node .ti { font-size: 1rem; color: var(--au-indigo); }
.au-route-node-gate .ti { color: var(--au-cyan); }

/* ============================================================
   MARQUEE
   ============================================================ */
.au-marquee-band {
  border-top: 1px solid var(--au-line);
  border-bottom: 1px solid var(--au-line);
  background: rgba(8, 10, 24, 0.7);
  overflow: hidden;
  padding: 16px 0;
}
.au-marquee { overflow: hidden; }
.au-marquee-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: au-marquee 42s linear infinite;
}
.au-marquee:hover .au-marquee-track { animation-play-state: paused; }
@keyframes au-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.au-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--au-line);
  background: rgba(255,255,255,0.03);
  font-family: var(--au-font-mono);
  font-size: 0.74rem;
  color: var(--au-muted);
  white-space: nowrap;
}
.au-chip .ti { color: var(--au-cyan); font-size: 0.95rem; }

/* ============================================================
   GOVERNANCE STORYBOARD (data console)
   ============================================================ */
.au-storyboard {
  border-top: 1px solid var(--au-line);
  background: rgba(8, 10, 24, 0.55);
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}
.au-storyboard-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.au-storyboard-copy .au-h2 { margin-bottom: 12px; }
.au-story-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.au-story-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 14px 16px;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.au-story-step:hover {
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateX(3px);
}
.au-story-step:focus-visible {
  outline: 2px solid var(--au-cyan);
  outline-offset: 2px;
}
.au-story-step.is-active {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.07);
}
.au-story-step-num {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #67e8f9;
  padding-top: 3px;
  flex-shrink: 0;
}
.au-story-step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.au-story-step-body strong {
  font-family: var(--au-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
}
.au-story-step-body span {
  font-size: 0.86rem;
  color: #c8cee8;
  line-height: 1.45;
}
.au-story-step:not(.is-active) .au-story-step-num { color: #9aa3c4; }
.au-story-step:not(.is-active) .au-story-step-body strong { color: #e8ecff; }

.au-storyboard-console {
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(165deg, rgba(14, 17, 38, 0.98), rgba(6, 8, 20, 0.98));
  box-shadow: 0 28px 70px rgba(2, 4, 18, 0.55);
  overflow: hidden;
  min-height: 420px;
}
.au-console-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(0, 0, 0, 0.28);
}
.au-console-chrome .au-console-path {
  flex: 1;
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  color: #9aa3c4;
}
.au-console-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--au-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #34d399;
}
.au-console-live .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
  animation: au-blink 1.6s ease-in-out infinite;
}

.au-data-panel {
  display: none;
  padding: 22px 22px 26px;
}
.au-data-panel.is-active {
  display: block;
  animation: au-panel-in 0.35s var(--au-ease);
}
@keyframes au-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.au-data-head h3 {
  margin: 0 0 6px;
  font-family: var(--au-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}
.au-data-head p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: #c8cee8;
  line-height: 1.55;
}
.au-data-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.au-data-metric-row.compact { margin-bottom: 0; }
.au-data-metric {
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}
.au-data-metric .lbl {
  display: block;
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3c4;
  margin-bottom: 8px;
}
.au-data-metric strong {
  font-family: var(--au-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.au-data-metric.warn {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.08);
}
.au-data-metric.warn strong { color: #fdba74; }
.au-data-metric.ok {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.06);
}
.au-data-metric.ok strong { color: #6ee7b7; font-size: 1.05rem; }

.au-data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.au-data-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  color: #eef0fb;
}
.au-data-list li .ti {
  color: #67e8f9;
  font-size: 1.1rem;
}
.au-data-list li span {
  margin-left: auto;
  font-family: var(--au-font-mono);
  font-size: 0.7rem;
  color: #9aa3c4;
  letter-spacing: 0.04em;
}

.au-alert-box {
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.4);
  background: rgba(251, 146, 60, 0.08);
  padding: 16px 18px;
}
.au-alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fdba74;
  margin-bottom: 10px;
}
.au-alert-box ul {
  margin: 0;
  padding-left: 18px;
  color: #e8ecff;
  font-size: 0.9rem;
  line-height: 1.65;
}
.au-data-footnote {
  margin: 16px 0 0;
  font-size: 0.88rem;
}
.au-data-footnote a {
  color: #67e8f9;
  font-weight: 600;
  text-decoration: none;
}
.au-data-footnote a:hover { text-decoration: underline; }

.au-route-board {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.au-route-node-card {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.au-route-node-card.gate {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}
.au-route-node-card .ti {
  display: block;
  font-size: 1.35rem;
  color: #a5b4fc;
  margin-bottom: 8px;
}
.au-route-node-card.gate .ti { color: #67e8f9; }
.au-route-node-card span {
  display: block;
  font-family: var(--au-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}
.au-route-node-card small {
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  color: #9aa3c4;
}
.au-route-arrow {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.au-route-arrow span {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(129,140,248,0.2), #22d3ee, rgba(129,140,248,0.2));
  position: relative;
  overflow: hidden;
}
.au-route-arrow span::after {
  content: "";
  position: absolute;
  left: -40%;
  top: -3px;
  width: 40%;
  height: 8px;
  background: linear-gradient(90deg, transparent, #67e8f9, transparent);
  animation: au-packet 1.8s linear infinite;
}
@keyframes au-packet {
  from { left: -40%; }
  to { left: 100%; }
}

@media (max-width: 900px) {
  .au-storyboard-inner { grid-template-columns: 1fr; }
  .au-storyboard-console { min-height: 0; }
  .au-data-metric-row { grid-template-columns: 1fr; }
  .au-route-arrow { display: none; }
}

/* ============================================================
   BENTO
   ============================================================ */
.au-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.au-card {
  position: relative;
  border-radius: var(--au-radius);
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(170deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  padding: 26px;
  overflow: hidden;
  transition: transform 0.3s var(--au-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.au-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 24px 60px rgba(2, 4, 18, 0.55);
}
.au-card-tag {
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--au-cyan);
  margin-bottom: 14px;
  display: block;
}
.au-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  margin-bottom: 16px;
}
.au-card h3 {
  font-family: var(--au-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.au-card .au-bluf {
  margin: 0;
  font-size: 0.9rem;
  color: var(--au-muted);
  line-height: 1.65;
}
.au-snippet {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(2, 4, 16, 0.65);
  border: 1px solid rgba(129, 140, 248, 0.14);
  font-family: var(--au-font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: #8fa3d9;
  overflow-x: auto;
}
.au-snippet .k { color: #f0abfc; }
.au-snippet .s { color: #67e8f9; }
.au-snippet .c { color: var(--au-dim); }

.au-card--wide { grid-column: span 2; }
.au-card--tall { grid-row: span 1; }

/* ============================================================
   VIDEO
   ============================================================ */
.au-video-frame {
  margin-top: 40px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(2, 4, 18, 0.55);
}
.au-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.au-video-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px;
  background: rgba(8, 10, 24, 0.95);
  border-top: 1px solid rgba(129, 140, 248, 0.16);
  font-size: 0.82rem;
  color: var(--au-dim);
}
.au-video-meta a { color: #67e8f9; text-decoration: none; }
.au-video-meta a:hover { text-decoration: underline; }

/* ============================================================
   CUSTOMER
   ============================================================ */
.au-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.au-story-proofs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.au-proof {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(255,255,255,0.025);
}
.au-proof strong {
  display: block;
  font-family: var(--au-font-display);
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--au-text);
}
.au-proof span {
  font-size: 0.82rem;
  color: var(--au-muted);
  line-height: 1.55;
}
.au-flow-panel {
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(170deg, rgba(17, 20, 44, 0.9), rgba(8, 10, 26, 0.95));
  padding: 22px;
}
.au-flow-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: start;
  margin-bottom: 18px;
}
.au-flow-head h3 {
  margin: 0 0 4px;
  font-family: var(--au-font-display);
  font-size: 1.05rem;
}
.au-flow-head p { margin: 0; font-size: 0.82rem; color: var(--au-dim); }
.au-flow-live {
  font-family: var(--au-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.story-flow { display: flex; flex-direction: column; gap: 12px; }
.story-flow-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.story-flow-step.flow-step-active {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}
.story-flow-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--au-font-mono);
  font-size: 0.75rem; font-weight: 700;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
}
.story-flow-step h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-family: var(--au-font-display);
}
.story-flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--au-muted);
  line-height: 1.5;
}
.story-flow-step code {
  font-family: var(--au-font-mono);
  font-size: 0.85em;
  color: #67e8f9;
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.au-show-bg { border-top: 1px solid var(--au-line); background: rgba(8, 10, 24, 0.4); }
.au-show {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  margin-top: 48px;
  align-items: start;
}
.au-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.au-tab {
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  padding: 16px 18px;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.au-tab:hover { border-color: rgba(129, 140, 248, 0.35); transform: translateX(4px); }
.au-tab:focus-visible { outline: 2px solid var(--au-cyan); outline-offset: 2px; }
.au-tab.is-active {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
}
.au-tab-progress {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: rgba(129, 140, 248, 0.15);
}
.au-tab-progress span {
  display: block; width: 100%; height: 0%;
  background: var(--au-grad);
  transition: height 0.05s linear;
}
.au-tab.is-active .au-tab-progress span { height: 100%; }
.au-tab-num {
  display: block;
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--au-dim);
  margin-bottom: 6px;
}
.au-tab h3 {
  margin: 0 0 6px;
  font-family: var(--au-font-display);
  font-size: 1rem;
  font-weight: 600;
}
.au-tab p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--au-muted);
  line-height: 1.5;
}
.au-screen {
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  overflow: hidden;
  background: #0a0c1d;
  box-shadow: 0 30px 80px rgba(2, 4, 18, 0.55);
}
.au-screen-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(129, 140, 248, 0.16);
}
.au-screen-bar > span:nth-child(-n+3) {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(167, 173, 204, 0.35);
}
.au-screen-bar > span:nth-child(1) { background: #f87171; }
.au-screen-bar > span:nth-child(2) { background: #fbbf24; }
.au-screen-bar > span:nth-child(3) { background: #34d399; }
.au-screen-url {
  margin-left: 10px;
  font-family: var(--au-font-mono);
  font-size: 0.7rem;
  color: var(--au-dim);
}
.au-screen-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05060f;
}
.showcase-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 0.45s var(--au-ease);
}
.showcase-img.active-img { opacity: 1; }

/* ============================================================
   ARCHITECTURE
   ============================================================ */
.au-arch-bg { border-top: 1px solid var(--au-line); }
.au-arch-flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 56px 0 28px;
  align-items: stretch;
}
.au-arch-svg {
  position: absolute;
  left: 6%; right: 6%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.au-arch-svg path {
  fill: none;
  stroke: rgba(129, 140, 248, 0.35);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.au-arch-node {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 160px;
  text-align: center;
  padding: 18px 12px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(13, 16, 36, 0.85);
  cursor: pointer;
  transition: transform 0.25s var(--au-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
.au-arch-node:hover,
.au-arch-node.is-active {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.12);
}
.au-arch-node:focus-visible { outline: 2px solid var(--au-cyan); outline-offset: 3px; }
.au-arch-node .ti {
  font-size: 1.4rem;
  color: var(--au-indigo);
  display: block;
  margin-bottom: 10px;
}
.au-arch-node .node-name {
  font-family: var(--au-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.au-arch-node .node-tag {
  font-family: var(--au-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--au-dim);
}
.au-arch-panel {
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: rgba(255,255,255,0.03);
  padding: 22px 24px;
  min-height: 96px;
}
.au-arch-panel .info-title {
  font-family: var(--au-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.au-arch-panel .info-desc {
  font-size: 0.9rem;
  color: var(--au-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   BILLING GAUGE
   ============================================================ */
.au-billing-bg { border-top: 1px solid var(--au-line); background: rgba(8, 10, 24, 0.45); }
.au-pool {
  max-width: 640px;
  margin: 48px auto 0;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(170deg, rgba(17, 20, 44, 0.9), rgba(8, 10, 26, 0.95));
  padding: 28px;
  text-align: left;
}
.au-pool-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.au-pool-head h4 {
  margin: 0;
  font-family: var(--au-font-display);
  font-size: 1.05rem;
}
.au-tenant-badge {
  font-family: var(--au-font-mono);
  font-size: 0.68rem;
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
}
.au-pool-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.au-gauge { position: relative; width: 170px; height: 170px; }
.au-gauge svg { transform: rotate(-90deg); }
.gauge-track {
  fill: none;
  stroke: rgba(129, 140, 248, 0.15);
  stroke-width: 12;
}
.gauge-fill {
  fill: none;
  stroke: url(#au-gauge-grad);
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--au-ease);
}
.au-gauge-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.au-gauge-label strong {
  font-family: var(--au-font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.au-gauge-label span {
  font-family: var(--au-font-mono);
  font-size: 0.65rem;
  color: var(--au-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.au-stat-row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.au-stat-row .lbl { color: var(--au-muted); }
.au-stat-row .val {
  font-family: var(--au-font-mono);
  color: var(--au-text);
  font-size: 0.82rem;
}
.au-bar-wrap { position: relative; margin-top: 8px; }
.au-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.12);
  overflow: hidden;
}
.au-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--au-grad);
  transition: width 1.2s var(--au-ease);
}
.au-soft-marker {
  position: absolute;
  left: 80%; top: -4px; bottom: -4px;
  width: 2px;
  background: rgba(251, 191, 36, 0.7);
}
.au-soft-label {
  position: absolute;
  left: 80%;
  top: 16px;
  transform: translateX(-50%);
  font-family: var(--au-font-mono);
  font-size: 0.62rem;
  color: #fbbf24;
  white-space: nowrap;
}
.au-pool-foot {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--au-dim);
}
.au-pool-foot .f-item { display: inline-flex; align-items: center; gap: 8px; }
.au-pool-foot .dot { width: 8px; height: 8px; border-radius: 50%; }
.au-pool-foot .dot-pg { background: #60a5fa; box-shadow: 0 0 8px rgba(96, 165, 250, 0.7); }
.au-pool-foot .dot-redis { background: #f87171; box-shadow: 0 0 8px rgba(248, 113, 113, 0.7); }

/* ============================================================
   COMPLIANCE
   ============================================================ */
.au-comp-bg { border-top: 1px solid var(--au-line); }
.au-comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  text-align: left;
}
.au-comp-card {
  border-radius: var(--au-radius);
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: linear-gradient(170deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  padding: 26px;
  transition: transform 0.3s var(--au-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.au-comp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 20px 50px rgba(2, 4, 18, 0.55);
}
.au-comp-card .std {
  font-family: var(--au-font-mono);
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--au-cyan);
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 14px;
}
.au-comp-card h4 {
  margin: 0 0 10px;
  font-family: var(--au-font-display);
  font-size: 1.08rem;
  font-weight: 600;
}
.au-comp-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--au-muted);
  line-height: 1.65;
}
.au-comp-card code {
  font-family: var(--au-font-mono);
  font-size: 0.85em;
  color: #67e8f9;
}
.au-comp-card strong { color: var(--au-text); }

/* ============================================================
   TOOLS
   ============================================================ */
.au-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.au-tool-card {
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(13, 16, 36, 0.6);
  overflow: hidden;
  transition: transform 0.3s var(--au-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.au-tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 20px 50px rgba(2, 4, 18, 0.55);
}
.au-tool-top {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.14);
}
.au-tool-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  flex-shrink: 0;
}
.au-tool-name {
  font-family: var(--au-font-mono);
  font-weight: 700;
  font-size: 0.95rem;
}
.au-tool-desc { font-size: 0.8rem; color: var(--au-dim); margin-top: 3px; }
.au-tool-code {
  padding: 18px;
  background: rgba(2, 4, 16, 0.65);
  font-family: var(--au-font-mono);
  font-size: 0.76rem;
  line-height: 1.65;
  color: #8fa3d9;
}
.au-tool-code .code-key { color: #f0abfc; }
.au-tool-code .code-string { color: #67e8f9; }

/* ============================================================
   CTA
   ============================================================ */
.au-cta-band { border-top: 1px solid var(--au-line); }
.au-cta-box {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(170deg, rgba(17, 20, 44, 0.9), rgba(8, 10, 26, 0.95));
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}
.au-cta-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.au-cta-box > * { position: relative; }
.au-cta-actions {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 34px;
}
.au-trust-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 26px 0 0;
  color: var(--au-dim);
  font-size: 0.82rem;
}
.au-trust-foot .ti { color: #67e8f9; }

/* ============================================================
   FOOTER
   ============================================================ */
.au-footer {
  border-top: 1px solid var(--au-line);
  background: rgba(4, 5, 13, 0.85);
  padding: 64px 0 32px;
  color: var(--au-dim);
}
.au-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.au-footer-col { min-width: 180px; }
.au-footer-brand .au-footer-logo {
  font-family: var(--au-font-display);
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--au-text);
  text-decoration: none;
  background: var(--au-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.au-footer-brand p { font-size: 0.86rem; line-height: 1.65; max-width: 280px; margin: 14px 0 0; }
.au-footer-heading {
  font-family: var(--au-font-display);
  color: var(--au-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.au-footer-links { list-style: none; padding: 0; margin: 0; }
.au-footer-links li { margin-bottom: 10px; }
.au-footer-links a {
  color: var(--au-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  cursor: pointer;
}
.au-footer-links a:hover { color: var(--au-cyan); }
.au-footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
}
.au-footer-bottom a {
  color: var(--au-dim);
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.au-footer-bottom a:hover { color: var(--au-cyan); }

/* Reveal helpers (JS-driven; no-JS fallback via .js class) */
html:not(.js) .reveal-hidden { opacity: 1; transform: none; }
.reveal-hidden { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .au-bento, .au-comp-grid { grid-template-columns: 1fr 1fr; }
  .au-card--wide { grid-column: span 1; }
}
@media (max-width: 900px) {
  .au-hero-inner { grid-template-columns: 1fr; }
  .au-console { max-width: 560px; margin: 0 auto; }
  .au-story { grid-template-columns: 1fr; }
  .au-show { grid-template-columns: 1fr; }
  .au-arch-flow { flex-direction: column; align-items: center; gap: 14px; }
  .au-arch-node { max-width: 280px; width: 100%; }
  .au-arch-svg { display: none; }
  .au-pool-grid { grid-template-columns: 1fr; justify-items: center; }
  .au-pool-stats { width: 100%; }
}
@media (max-width: 640px) {
  .au-bento, .au-comp-grid, .au-story-proofs { grid-template-columns: 1fr; }
  .au-models { grid-template-columns: 1fr; }
  .au-hero-ctas .au-btn-ghost:nth-child(n+4) { display: none; }
}

/* ============================================================
   CINEMATIC FX LAYER (landing-fx.js)
   ============================================================ */

/* Kinetic typography — crisp chars only (no CSS filter blur) */
html.js .au-h1[data-kinetic] .au-line { opacity: 0; }
.au-h1[data-kinetic] { perspective: none; }
.au-char {
  display: inline-block;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}
.au-char-grad {
  color: #67e8f9;
  -webkit-text-fill-color: #67e8f9;
  background: none;
}

/* Hero cursor spotlight — right side only so it never washes the headline */
.au-hero-spotlight {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  background:
    radial-gradient(420px 420px at var(--sx, 72%) var(--sy, 40%),
      rgba(139, 92, 246, 0.1),
      transparent 70%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, black 65%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, black 65%);
}
.au-hero-spotlight.is-on { opacity: 1; }

/* Hero scan sweep — a thin electric line sweeping the hero */
.au-hero-sweepline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent 5%, rgba(34, 211, 238, 0.55) 50%, transparent 95%);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
  animation: au-sweep 9s cubic-bezier(0.45, 0, 0.3, 1) 2.5s infinite;
}
@keyframes au-sweep {
  0%   { top: 4%;  opacity: 0; }
  5%   { opacity: 0.75; }
  42%  { top: 96%; opacity: 0.4; }
  48%  { top: 96%; opacity: 0; }
  100% { top: 96%; opacity: 0; }
}

/* HUD telemetry strip */
.au-hud-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  white-space: normal;
}
.au-hud-item { white-space: nowrap; }
.au-hud-item b {
  font-weight: 600;
  color: #e8ecff;
  font-variant-numeric: tabular-nums;
}
.au-hud-item .au-hud-ok {
  color: #34d399;
  text-shadow: none;
}
.au-hud-item .au-hud-num { color: #67e8f9; }

/* Scroll theater removed — replaced by storyboard data console */
/* Magnetic CTA sheen (JS drives --mx/--my) */
.au-btn { position: relative; overflow: hidden; }
.au-btn::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(130px 70px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.au-btn:hover::after { opacity: 1; }
.au-btn-primary { will-change: transform; }

/* Bento / cards 3D depth (JS tilt) */
.au-bento { perspective: 1200px; }
.au-card { transform-style: preserve-3d; will-change: transform; }
.au-card > * { transform: translateZ(1px); }

/* Architecture pulse packet */
.au-arch-packet {
  position: absolute;
  top: 50%; left: 6%;
  width: 10px; height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 16px 4px rgba(34, 211, 238, 0.7);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* Film grain removed — it softens text contrast */

/* Scroll progress beam */
.au-progress-beam {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}
.au-progress-beam span {
  display: block;
  height: 100%; width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--au-grad);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.55);
}

/* FX responsive dial-down */
@media (max-width: 900px) {
  .au-arch-packet { display: none; }
  .au-hero-sweepline { display: none; }
  /* Stacked hero: stretch network + grid full width (no side gutters) */
  #au-agent-network {
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.42;
  }
  .au-hero::before {
    background:
      linear-gradient(180deg, rgba(5,6,15,0.72) 0%, rgba(5,6,15,0.4) 42%, rgba(5,6,15,0.2) 68%, var(--au-bg) 100%),
      radial-gradient(120% 70% at 50% 28%, rgba(139, 92, 246, 0.16), transparent 68%);
  }
  .au-hero-grid {
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, black 8%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, black 8%, black 88%, transparent 100%);
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .au-page *, .au-page *::before, .au-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-hidden { opacity: 1; transform: none; }
  .au-marquee-track { animation: none; }
  .au-hero-scan { display: none; }
  .au-h1 .au-h1-grad, .au-h2 em { animation: none; }
  .au-hero-sweepline,
  .au-hero-spotlight,
  .au-progress-beam { display: none !important; }
  html.js .au-h1[data-kinetic] .au-line { opacity: 1; }
}
