:root {
  color-scheme: dark;
  --bg: oklch(0.17 0.058 263);
  --bg-deep: oklch(0.12 0.055 266);
  --surface: oklch(0.23 0.076 263);
  --surface-bright: oklch(0.3 0.12 262);
  --ink: oklch(0.98 0.012 250);
  --muted: oklch(0.78 0.045 252);
  --line: oklch(0.5 0.15 260 / 0.42);
  --blue: oklch(0.69 0.19 250);
  --cyan: oklch(0.78 0.15 215);
  --violet: oklch(0.69 0.24 292);
  --amber: oklch(0.82 0.17 78);
  --green: oklch(0.73 0.19 160);
  --danger: oklch(0.7 0.2 25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --page: min(1180px, calc(100vw - 40px));
  --nav-z: 20;
  --menu-z: 30;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: calc(var(--menu-z) + 1);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: var(--bg-deep);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--nav-z);
  border-bottom: 1px solid oklch(0.6 0.16 255 / 0.2);
  background: oklch(0.13 0.05 266 / 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: var(--page);
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--cyan), var(--blue) 43%, var(--violet) 75%);
  box-shadow: 0 0 8px oklch(0.69 0.24 292 / 0.5);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 14px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.brand-mark i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 7px var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-right: auto;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--bg-deep);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 8px oklch(0.82 0.17 78 / 0.25);
  transition: transform 180ms ease, background-color 180ms ease;
}

.nav-launch:hover {
  background: oklch(0.87 0.16 82);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 30%, oklch(0.42 0.2 275 / 0.38), transparent 32%),
    radial-gradient(circle at 8% 20%, oklch(0.44 0.2 245 / 0.25), transparent 28%),
    linear-gradient(145deg, var(--bg-deep), oklch(0.17 0.085 268) 58%, oklch(0.13 0.06 252));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-stars,
