:root {
  --void: #030611;
  --void-soft: #060b1d;
  --panel: rgba(7, 13, 34, 0.86);
  --panel-solid: #080f25;
  --panel-line: rgba(116, 189, 255, 0.22);
  --panel-line-bright: rgba(101, 229, 255, 0.62);
  --cyan: #61e8ff;
  --cyan-soft: #73bfff;
  --blue: #3878ff;
  --violet: #9b67ff;
  --violet-soft: #c6a8ff;
  --gold: #e7c989;
  --text: #f3f8ff;
  --text-soft: #a8bad6;
  --text-dim: #7083a2;
  --success: #6bffd0;
  --danger: #ff6683;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --page-width: 1440px;
  --side-padding: clamp(22px, 5vw, 82px);
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--void);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text);
}

body.nav-is-open {
  overflow: hidden;
}

::selection {
  background: rgba(97, 232, 255, 0.28);
  color: #fff;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border: 1px solid var(--cyan);
  background: #061126;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid #b9f5ff;
  outline-offset: 4px;
}

.section__inner {
  width: min(calc(100% - (var(--side-padding) * 2)), var(--page-width));
  margin-inline: auto;
}

/* Shared brand and navigation */

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 92px;
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, border-color 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header--legal {
  height: 76px;
  border-bottom-color: rgba(101, 185, 255, 0.12);
  background: rgba(3, 7, 19, 0.84);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(1.15);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - (var(--side-padding) * 2)), 1540px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  text-decoration: none;
  text-shadow: 0 0 22px rgba(92, 209, 255, 0.25);
}

.brand::after {
  position: absolute;
  right: -26px;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(105, 223, 255, 0.76), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: brand-line 0.95s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid rgba(115, 219, 255, 0.7);
  background: rgba(7, 18, 45, 0.82);
  box-shadow: inset 0 0 12px rgba(67, 162, 255, 0.22), 0 0 17px rgba(73, 195, 255, 0.18);
  transform: rotate(45deg);
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  inset: 4px;
  content: "";
  border: 1px solid rgba(151, 101, 255, 0.56);
}

.brand__mark::after {
  inset: -5px;
  border-color: rgba(116, 204, 255, 0.18);
  animation: brand-orbit 5s linear infinite;
}

.brand__core {
  width: 8px;
  height: 8px;
  background: #effcff;
  box-shadow: 0 0 9px var(--cyan), 0 0 18px var(--blue);
}

.brand__word {
  overflow: hidden;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(1.18rem, 1.7vw, 1.6rem);
  font-weight: 850;
  letter-spacing: 0.27em;
  line-height: 1;
  background: linear-gradient(100deg, #fff 15%, #91ddff 45%, #fff 58%, #a98cff 82%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logo-shimmer 6.5s ease-in-out infinite;
}

.brand--compact .brand__mark {
  width: 28px;
  height: 28px;
}

.brand--compact .brand__word {
  font-size: 1.1rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.desktop-nav a,
.header-login {
  position: relative;
  color: #93a8c5;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.desktop-nav a::after,
.header-login::after {
  position: absolute;
  right: 50%;
  bottom: -10px;
  left: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 8px var(--cyan);
  transition: right 0.25s ease, left 0.25s ease;
}

.desktop-nav a:hover,
.header-login:hover {
  color: #e8f8ff;
}

.desktop-nav a:hover::after,
.header-login:hover::after {
  right: 0;
  left: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
}

.alpha-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7f94b1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.alpha-pill i,
.footer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(107, 255, 208, 0.9);
  animation: status-pulse 2.3s ease-out infinite;
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 17px;
  overflow: hidden;
  border: 1px solid rgba(101, 225, 255, 0.6);
  background: linear-gradient(100deg, rgba(20, 77, 146, 0.75), rgba(82, 61, 171, 0.72));
  box-shadow: inset 0 0 15px rgba(113, 231, 255, 0.08), 0 0 17px rgba(45, 137, 255, 0.08);
  color: #effcff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, 0.26) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.header-cta:hover {
  border-color: #bff7ff;
  box-shadow: inset 0 0 18px rgba(113, 231, 255, 0.14), 0 0 22px rgba(45, 137, 255, 0.18);
  transform: translateY(-2px);
}

.header-cta:hover::before {
  transform: translateX(120%);
}

.header-cta svg,
.button svg {
  width: 17px;
  height: 17px;
}

.nav-toggle,
.mobile-nav {
  display: none;
}

/* Buttons */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 25px;
  overflow: hidden;
  color: #f8fdff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.25s ease, color 0.22s ease;
}

.button::before {
  position: absolute;
  inset: -1px;
  content: "";
  background: linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, 0.24) 48%, transparent 65%);
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border: 1px solid rgba(105, 229, 255, 0.78);
  background: linear-gradient(100deg, rgba(18, 84, 160, 0.9), rgba(65, 84, 190, 0.92) 62%, rgba(104, 65, 181, 0.88));
  box-shadow: inset 0 0 20px rgba(105, 231, 255, 0.12), 0 0 24px rgba(43, 144, 255, 0.15);
}

.button--primary:hover {
  border-color: #c1f8ff;
  box-shadow: inset 0 0 24px rgba(105, 231, 255, 0.18), 0 0 32px rgba(43, 144, 255, 0.3);
}

.button--ghost {
  border: 1px solid rgba(130, 174, 226, 0.24);
  background: rgba(3, 10, 28, 0.52);
  color: #adc1dd;
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: rgba(101, 225, 255, 0.52);
  color: #fff;
}

