:root {
  color-scheme: dark;
  --bg: #040817;
  --bg-deep: #02040c;
  --surface: rgba(8, 16, 35, 0.78);
  --surface-strong: rgba(8, 18, 42, 0.94);
  --line: rgba(107, 182, 255, 0.2);
  --line-strong: rgba(103, 229, 255, 0.34);
  --text: #eef6ff;
  --muted: #9cb4d1;
  --accent: #59e6ff;
  --accent-strong: #87ff8f;
  --page-glow-a: rgba(28, 179, 255, 0.18);
  --page-glow-b: rgba(78, 255, 163, 0.1);
  --page-orb-a: rgba(89, 230, 255, 0.1);
  --page-orb-b: rgba(135, 255, 143, 0.12);
  --page-orb-c: rgba(255, 95, 137, 0.06);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --frame-pad: clamp(12px, 2vw, 28px);
}

body.page-home {
  --accent: #59e6ff;
  --accent-strong: #87ff8f;
  --page-glow-a: rgba(28, 179, 255, 0.18);
  --page-glow-b: rgba(78, 255, 163, 0.1);
  --page-orb-a: rgba(89, 230, 255, 0.12);
  --page-orb-b: rgba(135, 255, 143, 0.13);
  --page-orb-c: rgba(255, 95, 137, 0.06);
}

body.page-about {
  --accent: #7db1ff;
  --accent-strong: #6ef3cc;
  --page-glow-a: rgba(88, 126, 255, 0.16);
  --page-glow-b: rgba(56, 246, 218, 0.12);
  --page-orb-a: rgba(125, 177, 255, 0.12);
  --page-orb-b: rgba(110, 243, 204, 0.11);
  --page-orb-c: rgba(42, 88, 255, 0.08);
}

body.page-launch {
  --accent: #74f2ff;
  --accent-strong: #ffd86d;
  --page-glow-a: rgba(0, 214, 255, 0.14);
  --page-glow-b: rgba(255, 196, 87, 0.12);
  --page-orb-a: rgba(116, 242, 255, 0.11);
  --page-orb-b: rgba(255, 216, 109, 0.12);
  --page-orb-c: rgba(255, 156, 64, 0.07);
}

body.page-contact {
  --accent: #64e2ff;
  --accent-strong: #ff7aa3;
  --page-glow-a: rgba(60, 196, 255, 0.16);
  --page-glow-b: rgba(255, 122, 163, 0.1);
  --page-orb-a: rgba(100, 226, 255, 0.12);
  --page-orb-b: rgba(255, 122, 163, 0.11);
  --page-orb-c: rgba(136, 97, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html,
body { background: var(--bg-deep); }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--page-glow-a), transparent 28%),
    radial-gradient(circle at 85% 18%, var(--page-glow-b), transparent 24%),
    linear-gradient(180deg, #071021 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: "IBM Plex Sans", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(91, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
  opacity: 0.24;
  animation: gridDrift 24s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 48%, transparent 100%);
  background-size: 100% 6px;
  mix-blend-mode: screen;
  opacity: 0.12;
  animation: scanlineShift 9s linear infinite;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: #eef6ff;
  color: #04101d;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, var(--page-orb-a), transparent 18%),
    radial-gradient(circle at 78% 12%, var(--page-orb-b), transparent 18%),
    radial-gradient(circle at 50% 72%, var(--page-orb-c), transparent 24%);
  filter: blur(18px);
  animation: ambientFloat 16s ease-in-out infinite alternate;
}

.page-frame {
  position: relative;
  width: 100%;
  padding: 24px var(--frame-pad) 56px;
}

.site-header,
.page-shell > *,
.site-footer {
  width: 100%;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 11, 24, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(89, 230, 255, 0.18);
}

.brand-lockup,
.footer-credit {
  display: grid;
  gap: 4px;
}

