:root {
  color-scheme: dark;
  --bg: #050705;
  --panel: rgba(10, 15, 12, 0.7);
  --panel-strong: rgba(12, 18, 15, 0.84);
  --ink: #fbfbf4;
  --muted: #aeb8ae;
  --line: rgba(204, 236, 205, 0.16);
  --line-hot: rgba(216, 255, 151, 0.52);
  --cyan: #58ffda;
  --green: #b5ff67;
  --amber: #ffd166;
  --red: #ff6d5e;
  --blue: #9ab6ff;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  --pointer-x: 50vw;
  --pointer-y: 48vh;
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  --scene-shift-x: 0px;
  --scene-shift-y: 0px;
  --scene-local-x: 50%;
  --scene-local-y: 50%;
  --ship-x: 50vw;
  --ship-y: 48vh;
  --ship-rotate: -6deg;
  --ship-trail-width: 72px;
  --ship-trail-scale: 1;
  --ship-trail-opacity: 0.1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(181, 255, 103, 0.12), transparent 20rem),
    radial-gradient(circle at 78% 48%, rgba(88, 255, 218, 0.1), transparent 34rem),
    radial-gradient(circle at 38% 16%, rgba(255, 209, 102, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(5, 7, 5, 0.68) 0%, rgba(5, 7, 5, 0.96) 76%, #030403 100%),
    var(--bg);
  color: var(--ink);
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", monospace;
  line-height: 1.68;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 18%, rgba(121, 168, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 34%, rgba(255, 209, 102, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 72%, rgba(88, 255, 218, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 82%, rgba(255, 77, 125, 0.62) 0 1px, transparent 2px);
  background-size: 180px 150px, 240px 190px, 310px 230px, 210px 270px, 360px 310px;
  opacity: 0.72;
  animation: starfield-drift 42s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 54%, rgba(226, 96, 66, 0.12), transparent 28%),
    radial-gradient(ellipse at 78% 16%, rgba(121, 168, 255, 0.13), transparent 36%),
    radial-gradient(ellipse at 58% 62%, rgba(88, 255, 218, 0.08), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

body.studio-play-home::before,
body.studio-play-home::after {
  display: none;
}

body.studio-play-home {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 244, 0.08), transparent 11rem),
    radial-gradient(ellipse at 70% 48%, rgba(90, 225, 255, 0.13), transparent 34rem),
    linear-gradient(135deg, #000307 0%, #02080b 48%, #000 100%);
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 360px;
  height: 360px;
  display: block;
  pointer-events: none;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 255, 244, 0.18), rgba(88, 255, 218, 0.12) 28%, rgba(255, 209, 102, 0.06) 46%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.75;
  will-change: transform;
}

.studio-play-home .cursor-light {
  width: 300px;
  height: 300px;
  background:
    radial-gradient(circle, rgba(255, 255, 244, 0.12), rgba(90, 225, 255, 0.1) 20%, rgba(245, 181, 96, 0.04) 38%, transparent 66%);
  opacity: 0.58;
}

.cursor-ship {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 7;
  width: clamp(124px, 15vw, 232px);
  height: auto;
  display: block;
  pointer-events: none;
  transform: translate3d(var(--ship-x), var(--ship-y), 0) translate(-50%, -50%) rotate(var(--ship-rotate));
  transform-origin: 50% 50%;
  opacity: 0.98;
  will-change: transform;
}

.cursor-ship::before,
.cursor-ship::after {
  content: "";
  position: absolute;
  left: 24px;
  display: none;
  width: 32px;
  height: 13px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(114, 235, 255, 0.22), rgba(179, 82, 255, 0.58) 48%, rgba(40, 52, 78, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0.82;
}

.cursor-ship img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 244, 0.2))
    drop-shadow(0 0 18px rgba(90, 225, 255, 0.45))
    drop-shadow(0 0 34px rgba(182, 108, 255, 0.18));
}

.cursor-ship::before {
  top: 5px;
  clip-path: polygon(0 100%, 26% 18%, 100% 0, 64% 100%);
}

.cursor-ship::after {
  bottom: 5px;
  clip-path: polygon(0 0, 64% 0, 100% 100%, 26% 82%);
}

.ship-hull,
.ship-window,
.ship-trail {
  position: absolute;
  pointer-events: none;
}