.button--large {
  min-height: 62px;
  padding-inline: 34px;
}

/* Landing hero */

.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 75% 18%, rgba(55, 83, 192, 0.09), transparent 27%),
    var(--void);
}

.energy-canvas {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  opacity: 0.62;
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(800px, 100svh);
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid rgba(102, 177, 239, 0.1);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  content: "";
  background: linear-gradient(transparent, rgba(3, 6, 17, 0.58) 55%, var(--void));
  pointer-events: none;
}

.hero__background {
  position: absolute;
  z-index: -4;
  inset: -4%;
  background-image: url("/portal-v2/ui/galaxor-corridor.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(1.12) brightness(0.56) contrast(1.08);
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.065);
  animation: scene-breathe 17s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 46%, rgba(51, 165, 255, 0.09), transparent 18%, rgba(3, 6, 17, 0.14) 30%),
    linear-gradient(90deg, rgba(2, 5, 14, 0.82) 0%, rgba(2, 5, 14, 0.28) 52%, rgba(2, 5, 14, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 6, 17, 0.58), transparent 22%, transparent 68%, rgba(3, 6, 17, 0.85));
}

.hero__grid,
.final-cta__grid,
.legal-hero__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(104, 198, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 198, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 48%, #000, transparent 58%);
}

.hero__beam {
  position: absolute;
  z-index: -1;
  top: 44%;
  left: 70%;
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 229, 255, 0.8), #fff, rgba(155, 103, 255, 0.7), transparent);
  box-shadow: 0 0 9px var(--cyan), 0 0 28px rgba(66, 147, 255, 0.45);
  opacity: 0;
  transform: translateX(-50%) rotate(-10deg);
  animation: hero-beam 8s 2.5s ease-in-out infinite;
}

.hero__beam--two {
  top: 60%;
  animation-delay: 6.2s;
  transform: translateX(-50%) rotate(7deg) scaleX(0.7);
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(58%, 850px);
  margin-left: max(var(--side-padding), calc((100vw - var(--page-width)) / 2));
  padding: 150px 20px 120px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.25em;
}

.eyebrow > span {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.56);
}

.hero__content > .eyebrow {
  opacity: 0;
  animation: hero-copy-in 0.7s 0.45s ease forwards;
}

.hero h1 {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(4.5rem, 8.3vw, 8.8rem);
  font-weight: 900;
  letter-spacing: -0.062em;
  line-height: 0.82;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.55);
  opacity: 0;
  animation: hero-copy-in 0.9s 0.58s cubic-bezier(0.16, 0.85, 0.26, 1) forwards;
}

.hero h1 em,
.final-cta h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), #89a2ff 52%, var(--violet-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(76, 175, 255, 0.19));
}

.hero__lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: #b5c5dc;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.75;
  opacity: 0;
  animation: hero-copy-in 0.8s 0.75s ease forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
  opacity: 0;
  animation: hero-copy-in 0.8s 0.9s ease forwards;
}

.hero__readout {
  display: flex;
  gap: clamp(28px, 3.3vw, 55px);
  margin-top: 48px;
  opacity: 0;
  animation: hero-copy-in 0.8s 1.02s ease forwards;
}

.hero__readout > div {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
}

.hero__readout > div:not(:last-child)::after {
  position: absolute;
  top: 2px;
  right: calc(clamp(28px, 3.3vw, 55px) / -2);
  width: 1px;
  height: 36px;
  content: "";
  background: linear-gradient(transparent, rgba(101, 219, 255, 0.42), transparent);
}

.hero__readout strong {
  color: #f2fbff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.16rem;
  font-weight: 650;
  text-shadow: 0 0 13px rgba(76, 192, 255, 0.4);
}

.hero__readout span {
  color: #6c82a1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.45;
}

.hero__portal {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 73%;
  display: grid;
  width: clamp(280px, 26vw, 440px);
  aspect-ratio: 1;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.78);
  animation: portal-in 1.05s 0.8s cubic-bezier(0.16, 0.82, 0.25, 1.08) forwards, portal-float 5s 2s ease-in-out infinite;
}

.hero__portal > img {
  position: relative;
  z-index: 3;
  width: 70%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(79, 204, 255, 0.55)) drop-shadow(0 0 40px rgba(142, 82, 255, 0.28));
}

.portal-aura {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: rgba(76, 214, 255, 0.3);
  box-shadow: 0 0 55px 24px rgba(59, 144, 255, 0.28), 0 0 100px 42px rgba(147, 76, 255, 0.15);
  filter: blur(12px);
  animation: portal-aura 3.4s ease-in-out infinite;
}

.portal-orbit {
  position: absolute;
  border: 1px solid rgba(104, 219, 255, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(77, 171, 255, 0.13), 0 0 12px rgba(77, 171, 255, 0.14);
}

.portal-orbit::before {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px dashed rgba(154, 103, 255, 0.2);
  border-radius: 50%;
}

.portal-orbit--outer {
  inset: 1%;
  border-right-color: transparent;
  border-left-color: transparent;
  animation: orbit 17s linear infinite;
}

.portal-orbit--inner {
  inset: 13%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: orbit 11s linear infinite reverse;
}

.portal-orbit i {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--cyan), 0 0 17px var(--blue);
}

.portal-orbit i + i {
  right: -4px;
  left: auto;
  background: #eadfff;
  box-shadow: 0 0 8px var(--violet), 0 0 17px var(--violet);
}

