:root {
  color-scheme: dark;
  --font-display: "Times New Roman", Times, Georgia, serif;
  --font-body: Georgia, "Times New Roman", Times, serif;
  --black: #03040a;
  --void: #06070d;
  --ink: #0c1020;
  --indigo: #12162d;
  --violet: #7d4dff;
  --cyan: #55f1ff;
  --rose: #ff5da8;
  --silver: #eef5ff;
  --muted: #aab5ca;
  --line: rgba(224, 237, 255, 0.14);
  --line-strong: rgba(224, 237, 255, 0.28);
  --glass: rgba(8, 11, 23, 0.62);
  --glass-bright: rgba(255, 255, 255, 0.08);
  --hero-media-width: 980px;
  --max: 1180px;
  --pad: 24px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--font-body);
  color: var(--silver);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 77, 255, 0.24), transparent 31rem),
    radial-gradient(circle at 78% 14%, rgba(85, 241, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 48% 78%, rgba(255, 93, 168, 0.12), transparent 24rem),
    linear-gradient(135deg, #020307 0%, #080a16 42%, #060611 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
}

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

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

p {
  margin: 0;
}

::selection {
  color: #02030a;
  background: var(--cyan);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--black);
  background: var(--cyan);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

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

#ambient-canvas,
.background-video-shell,
.page-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#ambient-canvas {
  z-index: -3;
  opacity: 0.82;
}

.background-video-shell {
  z-index: -5;
  overflow: hidden;
  opacity: 0.2;
}

.background-video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.18) brightness(0.5);
}

.page-veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 4, 10, 0.34), rgba(3, 4, 10, 0.72) 55%, rgba(3, 4, 10, 0.92)),
    radial-gradient(circle at 50% 18%, transparent 0, rgba(3, 4, 10, 0.42) 46rem);
}

.site-shell {
  position: relative;
  min-height: 100svh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin: 0 auto;
  padding: 18px var(--pad);
}

.site-header::before {
  position: absolute;
  inset: 10px var(--pad);
  z-index: -1;
  content: "";
  border: 1px solid rgba(224, 237, 255, 0.11);
  border-radius: 999px;
  background: rgba(3, 4, 10, 0.34);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 0.88rem;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(238, 245, 255, 0.72);
  white-space: nowrap;
  transition: color 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--silver);
  border-color: rgba(85, 241, 255, 0.2);
  background: rgba(85, 241, 255, 0.06);
  outline: none;
}

.brand-token {
  font-family: var(--font-display);
  white-space: nowrap;
}

.brand-zero {
  font: inherit;
}

.brand-zero::after {
  content: none;
}

.hero-section {
  display: grid;
  min-height: 100svh;
  padding: 118px var(--pad) 84px;
  place-items: center;
}