.ship-hull {
  left: 20px;
  top: 13px;
  width: 54px;
  height: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(90deg, #060812 0%, #142136 42%, #03050c 100%),
    linear-gradient(180deg, rgba(91, 230, 255, 0.24), rgba(182, 69, 255, 0.14) 54%, rgba(0, 0, 0, 0.26));
  clip-path: polygon(0 50%, 18% 19%, 55% 0, 100% 50%, 55% 100%, 18% 81%);
  box-shadow:
    0 0 0 1px rgba(169, 244, 255, 0.16),
    0 0 18px rgba(87, 222, 255, 0.22),
    0 0 24px rgba(177, 82, 255, 0.16);
}

.ship-hull::before,
.ship-hull::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ship-hull::before {
  left: 13px;
  top: 13px;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(114, 235, 255, 0.88), rgba(255, 255, 244, 0.68), transparent);
  clip-path: polygon(0 50%, 26% 0, 100% 50%, 26% 100%);
}

.ship-hull::after {
  left: 8px;
  bottom: 3px;
  width: 35px;
  height: 5px;
  background: linear-gradient(90deg, rgba(179, 82, 255, 0), rgba(179, 82, 255, 0.6), rgba(87, 222, 255, 0.42));
  clip-path: polygon(0 100%, 34% 0, 100% 42%, 42% 100%);
  opacity: 0.78;
}

.ship-window {
  left: 56px;
  top: 23px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(223, 252, 255, 0.84);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 244, 0.95), rgba(94, 225, 255, 0.8) 38%, rgba(16, 32, 56, 0.95) 74%);
  box-shadow:
    0 0 10px rgba(94, 225, 255, 0.7),
    inset 0 0 5px rgba(0, 0, 0, 0.28);
}

.ship-trail {
  left: -18%;
  top: 42%;
  z-index: 1;
  width: var(--ship-trail-width);
  height: 24%;
  transform-origin: 100% 50%;
  transform: scaleX(var(--ship-trail-scale));
  background: radial-gradient(ellipse at 100% 50%, rgba(255, 255, 244, 0.86), rgba(90, 225, 255, 0.52) 24%, rgba(182, 108, 255, 0.28) 56%, transparent 76%);
  opacity: var(--ship-trail-opacity);
}

.ship-trail::before {
  content: "";
  position: absolute;
  inset: 4px 8px 4px 0;
  background: linear-gradient(90deg, transparent, rgba(178, 72, 255, 0.48), rgba(94, 225, 255, 0.76), rgba(255, 255, 244, 0.82));
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.78), rgba(5, 7, 5, 0.18));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.studio-play-home .site-header {
  display: none;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(88, 255, 218, 0.28), 0 0 46px rgba(255, 209, 102, 0.08);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a,
.language-control {
  padding: 8px 10px;
  border: 1px solid rgba(176, 222, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.018);
}

.nav-links a:hover,
.language-control:hover {
  border-color: rgba(255, 216, 117, 0.28);
  color: var(--ink);
  background: rgba(255, 216, 117, 0.055);
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
}

.language-control select {
  min-width: 118px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.language-control select option {
  background: #090d12;
  color: var(--ink);
}

.page {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: grid;
  align-items: start;
  overflow: hidden;
}

.hero-split {
  position: relative;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  isolation: isolate;
}

.studio-play-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.48) 34%, rgba(0, 0, 0, 0.1) 61%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 44%, rgba(0, 0, 0, 0.42));
}

.hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  max-width: min(620px, 42vw);
  margin: clamp(118px, 27vh, 280px) 0 0 clamp(64px, 6.9vw, 128px);
}

.eyebrow,
.card-label,
.panel-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin: 12px 0 0;
  color: rgba(220, 230, 225, 0.66);
  font-weight: 760;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(72px, 8.4vw, 132px);
  font-weight: 950;
  line-height: 0.92;
  text-shadow:
    0 0 26px rgba(255, 255, 255, 0.12),
    0 0 78px rgba(88, 255, 218, 0.12),
    0 0 124px rgba(255, 209, 102, 0.08);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.02em;
}

.interactive-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-height: 0;
  display: grid;
  place-items: stretch;
  isolation: isolate;
  perspective: 1400px;
  overflow: hidden;
  cursor: crosshair;
}

.interactive-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 71% 47%, rgba(90, 225, 255, 0.16), transparent 25%),
    radial-gradient(ellipse at 84% 55%, rgba(245, 181, 96, 0.12), transparent 21%);
  opacity: 0.72;
}

