:root {
  --bg: #06080f;
  --bg-deep: #03050a;
  --panel: rgba(11, 17, 29, 0.76);
  --panel-strong: rgba(12, 21, 35, 0.92);
  --panel-soft: rgba(18, 28, 43, 0.58);
  --text: #f4f7fb;
  --muted: #aab7c7;
  --quiet: #708196;
  --line: rgba(139, 183, 255, 0.2);
  --line-strong: rgba(121, 188, 255, 0.38);
  --blue: #45a3ff;
  --cyan: #39f6d3;
  --amber: #ffd166;
  --dangerless: #77ffbc;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    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: 3px 3px, 4px 4px;
  mix-blend-mode: screen;
}

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

button {
  color: inherit;
  font: inherit;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(69, 163, 255, 0.16), transparent 32%),
    linear-gradient(248deg, rgba(57, 246, 211, 0.1), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 209, 102, 0.08), transparent 32%),
    linear-gradient(180deg, var(--bg-deep), #08111d 48%, #050914);
}

.site-bg::before {
  position: absolute;
  inset: -20%;
  content: "";
  opacity: 0.26;
  background:
    linear-gradient(112deg, transparent 18%, rgba(69, 163, 255, 0.12) 28%, transparent 38%),
    linear-gradient(68deg, transparent 52%, rgba(57, 246, 211, 0.1) 62%, transparent 72%);
  animation: drift-light 18s ease-in-out infinite alternate;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(circle, rgba(101, 151, 220, 0.2) 0 0.75px, transparent 1.25px),
    radial-gradient(circle, rgba(57, 246, 211, 0.16) 0 1px, transparent 1.75px);
  background-position: 0 0, 0 0;
  background-size: 42px 42px, 168px 168px;
  mask-image: linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
}

.bg-glow {
  position: absolute;
  width: 72vw;
  height: 34vh;
  filter: blur(44px);
  opacity: 0.42;
  transform: rotate(-8deg);
}

.bg-glow-a {
  top: 8%;
  left: 12%;
  background: linear-gradient(90deg, transparent, rgba(69, 163, 255, 0.34), rgba(57, 246, 211, 0.18), transparent);
}

.bg-glow-b {
  right: -18%;
  bottom: 10%;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.14), rgba(69, 163, 255, 0.22), transparent);
}

