/* AI Cloud Craft site component library. Class names documented in docs/COMPONENTS.md.
   CSP note: no inline style attributes anywhere (style-src 'self'). */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 var(--fs-1)/1.65 var(--font); letter-spacing: -.005em;
  background-image:
    radial-gradient(900px 600px at 85% -10%, rgba(47,127,224,.20), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(54,224,255,.08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before { /* fine grid backdrop */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #8cf0ff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(54,224,255,.3); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-6); font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: var(--fs-5); }
h3 { font-size: var(--fs-3); letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: var(--fs-2); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.grad-text { background: linear-gradient(100deg, #fff 0%, var(--blue) 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amber-text { color: var(--amber); }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: rgba(5,10,26,.72); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(5,10,26,.88); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; }
.brand:hover { color: #fff; }
.brand .mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 0 12px rgba(54,224,255,.45)); }
.brand-ai { color: var(--cyan); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; transition: color .2s, background .2s; display: inline-block; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: #fff; background: rgba(110,160,255,.12); }
.nav-toggle { display: none; }
@media (max-width: 859px) {
  .site-nav { width: 100%; }
  .site-nav ul { gap: 2px; padding-bottom: 10px; }
  /* with JS: collapsible */
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); cursor: pointer; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .js .site-nav a { display: block !important; padding: 12px 14px !important; }
  .js .site-nav .btn { justify-content: center; margin-top: 8px; }
}
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s; }
.nav-toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav-toggle-bars { top: -3px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
@media (min-width: 860px) { .site-nav { margin-left: auto; } }

/* ---------- disclosure strip ---------- */
.disclosure-strip { background: linear-gradient(90deg, rgba(255,181,71,.12), rgba(54,224,255,.08)); border-block: 1px solid var(--line); font-size: .875rem; }
.disclosure-strip .container { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.disclosure-strip p { margin: 0; color: var(--text); }
.disclosure-strip strong { color: var(--amber); font-weight: 600; }
.disclosure-strip .sep { color: var(--faint); margin-inline: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,181,71,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,181,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,71,0); } }

/* ---------- buttons ---------- */
.btn { --bx: 0px; --by: 0px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 1rem/1 var(--font); letter-spacing: -.01em; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: var(--surface); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; transform: translate(var(--bx), var(--by)); min-height: 48px; }
.btn:hover { color: #fff; border-color: var(--cyan); box-shadow: 0 0 28px -4px rgba(54,224,255,.45); }
.btn-primary { background: linear-gradient(135deg, var(--blue-2), #1fb7e0); border-color: transparent; color: #031023; font-weight: 700; }
.btn-primary:hover { color: #031023; box-shadow: 0 0 36px -2px rgba(54,224,255,.7); border-color: transparent; filter: brightness(1.08); }
.btn-amber { background: var(--amber); border-color: transparent; color: var(--amber-ink); font-weight: 700; }
.btn-amber:hover { color: var(--amber-ink); box-shadow: 0 0 34px -2px rgba(255,181,71,.6); border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .92rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { color: var(--cyan); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 10vw, 140px) clamp(64px, 9vw, 120px); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { /* static CSS fallback network glow (also under the canvas) */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(500px 340px at 78% 30%, rgba(54,224,255,.18), transparent 70%),
    radial-gradient(640px 420px at 20% 70%, rgba(47,127,224,.22), transparent 70%),
    radial-gradient(circle at 70% 55%, rgba(255,181,71,.07), transparent 40%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; max-width: 1000px; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: var(--fs-2); color: var(--muted); line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); position: relative; }
.page-hero h1 { font-size: var(--fs-5); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * .55); }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15,27,69,.5) 20%, rgba(15,27,69,.5) 80%, transparent); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--muted); font-size: var(--fs-2); }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split-rev > :first-child { order: 2; } }

.glass { --mx: 50%; --my: 0%; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(54,224,255,.16), transparent 60%); }
.glass:hover { border-color: var(--line-2); box-shadow: var(--shadow-glow); }
.glass:hover::before { opacity: 1; }
.glass > * { position: relative; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .card-foot { margin-top: auto; padding-top: 10px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(74,163,255,.25), rgba(54,224,255,.1)); border: 1px solid var(--line-2); color: var(--cyan); }
.card-icon svg { width: 24px; height: 24px; }
.glass-feature { background: linear-gradient(160deg, var(--surface-2), rgba(10,19,48,.5)); border-color: var(--line-2); }
.callout { border-left: 3px solid var(--amber); background: rgba(255,181,71,.07); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 600 .78rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(54,224,255,.1); border: 1px solid rgba(54,224,255,.3); color: var(--cyan); }
.badge-amber { background: rgba(255,181,71,.1); border-color: rgba(255,181,71,.4); color: var(--amber); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: 22px 0 0; border-top: 1px solid var(--line-2); }
.stat-num { font-size: var(--fs-5); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: var(--fs-0); }
.stat-note { color: var(--faint); font-size: .8rem; margin-top: 4px; }

/* ---------- pipeline (assembly line) ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; position: relative; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pipeline { grid-template-columns: repeat(4, 1fr); gap: 20px; } .pipeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 41px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--cyan), var(--line-2)); opacity: .5; } }
.pipe-step { counter-increment: step; position: relative; padding: 24px 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .4s, box-shadow .4s, background .4s, transform .4s var(--ease); }
.pipe-step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: 700 .78rem/1 var(--font-mono); color: var(--cyan); margin-bottom: 16px; position: relative; z-index: 1; transition: all .4s; }
.pipe-step h3 { font-size: var(--fs-2); margin-bottom: .3em; }
.pipe-step p { margin: 0; color: var(--muted); font-size: var(--fs-0); }
.pipe-step.is-active { border-color: var(--cyan); background: var(--surface-2); box-shadow: 0 0 40px -10px rgba(54,224,255,.5); transform: translateY(-4px); }
.pipe-step.is-active::before { background: var(--cyan); color: #031023; box-shadow: 0 0 18px rgba(54,224,255,.8); }
.pipe-step.is-human.is-active { border-color: var(--amber); box-shadow: 0 0 40px -10px rgba(255,181,71,.5); }
.pipe-step.is-human.is-active::before { background: var(--amber); box-shadow: 0 0 18px rgba(255,181,71,.8); }
.pipe-step.is-human::before { color: var(--amber); }
.pipe-pulse { display: none; }
@media (min-width: 820px) { .js .pipe-pulse { display: block; position: absolute; top: 38px; left: 4%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px 4px rgba(54,224,255,.8); opacity: 0; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--cyan), var(--line)); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.timeline li.is-now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px var(--amber); }
.timeline time, .timeline .when { display: block; font: 600 .8rem/1.4 var(--font-mono); color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.timeline h3 { font-size: var(--fs-2); margin-bottom: .25em; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- lists / prose ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) scale(.9); }
.checklist.not li::before { border: 0; width: 14px; height: 14px; top: .35em; background: linear-gradient(45deg, transparent 45%, var(--amber) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--amber) 45% 55%, transparent 55%); transform: none; }
.prose { max-width: 740px; }
.prose h2 { font-size: var(--fs-4); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #cfd9f2; }
.prose ul, .prose ol { margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); margin: 1.2em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--cyan); font: 600 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.prose code, code { font-family: var(--font-mono); font-size: .9em; background: rgba(110,160,255,.12); padding: .1em .4em; border-radius: 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.kv dt { color: var(--faint); font-size: var(--fs-0); }
.kv dd { margin: 0; }
.terminal { font: .85rem/1.7 var(--font-mono); background: rgba(3,8,22,.8); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; color: #bcd0ff; }
.terminal .ok { color: var(--ok); } .terminal .hl { color: var(--amber); }
.divider { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 0; }
.cta-band { text-align: center; padding: clamp(40px, 6vw, 80px) var(--gutter); border-radius: calc(var(--radius) * 1.5); border: 1px solid var(--line-2); background: radial-gradient(600px 260px at 50% 0, rgba(54,224,255,.18), transparent 70%), var(--surface); }
.cta-band .btn-row { justify-content: center; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font: 600 .85rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--faint); font-size: .85rem; font-weight: 400; }
.req { color: var(--amber); }
.input, .select, .textarea { width: 100%; font: inherit; color: var(--text); background: rgba(3,8,22,.7); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 160px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.select option { background: var(--bg-2); color: var(--text); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--blue); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(54,224,255,.25); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.hp { display: none !important; }
.form-status:focus { outline: 2px solid var(--amber); outline-offset: 3px; }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: var(--ok); background: rgba(74,222,155,.08); }
.form-status.err { border-color: var(--danger); background: rgba(255,123,134,.08); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(3,6,16,.9)); padding-block: 56px 32px; margin-top: var(--section-y); font-size: var(--fs-0); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.footer-h { font: 600 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p a { color: var(--cyan); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-base p { margin: 0; max-width: 900px; font-size: .85rem; }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(54,224,255,.10), transparent 62%); opacity: 0; transition: opacity .4s; will-change: transform; }
.cursor-glow.on { opacity: 1; }
main, .site-footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .cursor-glow, .pipe-pulse { display: none !important; }
}
@media print { body::before, .hero-canvas, .cursor-glow, .site-header, .disclosure-strip { display: none; } body { background: #fff; color: #000; } }

/* ---------- accessibility additions ---------- */
@media (forced-colors: active) { .grad-text { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }
@media print { .grad-text { background: none; color: #000; -webkit-text-fill-color: #000; } .motion-toggle { display: none; } }
html:not(.js) form[data-needs-js] { display: none; }
.motion-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 8px 14px; font: inherit; font-size: .85rem; color: var(--text, #fff); background: rgba(5,10,26,.85); border: 1px solid rgba(120,170,255,.4); border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px); }
.motion-toggle:hover { border-color: var(--cyan); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
