:root {
  --bg: #050507;
  --bg-soft: #101015;
  --panel: rgba(19, 19, 24, 0.7);
  --panel-strong: rgba(28, 28, 34, 0.9);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #ffffff;
  --muted: #b9b9c5;
  --muted-strong: #d5d5db;
  --accent: #f00d16;
  --accent-hot: #ff4343;
  --accent-soft: rgba(240, 13, 22, 0.24);
  --accent-glow: rgba(255, 52, 52, 0.65);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1180px;
  --font-display: "Arial Black", "Franklin Gothic Heavy", Impact, sans-serif;
  --font-body: Bahnschrift, "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 50% 54%, rgba(255, 32, 32, 0.16), transparent 30%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.page-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 42, 42, 0.18), transparent 18%),
    radial-gradient(circle at 25% 24%, rgba(255, 42, 42, 0.12), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(255, 42, 42, 0.1), transparent 18%);
  opacity: 0.92;
  animation: backdropPulse 10s ease-in-out infinite;
}

.page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 12, 0.12), rgba(1, 1, 2, 0.58)),
    radial-gradient(circle at 50% 45%, rgba(240, 13, 22, 0.08), transparent 34%);
}

.grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.38;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  animation: gridShift 18s linear infinite;
}

.neon-line,
.neon-beam {
  position: absolute;
  pointer-events: none;
}

.neon-line {
  left: -30%;
  width: 160%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 67, 67, 0) 18%,
    rgba(255, 67, 67, 0.95) 50%,
    rgba(255, 67, 67, 0) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 16px rgba(255, 67, 67, 0.85),
    0 0 38px rgba(255, 67, 67, 0.6),
    0 0 80px rgba(255, 24, 24, 0.45);
  opacity: 0.8;
}

.neon-line-primary {
  top: 18%;
  transform: rotate(-7deg);
  animation: neonRunPrimary 11s linear infinite;
}

.neon-line-secondary {
  top: 58%;
  height: 2px;
  opacity: 0.52;
  transform: rotate(4deg);
  animation: neonRunSecondary 15s linear infinite;
}

.neon-beam-diagonal {
  top: -8%;
  left: 56%;
  width: 2px;
  height: 132%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 67, 67, 0.1) 22%,
    rgba(255, 67, 67, 0.78) 50%,
    rgba(255, 67, 67, 0.12) 76%,
    transparent 100%
  );
  box-shadow:
    0 0 14px rgba(255, 67, 67, 0.55),
    0 0 38px rgba(255, 67, 67, 0.35);
  opacity: 0.54;
  transform: rotate(18deg);
  animation: beamPulse 8s ease-in-out infinite;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(76px);
  opacity: 0.95;
}

.glow-left {
  width: 760px;
  height: 760px;
  left: -250px;
  top: 40px;
  background: rgba(255, 42, 42, 0.22);
  animation: floatGlow 18s ease-in-out infinite;
}

.glow-center {
  width: 680px;
  height: 680px;
  left: 50%;
  top: 270px;
  transform: translateX(-50%);
  background: rgba(255, 42, 42, 0.28);
  animation: floatGlow 16s ease-in-out infinite reverse;
}

.glow-bottom {
  width: 720px;
  height: 340px;
  right: -90px;
  bottom: -60px;
  background: rgba(255, 42, 42, 0.16);
  animation: floatGlow 22s ease-in-out infinite;
}

.floating-cube {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform-style: preserve-3d;
}

.cube-one {
  width: 140px;
  height: 140px;
  top: 18%;
  right: 16%;
  transform: rotate(28deg) skew(-6deg);
  filter: blur(0.2px);
  animation: driftCube 24s ease-in-out infinite;
}

.cube-two {
  width: 200px;
  height: 200px;
  left: 10%;
  bottom: 16%;
  transform: rotate(-20deg) skew(5deg);
  opacity: 0.45;
  animation: driftCube 28s ease-in-out infinite reverse;
}

.site-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 28px 24px 34px;
}

.home-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.home-main {
  display: flex;
}