.brand-lockup strong,
.footer-branding strong {
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-lockup small,
.hero-lead,
.panel p,
.panel li,
.footer-branding p,
.footer-credit p,
.footer-credit small {
  color: var(--muted);
  line-height: 1.72;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
  background: rgba(89, 230, 255, 0.14);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 22, 45, 0.78);
  color: var(--text);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-button em {
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-shell {
  display: grid;
  gap: 28px;
  padding-top: 32px;
}

.page-shell > * {
  opacity: 0;
  animation: sectionReveal 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-shell > *:nth-child(1) { animation-delay: 100ms; }
.page-shell > *:nth-child(2) { animation-delay: 180ms; }
.page-shell > *:nth-child(3) { animation-delay: 260ms; }
.page-shell > *:nth-child(4) { animation-delay: 340ms; }
.page-shell > *:nth-child(5) { animation-delay: 420ms; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.hero-stack,
.stack-grid,
.contact-column,
.roadmap-grid,
.section-grid {
  display: grid;
  gap: 18px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 27, 54, 0.9), rgba(5, 11, 26, 0.88));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(89, 230, 255, 0.08), transparent 40%, rgba(135, 255, 143, 0.06));
}

.panel::after {
  content: "";
  position: absolute;
  top: -18%;
  left: -32%;
  width: 42%;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(89, 230, 255, 0.12), transparent);
  transform: rotate(16deg) translateX(-140%);
  opacity: 0.45;
  animation: panelSweep 12s linear infinite;
}

.panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.panel-hero { padding: 38px; }
.eyebrow,
.panel-label,
.card-index {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.feature-card h2,
.narrative-panel h2,
.insight-card h2,
.contact-card h2,
.roadmap-card h2,
.status-card h2 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  max-width: 12ch;
}

.page-hero h1,
.narrative-panel h2,
.insight-card h2,
.status-card h2,
.contact-card h2 { font-size: clamp(2.15rem, 5vw, 3.4rem); }

.feature-card h2,
.roadmap-card h2,
.mini-card h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.1; }

.glitch-title {
  position: relative;
  display: inline-block;
  text-shadow:
    0 0 16px rgba(89, 230, 255, 0.18),
    0 0 34px rgba(89, 230, 255, 0.08);
  animation: glitchSkew 4.8s steps(1, end) infinite;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glitch-title::before {
  color: rgba(89, 230, 255, 0.62);
  transform: translate(0.04em, -0.03em);
  clip-path: inset(0 0 54% 0);
  animation: glitchSliceTop 2.8s steps(2, end) infinite;
}

.glitch-title::after {
  color: rgba(255, 95, 137, 0.5);
  transform: translate(-0.03em, 0.04em);
  clip-path: inset(58% 0 0 0);
  animation: glitchSliceBottom 3.2s steps(2, end) infinite;
}

.hero-actions,
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.26) 46%, transparent 68%);
  transform: translateX(-140%);
  animation: buttonShine 5.5s ease-in-out infinite;
}

.button:hover { transform: translateY(-2px); }
.button:disabled,
.interest-chip:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.button:disabled::before {
  animation: none;
}

.button-primary {
  background: linear-gradient(135deg, #32dcff, #82ff90);
  color: #04101d;
  box-shadow: 0 16px 40px rgba(84, 232, 255, 0.28);
}

.button-secondary {
  background: rgba(89, 230, 255, 0.08);
  border-color: var(--line-strong);
  color: var(--text);
}

.button-full { width: 100%; }

.signal-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.signal-list li,
.check-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 18, 40, 0.7);
}

.signal-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(89, 230, 255, 0.4);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.status-grid div,
.terminal-card,
.mini-card,
.roadmap-card,
.feature-card,
.contact-card,
.insight-card,
.checklist-card {
  background: rgba(9, 20, 42, 0.56);
}

.status-grid div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.status-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-grid strong {
  font-family: "Oxanium", sans-serif;
  font-size: 1.05rem;
}

.terminal-lines {
  display: grid;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  color: #b9d4f4;
}

.terminal-lines span {
  animation: terminalFlicker 3.8s steps(2, end) infinite;
}

.terminal-lines span:nth-child(1) { animation-delay: 0.2s; }
.terminal-lines span:nth-child(2) { animation-delay: 0.8s; }
.terminal-lines span:nth-child(3) { animation-delay: 1.4s; }
.terminal-lines span:nth-child(4) { animation-delay: 0.5s; }