.bg-dust {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-dust span {
  --dust-color: var(--cyan);
  --dust-delay: 0s;
  --dust-drift: 12px;
  --dust-duration: 36s;
  --dust-opacity: 0.2;
  --dust-size: 1px;
  position: absolute;
  top: 112%;
  left: 50%;
  width: var(--dust-size);
  height: var(--dust-size);
  border-radius: 50%;
  opacity: 0;
  background: var(--dust-color);
  box-shadow: 0 0 8px 1px var(--dust-color);
  pointer-events: none;
  animation-name: dust-rise;
  animation-duration: var(--dust-duration);
  animation-delay: var(--dust-delay);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.bg-dust span:nth-child(1) {
  --dust-delay: -19s;
  --dust-drift: 12px;
  --dust-duration: 31s;
  --dust-opacity: 0.22;
  --dust-size: 1px;
  left: 6%;
}

.bg-dust span:nth-child(2) {
  --dust-color: var(--blue);
  --dust-delay: -6s;
  --dust-drift: -14px;
  --dust-duration: 37s;
  --dust-opacity: 0.18;
  --dust-size: 2px;
  left: 14%;
}

.bg-dust span:nth-child(3) {
  --dust-delay: -31s;
  --dust-drift: 16px;
  --dust-duration: 42s;
  --dust-opacity: 0.2;
  --dust-size: 1.5px;
  left: 23%;
}

.bg-dust span:nth-child(4) {
  --dust-color: var(--amber);
  --dust-delay: -14s;
  --dust-drift: -10px;
  --dust-duration: 29s;
  --dust-opacity: 0.28;
  --dust-size: 1px;
  left: 32%;
}

.bg-dust span:nth-child(5) {
  --dust-color: var(--blue);
  --dust-delay: -27s;
  --dust-drift: 14px;
  --dust-duration: 34s;
  --dust-opacity: 0.18;
  --dust-size: 2px;
  left: 41%;
}

.bg-dust span:nth-child(6) {
  --dust-delay: -8s;
  --dust-drift: -18px;
  --dust-duration: 40s;
  --dust-opacity: 0.24;
  --dust-size: 1px;
  left: 50%;
}

.bg-dust span:nth-child(7) {
  --dust-color: var(--blue);
  --dust-delay: -22s;
  --dust-drift: 9px;
  --dust-duration: 28s;
  --dust-opacity: 0.2;
  --dust-size: 1.5px;
  left: 59%;
}

.bg-dust span:nth-child(8) {
  --dust-delay: -16s;
  --dust-drift: -12px;
  --dust-duration: 36s;
  --dust-opacity: 0.22;
  --dust-size: 2px;
  left: 67%;
}

.bg-dust span:nth-child(9) {
  --dust-delay: -33s;
  --dust-drift: 18px;
  --dust-duration: 39s;
  --dust-opacity: 0.2;
  --dust-size: 1px;
  left: 75%;
}

.bg-dust span:nth-child(10) {
  --dust-color: var(--blue);
  --dust-delay: -11s;
  --dust-drift: -14px;
  --dust-duration: 32s;
  --dust-opacity: 0.18;
  --dust-size: 1.5px;
  left: 82%;
}

.bg-dust span:nth-child(11) {
  --dust-color: var(--amber);
  --dust-delay: -25s;
  --dust-drift: 10px;
  --dust-duration: 41s;
  --dust-opacity: 0.28;
  --dust-size: 2px;
  left: 89%;
}

.bg-dust span:nth-child(12) {
  --dust-delay: -4s;
  --dust-drift: -16px;
  --dust-duration: 35s;
  --dust-opacity: 0.22;
  --dust-size: 1px;
  left: 96%;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.nav::before {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 132px;
  content: "";
  background: linear-gradient(180deg, rgba(3, 5, 10, 0.86) 0%, rgba(3, 5, 10, 0.64) 44%, rgba(3, 5, 10, 0.18) 76%, rgba(3, 5, 10, 0) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease;
}

nav a::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer {
  padding: 54px 0 36px;
  color: var(--quiet);
  font-size: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(139, 183, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  background: rgba(16, 27, 45, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(-70%);
  transition: transform 360ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 246, 211, 0.56);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24), 0 0 30px rgba(69, 163, 255, 0.16);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(70%);
}

.btn.primary {
  border-color: rgba(69, 163, 255, 0.76);
  color: #04101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 60px rgba(69, 163, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn.secondary {
  background: rgba(11, 17, 29, 0.62);
}

.eyebrow,
.panel-label,
.mini-note {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 14px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 680px;
  padding: 44px 0 104px;
  overflow: visible;
}

.hero::before {
  position: absolute;
  top: -86px;
  bottom: 58px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  border-top: 1px solid rgba(139, 183, 255, 0.12);
  border-bottom: 1px solid rgba(139, 183, 255, 0.14);
  background:
    linear-gradient(90deg, transparent 5%, rgba(69, 163, 255, 0.1) 20%, rgba(57, 246, 211, 0.38) 44%, rgba(255, 209, 102, 0.12) 58%, transparent 95%) center bottom / 100% 1px no-repeat,
    radial-gradient(ellipse at 45% 100%, rgba(57, 246, 211, 0.07), transparent 54%),
    radial-gradient(circle at 70% 24%, rgba(69, 163, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(6, 12, 24, 0.88), rgba(8, 21, 32, 0.68) 58%, rgba(5, 10, 18, 0.78));
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-hud-stage {
  position: absolute;
  inset: 52px -120px 126px 37%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.72) 38%, black 68%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.72) 38%, black 68%, transparent 100%);
}

.hero-hud-lane {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  gap: 14px;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  will-change: transform;
}

.hero-lane-a {
  top: 6%;
  animation-name: hero-drift-right;
}

.hero-lane-b {
  top: 31%;
  animation-name: hero-drift-left;
  animation-duration: 22s;
}

.hero-lane-c {
  top: 56%;
  animation-name: hero-drift-right;
  animation-duration: 20s;
}

.hero-lane-d {
  top: 80%;
  animation-name: hero-drift-left;
  animation-duration: 24s;
}

.hero-hud-chip {
  display: inline-grid;
  min-width: 132px;
  min-height: 58px;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(139, 183, 255, 0.21);
  border-radius: var(--radius);
  color: rgba(244, 247, 251, 0.82);
  background: rgba(7, 13, 24, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  font-family: Consolas, "Cascadia Mono", monospace;
  line-height: 1.05;
  white-space: nowrap;
}

.hero-hud-chip strong {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-hud-chip em {
  color: rgba(244, 247, 251, 0.88);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.hero-hud-chip.is-cyan strong {
  color: var(--cyan);
}

.hero-hud-chip.is-warm strong {
  color: var(--amber);
}

.hero-fade-guard {
  position: absolute;
  top: -86px;
  bottom: 58px;
  left: 50%;
  z-index: 1;
  width: 100vw;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 0.74) 30%, rgba(6, 8, 15, 0.22) 58%, transparent 82%);
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: rise-in 640ms ease both;
}

.hero h1 {
  margin: 14px 0 0;
  color: var(--text);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  font-size: 86px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 34px rgba(69, 163, 255, 0.2);
}

.hero-slogan {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.hero-desc {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.feature-card::after,
.page-panel::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 5px;
  pointer-events: none;
}

.chip-row span,
.boundary-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(139, 183, 255, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 38px;
  align-items: center;
  padding: 48px 0 84px;
  border-bottom: 1px solid rgba(139, 183, 255, 0.12);
}

.feature-band h2,
.section-heading h2,
.boundary-section h2,
.page-hero h1 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1.15;
}

.feature-band p,
.boundary-section p,
.page-hero p,
.page-panel p,
.feature-card p,
.video-copy p {
  color: var(--muted);
}

.feature-band-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 17px;
}

.mini-note {
  display: inline-flex;
  margin-top: 22px;
  border: 1px solid rgba(255, 209, 102, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--amber);
  background: rgba(255, 209, 102, 0.06);
}

.compatibility-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.compatibility-tags .mini-note {
  margin-top: 0;
}

.compatibility-tag {
  align-items: center;
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

a.compatibility-tag:hover,
a.compatibility-tag:focus-visible {
  border-color: rgba(255, 209, 102, 0.56);
  background: rgba(255, 209, 102, 0.1);
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.09);
  color: #ffe6a3;
  outline: none;
  transform: translateY(-1px);
}

.compatibility-tag-more {
  border-color: rgba(139, 183, 255, 0.15);
  background: rgba(139, 183, 255, 0.04);
  color: rgba(164, 178, 198, 0.72);
  cursor: default;
}

.compatibility-tag-warning {
  position: relative;
}

a.compatibility-tag-warning:hover,
a.compatibility-tag-warning:focus-visible {
  border-color: rgba(255, 82, 82, 0.72);
  background: rgba(255, 64, 64, 0.1);
  box-shadow: 0 0 18px rgba(255, 64, 64, 0.14);
  color: #ff8585;
}

.compatibility-warning {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 8;
  width: min(280px, calc(100vw - 32px));
  border: 1px solid rgba(255, 82, 82, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(255, 64, 64, 0.08), transparent 48%),
    rgba(10, 12, 20, 0.97);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 64, 64, 0.07);
  color: #ffb1b1;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-align: left;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 7px, 0) scale(0.96);
  transform-origin: center bottom;
  clip-path: inset(0 50% 0 50% round 8px);
  transition: opacity 180ms ease, transform 220ms ease, clip-path 240ms ease;
}

.compatibility-warning::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: calc(50% - 11px);
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 82, 82, 0.82), transparent);
  box-shadow: 0 0 10px rgba(255, 64, 64, 0.24);
}

.compatibility-tag-warning:hover .compatibility-warning,
.compatibility-tag-warning:focus-visible .compatibility-warning {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round 8px);
}

.version-track {
  --version-glow-x: 50%;
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
  min-height: 116px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.version-ruler {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
}

.version-ruler::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(57, 246, 211, 0.18), rgba(139, 183, 255, 0.16) 54%, rgba(255, 209, 102, 0.18));
  box-shadow: none;
  transition: background 180ms ease;
}