.hero-stars::before,
.hero-stars::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-stars {
  background-image:
    radial-gradient(circle, oklch(0.98 0.02 250 / 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, oklch(0.8 0.16 230 / 0.65) 0 1px, transparent 1.5px);
  background-position: 18px 22px, 74px 84px;
  background-size: 108px 108px, 146px 146px;
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.hero-stars::before {
  content: "";
  background: radial-gradient(circle at 90% 20%, var(--cyan) 0 2px, transparent 3px), radial-gradient(circle at 16% 47%, var(--amber) 0 2px, transparent 3px), radial-gradient(circle at 54% 12%, var(--ink) 0 1.5px, transparent 2.5px);
  filter: drop-shadow(0 0 6px currentColor);
}

.hero-stars::after {
  content: "";
  width: 420px;
  height: 420px;
  top: 16%;
  left: -280px;
  border: 1px solid oklch(0.7 0.16 240 / 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 58px oklch(0.62 0.16 250 / 0.05), 0 0 0 118px oklch(0.62 0.16 250 / 0.035);
}

.hero-shell {
  width: var(--page);
  min-height: min(780px, calc(100vh - 72px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 106px) 0 clamp(78px, 10vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-marker {
  margin: 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid oklch(0.74 0.16 225 / 0.45);
  border-radius: 999px;
  background: oklch(0.2 0.08 255 / 0.72);
}

.hero-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.hero h1 {
  max-width: 12ch;
  margin: 22px 0 20px;
  color: var(--ink);
  font-size: clamp(3rem, 5.8vw, 5.55rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  font-weight: 560;
  line-height: 1.85;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--amber);
  color: var(--bg-deep);
  box-shadow: 0 5px 8px oklch(0.82 0.17 78 / 0.24);
}

.button-primary:hover {
  background: oklch(0.87 0.16 82);
}

.button-secondary {
  border: 1px solid oklch(0.74 0.16 255 / 0.56);
  background: oklch(0.23 0.09 263 / 0.68);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--cyan);
  background: oklch(0.28 0.12 263 / 0.8);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-width: 112px;
  padding: 0 22px;
  border-inline-end: 1px solid oklch(0.75 0.08 250 / 0.22);
}

.hero-proof li:first-child {
  padding-left: 0;
}

.hero-proof li:last-child {
  border-inline-end: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.hero-proof span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: clamp(490px, 49vw, 620px);
}

.hero-art {
  position: absolute;
  inset: 4% 0 5% 4%;
  overflow: hidden;
  border: 1px solid oklch(0.69 0.19 250 / 0.5);
  border-radius: var(--radius-md);
  background-image:
    linear-gradient(90deg, oklch(0.12 0.06 265 / 0.2), transparent 40%),
    url("./homepage-blueprint.png");
  background-position: center, 84% 14%;
  background-size: cover, 180% auto;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px oklch(0.79 0.12 230 / 0.08) inset;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, oklch(0.12 0.06 265 / 0.72));
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid oklch(0.72 0.18 245 / 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-one {
  width: 70%;
  height: 28%;
  top: 2%;
  right: -10%;
}

.orbit-two {
  width: 62%;
  height: 24%;
  right: -4%;
  bottom: 2%;
}

.mission-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 200px;
  padding: 11px 14px;
  border: 1px solid oklch(0.76 0.15 230 / 0.45);
  border-radius: 12px;
  background: oklch(0.17 0.07 265 / 0.9);
  backdrop-filter: blur(12px);
}

.mission-chip-top {
  top: 0;
  right: -8px;
}

.mission-chip-bottom {
  bottom: 0;
  left: 0;
}

.chip-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  background: oklch(0.31 0.13 255);
}

.chip-world {
  background: radial-gradient(circle at 36% 32%, var(--green) 0 18%, var(--blue) 20% 62%, var(--violet) 64%);
}

.mission-chip strong,
.mission-chip small {
  display: block;
}

.mission-chip strong {
  font-size: 0.85rem;
}

.mission-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.world-section,
.path-section,
.product-section {
  position: relative;
  padding: clamp(78px, 10vw, 136px) 0;
}

.world-section {
  background: var(--bg);
}

.world-heading,
.path-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  align-items: end;
  gap: clamp(30px, 6vw, 84px);
  margin-bottom: 54px;
}

.world-heading h2,
.path-heading h2,
.product-copy h2,
.cta-shell h2 {
  margin: 12px 0 0;
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.world-heading > p,
.path-heading > p,
.product-copy > p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.section-marker {
  color: var(--amber);
}

.world-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  grid-template-rows: repeat(2, minmax(260px, auto));
  gap: 16px;
}

.world-story {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.world-story-large {
  grid-row: 1 / 3;
  padding: 34px;
  background:
    radial-gradient(circle at 60% 25%, oklch(0.69 0.19 250 / 0.34), transparent 30%),
    linear-gradient(155deg, oklch(0.26 0.13 252), oklch(0.17 0.075 267));
}

.world-story-code {
  grid-column: 2 / 4;
  background: linear-gradient(145deg, oklch(0.22 0.09 260), oklch(0.17 0.08 274));
}

.world-story-remix {
  background: linear-gradient(145deg, oklch(0.26 0.14 299), oklch(0.19 0.09 279));
}

.world-story-xp {
  background: linear-gradient(145deg, oklch(0.29 0.11 78), oklch(0.18 0.07 55));
}

.world-story > div:last-child {
  position: relative;
  z-index: 2;
  max-width: 44ch;
}

.story-index {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: oklch(0.98 0.01 250 / 0.12);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.world-story h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.world-story p {
  margin: 0;
  color: oklch(0.86 0.035 250);
  line-height: 1.65;
  font-size: 0.91rem;
}

.story-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid oklch(0.73 0.18 235 / 0.44);
  border-radius: 50%;
  box-shadow: 0 0 0 42px oklch(0.62 0.18 250 / 0.05), 0 0 0 82px oklch(0.62 0.18 250 / 0.04);
}

.story-orbit::before,
.story-orbit::after,
.story-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.story-orbit::before {
  width: 145px;
  height: 145px;
  inset: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 28%, var(--cyan), var(--blue) 40%, var(--violet) 72%, var(--bg-deep));
  box-shadow: 0 0 34px oklch(0.68 0.22 260 / 0.5);
}

.story-orbit::after {
  width: 25px;
  height: 25px;
  top: 30px;
  right: 46px;
  background: var(--amber);
  box-shadow: 0 0 12px oklch(0.82 0.17 78 / 0.65);
}

.story-orbit span {
  width: 16px;
  height: 16px;
  left: 4px;
  bottom: 75px;
  background: var(--green);
  box-shadow: 0 0 10px oklch(0.73 0.19 160 / 0.65);
}

.code-lines {
  position: absolute;
  top: 24px;
  right: 28px;
  display: grid;
  gap: 7px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  opacity: 0.82;
}

.code-lines span:nth-child(2) {
  color: oklch(0.8 0.14 300);
}

.remix-nodes {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 120px;
  height: 100px;
}

.remix-nodes::before,
.remix-nodes::after {
  content: "";
  position: absolute;
  height: 1px;
  background: oklch(0.8 0.18 300 / 0.7);
  transform-origin: left;
}

.remix-nodes::before {
  width: 70px;
  top: 30px;
  left: 18px;
  transform: rotate(24deg);
}

.remix-nodes::after {
  width: 62px;
  top: 72px;
  left: 20px;
  transform: rotate(-30deg);
}

.remix-nodes i {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px oklch(0.69 0.24 292 / 0.7);
}

.remix-nodes i:nth-child(1) { left: 2px; top: 20px; }
.remix-nodes i:nth-child(2) { right: 6px; top: 54px; background: var(--cyan); }
.remix-nodes i:nth-child(3) { left: 18px; bottom: 0; background: var(--amber); }

.xp-emblem {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(0.88 0.14 82 / 0.65);
  border-radius: 50%;
  color: var(--amber);
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 0 0 8px oklch(0.82 0.17 78 / 0.09), 0 0 24px oklch(0.82 0.17 78 / 0.26);
}

.path-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 35%, oklch(0.48 0.2 292 / 0.18), transparent 24%),
    linear-gradient(180deg, var(--bg-deep), oklch(0.15 0.07 262));
}

.path-section::before {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  right: -360px;
  top: 30%;
  border: 1px solid oklch(0.68 0.2 250 / 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 78px oklch(0.6 0.15 250 / 0.035), 0 0 0 148px oklch(0.6 0.15 250 / 0.025);
}

.path-map {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 120px 1.38fr;
  align-items: stretch;
}

.path-core,
.path-option,
.path-total {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.path-core {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(145deg, oklch(0.27 0.14 239), oklch(0.18 0.09 263));
}

.path-number {
  color: var(--ink);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.path-copy,
.path-option > *:not(.mini-planet) {
  position: relative;
  z-index: 2;
}

.path-core span,
.path-option > span {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 850;
}

.path-core h3,
.path-option h3 {
  margin: 8px 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.path-core p,
.path-option p,
.path-option li {
  color: oklch(0.84 0.04 252);
  line-height: 1.65;
  font-size: 0.9rem;
}

.path-core p,
.path-option p {
  margin: 0;
}

.path-planet {
  position: absolute;
  width: 210px;
  height: 210px;
  top: 24px;
  right: -14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, oklch(0.83 0.14 215), var(--blue) 42%, var(--violet) 78%, var(--bg-deep));
  box-shadow: 0 0 36px oklch(0.69 0.19 250 / 0.45);
}

.path-planet::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 62px;
  top: 76px;
  left: -38px;
  border: 6px solid oklch(0.77 0.15 215 / 0.72);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.path-planet i {
  position: absolute;
  inset: 28% 24%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 2px, transparent 3px);
  background-size: 22px 22px;
  opacity: 0.55;
}

.path-branch {
  position: relative;
}

.path-branch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.path-branch span {
  position: absolute;
  right: -1px;
  width: 50%;
  height: 50%;
  border-color: var(--violet);
}

.path-branch span:first-child {
  top: 0;
  border-bottom: 2px solid var(--violet);
  border-bottom-right-radius: 28px;
}

.path-branch span:last-child {
  bottom: 0;
  border-top: 2px solid var(--violet);
  border-top-right-radius: 28px;
}

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

.path-option {
  min-height: 390px;
  padding: 28px;
}

.path-algorithm {
  background: linear-gradient(150deg, oklch(0.3 0.16 292), oklch(0.18 0.09 276));
}

.path-creative {
  background: linear-gradient(150deg, oklch(0.27 0.14 174), oklch(0.17 0.08 217));
}

.path-option ul {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 22px;
  margin: 0;
  padding-left: 18px;
}

.mini-planet {
  position: absolute;
  right: -38px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, oklch(0.86 0.13 306), var(--violet) 45%, oklch(0.28 0.13 285) 78%);
  opacity: 0.72;
}

.path-creative .mini-planet {
  background: radial-gradient(circle at 32% 30%, oklch(0.87 0.14 170), var(--green) 45%, oklch(0.28 0.11 204) 78%);
}

.path-total {
  width: min(760px, 82%);
  margin: 28px auto 0;
  padding: 26px clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  background: linear-gradient(105deg, oklch(0.28 0.11 59), oklch(0.23 0.105 75));
  border-color: oklch(0.82 0.17 78 / 0.55);
}

.path-total span,
.path-total p {
  color: oklch(0.9 0.07 78);
}

.path-total > span {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.path-total strong {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.path-total p {
  margin: 5px 0 0;
  font-size: 0.84rem;
}

.path-total a {
  grid-column: 3;
  grid-row: 1 / 3;
  font-weight: 900;
  text-decoration: none;
}

.path-total a:hover {
  color: var(--amber);
}

.product-section {
  background: oklch(0.95 0.012 250);
  color: oklch(0.2 0.055 265);
}

.product-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.product-copy .section-marker {
  color: oklch(0.53 0.2 265);
}

.product-copy > p {
  color: oklch(0.42 0.045 258);
  margin-top: 22px;
}

.product-steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.product-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-steps li > span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(0.89 0.045 252);
  color: oklch(0.42 0.18 265);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-steps strong,
.product-steps small {
  display: block;
}

.product-steps strong {
  font-size: 0.95rem;
}

.product-steps small {
  margin-top: 2px;
  color: oklch(0.47 0.04 258);
}

.product-preview {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  overflow: hidden;
  transform: rotate(1.2deg);
  box-shadow: 0 6px 8px oklch(0.2 0.05 265 / 0.16);
}

.product-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.product-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: var(--ink);
}

.product-preview figcaption span {
  font-weight: 850;
}

.product-preview figcaption small {
  color: var(--muted);
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 65%, oklch(0.42 0.22 291 / 0.34), transparent 30%),
    linear-gradient(180deg, oklch(0.15 0.07 265), var(--bg-deep));
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, oklch(0.98 0.01 250 / 0.8) 0 1px, transparent 1.5px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at center, #000 0, transparent 70%);
}

.cta-planet {
  position: absolute;
  z-index: -1;
  width: 510px;
  height: 510px;
  left: 50%;
  bottom: -350px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 20%, var(--cyan), var(--blue) 38%, var(--violet) 68%, oklch(0.18 0.09 274));
  box-shadow: 0 -18px 50px oklch(0.69 0.24 292 / 0.26);
}

.cta-planet::before,
.cta-planet::after {
  content: "";
  position: absolute;
  border: 1px solid oklch(0.78 0.16 230 / 0.45);
  border-radius: 50%;
}

.cta-planet::before {
  inset: -58px -160px 60px;
  transform: rotate(-8deg);
}

.cta-planet::after {
  inset: -115px -240px 115px;
  transform: rotate(9deg);
}

.cta-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0 164px;
  text-align: center;
}