.interactive-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(255, 255, 244, 0.08), transparent 46%),
    linear-gradient(90deg, rgba(255, 255, 244, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 96px 100%;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0 44%, transparent 78%);
  transform: translate3d(calc(var(--scene-shift-x) * -0.32), calc(var(--scene-shift-y) * -0.32), -80px);
}

.scene-shell {
  position: absolute;
  z-index: 2;
  inset: -10vh -10vw;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at var(--scene-local-x) var(--scene-local-y), rgba(255, 255, 244, 0.09), transparent 12%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 48%),
    url("transit-gate-bg.png") center center / cover no-repeat;
  background-position: var(--scene-local-x) var(--scene-local-y), center center, 50% 50%;
  background-size: auto, auto, 105% 105%;
  box-shadow:
    0 0 150px rgba(90, 225, 255, 0.08),
    inset 0 -140px 180px rgba(0, 0, 0, 0.32);
  transform:
    translate3d(var(--scene-shift-x), var(--scene-shift-y), 0)
    rotateX(var(--scene-tilt-x))
    rotateY(var(--scene-tilt-y));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
  animation: transit-background-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

.scene-shell::before,
.scene-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-shell::before {
  z-index: 1;
  background:
    linear-gradient(112deg, transparent 0 40%, rgba(255, 255, 244, 0.065) 47%, transparent 56%),
    repeating-radial-gradient(ellipse at 72% 48%, rgba(90, 225, 255, 0.035) 0 1px, transparent 1px 38px);
  mask-image: radial-gradient(ellipse at 72% 49%, #000 0 42%, transparent 76%);
  opacity: 0.55;
}

.scene-shell::after {
  z-index: 3;
  border: 0;
  background:
    radial-gradient(circle at var(--scene-local-x) var(--scene-local-y), rgba(255, 255, 244, 0.11), transparent 10%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.24) 34%, transparent 64%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 22% 70%, rgba(0, 0, 0, 0.62));
  mix-blend-mode: screen;
  opacity: 0.62;
}

.studio-canvas,
.glass-sheen,
.transit-motion-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.studio-canvas {
  z-index: 2;
  display: block;
}

.transit-motion-layer {
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.transit-craft {
  position: absolute;
  display: block;
  width: clamp(72px, 8vw, 128px);
  height: auto;
  opacity: 0;
  filter:
    saturate(1.08)
    contrast(1.08)
    drop-shadow(0 0 10px rgba(90, 225, 255, 0.25));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.transit-craft-a {
  left: 52%;
  top: 41%;
  animation: transit-craft-a 18s linear infinite;
}

.transit-craft-b {
  left: 70%;
  top: 56%;
  width: clamp(56px, 6vw, 96px);
  animation: transit-craft-b 22s linear infinite 2.6s;
}

.transit-craft-c {
  left: 43%;
  top: 30%;
  width: clamp(48px, 5vw, 78px);
  animation: transit-craft-c 24s linear infinite 5s;
}

.transit-beam {
  position: absolute;
  display: block;
  width: min(34vw, 460px);
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(90, 225, 255, 0.54) 26%, rgba(255, 255, 244, 0.76) 48%, rgba(245, 181, 96, 0.24) 68%, transparent);
  filter: drop-shadow(0 0 10px rgba(90, 225, 255, 0.28));
  transform-origin: 0 50%;
  will-change: transform, opacity;
}

.beam-a {
  --beam-angle: -8deg;
  left: 58%;
  top: 46%;
  animation: transit-beam-pass 4.8s ease-in-out infinite 0.4s;
}

.beam-b {
  --beam-angle: 11deg;
  left: 63%;
  top: 58%;
  width: min(28vw, 360px);
  animation: transit-beam-pass 6.2s ease-in-out infinite 1.6s;
}

.beam-c {
  --beam-angle: -25deg;
  left: 47%;
  top: 33%;
  width: min(24vw, 320px);
  opacity: 0;
  animation: transit-beam-pass 7.4s ease-in-out infinite 3s;
}

.glass-sheen {
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 244, 0.1) 49%, transparent 58%),
    radial-gradient(circle at var(--scene-local-x) var(--scene-local-y), rgba(255, 255, 244, 0.17), transparent 13%);
  mix-blend-mode: screen;
  opacity: 0.3;
}

.scene-corner {
  display: none;
}

.corner-a {
  left: 14px;
  top: 14px;
  border-width: 1px 0 0 1px;
}

.corner-b {
  right: 14px;
  top: 14px;
  border-width: 1px 1px 0 0;
}