.portal-console {
  position: absolute;
  right: 15%;
  bottom: 7%;
  left: 15%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: #6f86a5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.46rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.portal-console i {
  height: 1px;
  background: linear-gradient(90deg, rgba(97, 232, 255, 0.25), var(--cyan), rgba(97, 232, 255, 0.1));
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.35);
}

.portal-console b {
  color: var(--success);
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: 28px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #627998;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(116, 193, 255, 0.16);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(transparent, var(--cyan), transparent);
  transform: translateY(-100%);
  animation: scroll-line 2.1s ease-in-out infinite;
}

/* Sections */

.section {
  position: relative;
  padding-block: clamp(95px, 10vw, 155px);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 23px;
  max-width: 880px;
}

.section-heading__number {
  padding-top: 6px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.section-heading__number::after {
  display: block;
  width: 1px;
  height: 42px;
  margin: 12px auto 0;
  content: "";
  background: linear-gradient(var(--cyan), transparent);
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.section-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading > div > span {
  display: block;
  max-width: 680px;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section--intro {
  background:
    radial-gradient(circle at 15% 40%, rgba(47, 96, 178, 0.08), transparent 26%),
    linear-gradient(180deg, var(--void), #040817 60%, var(--void));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: start;
}

.intro-copy {
  padding-top: 34px;
}

.intro-copy > p {
  margin-bottom: 22px;
  color: #aebed5;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.8;
}

.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.capability-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(109, 178, 229, 0.15);
  background: rgba(7, 17, 39, 0.6);
  color: #879bb8;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-row b {
  color: var(--cyan);
  font-size: 0.78rem;
}

/* Gallery */

.section--gallery {
  background:
    radial-gradient(circle at 72% 35%, rgba(62, 52, 169, 0.13), transparent 28%),
    #030612;
}

.gallery {
  margin-top: clamp(45px, 6vw, 78px);
}

.gallery__frame {
  position: relative;
  isolation: isolate;
  min-height: min(72vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(102, 194, 255, 0.25);
  background: #030713;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.44), inset 0 0 45px rgba(33, 91, 175, 0.05), 0 0 55px rgba(49, 120, 255, 0.06);
}

.gallery__frame::before,
.gallery__frame::after {
  position: absolute;
  z-index: 5;
  width: 28px;
  height: 28px;
  content: "";
  pointer-events: none;
}

.gallery__frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.gallery__frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
}

.gallery__media {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(25, 51, 105, 0.24), transparent 62%),
    #02050d;
  animation: gallery-enter 0.56s ease both;
}

.gallery__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(2, 5, 14, 0.35), transparent 23%, transparent 52%, rgba(2, 5, 14, 0.88) 91%),
    linear-gradient(90deg, rgba(2, 5, 14, 0.34), transparent 25%, transparent 75%, rgba(2, 5, 14, 0.3));
}

.gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__scan {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--violet), transparent);
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.8), 0 0 20px rgba(77, 149, 255, 0.4);
  opacity: 0;
  animation: gallery-scan 1.2s 0.1s ease-out forwards;
}

.gallery__hud {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 25px;
  left: 25px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #7890ae;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.gallery__hud i {
  height: 1px;
  background: linear-gradient(90deg, rgba(97, 232, 255, 0.35), rgba(97, 232, 255, 0.05));
}

.gallery__hud b {
  color: var(--cyan);
}

.gallery__caption {
  position: absolute;
  z-index: 3;
  right: clamp(90px, 11vw, 170px);
  bottom: clamp(34px, 5vw, 70px);
  left: clamp(28px, 5vw, 72px);
  max-width: 700px;
}

.gallery__caption > span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.gallery__caption h3 {
  margin: 9px 0 8px;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3.7vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.04em;
}

.gallery__caption p {
  max-width: 630px;
  margin: 0;
  color: #b1c2da;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  line-height: 1.65;
}

.gallery__controls {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 31px;
  display: flex;
  gap: 8px;
}