.terminal-highlight {
  color: var(--accent-strong);
  text-shadow: 0 0 18px rgba(135, 255, 143, 0.28);
  animation: terminalPulse 1.7s ease-in-out infinite;
}

.section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-grid-wide { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); }

.section-split,
.contact-grid {
  display: grid;
  gap: 24px;
}

.section-split { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr); }
.roadmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); }

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
}

.text-link:hover { text-decoration: underline; }

.page-home .panel-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(89, 230, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(13, 27, 54, 0.94), rgba(5, 11, 26, 0.9));
}

.page-home .feature-card {
  background:
    linear-gradient(180deg, rgba(8, 21, 44, 0.9), rgba(4, 11, 26, 0.94)),
    linear-gradient(90deg, rgba(89, 230, 255, 0.08) 0, rgba(89, 230, 255, 0.08) 1px, transparent 1px, transparent 100%);
  background-size: auto, 28px 28px;
}

.page-home .feature-card::before {
  background:
    linear-gradient(145deg, rgba(89, 230, 255, 0.12), transparent 42%),
    radial-gradient(circle at bottom right, rgba(135, 255, 143, 0.12), transparent 30%);
}

.page-home .mini-card {
  background:
    linear-gradient(180deg, rgba(9, 20, 42, 0.82), rgba(4, 11, 27, 0.92));
}

.page-about .page-hero .panel-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(125, 177, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(9, 20, 48, 0.94), rgba(4, 10, 29, 0.92));
}

.page-about .feature-card {
  border-radius: 28px 28px 28px 10px;
  background:
    linear-gradient(180deg, rgba(10, 22, 50, 0.9), rgba(4, 10, 27, 0.94));
}

.page-about .feature-card::before {
  background:
    linear-gradient(155deg, rgba(125, 177, 255, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(110, 243, 204, 0.08), transparent 46%);
}

.page-about .feature-card .card-index {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(125, 177, 255, 0.24);
  border-radius: 999px;
  background: rgba(14, 28, 62, 0.62);
}

.page-about .mini-card,
.page-about .insight-card,
.page-about .checklist-card {
  background:
    linear-gradient(180deg, rgba(8, 18, 44, 0.88), rgba(4, 10, 27, 0.92));
}

.page-launch .page-hero .panel-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 216, 109, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(8, 21, 47, 0.92), rgba(4, 10, 27, 0.94));
}

.page-launch .roadmap-grid {
  position: relative;
}

.page-launch .roadmap-card {
  padding-top: 66px;
  background:
    linear-gradient(180deg, rgba(15, 24, 49, 0.9), rgba(7, 13, 29, 0.94));
}

.page-launch .roadmap-card::before {
  background:
    linear-gradient(145deg, rgba(116, 242, 255, 0.1), transparent 40%),
    radial-gradient(circle at top right, rgba(255, 216, 109, 0.14), transparent 28%);
}

.page-launch .roadmap-card .card-index {
  position: absolute;
  top: 22px;
  left: 24px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 216, 109, 0.26);
  border-radius: 999px;
  background: rgba(255, 216, 109, 0.08);
  color: #ffe7a0;
}

.page-launch .mini-card,
.page-launch .insight-card,
.page-launch .checklist-card {
  background:
    linear-gradient(180deg, rgba(9, 18, 42, 0.88), rgba(4, 10, 26, 0.92));
}

.page-contact .page-hero .panel-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 163, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(10, 20, 47, 0.92), rgba(4, 10, 28, 0.95));
}

.page-contact .contact-card {
  background:
    linear-gradient(180deg, rgba(8, 18, 42, 0.9), rgba(4, 10, 26, 0.94));
}

.page-contact .contact-form {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 163, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 20, 47, 0.92), rgba(4, 10, 28, 0.96));
  border-color: rgba(100, 226, 255, 0.24);
}

.page-contact .contact-form::before {
  background:
    linear-gradient(145deg, rgba(100, 226, 255, 0.14), transparent 42%),
    linear-gradient(0deg, rgba(255, 122, 163, 0.08), transparent 48%);
}