.version-ruler::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -28px;
  right: -28px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(57, 246, 211, 0.18) 28px,
    transparent 28px,
    transparent calc(100% - 28px),
    rgba(255, 209, 102, 0.18) calc(100% - 28px),
    transparent 100%
  );
}

.version-ticks {
  position: absolute;
  inset: 2px 0 0;
  height: 13px;
  background:
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 5% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 10% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 15% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 20% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 30% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 35% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 40% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 45% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 55% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 60% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 65% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 70% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 80% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 85% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 90% 0 / 1px 13px no-repeat,
    linear-gradient(rgba(139, 183, 255, 0.16) 0 0) 95% 0 / 1px 13px no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  transition: background 180ms ease;
}

.version-marks {
  position: relative;
  z-index: 2;
  display: flex;
  height: 116px;
  align-items: flex-start;
  justify-content: space-between;
}

.version-mark {
  position: relative;
  flex: 0 0 1px;
  width: 1px;
  height: 104px;
  color: rgba(229, 241, 255, 0.5);
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.version-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 54px;
  height: 104px;
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  top: -86px;
  bottom: 58px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(69, 163, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 163, 255, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(57, 246, 211, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 246, 211, 0.1) 1px, transparent 1px);
  background-position: center bottom;
  background-size: 42px 42px, 42px 42px, 168px 168px, 168px 168px;
  -webkit-mask-image:
    radial-gradient(ellipse 48% 54% at 70% 28%, black 0%, rgba(0, 0, 0, 0.74) 38%, transparent 82%),
    radial-gradient(ellipse 42% 38% at 45% 92%, rgba(0, 0, 0, 0.64) 0%, transparent 80%);
  mask-image:
    radial-gradient(ellipse 48% 54% at 70% 28%, black 0%, rgba(0, 0, 0, 0.74) 38%, transparent 82%),
    radial-gradient(ellipse 42% 38% at 45% 92%, rgba(0, 0, 0, 0.64) 0%, transparent 80%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-50%);
}

.version-mark:first-child::before {
  left: 0;
  transform: none;
}

.version-mark:last-child::before {
  right: 0;
  left: auto;
  transform: none;
}

.version-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px;
  height: 28px;
  border-radius: 2px;
  box-shadow: 0 0 var(--mark-glow-size, 0) rgba(57, 246, 211, var(--mark-glow-alpha, 0));
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 160ms ease;
}

.version-mark:nth-child(odd)::after {
  top: 28px;
  height: 30px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(57, 246, 211, 0.08), rgba(57, 246, 211, var(--mark-color-alpha, 0.38)));
}

.version-mark:nth-child(even)::after {
  top: 56px;
  height: 30px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(180deg, rgba(139, 183, 255, var(--mark-color-alpha, 0.38)), rgba(139, 183, 255, 0.08));
}

.version-joint {
  position: absolute;
  top: 54.5px;
  left: 50%;
  z-index: 3;
  width: 5px;
  height: 5px;
  background: rgb(57, 246, 211);
  box-shadow: 0 0 5px rgba(57, 246, 211, 0.12);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.version-mark:nth-child(even) .version-joint {
  background: rgb(139, 183, 255);
  box-shadow: 0 0 5px rgba(139, 183, 255, 0.1);
}

.version-mark:hover .version-joint,
.version-mark:focus-visible .version-joint {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.34), 0 0 8px rgba(57, 246, 211, 0.22);
}

.version-mark:hover,
.version-mark:focus-visible {
  color: var(--text);
  filter: drop-shadow(0 0 8px rgba(57, 246, 211, 0.16));
  outline: none;
}

.version-mark:hover::after,
.version-mark:focus-visible::after {
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.84), rgba(57, 246, 211, 0.78));
  box-shadow: 0 0 16px rgba(57, 246, 211, 0.4), 0 0 10px rgba(255, 209, 102, 0.2);
}

.version-label {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: block;
  transform: translateX(-50%);
  transition: letter-spacing 180ms ease, transform 180ms ease;
}

.version-mark:nth-child(odd) .version-label {
  top: 0;
}

.version-mark:nth-child(even) .version-label {
  top: 91px;
}

.version-mark:first-child .version-label {
  left: 0;
  transform: none;
}

.version-mark:last-child .version-label {
  right: 0;
  left: auto;
  transform: none;
}

.version-mark:hover .version-label,
.version-mark:focus-visible .version-label {
  letter-spacing: 0.08em;
  transform: translateX(-50%) translateY(1px);
}

.version-mark:first-child:hover .version-label,
.version-mark:first-child:focus-visible .version-label,
.version-mark:last-child:hover .version-label,
.version-mark:last-child:focus-visible .version-label {
  transform: translateY(1px);
}

.version-popover {
  position: absolute;
  bottom: calc(100% + 2px);
  left: var(--version-popover-left, 50%);
  right: var(--version-popover-right, auto);
  z-index: 5;
  display: grid;
  min-width: 156px;
  gap: 2px;
  border: 1px solid rgba(139, 183, 255, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(57, 246, 211, 0.06), transparent 42%),
    rgba(3, 12, 22, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 24px rgba(57, 246, 211, 0.05);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--version-popover-x, -50%), 8px, 0) scale(0.96);
  transform-origin: var(--version-popover-origin, center bottom);
  clip-path: inset(0 50% 0 50% round 8px);
  transition: opacity 180ms ease, transform 220ms ease, clip-path 240ms ease;
}

.version-mark:nth-child(even) .version-popover {
  top: calc(100% + 2px);
  bottom: auto;
  transform: translate3d(var(--version-popover-x, -50%), -8px, 0) scale(0.96);
  transform-origin: var(--version-popover-origin, center top);
}

.version-mark:first-child {
  --version-popover-left: 0;
  --version-popover-x: 0;
  --version-popover-origin: left bottom;
}

.version-mark:last-child {
  --version-popover-left: auto;
  --version-popover-right: 0;
  --version-popover-x: 0;
  --version-popover-origin: right bottom;
}

.version-popover::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(57, 246, 211, 0), rgba(57, 246, 211, 0.8), rgba(57, 246, 211, 0));
  box-shadow: 0 0 12px rgba(57, 246, 211, 0.32);
}

.version-mark:first-child .version-popover::after {
  left: 12px;
}

.version-mark:nth-child(even) .version-popover::after {
  top: -7px;
  bottom: auto;
}