.gallery__controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(113, 202, 255, 0.3);
  background: rgba(4, 12, 31, 0.8);
  color: #a7c0dc;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gallery__controls button:hover {
  border-color: var(--cyan);
  background: rgba(19, 67, 125, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

.gallery__controls svg {
  width: 20px;
}

.gallery__controls svg.is-left {
  transform: rotate(180deg);
}

.gallery__timeline {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.gallery__timeline button {
  position: relative;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery__timeline button::before {
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: rgba(104, 158, 215, 0.14);
}

.gallery__timeline button span {
  position: absolute;
  top: 11px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 9px rgba(97, 232, 255, 0.44);
  transition: width 0.35s ease;
}

.gallery__timeline button.is-active span {
  width: 100%;
}

/* Features */

.section--features {
  background:
    linear-gradient(90deg, rgba(50, 103, 185, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(50, 103, 185, 0.025) 1px, transparent 1px),
    #040714;
  background-size: 80px 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6vw, 80px);
}

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 34px 31px 32px;
  overflow: hidden;
  border: 1px solid rgba(114, 178, 231, 0.13);
  background:
    linear-gradient(145deg, rgba(34, 82, 151, 0.1), transparent 40%),
    rgba(6, 13, 31, 0.72);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.feature-card::before {
  position: absolute;
  top: -45%;
  left: -30%;
  width: 80%;
  height: 150%;
  content: "";
  background: linear-gradient(100deg, transparent, rgba(98, 220, 255, 0.055), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform 0.75s ease;
}

.feature-card:hover {
  z-index: 2;
  border-color: rgba(97, 232, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(34, 99, 178, 0.18), transparent 44%),
    rgba(7, 15, 36, 0.92);
  box-shadow: 0 23px 52px rgba(0, 0, 0, 0.25), inset 0 0 28px rgba(67, 147, 236, 0.05), 0 0 25px rgba(52, 143, 255, 0.06);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  transform: rotate(18deg) translateX(180%);
}

.feature-card__index {
  position: absolute;
  top: 22px;
  right: 23px;
  color: #405574;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.feature-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 31px;
  place-items: center;
  border: 1px solid rgba(100, 217, 255, 0.25);
  background: rgba(7, 26, 54, 0.75);
  box-shadow: inset 0 0 17px rgba(74, 167, 255, 0.08), 0 0 17px rgba(74, 167, 255, 0.06);
  color: var(--cyan);
  transform: rotate(45deg);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
}

.feature-card__icon b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.45rem;
  font-weight: 500;
  transform: rotate(-45deg);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.14rem;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: #8ea2be;
  font-size: 0.86rem;
  line-height: 1.75;
}

.feature-card__line {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.55);
  transition: right 0.35s ease, left 0.35s ease;
}

.feature-card:hover .feature-card__line {
  right: 8%;
  left: 8%;
}

/* Steps */

.section--steps {
  background: radial-gradient(circle at 50% 55%, rgba(67, 65, 172, 0.12), transparent 33%), var(--void);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  margin-top: clamp(65px, 8vw, 105px);
}

.steps__rail {
  position: absolute;
  top: 29px;
  right: 14%;
  left: 14%;
  height: 1px;
  overflow: hidden;
  background: rgba(99, 174, 232, 0.16);
}

.steps__rail i {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, transparent);
  box-shadow: 0 0 8px var(--cyan);
  animation: rail-flow 4s ease-in-out infinite;
}

.step {
  position: relative;
  text-align: center;
}

.step > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 28px;
  place-items: center;
  border: 1px solid rgba(103, 218, 255, 0.42);
  background: #071329;
  box-shadow: inset 0 0 18px rgba(66, 153, 255, 0.12), 0 0 25px rgba(48, 146, 255, 0.09);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  transform: rotate(45deg);
}

.step > span::before {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgba(156, 100, 255, 0.28);
}

.step > div {
  max-width: 340px;
  margin-inline: auto;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.step p {
  margin: 0;
  color: #8599b5;
  font-size: 0.83rem;
  line-height: 1.7;
}

/* Servers */

.section--servers {
  background:
    radial-gradient(circle at 80% 45%, rgba(89, 58, 182, 0.15), transparent 31%),
    linear-gradient(180deg, #040714, #030611);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(50px, 6vw, 80px);
}

.server-card {
  position: relative;
  min-height: 355px;
  padding: 22px 21px;
  overflow: hidden;
  border: 1px solid rgba(112, 169, 220, 0.13);
  background:
    radial-gradient(circle at 50% 41%, rgba(69, 72, 154, 0.12), transparent 31%),
    rgba(6, 12, 30, 0.8);
  opacity: 0.64;
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.server-card.is-live {
  border-color: rgba(100, 218, 255, 0.25);
  opacity: 1;
}

.server-card:hover {
  border-color: rgba(103, 223, 255, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25), inset 0 0 32px rgba(67, 147, 236, 0.05);
  opacity: 1;
  transform: translateY(-5px);
}

.server-card__head,
.server-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #607594;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.49rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.server-card__head b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a9db7;
  font-size: inherit;
}

.server-card.is-live .server-card__head b {
  color: var(--success);
}

.server-card__head b i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}

.server-card__ring {
  position: relative;
  display: grid;
  width: 108px;
  height: 108px;
  margin: 41px auto 31px;
  place-items: center;
  border: 1px solid rgba(106, 181, 235, 0.2);
  border-radius: 50%;
}

.server-card__ring::before,
.server-card__ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.server-card__ring::before {
  inset: 10px;
  border: 1px dashed rgba(151, 99, 255, 0.3);
  animation: orbit 14s linear infinite;
}

.server-card__ring::after {
  inset: 24px;
  border: 1px solid rgba(105, 225, 255, 0.25);
  background: radial-gradient(circle, rgba(65, 177, 255, 0.17), transparent 70%);
  box-shadow: 0 0 24px rgba(58, 158, 255, 0.09);
}

.server-card__ring i {
  position: relative;
  z-index: 2;
  color: #8aa1c2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.3rem;
  font-style: normal;
  text-shadow: 0 0 12px rgba(96, 210, 255, 0.4);
}

.server-card.is-live .server-card__ring i {
  color: var(--cyan);
}

.server-card > p {
  margin: 0 0 7px;
  color: #6c819e;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.server-card h3 {
  margin: 0 0 25px;
  font-size: 1.1rem;
  text-align: center;
}

.server-card__footer {
  position: absolute;
  right: 21px;
  bottom: 20px;
  left: 21px;
  padding-top: 14px;
  border-top: 1px solid rgba(109, 171, 225, 0.09);
}

/* Alpha */

.section--alpha {
  padding-top: 30px;
  background: #030611;
}

.alpha-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 75px);
  min-height: 300px;
  padding: clamp(32px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(103, 207, 255, 0.21);
  background:
    linear-gradient(120deg, rgba(27, 87, 159, 0.16), transparent 42%),
    linear-gradient(300deg, rgba(125, 69, 177, 0.11), transparent 45%),
    rgba(6, 13, 31, 0.88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), inset 0 0 45px rgba(64, 143, 231, 0.04);
}

.alpha-panel::before {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, transparent);
  box-shadow: 0 0 8px var(--cyan);
  animation: alpha-scan 5s ease-in-out infinite;
}