.corner-c {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.corner-d {
  left: 14px;
  bottom: 14px;
  border-width: 0 0 1px 1px;
}

.scene-hover .scene-shell {
  box-shadow:
    0 0 180px rgba(90, 225, 255, 0.12),
    inset 0 -140px 180px rgba(0, 0, 0, 0.32);
}

.scene-activated .scene-shell {
  box-shadow:
    0 0 210px rgba(245, 181, 96, 0.18),
    0 0 130px rgba(90, 225, 255, 0.12),
    inset 0 -140px 180px rgba(0, 0, 0, 0.32);
}

h2 {
  margin-top: 32px;
  font-size: 24px;
  font-weight: 920;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #c6d0cc;
  font-size: 17px;
}

.hero-actions,
.button-row,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.button-row {
  margin-top: 18px;
}

.meta {
  margin-top: 24px;
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.button {
  position: relative;
  min-width: 220px;
  min-height: 54px;
  gap: 11px;
  padding: 12px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 244, 0.08), rgba(92, 222, 255, 0.035)),
    rgba(2, 3, 3, 0.36);
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  border-color: rgba(255, 255, 244, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 34px rgba(255, 255, 244, 0.06);
  backdrop-filter: blur(16px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.studio-play-home .button {
  backdrop-filter: none;
}

.button::after {
  content: "";
  width: 13px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0.64;
  transform: skewX(-28deg) translateY(1px);
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 244, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 244, 0.12), rgba(92, 222, 255, 0.075)),
    rgba(255, 255, 244, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 52px rgba(92, 222, 255, 0.2),
    0 0 22px rgba(255, 216, 128, 0.1);
}

.button:hover::after {
  opacity: 0.9;
  transform: skewX(-28deg) translate(3px, 1px);
}

.button.secondary {
  background: rgba(2, 3, 3, 0.24);
  color: #dce5e1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 244, 0.045),
    0 0 28px rgba(255, 255, 244, 0.035);
}

.pill {
  max-width: 100%;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(5, 8, 12, 0.58);
  font-size: 12px;
  font-weight: 780;
}

.card,
.notice,
.toc,
.document,
.product-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
}

@keyframes starfield-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-72px, 38px, 0);
  }
}

@keyframes transit-background-drift {
  0% {
    background-position: var(--scene-local-x) var(--scene-local-y), center center, 50% 50%;
    background-size: auto, auto, 105% 105%;
  }

  100% {
    background-position: var(--scene-local-x) var(--scene-local-y), center center, 53% 48%;
    background-size: auto, auto, 108% 108%;
  }
}

@keyframes transit-craft-a {
  0% {
    opacity: 0;
    transform: translate3d(-48px, 18px, 0) rotate(-8deg) scale(0.3);
  }

  12%,
  68% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translate3d(210px, -38px, 0) rotate(-6deg) scale(0.42);
  }
}

@keyframes transit-craft-b {
  0% {
    opacity: 0;
    transform: translate3d(70px, 36px, 0) rotate(-13deg) scale(0.34);
  }

  14%,
  62% {
    opacity: 0.24;
  }

  100% {
    opacity: 0;
    transform: translate3d(-180px, -52px, 0) rotate(-16deg) scale(0.3);
  }
}

@keyframes transit-craft-c {
  0% {
    opacity: 0;
    transform: translate3d(-36px, -24px, 0) rotate(7deg) scale(0.25);
  }

  18%,
  66% {
    opacity: 0.18;
  }

  100% {
    opacity: 0;
    transform: translate3d(160px, 48px, 0) rotate(9deg) scale(0.32);
  }
}

@keyframes transit-beam-pass {
  0% {
    opacity: 0;
    transform: translate3d(-40px, 0, 0) rotate(var(--beam-angle)) scaleX(0.18);
  }

  18%,
  56% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translate3d(78px, 0, 0) rotate(var(--beam-angle)) scaleX(1);
  }
}

.support-page {
  min-height: calc(100vh - 122px);
  display: grid;
  align-items: center;
}

.feedback-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.feedback-intro h1 {
  font-size: clamp(48px, 8vw, 92px);
}