.version-mark:last-child .version-popover::after {
  right: 12px;
}

.version-mark:not(:first-child):not(:last-child) .version-popover::after {
  left: calc(50% - 11px);
}

.version-popover-kicker {
  color: var(--cyan);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.version-popover strong {
  color: var(--text);
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.version-popover em {
  color: var(--muted);
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.03em;
}

.version-mark:hover .version-popover,
.version-mark:focus-visible .version-popover {
  opacity: 1;
  transform: translate3d(var(--version-popover-x, -50%), 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round 8px);
}

.version-scan {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  display: block;
  height: 46px;
  overflow: visible;
  background: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.version-scan::before {
  content: "";
  position: absolute;
  top: var(--version-glow-top, 7px);
  left: calc(var(--version-glow-x) - var(--version-glow-offset, 45px));
  width: var(--version-glow-width, 90px);
  height: var(--version-glow-height, 30px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(57, 246, 211, 0.24) 0%, rgba(57, 246, 211, 0.1) 38%, transparent 76%);
  filter: blur(3px);
}

.version-scan::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(var(--version-glow-x) - var(--version-glow-line-offset, 54px));
  width: var(--version-glow-line-width, 108px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 246, 211, 0.66) 34%, rgba(57, 246, 211, 0.58) 50%, rgba(255, 209, 102, 0.34) 66%, transparent);
  filter: blur(0.5px);
}

.version-track.version-ruler-active .version-scan,
.version-track:focus-within .version-scan {
  opacity: var(--version-glow-strength, 1);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  padding: 84px 0 30px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 28, 45, 0.86), rgba(6, 10, 18, 0.66)),
    radial-gradient(circle at 12% 0%, rgba(69, 163, 255, 0.12), transparent 46%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 246, 211, 0.4);
  box-shadow: var(--shadow), 0 0 44px rgba(57, 246, 211, 0.09);
}

.feature-card-large {
  display: flex;
  flex-direction: column;
  grid-row: span 2;
}

.feature-card h2 {
  margin: 18px 0 0;
  font-size: 30px;
}

.feature-card p:not(.panel-label) {
  margin: 14px 0 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.style-preview {
  --style-accent: var(--cyan);
  position: relative;
  flex: 1;
  min-height: 230px;
  margin-top: 32px;
  border: 1px solid rgba(139, 183, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(57, 246, 211, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(2, 10, 18, 0.28), rgba(5, 12, 22, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 46px rgba(69, 163, 255, 0.04);
  isolation: isolate;
}

.style-preview::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(139, 183, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 183, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 58% 44%, black 0%, transparent 78%);
}

.style-preview::after {
  position: absolute;
  inset: -45% -20%;
  z-index: -1;
  content: "";
  background: linear-gradient(112deg, transparent 35%, rgba(57, 246, 211, 0.16) 46%, rgba(255, 209, 102, 0.08) 50%, transparent 62%);
  opacity: 0.64;
  animation: editor-scan 6s ease-in-out infinite;
}

.style-guide {
  position: absolute;
  display: block;
  opacity: 0.55;
  pointer-events: none;
}

.style-guide-v {
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(57, 246, 211, 0.48), transparent);
}

.style-guide-h {
  top: 52%;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.38), rgba(57, 246, 211, 0.4), transparent);
}

.style-hud {
  position: absolute;
  display: grid;
  min-width: 92px;
  gap: 2px;
  border: 1px solid rgba(139, 183, 255, 0.25);
  border-radius: 7px;
  padding: 10px 12px;
  background: rgba(5, 15, 27, 0.76);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: grab;
  animation: hud-node-float 4.8s ease-in-out infinite alternate;
  touch-action: none;
  user-select: none;
}

.style-hud em,
.style-hud strong {
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-style: normal;
  line-height: 1.15;
}

.style-hud em {
  color: var(--style-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: color 180ms ease, text-shadow 180ms ease;
  text-shadow: 0 0 14px color-mix(in srgb, var(--style-accent) 34%, transparent);
}

.style-hud strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.style-preview.is-dragging {
  cursor: grabbing;
}

.style-hud.is-positioned {
  animation: none;
  transform: none;
}

.style-hud.is-dragging {
  z-index: 4;
  cursor: grabbing;
  animation: none;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34), 0 0 28px color-mix(in srgb, var(--style-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: none;
}

.style-hud-fps {
  top: 13%;
  left: 12%;
}

.style-hud-cps {
  top: 24%;
  right: 12%;
  animation-delay: -1.1s;
}

.style-hud-ping {
  top: 46%;
  left: 38%;
  min-width: 112px;
  animation-delay: -2.2s;
}

.style-hud-time {
  right: 18%;
  bottom: 13%;
  min-width: 110px;
  animation-delay: -3.3s;
}

.style-palette {
  position: absolute;
  bottom: 15%;
  left: 13%;
  display: flex;
  gap: 8px;
}

.style-swatch {
  display: block;
  width: 19px;
  height: 19px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(57, 246, 211, 0.1);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  appearance: none;
}

.style-swatch:hover,
.style-swatch:focus-visible,
.style-swatch.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 22px currentColor;
  outline: none;
  transform: translateY(-1px) scale(1.08);
}

.style-swatch-cyan {
  color: var(--cyan);
  background: var(--cyan);
}

.style-swatch-blue {
  color: var(--blue);
  background: var(--blue);
}

.style-swatch-amber {
  color: var(--amber);
  background: var(--amber);
}

@keyframes editor-scan {
  0%,
  18% {
    transform: translateX(-22%);
    opacity: 0;
  }

  48% {
    opacity: 0.74;
  }

  100% {
    transform: translateX(22%);
    opacity: 0;
  }
}

@keyframes hud-node-float {
  from {
    transform: translate3d(-2px, -1px, 0);
  }

  to {
    transform: translate3d(3px, 2px, 0);
  }
}

.demo-section,
.steps-section {
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.video-card {
  position: relative;
  display: block;
  min-height: 440px;
  border: 1px solid rgba(139, 183, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(57, 246, 211, 0.06), transparent 38%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: transform 260ms ease, opacity 260ms ease;
}

.video-card.is-cover-ready img {
  opacity: 0.72;
}

.video-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 5, 10, 0.86), rgba(3, 5, 10, 0.44), rgba(3, 5, 10, 0.16));
}