.alpha-panel__signal {
  position: relative;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 1px solid rgba(104, 219, 255, 0.27);
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(67, 157, 255, 0.1), 0 0 35px rgba(67, 157, 255, 0.07);
}

.alpha-panel__signal::before {
  position: absolute;
  inset: 13px;
  content: "";
  border: 1px dashed rgba(153, 97, 255, 0.38);
  border-radius: 50%;
  animation: orbit 13s linear infinite;
}

.alpha-panel__signal > span {
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 3.7rem;
  text-shadow: 0 0 20px rgba(97, 232, 255, 0.55);
}

.alpha-panel__signal > i {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--cyan), 0 0 15px var(--blue);
}

.alpha-panel__signal > i + i {
  right: -4px;
  left: auto;
  box-shadow: 0 0 8px var(--violet), 0 0 15px var(--violet);
}

.alpha-panel h2 {
  margin: 0 0 15px;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  letter-spacing: -0.04em;
}

.alpha-panel > div:nth-child(2) > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #99adc7;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* FAQ */

.section--faq {
  background: radial-gradient(circle at 20% 30%, rgba(46, 103, 184, 0.08), transparent 26%), #040714;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid rgba(104, 175, 228, 0.14);
}

.faq-list details {
  border-bottom: 1px solid rgba(104, 175, 228, 0.14);
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 10px 4px;
  color: #c5d4e8;
  font-size: 0.98rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  color: #526887;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.faq-list summary > i {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(106, 192, 244, 0.23);
}

.faq-list summary > i::before,
.faq-list summary > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-list summary > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary {
  color: #fff;
}

.faq-list details[open] summary > i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-list details[open] > div {
  grid-template-rows: 1fr;
}

.faq-list details > div > p {
  min-height: 0;
  margin: 0;
  padding: 0 40px 0 35px;
  overflow: hidden;
  color: #8ea2be;
  font-size: 0.86rem;
  line-height: 1.75;
  transition: padding 0.35s ease;
}

.faq-list details[open] > div > p {
  padding-bottom: 28px;
}

/* Final CTA */

.final-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 680px;
  overflow: hidden;
  place-items: center;
  border-top: 1px solid rgba(106, 186, 238, 0.09);
  background:
    radial-gradient(circle at 50% 55%, rgba(44, 139, 255, 0.17), transparent 18%, rgba(100, 62, 194, 0.09) 29%, transparent 42%),
    #02050e;
  text-align: center;
}

.final-cta__grid {
  mask-image: radial-gradient(circle, #000, transparent 65%);
}

.final-cta__portal {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(97, 220, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 24s linear infinite;
}

.final-cta__portal::before,
.final-cta__portal::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(152, 95, 255, 0.16);
  border-radius: 50%;
}

.final-cta__portal::before {
  inset: 11%;
}

.final-cta__portal::after {
  inset: 24%;
  box-shadow: 0 0 50px rgba(61, 163, 255, 0.1), inset 0 0 50px rgba(61, 163, 255, 0.08);
}

.final-cta__portal span {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--cyan), 0 0 18px var(--blue);
}

.final-cta__portal span:nth-child(2) {
  right: -4px;
  left: auto;
  box-shadow: 0 0 8px var(--violet), 0 0 18px var(--violet);
}

.final-cta__portal span:nth-child(3) {
  top: -4px;
  left: 50%;
}

.final-cta .section__inner {
  position: relative;
  z-index: 2;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(4rem, 8vw, 8.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

.final-cta .section__inner > p:not(.eyebrow) {
  margin: 28px auto 31px;
  color: #98acc7;
  font-size: 0.98rem;
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 3;
  padding: 78px var(--side-padding) 25px;
  border-top: 1px solid rgba(103, 178, 229, 0.12);
  background: #02050e;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.site-footer__grid > div:first-child > p {
  max-width: 400px;
  margin: 26px 0 22px;
  color: #7286a3;
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #637a99;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(125px, 1fr));
  gap: 70px;
}

.site-footer__links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__links strong {
  margin-bottom: 7px;
  color: #91a6c3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__links a {
  width: max-content;
  color: #7186a3;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, var(--page-width));
  margin: 60px auto 0;
  padding-top: 21px;
  border-top: 1px solid rgba(102, 170, 222, 0.08);
  color: #405572;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Legal pages */

.legal-page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 80% 14%, rgba(61, 75, 170, 0.1), transparent 25%),
    var(--void);
}

.legal-ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(rgba(3, 6, 17, 0.35), rgba(3, 6, 17, 0.94)), url("/portal-v2/ui/galaxor-corridor.webp");
  background-position: center;
  background-size: cover;
}

.legal-ambient::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(95, 179, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 179, 237, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

.legal-ambient > span {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(99, 212, 255, 0.18);
  transform: translateX(-50%) rotate(45deg);
  animation: legal-pulse 8s ease-in-out infinite;
}

.legal-ambient > span:nth-child(2) {
  width: 230px;
  height: 230px;
  border-color: rgba(153, 98, 255, 0.1);
  animation-delay: -2.6s;
}

.legal-ambient > span:nth-child(3) {
  width: 300px;
  height: 300px;
  animation-delay: -5.2s;
}

.legal-page main,
.legal-page .site-footer {
  position: relative;
  z-index: 2;
}

.legal-hero {
  position: relative;
  isolation: isolate;
  min-height: 530px;
  padding: 155px var(--side-padding) 75px;
  overflow: hidden;
  border-bottom: 1px solid rgba(101, 178, 232, 0.1);
}

.legal-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 45%, rgba(72, 171, 255, 0.12), transparent 16%, rgba(3, 6, 17, 0.2) 32%),
    linear-gradient(90deg, rgba(3, 6, 17, 0.92), rgba(3, 6, 17, 0.48) 65%, rgba(3, 6, 17, 0.82));
}