.site-header,
.site-footer,
.stats-grid,
.feature-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.site-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.brand-fun {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(240, 13, 22, 0.28);
}

.brand-roblox {
  color: var(--text);
}

.header-status,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 21, 0.72);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.68rem;
}

.header-status {
  justify-self: end;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.hero {
  min-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 40px;
}

.hero-reference {
  position: relative;
  width: 100%;
  justify-content: space-between;
  padding: 34px 0 18px;
}

.hero-line {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 13, 22, 0.55), transparent);
  overflow: hidden;
}

.hero-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -14%;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 67, 67, 0.95), transparent);
  box-shadow:
    0 0 12px rgba(255, 67, 67, 0.85),
    0 0 34px rgba(255, 67, 67, 0.55);
  animation: heroSweep 6s linear infinite;
}

.hero-surface {
  width: min(100%, 920px);
  margin: 0 auto;
  padding-top: 88px;
}

.hero-panel {
  position: relative;
  padding: 34px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 68%, rgba(255, 42, 42, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 10, 0.42);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 36px 100px rgba(0, 0, 0, 0.36),
    0 0 70px rgba(255, 42, 42, 0.16);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-panel-corners::before,
.hero-panel-corners::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-top: 1px solid rgba(240, 13, 22, 0.34);
  border-left: 1px solid rgba(240, 13, 22, 0.34);
  border-top-left-radius: 18px;
  pointer-events: none;
}

.hero-panel-corners::before {
  top: 18px;
  left: 18px;
}

.hero-panel-corners::after {
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}

.hero h1,
.section-heading h2,
.legal-card h1,
.feature-card h3,
.process-card h3,
.code-meta strong {
  font-family: var(--font-display);
}

.hero h1 {
  margin: 24px 0 12px;
  max-width: 880px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.05),
    0 0 34px rgba(255, 20, 20, 0.08);
}

.accent-word {
  color: var(--accent-hot);
  text-shadow:
    0 0 18px rgba(255, 67, 67, 0.8),
    0 0 42px rgba(255, 24, 24, 0.52);
}

.hero-copy,
.section-heading p,
.legal-lead {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 0.92rem + 0.35vw, 1.15rem);
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cta-wrap {
  position: relative;
  display: inline-flex;
  margin-top: 38px;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  inset: -20px -28px;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 67, 67, 0.38), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 500px);
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(60, 18, 18, 0.82);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 67, 67, 0.18),
    0 28px 90px rgba(255, 42, 42, 0.3);
  cursor: pointer;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -25%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(18deg) translateX(-190%);
  transition: transform 0.7s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 67, 67, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(255, 67, 67, 0.28),
    0 30px 110px rgba(255, 42, 42, 0.38);
  outline: none;
}

.cta-button:hover::before,
.cta-button:focus-visible::before {
  transform: rotate(18deg) translateX(540%);
}

.cta-icon,
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 67, 67, 0.18);
  border: 1px solid rgba(255, 67, 67, 0.44);
  box-shadow: 0 0 26px rgba(255, 42, 42, 0.24);
}

.cta-icon svg,
.cta-arrow svg,
.modal-close svg,
.social-icon svg {
  width: 22px;
  height: 22px;
}

.cta-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.08rem + 0.9vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.cta-arrow {
  color: var(--muted);
  transition: transform 0.35s ease, color 0.35s ease;
}

.cta-button:hover .cta-arrow,
.cta-button:focus-visible .cta-arrow {
  transform: rotate(45deg);
  color: var(--text);
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-style: italic;
  font-size: 1rem;
}

.hero-bottom {
  width: 100%;
  padding-top: 44px;
}

.stats-rail {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 18px 26px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 13, 0.52);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 44px rgba(255, 42, 42, 0.08);
}

.stats-grid {
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.stats-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.stat-card,
.feature-card,
.process-card,
.legal-card,
.modal-dialog,
.code-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--panel);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 0 34px;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.stat-card + .stat-card {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.45rem + 0.8vw, 2.4rem);
  letter-spacing: -0.05em;
}

.stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.68rem;
}