.cta-shell > p {
  margin: 0;
  color: var(--cyan);
  font-weight: 800;
}

.cta-shell h2 {
  max-width: 13ch;
  margin: 16px auto 30px;
}

.cta-shell small {
  margin-top: 14px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid oklch(0.6 0.13 255 / 0.22);
  background: oklch(0.105 0.044 266);
}

.footer-shell {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
}

.footer-shell > p,
.footer-shell > small {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-shell nav {
  display: flex;
  gap: 24px;
}

.footer-shell nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-shell nav a:hover {
  color: var(--ink);
}

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

  .primary-nav a:nth-child(3),
  .primary-nav a:nth-child(4) {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 34px;
  }

  .world-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(270px, auto));
  }

  .world-story-large {
    grid-row: 1 / 3;
  }

  .world-story-code {
    grid-column: auto;
  }

  .world-story-xp {
    display: none;
  }

  .path-map {
    grid-template-columns: 0.8fr 70px 1.2fr;
  }

  .path-options {
    grid-template-columns: 1fr;
  }

  .path-core,
  .path-option {
    min-height: 310px;
  }

  .path-option ul {
    position: static;
    margin-top: 20px;
  }

  .product-shell {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
    padding: 34px 0;
  }

  .footer-shell > p {
    grid-column: 1;
  }

  .footer-shell nav {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 780px) {
  :root {
    --page: min(100% - 28px, 680px);
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 64px;
  }

  .nav-shell {
    min-height: 64px;
    justify-content: space-between;
  }

  .brand {
    font-size: 1rem;
  }

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

  .brand-mark::before {
    width: 37px;
    height: 12px;
  }

  .menu-toggle {
    position: relative;
    z-index: calc(var(--menu-z) + 1);
    display: grid;
    place-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid oklch(0.72 0.15 245 / 0.35);
    border-radius: 50%;
    background: oklch(0.19 0.075 265);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: var(--menu-z);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 72px var(--page);
    background: oklch(0.12 0.055 266 / 0.98);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a,
  .primary-nav a:nth-child(3),
  .primary-nav a:nth-child(4) {
    display: block;
    color: var(--ink);
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-launch {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.8rem;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 64px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 12vw, 4.6rem);
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-art {
    inset: 3% 0 6%;
    background-position: center, 76% 10%;
    background-size: cover, 205% auto;
  }

  .world-heading,
  .path-heading,
  .product-shell {
    grid-template-columns: 1fr;
  }

  .world-heading,
  .path-heading {
    align-items: start;
    gap: 20px;
    margin-bottom: 34px;
  }

  .world-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .world-story,
  .world-story-large {
    min-height: 290px;
    grid-row: auto;
  }

  .world-story-code {
    min-height: 240px;
  }

  .world-story-xp {
    display: flex;
  }

  .path-map {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .path-branch {
    height: 72px;
  }

  .path-branch::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--violet));
  }

  .path-branch span {
    display: none;
  }

  .path-options {
    grid-template-columns: 1fr;
  }

  .path-total {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 8px;
    text-align: center;
  }

  .path-total > span,
  .path-total a {
    grid-column: 1;
    grid-row: auto;
  }

  .path-total a {
    margin-top: 12px;
  }

  .product-preview {
    grid-row: 1;
    transform: none;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-shell > p,
  .footer-shell nav {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-shell nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav-launch span {
    display: none;
  }

  .hero-kicker {
    font-size: 0.72rem;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof li {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-proof li:first-child {
    padding-left: 0;
  }

  .hero-proof strong {
    font-size: 1.04rem;
  }

  .hero-proof span {
    font-size: 0.64rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .mission-chip {
    min-width: 178px;
    padding: 9px 11px;
  }

  .mission-chip-top {
    right: 4px;
  }

  .mission-chip-bottom {
    left: 4px;
  }

  .chip-icon {
    width: 30px;
    height: 30px;
  }

  .world-story-large {
    padding: 24px;
  }

  .story-orbit {
    width: 270px;
    height: 270px;
  }

  .story-orbit::before {
    width: 124px;
    height: 124px;
  }

  .path-core,
  .path-option {
    min-height: 340px;
    padding: 24px;
  }

  .path-planet {
    width: 170px;
    height: 170px;
  }

  .path-planet::before {
    width: 225px;
    height: 52px;
    top: 60px;
    left: -30px;
  }

  .product-preview figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

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