.feedback-form {
  position: relative;
  padding: 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.feedback-hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.field:first-of-type {
  margin-top: 0;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(88, 255, 218, 0.22);
  border-radius: 8px;
  outline: 0;
  background: rgba(4, 7, 10, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
}

.field input {
  min-height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 220px;
  resize: vertical;
  padding: 13px;
  line-height: 1.55;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.captcha-question {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(88, 255, 218, 0.22);
  border-radius: 8px;
  color: var(--green);
  background: rgba(4, 7, 10, 0.72);
  font-weight: 900;
}

.captcha-refresh {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.captcha-refresh:hover {
  border-color: var(--line-hot);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--line-hot);
  box-shadow: 0 0 0 3px rgba(88, 255, 218, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.form-actions .button {
  border-radius: 8px;
}

.form-note,
.form-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status[data-tone="success"] {
  color: var(--green);
}

.form-status[data-tone="error"] {
  color: #ff7b9d;
}

.section-heading {
  margin: 18px 0 14px;
}

.section-heading h2 {
  max-width: 720px;
  margin-top: 0;
  font-size: 32px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.grid.three,
.grid:not(.two) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.notice,
.toc,
.document {
  padding: 24px;
}

.card {
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--cyan);
}

.card.accent-green::before {
  background: var(--green);
}

.card.accent-amber::before {
  background: var(--amber);
}

.card h2,
.notice h2,
.document section:first-child h2 {
  margin-top: 0;
}

.card p,
.notice p,
.product-strip p {
  margin: 10px 0 0;
  color: var(--muted);
}

.accent-blue .card-label {
  color: var(--cyan);
}

.accent-green .card-label {
  color: var(--green);
}

.accent-amber .card-label {
  color: var(--amber);
}

.notice,
.toc,
.document {
  margin-top: 16px;
  background: var(--panel-strong);
}

.document {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.toc ul,
.document ol,
.document ul {
  padding-left: 1.35em;
}

.toc li,
.document li {
  margin: 6px 0;
}

.document p {
  margin: 12px 0;
}

.document h1 {
  font-size: 30px;
}

.language-nav {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-nav a,
.language-nav .pill {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--cyan);
  text-decoration: none;
  font-size: 12px;
  font-weight: 780;
}

.language-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.language-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.language-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.site-footer {
  border-top: 0;
  background: linear-gradient(0deg, rgba(3, 4, 11, 0.84), rgba(3, 4, 11, 0.26));
  backdrop-filter: blur(18px);
}

.studio-play-home .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 3, 7, 0.72) 18%, rgba(0, 3, 7, 0.94) 100%);
  backdrop-filter: none;
  pointer-events: auto;
}

.footer-inner,
.site-footer > p {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.studio-play-home .footer-inner {
  padding: 12px 0 14px;
  color: rgba(232, 239, 232, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
}

.studio-play-home .site-footer a {
  color: rgba(207, 255, 232, 0.9);
}

.police-filing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-filing img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .hero {
    min-height: calc(100vh - 132px);
    overflow: hidden;
  }

  .hero-split {
    min-height: calc(100vh - 176px);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    max-width: 100%;
    margin: clamp(104px, 24vh, 180px) 0 0 clamp(28px, 7vw, 64px);
  }

  .interactive-scene {
    position: fixed;
    inset: 0;
    min-height: 0;
    order: initial;
  }

  .scene-shell {
    inset: -10vh -12vw;
    width: auto;
    height: auto;
    min-height: 0;
  }

  .feedback-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .language-control {
    padding-left: 0;
  }

  .page {
    padding-top: 0;
  }

  .hero {
    padding: 0;
  }

  .studio-play-home .hero::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.25) 56%, transparent 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.54) 100%);
  }

  .interactive-scene {
    min-height: 0;
  }

  .scene-shell {
    width: auto;
    height: auto;
    min-height: 0;
  }

  h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-width: min(154px, calc(50vw - 24px));
    min-height: 42px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .cursor-light {
    width: 260px;
    height: 260px;
    opacity: 0.55;
  }

  .cursor-ship {
    width: clamp(104px, 30vw, 138px);
    height: auto;
  }

  .ship-trail {
    left: -18%;
    top: 42%;
    width: var(--ship-trail-width);
    height: 24%;
  }

  .hero,
  .card,
  .notice,
  .toc,
  .document {
    padding: 22px 0;
  }

  .grid.three,
  .grid:not(.two) {
    grid-template-columns: 1fr;
  }

  .card,
  .notice,
  .toc,
  .document {
    padding: 20px;
  }

  .support-page {
    min-height: 0;
  }

  .feedback-form {
    padding: 20px;
  }

  .form-actions {
    justify-content: flex-start;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .studio-play-home .footer-inner {
    gap: 3px;
    padding: 9px 0 10px;
    font-size: 11px;
  }
}

@media (pointer: coarse) {
  .cursor-ship {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