.hero-stage {
  width: min(100%, var(--max));
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: rgba(85, 241, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
}

.section-kicker {
  margin-bottom: 18px;
}

.hero-title {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 4.15rem;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title > span {
  display: block;
  overflow: visible;
  text-shadow:
    0 0 18px rgba(85, 241, 255, 0.2),
    0 0 56px rgba(125, 77, 255, 0.2);
}

.hero-cinema {
  position: relative;
  width: min(100%, var(--hero-media-width));
  margin: 24px auto 0;
}

.hero-cinema[hidden] {
  display: none;
}

.hero-interface {
  width: min(100%, var(--hero-media-width));
  margin: 38px auto 0;
}

.interface-frame {
  --mx: 50%;
  --my: 50%;
  --interface-height: clamp(620px, 72vh, 760px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: var(--interface-height);
  border: 1px solid rgba(224, 237, 255, 0.18);
  border-radius: 8px 8px 0 0;
  background: rgba(3, 4, 10, 0.5);
  box-shadow:
    0 30px 120px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.interface-frame iframe {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  min-height: var(--interface-height);
  height: var(--interface-height);
  border: 0;
  background: rgba(3, 4, 10, 0.84);
}

.interface-action-bar,
.video-control-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  margin: -1px auto 0;
  padding: 7px 10px;
  border: 1px solid rgba(224, 237, 255, 0.16);
  border-radius: 0 0 8px 8px;
  background: rgba(3, 4, 10, 0.86);
  box-shadow: none;
}

.interface-action-bar {
  min-height: 32px;
  padding: 3px 12px;
  border-color: rgba(224, 237, 255, 0.12);
  background: rgba(3, 4, 10, 0.28);
}

.video-control-bar {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 2px 9px;
  border-top: 0;
}

.interface-frame-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(85, 241, 255, 0.44);
  border-radius: 0;
  color: rgba(238, 245, 255, 0.78);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1;
  background: transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}

.interface-frame-action:hover,
.interface-frame-action:focus-visible {
  color: var(--silver);
  border-color: rgba(255, 93, 168, 0.62);
  background: transparent;
  outline: none;
}

.cinema-frame {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(224, 237, 255, 0.22);
  border-radius: 8px 8px 0 0;
  background: rgba(3, 4, 10, 0.54);
  box-shadow:
    0 28px 120px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cinema-frame::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.cinema-frame::before {
  border: 1px solid rgba(85, 241, 255, 0.24);
  border-radius: inherit;
  mask-image: linear-gradient(90deg, #000 0 14%, transparent 28% 72%, #000 86% 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.08) contrast(1.05);
}

.hero-video:not(.is-ready) {
  display: none;
}

.video-control-bar[hidden] {
  display: none;
}

.video-control {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(238, 245, 255, 0.78);
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}

.video-control:hover,
.video-control:focus-visible {
  color: var(--silver);
  border-color: rgba(85, 241, 255, 0.26);
  background: rgba(85, 241, 255, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.video-control svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.video-play-toggle .icon-play {
  fill: currentColor;
  stroke: none;
}

.video-play-toggle .icon-play,
.video-sound-toggle .icon-volume {
  display: none;
}

.video-play-toggle.is-paused .icon-pause,
.video-sound-toggle.is-sound-on .icon-muted {
  display: none;
}

.video-play-toggle.is-paused .icon-play,
.video-sound-toggle.is-sound-on .icon-volume {
  display: block;
}

.hero-copy {
  display: grid;
  gap: 28px;
  max-width: 760px;
  margin: 34px auto 0;
  color: rgba(238, 245, 255, 0.76);
  font-size: 1.14rem;
  line-height: 1.72;
}

.hero-note {
  max-width: 690px;
  margin: -8px auto 0;
  color: rgba(238, 245, 255, 0.62);
  font-size: 1rem;
  line-height: 1.62;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  overflow: hidden;
  border: 1px solid rgba(224, 237, 255, 0.18);
  border-radius: 999px;
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1.1;
  color: var(--silver);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(120%);
}

.button-primary {
  border-color: rgba(85, 241, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(85, 241, 255, 0.22), rgba(125, 77, 255, 0.26)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 38px rgba(85, 241, 255, 0.14);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
}

.button-quiet {
  border-color: transparent;
  color: rgba(238, 245, 255, 0.74);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: rgba(238, 245, 255, 0.84);
  font-style: italic;
  border-bottom: 1px solid rgba(85, 241, 255, 0.48);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--silver);
  border-color: rgba(255, 93, 168, 0.62);
  outline: none;
}

.section {
  scroll-margin-top: 92px;
  padding: 122px var(--pad);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 940px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-title {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.05rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-lede,
.feature-copy p,
.split-copy p,
.final-inner p {
  color: rgba(238, 245, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-lede {
  max-width: 760px;
  margin-top: 22px;
}

.split-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.thesis-section {
  position: relative;
}

.thesis-section::before {
  position: absolute;
  top: 44px;
  left: 50%;
  width: min(64rem, 82vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(85, 241, 255, 0.34), rgba(255, 93, 168, 0.22), transparent);
  transform: translateX(-50%);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.feature-layout-reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.feature-layout-reverse .feature-copy {
  order: 2;
}

.feature-copy {
  display: grid;
  gap: 20px;
}

.feature-copy .section-kicker {
  margin-bottom: 0;
}

.artifact-panel {
  position: relative;
  display: grid;
  min-height: 440px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(3, 4, 10, 0.4);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  place-items: center;
}

.artifact-panel::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(224, 237, 255, 0.08);
  border-radius: 6px;
}

.artifact-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(85, 241, 255, 0.18), transparent 15rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
}

.artifact-orbit,
.artifact-grid {
  position: absolute;
  inset: 16%;
  z-index: 1;
  border: 1px solid rgba(85, 241, 255, 0.16);
  border-radius: 50%;
  animation: turn 18s linear infinite;
}

.artifact-orbit::before,
.artifact-orbit::after,
.artifact-grid::before,
.artifact-grid::after {
  position: absolute;
  content: "";
  border-radius: inherit;
}

.artifact-orbit::before {
  inset: 14%;
  border: 1px solid rgba(255, 93, 168, 0.15);
}

.artifact-orbit::after {
  inset: 31%;
  border: 1px solid rgba(238, 245, 255, 0.16);
}

.artifact-grid {
  border-radius: 8px;
  background:
    linear-gradient(rgba(85, 241, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 241, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: perspective(760px) rotateX(58deg) rotateZ(-18deg);
}

.artifact-grid::before {
  inset: 16%;
  border: 1px solid rgba(125, 77, 255, 0.24);
}

.artifact-grid::after {
  inset: 31%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.artifact-core {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  min-width: 210px;
  padding: 24px;
  border: 1px solid rgba(224, 237, 255, 0.2);
  border-radius: 8px;
  text-align: center;
  background: rgba(3, 4, 10, 0.58);
  box-shadow: 0 0 54px rgba(85, 241, 255, 0.16);
}

.artifact-core strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0;
}

.artifact-core span {
  color: var(--muted);
  font-size: 0.92rem;
}

.artifact-list {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(238, 245, 255, 0.68);
  font-size: 0.92rem;
  list-style: none;
}

.artifact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.artifact-list li::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(85, 241, 255, 0.8);
}

.character-section {
  overflow: hidden;
}

.character-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 42px;
  width: min(100%, 940px);
  margin: 0 auto;
  perspective: 1200px;
  align-items: start;
}

.character-card {
  --lift: 0px;
  --tilt: 0deg;
  position: relative;
  grid-column: span 4;
  padding-top: var(--lift);
  transform: rotateX(var(--tilt));
  transform-origin: center;
}

.character-card:nth-child(1) {
  grid-column: 1 / span 4;
  --lift: 0px;
}

.character-card:nth-child(2) {
  grid-column: 5 / span 4;
  --lift: 36px;
}

.character-card:nth-child(3) {
  grid-column: 2 / span 4;
  --lift: 0px;
}

.character-card-note {
  grid-column: 6 / span 4;
  --lift: 36px;
  --tilt: -0.8deg;
}

.character-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(224, 237, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  transform: translateZ(0);
  transition: transform 420ms var(--ease), border-color 420ms var(--ease), box-shadow 420ms var(--ease);
}

.character-figure::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.character-figure::before {
  border: 1px solid rgba(85, 241, 255, 0.12);
  border-radius: inherit;
  transform: scale(0.97);
}

.character-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  transform: scale(1.01);
  transition: transform 720ms var(--ease), filter 720ms var(--ease);
}

.character-card:hover .character-figure,
.character-card:focus-within .character-figure {
  border-color: rgba(85, 241, 255, 0.34);
  box-shadow: 0 30px 110px rgba(85, 241, 255, 0.12), 0 22px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-8px);
}

.character-card:hover img,
.character-card:focus-within img {
  filter: saturate(1.14) contrast(1.04);
  transform: scale(1.06);
}

.character-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: grid;
  gap: 5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.character-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.character-role {
  color: rgba(238, 245, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.35;
}

.character-note-panel {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(205px, 15vw, 230px);
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(224, 237, 255, 0.14);
  border-radius: 8px;
  aspect-ratio: auto;
  color: inherit;
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(3, 4, 10, 0.38);
  box-shadow: 0 22px 76px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
  transition: transform 420ms var(--ease), border-color 420ms var(--ease), box-shadow 420ms var(--ease);
}

.character-note-panel:focus-visible {
  outline: none;
}

.character-note-panel::before,
.character-note-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.character-note-panel::before {
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(85, 241, 255, 0.12);
  border-radius: inherit;
  transform: scale(0.97);
}

.character-note-panel::after {
  inset: -30% -70%;
  z-index: 1;
  background: linear-gradient(110deg, transparent 36%, rgba(85, 241, 255, 0.11), rgba(255, 93, 168, 0.08), transparent 64%);
  opacity: 0;
  transform: translateX(-42%) rotate(10deg);
  transition: opacity 520ms var(--ease), transform 860ms var(--ease);
}

.character-card-note:hover .character-note-panel,
.character-card-note:focus-within .character-note-panel {
  border-color: rgba(85, 241, 255, 0.34);
  box-shadow: 0 30px 110px rgba(85, 241, 255, 0.12), 0 22px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-8px) scale(1.025);
}

.character-card-note:hover .character-note-panel::after,
.character-card-note:focus-within .character-note-panel::after {
  opacity: 1;
  transform: translateX(42%) rotate(10deg);
}

.character-note-panel h3 {
  position: relative;
  z-index: 3;
  max-width: 14ch;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.08;
}

.character-note-panel p {
  position: relative;
  z-index: 3;
  color: rgba(238, 245, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.42;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.system-panel {
  position: relative;
  min-height: 420px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 12%, rgba(85, 241, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 14% 86%, rgba(255, 93, 168, 0.09), transparent 15rem),
    rgba(3, 4, 10, 0.48);
  box-shadow: 0 24px 88px rgba(0, 0, 0, 0.34);
}

.system-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.system-panel > * {
  position: relative;
  z-index: 1;
}

.system-label {
  display: inline-flex;
  margin-bottom: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(224, 237, 255, 0.14);
  border-radius: 999px;
  color: rgba(85, 241, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.system-panel h3 {
  max-width: 540px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 2.18rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.system-panel p {
  max-width: 620px;
  color: rgba(238, 245, 255, 0.72);
  font-size: 1rem;
  line-height: 1.72;
}

.system-glyph {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(224, 237, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(85, 241, 255, 0.16), transparent 58%),
    conic-gradient(from 30deg, rgba(85, 241, 255, 0.1), rgba(125, 77, 255, 0.38), rgba(255, 93, 168, 0.18), rgba(85, 241, 255, 0.1));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.06), 0 0 42px rgba(85, 241, 255, 0.12);
}

.system-glyph::before,
.system-glyph::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(238, 245, 255, 0.18);
  border-radius: inherit;
}

.system-glyph::before {
  inset: 18px;
}

.system-glyph::after {
  inset: 34px;
  background: rgba(238, 245, 255, 0.7);
}

.final-section {
  padding: 126px var(--pad) 74px;
}

.final-inner {
  width: min(100%, 840px);
  margin: 0 auto;
  padding: 58px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.final-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.final-inner p {
  max-width: 610px;
  margin: 0 auto 28px;
}

.cta-row-center {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin: 0 auto;
  padding: 28px var(--pad) 38px;
  color: rgba(238, 245, 255, 0.52);
  font-size: 0.88rem;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .character-gallery {
    width: min(100%, 820px);
  }

  .interface-frame {
    --interface-height: clamp(680px, 86vh, 860px);
  }

  .top-nav {
    justify-content: center;
    padding-inline: 6px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-section {
    padding-top: 110px;
  }

  .section-title {
    font-size: 3rem;
  }

  .feature-layout,
  .feature-layout-reverse,
  .capability-grid,
  .split-copy {
    grid-template-columns: 1fr;
  }

  .feature-layout-reverse .feature-copy {
    order: 0;
  }

  .artifact-panel {
    min-height: 380px;
  }

  .character-card {
    grid-column: span 6;
  }

  .character-card:nth-child(n),
  .character-card-note {
    grid-column: span 6;
    --lift: 0px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-title {
    font-size: 2.85rem;
    line-height: 1.14;
  }

  .hero-cinema {
    margin-top: 32px;
    margin-bottom: 56px;
  }

  .hero-cinema,
  .hero-interface {
    width: calc(100% + (var(--pad) * 2));
    max-width: none;
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
  }

  .hero-interface {
    margin-top: 34px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .interface-frame {
    --interface-height: clamp(660px, 88vh, 820px);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    max-width: 310px;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-title {
    font-size: 2.7rem;
  }

  .final-title {
    font-size: 3.1rem;
  }

  .character-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 430px);
  }

  .character-card {
    grid-column: auto;
  }

  .character-card:nth-child(n),
  .character-card-note {
    grid-column: auto;
    --lift: 0px;
  }

  .system-panel {
    min-height: auto;
    padding: 24px;
  }

  .system-label {
    margin-bottom: 70px;
  }

  .system-panel h3 {
    font-size: 2.25rem;
  }

  .site-footer {
    display: grid;
  }
}