.video-card:hover img {
  transform: scale(1.04);
}

.video-card.is-cover-ready:hover img {
  opacity: 0.86;
}

.play-button {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(6, 12, 22, 0.68);
  backdrop-filter: blur(14px);
}

.play-button::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  content: "";
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--cyan);
  transform: translate(-50%, -50%);
}

.video-copy {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  z-index: 1;
  max-width: 620px;
}

.video-copy h3 {
  margin: 12px 0 0;
  font-size: 36px;
  line-height: 1.15;
}

.boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid rgba(57, 246, 211, 0.12);
  border-bottom: 1px solid rgba(57, 246, 211, 0.12);
}

.boundary-section p {
  max-width: 760px;
  margin-top: 18px;
}

.boundary-tags {
  display: grid;
  gap: 10px;
}

.boundary-tags span {
  justify-content: center;
  border-color: rgba(57, 246, 211, 0.25);
  color: var(--dangerless);
}

.step-track,
.step-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 164px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 28, 45, 0.78), rgba(8, 13, 23, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-card span {
  display: inline-flex;
  width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: var(--radius);
  color: var(--amber);
  background: rgba(255, 209, 102, 0.06);
  font-size: 12px;
  font-weight: 950;
}

.step-card h3,
.step-card h2 {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.step-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.community-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
  isolation: isolate;
}

.community-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(57, 246, 211, 0.12), transparent 34%),
    linear-gradient(290deg, rgba(255, 209, 102, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(69, 163, 255, 0.08), rgba(4, 10, 18, 0));
  pointer-events: none;
}

.community-copy,
.community-qr {
  position: relative;
  z-index: 1;
}

.community-copy h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 36px;
  line-height: 1.15;
}

.community-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.community-actions span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(57, 246, 211, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--cyan);
  background: rgba(57, 246, 211, 0.06);
  font-size: 13px;
  font-weight: 900;
}

.community-qr {
  display: block;
  justify-self: end;
  width: min(100%, 280px);
  border: 1px solid rgba(139, 183, 255, 0.24);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(2, 8, 15, 0.62);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.community-qr:hover,
.community-qr:focus-visible {
  border-color: rgba(57, 246, 211, 0.54);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), 0 0 34px rgba(57, 246, 211, 0.1);
  transform: translateY(-2px);
}

.community-qr img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.page-main {
  min-height: calc(100vh - 170px);
  padding: 74px 0 76px;
}

.page-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: 58px;
}

.page-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 17px;
}

.page-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(14, 24, 40, 0.88), rgba(7, 11, 20, 0.74));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: 34px;
}

.release-panel h2 {
  margin: 12px 0 0;
  font-size: 54px;
  line-height: 1;
}

.release-actions {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.get-page {
  display: grid;
  gap: 22px;
}

.get-section {
  display: grid;
  gap: 18px;
}

.get-section-heading {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 28, 45, 0.86), rgba(6, 10, 18, 0.72)),
    radial-gradient(circle at 20% 0%, rgba(69, 163, 255, 0.1), transparent 46%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-card::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 5px;
  pointer-events: none;
}