.feature-section,
.process-section {
  padding: 64px 0 18px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-label,
.modal-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 1.7rem + 1.8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.feature-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-card,
.process-card {
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feature-card h3,
.process-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.feature-card p,
.process-card p,
.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.process-step {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: 1.6rem;
}

.site-footer {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.25;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  min-height: 20px;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link + .footer-link {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link[aria-current="page"] {
  color: var(--text);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 2, 5, 0.72);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 640px);
  padding: 28px;
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(240, 13, 22, 0.13);
}

.modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: rgba(240, 13, 22, 0.38);
  outline: none;
}

.modal-dialog h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.8rem + 0.7vw, 2.6rem);
  letter-spacing: -0.05em;
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.code-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.code-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
}

.code-meta strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.code-meta span {
  display: block;
  color: var(--muted);
}

.copy-button {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: var(--accent);
  border-color: rgba(240, 13, 22, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(120%);
  padding: 14px 18px;
  border: 1px solid rgba(240, 13, 22, 0.25);
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.92);
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  transition: transform 0.3s ease;
  z-index: 20;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.legal-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 38px 0 12px;
}

.legal-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 2rem + 2vw, 4.6rem);
  letter-spacing: -0.06em;
}

.legal-content {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.legal-content h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.legal-content a {
  color: #ff6c72;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: #ff9296;
  outline: none;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes backdropPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes gridShift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 48px 24px, 24px 48px;
  }
}

@keyframes neonRunPrimary {
  0% {
    transform: translate3d(-42%, -60px, 0) rotate(-7deg);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  60% {
    opacity: 0.85;
  }
  100% {
    transform: translate3d(34%, 360px, 0) rotate(-7deg);
    opacity: 0;
  }
}

@keyframes neonRunSecondary {
  0% {
    transform: translate3d(34%, -180px, 0) rotate(4deg);
    opacity: 0;
  }
  12% {
    opacity: 0.5;
  }
  72% {
    opacity: 0.46;
  }
  100% {
    transform: translate3d(-32%, 220px, 0) rotate(4deg);
    opacity: 0;
  }
}

@keyframes beamPulse {
  0%,
  100% {
    opacity: 0.28;
    filter: brightness(0.9);
  }
  50% {
    opacity: 0.62;
    filter: brightness(1.25);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-220px);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 220px));
    opacity: 0;
  }
}

@keyframes driftCube {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(28deg) skew(-6deg);
  }
  50% {
    transform: translate3d(12px, -18px, 0) rotate(34deg) skew(-4deg);
  }
}

.cube-two {
  animation-name: driftCubeAlt;
}

@keyframes driftCubeAlt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-20deg) skew(5deg);
  }
  50% {
    transform: translate3d(-16px, 16px, 0) rotate(-12deg) skew(3deg);
  }
}

@media (max-width: 980px) {
  .neon-beam-diagonal {
    left: 62%;
    opacity: 0.38;
  }

  .feature-grid,
  .process-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding-inline: 18px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .header-status {
    justify-self: start;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-reference {
    min-height: auto;
    padding-bottom: 8px;
  }

  .hero-surface {
    width: 100%;
    padding-top: 60px;
  }

  .hero-panel {
    padding: 24px 16px 22px;
    border-radius: 28px;
  }

  .neon-line-primary {
    animation-duration: 9s;
  }

  .neon-line-secondary {
    opacity: 0.34;
  }

  .hero-line {
    top: 10px;
  }

  .cta-wrap {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    width: 100%;
    justify-content: center;
    letter-spacing: 0.16em;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 22px 22px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    gap: 20px;
  }

  .stats-rail {
    padding: 22px 18px 18px;
  }

  .stat-card {
    padding: 0;
  }

  .stat-card + .stat-card {
    border-left: 0;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog,
  .legal-card,
  .feature-card,
  .process-card {
    padding: 22px;
  }

  .code-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy-button {
    width: 100%;
  }

  .footer-note {
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .footer-link {
    font-size: 0.78rem;
  }

  .footer-link + .footer-link {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

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

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