/* Lightbridge VNA — marketing site. Copyright (c) 2026 Matt Beglinger. Proprietary and confidential.
   All Rights Reserved. Unauthorized use, copying, distribution, or disclosure prohibited. See LICENSE. */

/* ============================================================================
   Design tokens
   Dark is the default (matches the product console). Light overrides under
   [data-theme="light"]. The brand accent (#4f9cf9) is shared with the console.
   ========================================================================== */
:root {
  color-scheme: dark;

  --bg:          #0b0f14;
  --bg-elev:     #0f151d;
  --surface:     #141c26;
  --surface-2:   #1a2330;
  --line:        #263242;
  --line-soft:   rgba(255, 255, 255, 0.07);

  --text:        #eef3f8;
  --text-dim:    #aebccb;
  --muted:       #7c8a9a;

  --accent:      #4f9cf9;
  --accent-2:    #74b0ff;
  --accent-deep: #2563eb;
  --cyan:        #34e0d0;
  --violet:      #8b7bff;

  --ok:   #3fb950;
  --warn: #d29922;
  --bad:  #f85149;

  --grad: linear-gradient(120deg, var(--accent) 0%, var(--cyan) 55%, var(--violet) 100%);
  --grad-soft: linear-gradient(120deg, rgba(79,156,249,.16), rgba(52,224,208,.10) 60%, rgba(139,123,255,.14));

  --glow: 0 0 0 1px rgba(79,156,249,.18), 0 18px 60px -18px rgba(79,156,249,.35);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 12px 40px -16px rgba(0,0,0,.65);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.8);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="light"] {
  color-scheme: light;

  --bg:          #f6f8fc;
  --bg-elev:     #ffffff;
  --surface:     #ffffff;
  --surface-2:   #eef3f9;
  --line:        #dde5ef;
  --line-soft:   rgba(13, 22, 32, 0.08);

  --text:        #0b1622;
  --text-dim:    #3c4b5b;
  --muted:       #5d6c7d;

  --accent:      #2563eb;
  --accent-2:    #1d4ed8;
  --accent-deep: #1e40af;
  --cyan:        #0d9488;
  --violet:      #6d5cf0;

  --grad-soft: linear-gradient(120deg, rgba(37,99,235,.10), rgba(13,148,136,.08) 60%, rgba(109,92,240,.10));
  --glow: 0 0 0 1px rgba(37,99,235,.14), 0 18px 50px -20px rgba(37,99,235,.30);
  --shadow:    0 14px 40px -18px rgba(15,40,80,.25);
  --shadow-lg: 0 50px 90px -40px rgba(15,40,80,.30);
}

/* ============================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 650; }

::selection { background: rgba(79,156,249,.30); color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.dim { color: var(--text-dim); }
.nowrap { white-space: nowrap; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ============================================================================
   Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow.center::before { display: none; }

.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--text-dim); line-height: 1.6; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================================
   Buttons
   ========================================================================== */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; border: var(--bw) solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer;
  font-family: inherit; font-size: .95rem; font-weight: 550; letter-spacing: .01em;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent-deep); border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37,99,235,.6);
}
.btn--primary:hover { background: var(--accent); box-shadow: 0 16px 40px -12px rgba(79,156,249,.7); }
/* sheen */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
}
.btn--primary:hover::after { animation: sheen .9s var(--ease); }

.btn--ghost { background: transparent; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  filter: drop-shadow(0 0 9px rgba(79, 156, 249, .45));
  transition: transform .4s var(--ease);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.nav__brand:hover .brand-mark { transform: translateY(-2px) scale(1.06); }
.brand-text { font-weight: 680; letter-spacing: -.01em; font-size: 1.06rem; }
.brand-text small { color: var(--muted); font-weight: 500; font-size: .7em; letter-spacing: .12em; margin-left: 5px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 8px 14px; border-radius: 999px; color: var(--text-dim); font-size: .92rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); font-weight: 600; }
.nav__link.active:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-dim); cursor: pointer;
  display: grid; place-items: center;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .4s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; padding: 0; position: relative; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 2px; background: var(--text);
  transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s var(--ease); border-radius: 2px;
}
.nav__burger span { top: 50%; transform: translate(-50%,-50%); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

/* ============================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__aurora {
  position: absolute; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px;
  top: -34%; right: -16%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(79,156,249,.32), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(52,224,208,.22), transparent 55%),
              radial-gradient(circle at 50% 80%, rgba(139,123,255,.22), transparent 60%);
  filter: blur(34px); opacity: .9; animation: drift 22s ease-in-out infinite alternate;
}
[data-theme="light"] .hero__aurora { opacity: .55; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 35%, transparent 78%);
}

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: .8rem; color: var(--text-dim); margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63,185,80,.18); }
.hero__eyebrow b { color: var(--text); font-weight: 600; }
.hero__eyebrow .tagpill { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--accent); }

.hero__title { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 680; letter-spacing: -.03em; margin-bottom: 22px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__sub { font-size: clamp(1.06rem, 1.6vw, 1.32rem); color: var(--text-dim); max-width: 38ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .86rem; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* hero animated bridge visual */
.hero__visual { position: relative; aspect-ratio: 1 / 1; }
.bridge-card {
  position: absolute; inset: 0; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.bridge-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .6;
}
.bridge-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(8px); box-shadow: var(--shadow); font-size: .8rem; font-weight: 550;
  animation: float 6s ease-in-out infinite;
}
.float-chip .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.float-chip--tl { top: 9%; left: -6%; animation-delay: -1s; }
.float-chip--br { bottom: 11%; right: -7%; animation-delay: -3s; }
.float-chip--ml { top: 34%; left: -5%; animation-delay: -2s; }