.legal-hero__inner {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  animation: legal-enter 0.7s ease both;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 45px;
  color: #8197b5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: var(--cyan);
  transform: translateX(-3px);
}

.back-link svg {
  width: 18px;
}

.legal-hero__meta {
  display: grid;
  grid-template-columns: auto minmax(50px, 170px) auto;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  color: #6d829f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.legal-hero__meta i {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(97, 232, 255, 0.08));
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.25);
}

.legal-hero__meta b {
  color: var(--success);
  font-weight: inherit;
}

.legal-hero h1 {
  margin: 22px 0 16px;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.legal-hero__inner > p {
  max-width: 700px;
  margin: 0;
  color: #9fb2cc;
  font-size: clamp(0.94rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.legal-hero__status {
  display: flex;
  gap: 32px;
  margin-top: 34px;
  color: #5e7391;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.legal-hero__status span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
}

.legal-hero__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.legal-layout {
  position: relative;
  display: grid;
  grid-template-columns: 270px minmax(0, 900px);
  justify-content: space-between;
  gap: clamp(45px, 8vw, 130px);
  padding-top: 90px;
  padding-bottom: 130px;
}

.legal-toc > div {
  position: sticky;
  top: 112px;
  padding: 23px 20px 22px;
  border: 1px solid rgba(101, 179, 232, 0.12);
  background: rgba(5, 11, 28, 0.7);
  backdrop-filter: blur(14px);
}

.legal-toc p {
  margin: 0 0 20px;
  color: #67809f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.legal-toc nav {
  display: grid;
}

.legal-toc a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  padding: 9px 0;
  color: #7187a4;
  font-size: 0.73rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-toc a span {
  color: #3f5876;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
}

.legal-toc a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.legal-toc__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--cyan), rgba(97, 232, 255, 0.03));
}

.legal-document {
  position: relative;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid rgba(104, 183, 236, 0.15);
  background:
    linear-gradient(145deg, rgba(37, 89, 155, 0.06), transparent 25%),
    rgba(6, 12, 29, 0.9);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(51, 111, 196, 0.025);
  animation: legal-document-in 0.7s 0.12s ease both;
}

.legal-document::before,
.legal-document::after {
  position: absolute;
  width: 24px;
  height: 24px;
  content: "";
  pointer-events: none;
}

.legal-document::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.legal-document::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
}

.legal-document__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-bottom: 35px;
  color: #58708f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.49rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.legal-document__head i {
  height: 1px;
  background: rgba(103, 179, 230, 0.14);
}

.legal-document__head b {
  color: var(--cyan);
}

.legal-intro {
  margin: 0 0 52px;
  padding: 20px 22px;
  border-left: 2px solid var(--cyan);
  background: rgba(18, 55, 103, 0.16);
  color: #b5c6db;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-section {
  scroll-margin-top: 105px;
}

.legal-section + .legal-section {
  margin-top: 56px;
  padding-top: 50px;
  border-top: 1px solid rgba(103, 170, 221, 0.1);
}

.legal-section__title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  margin-bottom: 24px;
}

.legal-section__title > span {
  padding-top: 5px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.legal-section__content {
  padding-left: 37px;
}

.legal-section__content p,
.legal-section__content li {
  color: #9bafc8;
  font-size: 0.89rem;
  line-height: 1.85;
}

.legal-section__content p {
  margin: 0 0 17px;
}

.legal-section__content p:last-child {
  margin-bottom: 0;
}

.legal-section__content a {
  color: #8fe5ff;
  text-decoration-color: rgba(143, 229, 255, 0.3);
  text-underline-offset: 3px;
}

.legal-section__content a:hover {
  color: #d7f8ff;
}

.legal-section__content ul {
  display: grid;
  gap: 8px;
  margin: 15px 0 22px;
  padding: 0;
  list-style: none;
}

.legal-section__content li {
  position: relative;
  padding-left: 18px;
}

.legal-section__content li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(97, 232, 255, 0.58);
  transform: rotate(45deg);
}

.legal-section__content strong {
  color: #c5d5e8;
}

.legal-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.legal-data-grid > div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(105, 180, 230, 0.13);
  background: rgba(5, 15, 35, 0.62);
}

.legal-data-grid dt {
  margin-bottom: 13px;
  color: #637b9a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-data-grid dd {
  margin: 0;
  color: #c2d3e7;
  font-size: 0.86rem;
  line-height: 1.65;
}

.rights-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
}

.rights-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 28px;
  border: 1px solid rgba(105, 180, 230, 0.1);
  background: rgba(5, 15, 35, 0.5);
  font-size: 0.78rem;
}

.rights-list li::before {
  left: 12px;
}

.rights-list li span {
  color: #617896;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.48rem;
  white-space: nowrap;
}

/* Animations */

@keyframes brand-line {
  to { transform: scaleX(1); }
}

@keyframes brand-orbit {
  to { transform: rotate(360deg); }
}

@keyframes logo-shimmer {
  0%, 38% { background-position: 100% 50%; }
  62%, 100% { background-position: 0 50%; }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(107, 255, 208, 0.45), 0 0 8px rgba(107, 255, 208, 0.9); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(107, 255, 208, 0), 0 0 8px rgba(107, 255, 208, 0.9); }
}