.pricing-card-featured {
  border-color: rgba(255, 209, 102, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 209, 102, 0.14), rgba(57, 246, 211, 0.07) 42%, rgba(7, 11, 20, 0.84)),
    rgba(10, 16, 28, 0.92);
  box-shadow: var(--shadow), 0 0 44px rgba(255, 209, 102, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-muted {
  color: rgba(244, 247, 251, 0.9);
}

.pricing-card-bronze {
  border-color: rgba(205, 127, 50, 0.42);
  background:
    linear-gradient(145deg, rgba(205, 127, 50, 0.13), rgba(57, 246, 211, 0.05) 42%, rgba(7, 11, 20, 0.84)),
    rgba(10, 16, 28, 0.92);
  box-shadow: var(--shadow), 0 0 36px rgba(205, 127, 50, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-silver {
  border-color: rgba(214, 225, 242, 0.34);
  background:
    linear-gradient(145deg, rgba(214, 225, 242, 0.11), rgba(69, 163, 255, 0.05) 44%, rgba(7, 11, 20, 0.84)),
    rgba(10, 16, 28, 0.92);
  box-shadow: var(--shadow), 0 0 34px rgba(214, 225, 242, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(57, 246, 211, 0.26);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--cyan);
  background: rgba(57, 246, 211, 0.06);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.pricing-medal {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 26px;
  height: 34px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.pricing-medal::before,
.pricing-medal::after {
  position: absolute;
  content: "";
}

.pricing-medal::before {
  top: 1px;
  left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 6px 6px 2px 2px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(8, 13, 23, 0.2) 45% 55%, transparent 55%),
    linear-gradient(135deg, rgba(69, 163, 255, 0.92), rgba(57, 246, 211, 0.9));
  clip-path: polygon(7% 0, 93% 0, 78% 100%, 50% 78%, 22% 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pricing-medal::after {
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.44), transparent 30%),
    radial-gradient(circle at 70% 82%, rgba(0, 0, 0, 0.2), transparent 46%),
    var(--medal-fill);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.36),
    inset 0 0 0 1px var(--medal-rim),
    inset 0 -4px 9px rgba(0, 0, 0, 0.16);
}

.pricing-medal-mark {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 26px;
  height: 26px;
}

.pricing-medal-mark::before,
.pricing-medal-mark::after {
  position: absolute;
  content: "";
  border-radius: 1px;
  background: linear-gradient(145deg, var(--medal-engrave), var(--medal-engrave-deep));
  box-shadow:
    inset 0 1px 1px var(--medal-engrave-shadow),
    0 1px 0 var(--medal-engrave-highlight);
  opacity: 0.9;
}

.pricing-medal-mark::before {
  top: 5px;
  left: 10px;
  width: 8px;
  height: 5px;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.pricing-medal-mark::after {
  top: 11px;
  left: 9px;
  width: 8px;
  height: 11px;
  clip-path: polygon(28% 0, 100% 0, 74% 100%, 0 100%);
}

.pricing-medal-bronze {
  --medal-fill: linear-gradient(135deg, #f0b477, #cd7f32 54%, #7a441e);
  --medal-rim: rgba(104, 55, 24, 0.4);
  --medal-engrave: #8f4f24;
  --medal-engrave-deep: #6f3919;
  --medal-engrave-shadow: rgba(69, 31, 12, 0.42);
  --medal-engrave-highlight: rgba(255, 207, 158, 0.2);
}

.pricing-medal-gold {
  --medal-fill: linear-gradient(135deg, #fff0a8, #ffd166 54%, #a87414);
  --medal-rim: rgba(139, 92, 20, 0.38);
  --medal-engrave: #b88318;
  --medal-engrave-deep: #916011;
  --medal-engrave-shadow: rgba(82, 52, 8, 0.34);
  --medal-engrave-highlight: rgba(255, 249, 198, 0.24);
}

.pricing-medal-silver {
  --medal-fill: linear-gradient(135deg, #ffffff, #d6e1f2 54%, #7f8ea3);
  --medal-rim: rgba(91, 103, 121, 0.36);
  --medal-engrave: #8b9bb0;
  --medal-engrave-deep: #6f7d90;
  --medal-engrave-shadow: rgba(56, 65, 78, 0.3);
  --medal-engrave-highlight: rgba(255, 255, 255, 0.28);
}

.pricing-card-bronze .pricing-badge {
  border-color: rgba(205, 127, 50, 0.36);
  color: #d89652;
  background: rgba(205, 127, 50, 0.08);
}

.pricing-card-featured .pricing-badge {
  border-color: rgba(255, 209, 102, 0.36);
  color: var(--amber);
  background: rgba(255, 209, 102, 0.08);
}

.pricing-card-silver .pricing-badge {
  border-color: rgba(214, 225, 242, 0.34);
  color: #d6e1f2;
  background: rgba(214, 225, 242, 0.07);
}

.pricing-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.15;
}

.pricing-desc {
  min-height: 39px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  color: var(--text);
  font-size: 54px;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

.pricing-price span {
  margin-top: 8px;
  color: var(--amber);
  font-size: 20px;
}

.pricing-price strong {
  font: inherit;
  font-weight: 760;
}

.promotion-savings {
  display: flex;
  min-height: 26px;
  align-items: center;
  gap: 10px;
  margin: -2px 0 2px;
}

.promotion-savings[hidden] {
  display: none;
}

.promotion-savings del {
  color: rgba(244, 247, 251, 0.48);
  font-size: 13px;
  text-decoration-color: rgba(255, 209, 102, 0.65);
  text-decoration-thickness: 1px;
}

.promotion-savings span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid rgba(255, 209, 102, 0.44);
  border-radius: 999px;
  padding: 2px 8px;
  color: #fff1b7;
  background: rgba(255, 209, 102, 0.13);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.promotion-code {
  display: grid;
  gap: 7px;
  margin: 4px 0 14px;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card-featured .promotion-code {
    opacity: 0;
    pointer-events: none;
    filter: blur(3px);
    transform: translateY(12px) scale(0.985);
    transform-origin: center bottom;
    transition:
      opacity 200ms ease,
      filter 240ms ease,
      transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .pricing-card-featured:hover .promotion-code,
  .pricing-card-featured:focus-within .promotion-code {
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.promotion-code label {
  color: rgba(244, 247, 251, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promotion-code-field {
  position: relative;
}

.promotion-code input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 5px;
  padding: 10px 44px 10px 12px;
  color: var(--text);
  outline: 0;
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.07), transparent 42%),
    rgba(4, 8, 15, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.promotion-code-check {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(57, 246, 211, 0.58);
  border-radius: 50%;
  color: #7bffe1;
  opacity: 0;
  background: rgba(57, 246, 211, 0.12);
  box-shadow: 0 0 16px rgba(57, 246, 211, 0.13);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%) scale(0.65) rotate(-12deg);
  transition: opacity 160ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-featured.is-promotion-active .promotion-code-check {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0);
}

.promotion-code input::placeholder {
  color: rgba(244, 247, 251, 0.32);
  letter-spacing: 0;
  text-transform: none;
}

.promotion-code input:hover {
  border-color: rgba(255, 209, 102, 0.44);
}

.promotion-code input:focus-visible {
  border-color: rgba(255, 209, 102, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.11), 0 0 22px rgba(255, 209, 102, 0.08);
}

.promotion-code input[aria-invalid="true"] {
  border-color: rgba(255, 120, 120, 0.55);
}

.promotion-code input[aria-invalid="false"]:not(:placeholder-shown) {
  border-color: rgba(57, 246, 211, 0.62);
  background-color: rgba(57, 246, 211, 0.035);
  box-shadow: 0 0 0 3px rgba(57, 246, 211, 0.07);
}

.promotion-code p {
  min-height: 18px;
  margin: 0;
  color: rgba(244, 247, 251, 0.48);
  font-size: 12px;
  line-height: 1.45;
}

.promotion-code p:empty {
  display: none;
}

.promotion-code p.is-valid {
  color: rgba(99, 255, 219, 0.9);
}

.promotion-code p.is-invalid {
  color: rgba(255, 152, 152, 0.88);
}

.pricing-card-featured.is-promotion-active {
  border-color: rgba(57, 246, 211, 0.64);
  box-shadow: var(--shadow), 0 0 48px rgba(57, 246, 211, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.pricing-card-bronze .pricing-price span {
  color: #d89652;
}

.pricing-delta {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  border: 1px solid rgba(214, 225, 242, 0.34);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #d6e1f2;
  background: rgba(214, 225, 242, 0.07);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-features li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(57, 246, 211, 0.32);
  transform: translateY(-50%);
}

.pricing-card-featured .pricing-features li::before {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.28);
}

.pricing-card-bronze .pricing-features li::before {
  background: #d89652;
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.26);
}

.pricing-card-silver .pricing-features li::before {
  background: #d6e1f2;
  box-shadow: 0 0 16px rgba(214, 225, 242, 0.22);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.btn.disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.btn.primary.disabled {
  border-color: rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.72);
  background: linear-gradient(135deg, #475569, #334155);
  box-shadow: none;
}

.client-download-panel {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.client-download-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  padding: 0 34px 34px;
}

.client-download-copy h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 36px;
  line-height: 1.12;
}

.client-download-copy p:not(.panel-label) {
  max-width: 680px;
  margin: 16px 0 0;
}

.client-download-action {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.client-download-action span {
  color: var(--quiet);
  font-size: 13px;
  text-align: center;
}

.client-preview {
  position: relative;
  grid-column: 1 / -1;
  height: clamp(180px, 34vw, 360px);
  margin: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.56) 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.56) 74%, transparent 100%);
}

.client-preview img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 979px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-desc {
    min-height: 0;
  }

  .client-download-panel {
    grid-template-columns: 1fr;
  }

  .client-download-content {
    grid-template-columns: 1fr;
  }

  .pricing-card-silver {
    grid-column: 1 / -1;
  }

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

  .community-qr {
    justify-self: start;
    width: min(100%, 320px);
  }
}

@media (max-width: 719px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-silver {
    grid-column: auto;
  }

  .client-download-copy h2 {
    font-size: 30px;
  }

  .client-preview {
    height: 176px;
  }
}

@media (max-width: 519px) {
  .pricing-card,
  .client-download-panel {
    padding: 22px;
  }

  .pricing-card h3 {
    font-size: 24px;
  }

  .pricing-price {
    font-size: 44px;
  }

  .pricing-delta {
    min-height: 48px;
    font-size: 22px;
  }

  .community-panel {
    padding: 22px;
  }

  .community-copy h2 {
    font-size: 28px;
  }

  .community-actions {
    display: grid;
  }

  .community-actions .btn {
    width: 100%;
  }

}

.step-cards {
  grid-template-columns: repeat(2, 1fr);
}

.legal-page {
  max-width: 960px;
}

.legal-panel {
  padding: 34px;
}

.legal-section {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid rgba(139, 183, 255, 0.12);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}

.legal-section p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

@keyframes hero-drift-right {
  from {
    transform: translate3d(-18px, 0, 0);
  }
  to {
    transform: translate3d(42px, 0, 0);
  }
}

@keyframes hero-drift-left {
  from {
    transform: translate3d(48px, 0, 0);
  }
  to {
    transform: translate3d(-24px, 0, 0);
  }
}

@keyframes drift-light {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(-5deg);
  }
}

@keyframes dust-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.78);
  }
  12% {
    opacity: var(--dust-opacity);
  }
  84% {
    opacity: var(--dust-opacity);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dust-drift), -132vh, 0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 86px;
  }

  .hero::before {
    top: -84px;
    bottom: 42px;
  }

  .hero::after {
    top: -84px;
    bottom: 42px;
  }

  .hero-hud-stage {
    inset: 76px -96px auto 22%;
    height: 300px;
    opacity: 0.46;
  }

  .hero-fade-guard {
    top: -84px;
    bottom: 42%;
    left: 50%;
    width: 100vw;
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.9) 0%, rgba(6, 8, 15, 0.5) 58%, transparent 100%);
  }

  .feature-band,
  .boundary-section,
  .release-panel,
  .client-download-panel {
    grid-template-columns: 1fr;
  }

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

  .version-track {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-hud-stage,
  .hero-fade-guard {
    display: none;
  }

  .hero::before {
    opacity: 0.52;
  }

  .hero-slogan {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .feature-band h2,
  .section-heading h2,
  .boundary-section h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .feature-grid,
  .step-track,
  .step-cards {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-row: auto;
  }

  .video-card {
    min-height: 380px;
  }

  .video-copy h3 {
    font-size: 28px;
  }

  .page-main {
    padding-top: 44px;
  }
}

@media (max-width: 520px) {
  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .feature-card,
  .step-card,
  .release-panel,
  .pricing-card,
  .client-download-panel,
  .legal-panel {
    padding: 22px;
  }

  .style-preview {
    min-height: 220px;
    margin-top: 28px;
  }

  .style-hud {
    min-width: 78px;
    padding: 8px 10px;
  }

  .style-hud-ping {
    left: 30%;
  }

  .style-hud-time {
    right: 10%;
  }

  .version-track {
    width: 100%;
    font-size: 12px;
  }

  .bg-glow {
    width: 86%;
  }

  .bg-glow-a {
    left: 0;
  }

  .bg-glow-b {
    right: 0;
  }

  .play-button {
    top: 20px;
    right: 20px;
  }

  .video-copy {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }
}

/* Responsive layout layer: 2026-06-22 */
@media (min-width: 1180px) {
  .shell {
    width: min(1160px, calc(100% - 48px));
  }

  .hero-hud-stage {
    inset: 52px 0 126px 37%;
  }
}

@media (max-width: 1179px) and (min-width: 980px) {
  .shell {
    width: min(1040px, calc(100% - 48px));
  }

  .nav {
    gap: 20px;
  }

  nav {
    gap: 6px;
    font-size: 13px;
  }
}

@media (max-width: 979px) and (min-width: 720px) {
  .shell {
    width: min(100% - 40px, 900px);
  }

  .nav {
    gap: 18px;
    padding: 18px 0;
  }

  nav {
    gap: 6px;
    font-size: 13px;
  }
}

@media (max-width: 719px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0 13px;
  }

  nav {
    justify-content: flex-start;
    gap: 4px 8px;
    font-size: 13px;
  }

  nav a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 389px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  nav {
    font-size: 12px;
  }
}

@media (max-width: 1179px) and (min-width: 980px) {
  .hero {
    min-height: 640px;
    padding: 38px 0 92px;
  }

  .hero-hud-stage {
    inset: 64px 0 120px 39%;
    opacity: 0.72;
  }

  .hero h1 {
    font-size: 78px;
  }
}

@media (max-width: 979px) and (min-width: 720px) {
  .hero {
    min-height: 600px;
    padding: 42px 0 84px;
  }

  .hero::before {
    top: -82px;
    bottom: 36px;
  }

  .hero::after {
    top: -82px;
    bottom: 36px;
  }

  .hero-hud-stage {
    display: block;
    inset: 92px 0 auto 34%;
    height: 316px;
    opacity: 0.34;
  }

  .hero-fade-guard {
    display: block;
    top: -82px;
    bottom: 36px;
    background: linear-gradient(90deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 0.76) 42%, rgba(6, 8, 15, 0.2) 72%, transparent 100%);
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-slogan {
    font-size: 26px;
  }

  .hero-desc {
    max-width: 520px;
    font-size: 17px;
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: 520px;
    padding: 54px 0 66px;
  }

  .hero::before {
    top: -74px;
    bottom: 24px;
    opacity: 0.62;
  }

  .hero::after {
    top: -74px;
    bottom: 24px;
    opacity: 0.22;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-slogan {
    margin-top: 12px;
    font-size: 24px;
  }

  .hero-desc {
    max-width: 440px;
    margin-top: 20px;
    font-size: 16px;
  }

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

@media (max-width: 519px) {
  .hero {
    min-height: 470px;
    padding: 44px 0 56px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-slogan {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 15px;
  }
}

@media (max-width: 389px) {
  .hero {
    min-height: 446px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-slogan {
    font-size: 20px;
  }
}

@media (max-width: 1179px) and (min-width: 980px) {
  .feature-band {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    padding: 44px 0 76px;
  }

  .version-track {
    width: min(100%, 380px);
  }
}

@media (max-width: 979px) and (min-width: 720px) {
  .feature-band {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 72px;
  }

  .feature-band-copy p:not(.eyebrow) {
    max-width: 680px;
  }

  .version-track {
    justify-self: stretch;
    width: min(100%, 560px);
    max-width: none;
  }
}

@media (max-width: 719px) {
  .feature-band {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 0 64px;
  }

  .feature-band h2,
  .section-heading h2,
  .boundary-section h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .feature-band-copy p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
  }

  .version-track {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 519px) {
  .feature-band {
    padding: 32px 0 56px;
  }

  .compatibility-tag-warning {
    position: static;
  }

  a.compatibility-tag-warning:hover,
  a.compatibility-tag-warning:focus-visible {
    transform: none;
  }

  .compatibility-warning {
    right: 0;
    left: 0;
    width: 100%;
    transform: translate3d(0, 7px, 0) scale(0.96);
  }

  .compatibility-tag-warning:hover .compatibility-warning,
  .compatibility-tag-warning:focus-visible .compatibility-warning {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .version-track {
    font-size: 12px;
  }

  .version-ticks {
    background:
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 10% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 20% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 30% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 40% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 60% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 70% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 80% 0 / 1px 13px no-repeat,
      linear-gradient(rgba(139, 183, 255, 0.22) 0 0) 90% 0 / 1px 13px no-repeat;
  }

  .version-ruler::after {
    left: -10px;
    right: -10px;
    background: linear-gradient(
      90deg,
      transparent 0,
      rgba(57, 246, 211, 0.18) 10px,
      transparent 10px,
      transparent calc(100% - 10px),
      rgba(255, 209, 102, 0.18) calc(100% - 10px),
      transparent 100%
    );
  }

  .version-popover {
    min-width: 146px;
  }
}

@media (max-width: 389px) {
  .feature-band h2,
  .section-heading h2,
  .boundary-section h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .version-track {
    font-size: 11px;
  }
}

@media (max-width: 1179px) and (min-width: 980px) {
  .feature-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 16px;
    padding: 76px 0 28px;
  }
}

@media (max-width: 979px) and (min-width: 720px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 16px;
    padding: 70px 0 28px;
  }

  .feature-card {
    min-height: 248px;
    padding: 24px;
  }

  .feature-card-large {
    min-height: 520px;
  }

  .style-preview {
    min-height: 260px;
  }
}

@media (max-width: 719px) {
  .feature-grid,
  .step-track,
  .step-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 16px;
    padding: 60px 0 24px;
  }

  .feature-card-large {
    grid-row: auto;
  }

  .feature-card {
    min-height: 0;
  }

  .style-preview {
    flex: initial;
    min-height: 252px;
    margin-top: 28px;
  }
}

@media (max-width: 519px) {
  .feature-card,
  .step-card,
  .release-panel,
  .pricing-card,
  .client-download-panel,
  .legal-panel {
    padding: 22px;
  }

  .style-preview {
    min-height: 224px;
  }

  .style-hud {
    min-width: 76px;
    padding: 8px 9px;
  }

  .style-hud em {
    font-size: 9px;
  }

  .style-hud strong {
    font-size: 13px;
  }

  .style-hud-fps {
    top: 12%;
    left: 8%;
  }

  .style-hud-cps {
    top: 22%;
    right: 8%;
  }

  .style-hud-ping {
    top: 46%;
    left: 22%;
    min-width: 92px;
  }

  .style-hud-time {
    right: 8%;
    bottom: 14%;
    min-width: 92px;
  }

  .style-palette {
    bottom: 14%;
    left: 10%;
  }
}

@media (max-width: 389px) {
  .feature-card,
  .step-card,
  .release-panel,
  .pricing-card,
  .client-download-panel,
  .legal-panel {
    padding: 20px;
  }

  .style-preview {
    min-height: 214px;
  }

  .style-hud {
    min-width: 70px;
  }
}

@media (max-width: 1179px) and (min-width: 980px) {
  .video-card {
    min-height: 410px;
  }

  .boundary-section {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .step-track,
  .step-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 979px) and (min-width: 720px) {
  .video-card {
    min-height: 390px;
  }

  .boundary-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 70px 0;
  }

  .boundary-tags {
    max-width: 560px;
  }

  .step-track,
  .step-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 719px) {
  .demo-section,
  .steps-section {
    padding: 58px 0;
  }

  .video-card {
    min-height: 360px;
  }

  .video-copy {
    right: 24px;
    bottom: 28px;
    left: 24px;
  }

  .video-copy h3 {
    font-size: 28px;
  }

  .play-button {
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
  }

  .boundary-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 62px 0;
  }

  .boundary-tags {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }
}

@media (max-width: 519px) {
  .demo-section,
  .steps-section {
    padding: 50px 0;
  }

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

  .video-copy {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .play-button {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .boundary-tags span {
    width: 100%;
  }

  .step-card h3,
  .step-card h2 {
    margin-top: 16px;
    font-size: 19px;
  }
}

@media (max-width: 389px) {
  .video-card {
    min-height: 300px;
  }

  .video-copy h3 {
    font-size: 25px;
  }

  .play-button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 519px) {
  .client-download-panel {
    padding: 0;
  }

  .client-download-content {
    padding: 0 22px 22px;
  }
}

@media (max-width: 389px) {
  .client-download-panel {
    padding: 0;
  }

  .client-download-content {
    padding: 0 20px 20px;
  }
}

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

  .bg-dust {
    display: none;
  }
}