.chip-ok { background: rgba(63,185,80,.14); color: var(--ok); }
.chip-blue { background: rgba(79,156,249,.16); color: var(--accent); }
.chip-violet { background: rgba(139,123,255,.16); color: var(--violet); }

/* ============================================================================
   Marquee (standards)
   ========================================================================== */
.marquee-wrap { padding: 30px 0; border-block: 1px solid var(--line); background: var(--bg-elev); position: relative; }
.marquee-wrap .label { text-align: center; color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-mono); }
.marquee { display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; padding-right: 56px; flex: none; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 11px; color: var(--text-dim); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee__item .mq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* ============================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev)); position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 3px; background: var(--grad); opacity: .9; }
.stat__num { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat__num .unit { font-size: .5em; color: var(--accent); margin-left: 3px; font-weight: 650; }
.stat__label { color: var(--text-dim); font-size: .92rem; margin-top: 12px; }

/* ============================================================================
   Cards / features
   ========================================================================== */
.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .35s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::before { opacity: .9; }

.feature .card__icon, .card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--line-soft); color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.18rem; margin-bottom: 9px; }
.card__body { color: var(--text-dim); font-size: .96rem; margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--accent); font-weight: 550; font-size: .9rem; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }

/* tag list inside cards */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--font-mono); font-size: .74rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim); background: var(--bg-elev);
}

/* ============================================================================
   Use-case split rows
   ========================================================================== */
.usecase { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.usecase + .usecase { margin-top: clamp(48px, 7vw, 96px); }
.usecase.reverse .usecase__media { order: 2; }
.usecase__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .8rem; color: var(--accent); margin-bottom: 14px; letter-spacing: .04em; }
.usecase__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.usecase__body { color: var(--text-dim); font-size: 1.04rem; }
.checklist { margin-top: 20px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.checklist .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(63,185,80,.14); color: var(--ok); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 13px; height: 13px; }
.checklist b { color: var(--text); }