.page-contact .contact-form input,
.page-contact .contact-form textarea {
  background:
    linear-gradient(180deg, rgba(4, 12, 28, 0.96), rgba(7, 14, 34, 0.92));
}

.page-contact .interest-switch {
  box-shadow: inset 0 0 0 1px rgba(100, 226, 255, 0.08);
}

.section-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-form { display: grid; gap: 16px; }
.contact-form[aria-busy="true"] {
  cursor: progress;
}

.contact-form label { display: grid; gap: 10px; }
.contact-form label > span { color: #d7e9ff; font-weight: 600; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(124, 188, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 12, 28, 0.82);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(89, 230, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(89, 230, 255, 0.14);
}

.interest-switch {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 36, 0.9);
}

.interest-chip {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.interest-chip.is-active {
  background: linear-gradient(135deg, rgba(89, 230, 255, 0.16), rgba(135, 255, 143, 0.16));
  color: var(--text);
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  color: var(--muted);
}

.form-status.is-success { color: var(--accent-strong); }
.form-status.is-error { color: #ff9ab6; }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(240px, 0.9fr);
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 10, 24, 0.84);
  box-shadow: var(--shadow);
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-credit { justify-items: start; }
.footer-credit img { width: 110px; height: auto; }

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 64px, 0); }
}

@keyframes scanlineShift {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

@keyframes ambientFloat {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  50% { transform: translate3d(1%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(2%, -1.2%, 0) scale(1.02); }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelSweep {
  0% { transform: rotate(16deg) translateX(-150%); }
  100% { transform: rotate(16deg) translateX(420%); }
}

@keyframes glitchSkew {
  0%, 84%, 100% { transform: none; }
  85% { transform: skewX(2deg); }
  86% { transform: skewX(-3deg); }
  87% { transform: none; }
  96% { transform: translateX(1px); }
  97% { transform: translateX(-1px); }
}

@keyframes glitchSliceTop {
  0%, 78%, 100% {
    opacity: 0.72;
    transform: translate(0.04em, -0.03em);
    clip-path: inset(0 0 54% 0);
  }
  80% {
    opacity: 1;
    transform: translate(-0.08em, -0.04em);
    clip-path: inset(0 0 38% 0);
  }
  82% {
    opacity: 0.92;
    transform: translate(0.1em, 0.02em);
    clip-path: inset(0 0 62% 0);
  }
}

@keyframes glitchSliceBottom {
  0%, 72%, 100% {
    opacity: 0.6;
    transform: translate(-0.03em, 0.04em);
    clip-path: inset(58% 0 0 0);
  }
  74% {
    opacity: 0.95;
    transform: translate(0.08em, 0.06em);
    clip-path: inset(46% 0 0 0);
  }
  76% {
    opacity: 0.85;
    transform: translate(-0.1em, -0.02em);
    clip-path: inset(68% 0 0 0);
  }
}

@keyframes terminalFlicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.32; }
  94% { opacity: 0.95; }
  95% { opacity: 0.48; }
  96% { opacity: 1; }
}

@keyframes terminalPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes buttonShine {
  0%, 68%, 100% { transform: translateX(-140%); }
  82% { transform: translateX(140%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-shell > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .section-split,
  .contact-grid,
  .section-grid-wide,
  .site-footer { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .page-frame {
    padding-top: 16px;
    padding-inline: 12px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
    border-radius: 28px;
  }

  .menu-button { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 12, 27, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a { padding: 14px 16px; }
  .section-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .signal-list,
  .section-grid,
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (min-width: 821px) {
  .page-launch .roadmap-grid::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(116, 242, 255, 0.18), rgba(255, 216, 109, 0.38), rgba(116, 242, 255, 0.18));
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .brand-lockup small { display: none; }
  .panel,
  .panel-hero,
  .site-footer { padding: 22px; }

  .hero-copy h1 { font-size: clamp(2.6rem, 16vw, 4rem); }

  .page-hero h1,
  .narrative-panel h2,
  .insight-card h2,
  .status-card h2,
  .contact-card h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }

  .hero-actions,
  .banner-actions { flex-direction: column; }
  .button { width: 100%; }
  .status-grid { grid-template-columns: 1fr; }
}