@keyframes scene-breathe {
  from { transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.065); }
  to { transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.095); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portal-in {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes portal-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@keyframes portal-aura {
  0%, 100% { opacity: 0.46; transform: scale(0.88); }
  50% { opacity: 0.82; transform: scale(1.12); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes hero-beam {
  0%, 75%, 100% { opacity: 0; }
  82% { opacity: 0.75; }
  88% { opacity: 0.12; }
}

@keyframes scroll-line {
  0%, 10% { transform: translateY(-100%); }
  75%, 100% { transform: translateY(100%); }
}

@keyframes gallery-enter {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes gallery-scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

@keyframes rail-flow {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(310%); }
}

@keyframes alpha-scan {
  0%, 10% { left: -30%; }
  70%, 100% { left: 110%; }
}

@keyframes legal-pulse {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) rotate(45deg) scale(0.82); }
  50% { opacity: 0.7; transform: translateX(-50%) rotate(225deg) scale(1.12); }
}

@keyframes legal-enter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes legal-document-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */

@media (max-width: 1220px) {
  .desktop-nav {
    gap: 18px;
  }

  .alpha-pill {
    display: none;
  }

  .hero__content {
    width: 61%;
  }

  .hero__portal {
    left: 78%;
    width: clamp(260px, 29vw, 390px);
  }

  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-card {
    min-height: 330px;
  }
}

@media (max-width: 1040px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .site-header__actions {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    grid-column: 3;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(103, 193, 247, 0.24);
    background: rgba(4, 12, 31, 0.66);
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    width: 18px;
    height: 1px;
    background: #a6c0dc;
    transition: transform 0.25s ease, top 0.25s ease;
  }

  .nav-toggle span:first-child {
    top: 18px;
  }

  .nav-toggle span:last-child {
    top: 27px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    top: 23px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    top: 23px;
    transform: rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: grid;
    visibility: hidden;
    padding: 120px var(--side-padding) 45px;
    place-items: center;
    background:
      radial-gradient(circle at 50% 40%, rgba(43, 106, 191, 0.17), transparent 35%),
      rgba(3, 7, 19, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.35s ease, visibility 0s 0.35s;
  }

  .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-nav nav {
    display: grid;
    width: min(100%, 560px);
  }

  .mobile-nav nav > a {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    min-height: 66px;
    border-bottom: 1px solid rgba(101, 178, 231, 0.12);
    color: #d7e5f6;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav nav > a span {
    color: var(--cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.52rem;
  }

  .mobile-nav__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .mobile-nav__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    border: 1px solid rgba(103, 197, 248, 0.25);
    color: #b6cbe1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-nav__actions a:last-child {
    border-color: rgba(103, 224, 255, 0.62);
    background: linear-gradient(100deg, rgba(18, 84, 160, 0.9), rgba(91, 62, 180, 0.9));
    color: #fff;
  }

  .mobile-nav__actions svg {
    width: 16px;
  }

  .hero__content {
    width: 65%;
  }

  .hero__portal {
    left: 80%;
    opacity: 0.62;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha-panel {
    grid-template-columns: auto 1fr;
  }

  .alpha-panel > .button {
    grid-column: 2;
    width: max-content;
  }

  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }

  .legal-data-grid {
    grid-template-columns: 1fr;
  }

  .legal-data-grid > div {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 900px;
    align-items: start;
  }

  .hero__content {
    width: auto;
    margin-inline: var(--side-padding);
    padding: 145px 0 320px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 14vw, 7.4rem);
  }

  .hero__lead {
    max-width: 620px;
  }

  .hero__portal {
    top: auto;
    bottom: 40px;
    left: 71%;
    width: 330px;
    opacity: 0.68;
    transform: translate(-50%, 0) scale(0.78);
  }

  .hero__portal {
    animation-name: portal-in-mobile, portal-float;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .gallery__frame {
    min-height: 610px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .steps__rail {
    top: 30px;
    bottom: 30px;
    left: 29px;
    width: 1px;
    height: auto;
  }

  .steps__rail i {
    width: 1px;
    height: 34%;
    background: linear-gradient(transparent, var(--cyan), #fff, transparent);
    animation-name: rail-flow-vertical;
  }

  .step {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  .step > span {
    margin: 0;
  }

  .step > div {
    max-width: none;
    margin: 0;
  }

  .alpha-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .alpha-panel__signal {
    margin-inline: auto;
  }

  .alpha-panel .eyebrow {
    justify-content: center;
  }

  .alpha-panel > .button {
    grid-column: auto;
    width: max-content;
    margin-inline: auto;
  }

  .legal-hero {
    min-height: 500px;
    padding-top: 135px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }

  .legal-toc > div {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@keyframes portal-in-mobile {
  to { opacity: 0.68; transform: translate(-50%, 0) scale(1); }
}

@keyframes rail-flow-vertical {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(300%); }
}

@media (max-width: 600px) {
  :root {
    --side-padding: 18px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header--legal {
    height: 70px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .brand__word {
    font-size: 1.05rem;
    letter-spacing: 0.22em;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-toggle span:first-child {
    top: 16px;
  }

  .nav-toggle span:last-child {
    top: 25px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child,
  .nav-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
  }

  .mobile-nav__actions {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 850px;
  }

  .hero__content {
    padding-top: 118px;
    padding-bottom: 290px;
  }

  .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.19em;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 18vw, 5.6rem);
  }

  .hero__lead {
    margin-top: 23px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding-inline: 17px;
    font-size: 0.65rem;
  }

  .hero__readout {
    gap: 18px;
    margin-top: 34px;
  }

  .hero__readout > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero__readout > div:not(:last-child)::after {
    right: -9px;
    height: 47px;
  }

  .hero__readout strong {
    font-size: 0.92rem;
  }

  .hero__readout span {
    font-size: 0.42rem;
  }

  .hero__portal {
    right: -70px;
    bottom: 25px;
    left: auto;
    width: 300px;
    transform: scale(0.78);
  }

  .hero__portal {
    animation-name: portal-in-small, portal-float;
  }

  .portal-console {
    display: none;
  }

  .section {
    padding-block: 85px;
  }

  .section-heading {
    gap: 14px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .section-heading > div > span {
    font-size: 0.86rem;
  }

  .capability-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gallery__frame {
    min-height: 550px;
  }

  .gallery__hud {
    top: 15px;
    right: 16px;
    left: 16px;
  }

  .gallery__caption {
    right: 18px;
    bottom: 95px;
    left: 18px;
  }

  .gallery__caption h3 {
    font-size: 2.2rem;
  }

  .gallery__controls {
    right: auto;
    bottom: 25px;
    left: 18px;
  }

  .gallery__controls button {
    width: 46px;
    height: 46px;
  }

  .gallery__timeline {
    gap: 3px;
  }

  .feature-grid,
  .server-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 290px;
  }

  .server-card {
    min-height: 320px;
  }

  .alpha-panel {
    padding: 34px 22px;
  }

  .alpha-panel__signal {
    width: 105px;
    height: 105px;
  }

  .alpha-panel h2 {
    font-size: 2.2rem;
  }

  .faq-list summary {
    min-height: 73px;
    font-size: 0.88rem;
  }

  .faq-list details > div > p {
    padding-right: 4px;
    padding-left: 32px;
  }

  .final-cta {
    min-height: 590px;
  }

  .final-cta h2 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

  .final-cta__portal {
    width: 300px;
    height: 300px;
  }

  .site-footer {
    padding-top: 60px;
  }

  .site-footer__links {
    gap: 30px;
  }

  .site-footer__bottom {
    display: grid;
    gap: 10px;
    line-height: 1.5;
  }

  .legal-hero {
    min-height: 470px;
    padding-top: 110px;
    padding-bottom: 55px;
  }

  .back-link {
    margin-bottom: 36px;
  }

  .legal-hero__meta {
    grid-template-columns: auto 35px auto;
    font-size: 0.43rem;
  }

  .legal-hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .legal-hero__status {
    display: grid;
    gap: 10px;
  }

  .legal-layout {
    width: calc(100% - 24px);
    padding-bottom: 80px;
  }

  .legal-toc > div {
    padding: 18px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 28px 20px;
  }

  .legal-intro {
    margin-bottom: 42px;
    padding: 17px;
    font-size: 0.86rem;
  }

  .legal-section__title {
    gap: 9px;
  }

  .legal-section__content {
    padding-left: 0;
  }

  .legal-section__content p,
  .legal-section__content li {
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .rights-list {
    grid-template-columns: 1fr;
  }

  .rights-list li {
    align-items: flex-start;
  }
}

@keyframes portal-in-small {
  to { opacity: 0.63; transform: scale(1); }
}

@media (max-height: 740px) and (min-width: 821px) {
  .hero {
    min-height: 740px;
  }

  .hero__content {
    padding-top: 125px;
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: clamp(4rem, 7.6vw, 7rem);
  }

  .hero__readout {
    margin-top: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .energy-canvas,
  .hero__beam,
  .portal-orbit,
  .legal-ambient > span,
  .steps__rail,
  .alpha-panel::before,
  .final-cta__portal {
    display: none;
  }

  .hero__background {
    inset: 0;
    transform: none;
  }

  .hero__content > *,
  .hero__portal,
  .legal-hero__inner,
  .legal-document {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero__background,
  .hero__grid,
  .energy-canvas,
  .hero__portal,
  .legal-ambient,
  .final-cta__portal {
    display: none;
  }

  .button,
  .feature-card,
  .server-card,
  .alpha-panel,
  .legal-document,
  .legal-toc > div {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body,
  .legal-page {
    background: #fff !important;
    color: #000 !important;
  }

  .site-header,
  .site-footer,
  .legal-ambient,
  .legal-hero__grid,
  .back-link,
  .legal-toc,
  .legal-document__head {
    display: none !important;
  }

  .legal-hero {
    min-height: 0;
    padding: 20px 0 28px;
    border-bottom: 1px solid #999;
  }

  .legal-hero::before {
    display: none;
  }

  .legal-hero h1,
  .legal-hero__meta,
  .legal-hero__status,
  .legal-hero__inner > p {
    color: #000 !important;
  }

  .legal-hero h1 {
    font-size: 36pt;
  }

  .legal-layout {
    display: block;
    width: 100%;
    padding: 30px 0;
  }

  .legal-document {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-document::before,
  .legal-document::after {
    display: none;
  }

  .legal-intro,
  .legal-section__content p,
  .legal-section__content li,
  .legal-section h2,
  .legal-data-grid dt,
  .legal-data-grid dd,
  .legal-section__content a,
  .legal-section__title > span {
    color: #000 !important;
  }

  .legal-intro,
  .legal-data-grid > div,
  .rights-list li {
    border-color: #bbb;
    background: transparent;
  }

  .legal-section,
  .legal-data-grid > div {
    break-inside: avoid;
  }

  .legal-section__content a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