.usecase__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev)); box-shadow: var(--shadow); overflow: hidden;
}
.usecase__media::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .5; }
.usecase__media .panel-grid {
  position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ============================================================================
   Lifecycle steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 7%; right: 7%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__n {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step__n { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); }
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ============================================================================
   Architecture layers
   ========================================================================== */
.arch { display: grid; gap: 14px; }
.arch__layer {
  display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center;
  padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.arch__layer:hover { border-color: var(--accent); transform: translateX(4px); }
.arch__name { font-weight: 650; display: flex; align-items: center; gap: 10px; }
.arch__name .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.arch__items { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  padding: clamp(40px, 6vw, 76px); text-align: center;
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .8; z-index: 0; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-card p { max-width: 56ch; margin: 0 auto 28px; color: var(--text-dim); font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-elev); padding: 64px 0 34px; margin-top: 30px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand .brand-mark { width: 30px; height: 30px; }
.footer__brand p { color: var(--muted); font-size: .9rem; max-width: 34ch; margin-top: 14px; }
.footer__col h5 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.footer__col a { display: block; color: var(--text-dim); font-size: .92rem; padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 26px; color: var(--muted); font-size: .82rem; }
.footer__legal { max-width: 70ch; line-height: 1.5; }
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================================================
   Page hero (sub-pages)
   ========================================================================== */
.page-hero { position: relative; padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.page-hero .hero__aurora { top: -50%; opacity: .6; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lead { max-width: 60ch; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul.bul { list-style: none; display: grid; gap: 10px; margin: 1em 0; }
.prose ul.bul li { position: relative; padding-left: 22px; }
.prose ul.bul li::before { content: "▹"; color: var(--accent); position: absolute; left: 0; top: 0; }

/* contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--text-dim); font-weight: 550; }
.field input, .field select, .field textarea {
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,156,249,.16); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 14px; }

/* ============================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .20s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .36s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .52s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .60s; }

/* hero entrance (runs on load) */
.hero .anim-up { opacity: 0; transform: translateY(26px); animation: heroUp .9s var(--ease-out) forwards; }
.hero .anim-up.d1 { animation-delay: .05s; }
.hero .anim-up.d2 { animation-delay: .15s; }
.hero .anim-up.d3 { animation-delay: .25s; }
.hero .anim-up.d4 { animation-delay: .35s; }
.hero .anim-up.d5 { animation-delay: .45s; }
.hero__visual.anim-in { opacity: 0; animation: heroVisual 1.1s var(--ease-out) .25s forwards; }

/* ============================================================================
   Keyframes
   ========================================================================== */
@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes heroVisual { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-4%, 3%) rotate(8deg); } 100% { transform: translate(3%, -3%) rotate(-6deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sheen { to { transform: translateX(130%); } }
@keyframes dashflow { to { stroke-dashoffset: -200; } }
@keyframes pulse { 0%,100% { opacity: .35; r: 5; } 50% { opacity: 1; r: 7; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero__sub { max-width: 52ch; }
  .usecase, .usecase.reverse { grid-template-columns: 1fr; gap: 30px; }
  .usecase.reverse .usecase__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps::before { display: none; }
  .arch__layer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 16px 24px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav.open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 12px 14px; }
  .nav__burger { display: block; }
  .nav__cta-desktop { display: none; }
  .cols-2, .cols-3, .cols-4, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-chip--tl { left: 2%; } .float-chip--br { right: 2%; } .float-chip--ml { left: 1%; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}

/* ============================================================================
   Reduced motion — disable all non-essential animation
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .hero .anim-up, .hero__visual.anim-in { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* ============================================================================
   Hero bridge SVG motif
   ========================================================================== */
.bnode-box { fill: var(--bg-elev); stroke: var(--line); }
.bnode-accent { fill: var(--accent); opacity: .9; }
.bn-title { fill: var(--text); font: 650 12px var(--font-sans); letter-spacing: -.01em; }
.bn-sub { fill: var(--muted); font: 500 9.5px var(--font-mono); }
.bridge-path { fill: none; stroke: url(#bgrad); stroke-width: 2.4; stroke-linecap: round; }
.bridge-flow { fill: none; stroke: url(#bgrad); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 5 11; animation: dashflow 2.6s linear infinite; }
.perimeter { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 2 10; opacity: .8; }
.perimeter-rot { animation: spin 70s linear infinite; transform-origin: 210px 210px; }
.packet { fill: var(--cyan); filter: drop-shadow(0 0 5px rgba(52,224,208,.8)); }
.pulse-dot { fill: var(--accent); animation: pulse 2.6s ease-in-out infinite; }
.gate-badge { fill: var(--surface); stroke: var(--line); }
.gate-ring { fill: none; stroke: var(--ok); stroke-width: 2; opacity: .55; }
.gate-check { fill: none; stroke: var(--ok); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.gate-label { fill: var(--ok); font: 700 10px var(--font-mono); letter-spacing: .08em; }
.svg-grid line { stroke: var(--line-soft); stroke-width: 1; }

/* ============================================================================
   About / founder + partnership + pillar components
   ========================================================================== */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.founder-card { position: relative; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev)); box-shadow: var(--shadow); position: sticky; top: 96px; }
.founder-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-soft); opacity: .5; pointer-events: none; }
.founder-card > * { position: relative; }
.avatar-mono { width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center;
  font: 700 32px/1 var(--font-sans); letter-spacing: -.02em; color: #fff; background: var(--grad); box-shadow: var(--glow); margin-bottom: 20px; }
.founder-card .f-name { font-size: 1.5rem; margin-bottom: 4px; }
.founder-card .f-role { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.founder-card .f-edu { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.cred-list { display: grid; gap: 0; margin: 4px 0 0; }
.cred-list li { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.cred-list li:first-child { border-top: 0; }
.cred-list .yr { font-family: var(--font-mono); color: var(--accent); font-size: .8rem; }
.cred-list b { color: var(--text); }
.cred-list span { color: var(--text-dim); font-size: .96rem; }

.quote { position: relative; margin: 8px 0; padding: 6px 0 6px 30px; border-left: 3px solid var(--accent);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.34; letter-spacing: -.02em; font-weight: 600; color: var(--text); }
.quote cite { display: block; margin-top: 18px; font-size: .92rem; font-weight: 500; color: var(--muted); font-style: normal; letter-spacing: 0; }

/* security pillar card with a small "under the hood" line */
.card__tech { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-family: var(--font-mono);
  font-size: .73rem; color: var(--muted); letter-spacing: .01em; }

/* big benefit statement */
.statement { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.18; max-width: 22ch; }

/* highlight panel (e.g. quarterly DR exercises) */
.spotlight { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev)); padding: clamp(32px, 5vw, 60px); }
.spotlight::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .7; }
.spotlight > * { position: relative; }
.spotlight .badge-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-elev); font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.spotlight .badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63,185,80,.18); }

@media (max-width: 980px) {
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .founder-card { position: static; }
  .cred-list li { grid-template-columns: 96px 1fr; gap: 12px; }
}

/* ============================================================================
   Pre-launch preview veil (soft client-side gate — assets/gate.js)
   ========================================================================== */
html.gated, html.gated body { overflow: hidden; }
html.gated body > *:not(.preview-overlay) { filter: blur(12px); pointer-events: none; user-select: none; }
.preview-overlay {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.preview-card {
  width: min(92vw, 380px); text-align: center; padding: 38px 30px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  box-shadow: var(--shadow-lg);
}
.preview-card .preview-mark { display: flex; justify-content: center; filter: drop-shadow(0 0 10px rgba(79,156,249,.5)); }
.preview-card h1 { font-size: 1.35rem; margin: 12px 0 4px; letter-spacing: -.01em; }
.preview-card h1 small { color: var(--muted); font-weight: 500; font-size: .62em; letter-spacing: .12em; margin-left: 5px; }
.preview-card p { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.preview-card input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-elev); color: var(--text); font-family: inherit; font-size: 1rem; margin-bottom: 12px;
}
.preview-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,156,249,.16); }
.preview-card .btn { width: 100%; justify-content: center; }
.preview-msg { display: block; margin-top: 10px; color: var(--bad); font-size: .85rem; min-height: 1.1em; }


/* ============================================================================
   Product dropdown (Valhalis product family)
   ============================================================================ */
.nav__has-menu { position: relative; }
.nav__menu-trigger { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; font: inherit; }
.nav__caret { width: 14px; height: 14px; opacity: .7; transition: transform .2s var(--ease); }
.nav__has-menu:hover .nav__caret, .nav__menu-trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; padding: 8px; display: grid; gap: 2px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 28px 64px -22px rgba(0,0,0,.6); z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav__has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav__has-menu:hover .nav__menu, .nav__has-menu:focus-within .nav__menu, .nav__menu.open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.prod { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.prod:hover { background: var(--surface-2); }
.prod__mark { width: 32px; height: 32px; flex: none; display: block; }
.prod__mark svg { width: 100%; height: 100%; display: block; }
.prod__txt { display: flex; flex-direction: column; line-height: 1.3; }
.prod__txt b { color: var(--text); font-size: .96rem; font-weight: 650; }
.prod__txt small { color: var(--text-dim); font-size: .8rem; }

@media (max-width: 760px) {
  .nav__menu { position: static; transform: none; min-width: 0; padding: 2px 0 6px 10px;
    background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__menu-trigger { width: 100%; justify-content: flex-start; }
  .nav__caret { display: none; }
}

/* Product-family cards (homepage) */
.prod-card { text-decoration: none; }
.prod-card__mark { display: block; width: 46px; height: 46px; margin-bottom: 16px; }
.prod-card__mark svg { width: 100%; height: 100%; display: block; }
/* Product-page hero mark */
.prodhero__mark { display: inline-block; width: 64px; height: 64px; margin-bottom: 18px; }
.prodhero__mark svg { width: 100%; height: 100%; display: block; }

/* Product-name lockup: glyph + prominent product name at the top of a product hero. */
.prodhero__lockup { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.prodhero__lockup .prodhero__mark { width: 54px; height: 54px; margin-bottom: 0; }
.prodhero__name { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--text); }

/* Hero lifecycle flow labels */
.flow-label { fill: var(--muted); font: 600 11px var(--font-mono); letter-spacing: .02em; }
