:root {
  --bg: #000;
  --ink: #fff;
  --muted: rgba(245, 247, 255, 0.72);
  --faint: rgba(245, 247, 255, 0.5);
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.38);
  --cyan: #fff;
  --blue: #e9edf5;
  --violet: #d8dce6;
  --magenta: #f4f4f4;
  --amber: #d6d9df;
  --glass: rgba(8, 8, 10, 0.58);
  --glass-strong: rgba(4, 4, 5, 0.82);
  --shadow: rgba(0, 0, 0, 0.52);
  --mx: 50vw;
  --my: 50vh;
  --sx: 0;
  --sy: 0;
  --scroll-ratio: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #000;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.02));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 70%, transparent 100%);
}

a {
  color: inherit;
}

svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cosmic-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #08090d 0 8%, #020203 38%, #000 100%);
  pointer-events: none;
}

.star-plane,
.space-vignette,
.depth-rings {
  position: absolute;
  inset: 0;
}

.star-plane {
  background-repeat: repeat;
  will-change: transform;
}

.star-plane-far {
  z-index: 1;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px);
  background-position: 0 0, 96px 58px;
  background-size: 188px 188px, 312px 312px;
  transform:
    translate3d(calc(var(--sx) * -5px), calc(var(--sy) * -3px), 0)
    translateY(calc(var(--scroll-ratio) * -18px));
}

.star-plane-mid {
  z-index: 2;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.38) 0 1px, transparent 1.6px);
  background-position: 20px 12px, 140px 92px;
  background-size: 260px 260px, 420px 420px;
  transform:
    translate3d(calc(var(--sx) * 14px), calc(var(--sy) * 10px), 0)
    translateY(calc(var(--scroll-ratio) * 34px));
}

.star-plane-near {
  z-index: 3;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.7px);
  background-position: 56px 24px, 210px 90px;
  background-size: 360px 360px, 520px 520px;
  transform:
    translate3d(calc(var(--sx) * 28px), calc(var(--sy) * 18px), 0)
    translateY(calc(var(--scroll-ratio) * 70px));
}

.space-vignette {
  z-index: 4;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 19%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.78) 86%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.82));
}

.depth-rings {
  z-index: 5;
  transform:
    translate3d(calc(var(--sx) * 26px), calc(var(--sy) * 18px), 0)
    translateY(calc(var(--scroll-ratio) * 22px));
  opacity: 0.38;
}

.depth-rings span {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 78vw;
  max-width: 1160px;
  aspect-ratio: 2.6 / 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle));
}

.depth-rings span:nth-child(1) {
  --angle: -8deg;
  border-color: rgba(255, 255, 255, 0.18);
}

.depth-rings span:nth-child(2) {
  --angle: 9deg;
  width: 62vw;
  border-color: rgba(255, 255, 255, 0.11);
}

.depth-rings span:nth-child(3) {
  --angle: 22deg;
  width: 48vw;
  border-color: rgba(255, 255, 255, 0.09);
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.pointer-light {
  position: fixed;
  left: var(--mx);
  top: var(--my);
  z-index: 4;
  width: 28rem;
  height: 28rem;
  pointer-events: none;
  opacity: 0.36;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035) 42%, transparent 70%);
  transform: translate(-50%, -50%);
}

.spatial-logo {
  position: fixed;
  pointer-events: none;
}

.spatial-logo {
  left: 51%;
  top: 48%;
  z-index: 3;
  display: grid;
  width: clamp(94px, 9vw, 142px);
  height: clamp(94px, 9vw, 142px);
  place-items: center;
  opacity: 0.3;
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--sx) * 18px), calc(var(--sy) * 12px), 0)
    translateY(calc(var(--scroll-ratio) * 38px));
  mix-blend-mode: screen;
}

.spatial-logo img {
  position: relative;
  z-index: 4;
  width: 42%;
  height: 42%;
  border-radius: 18px;
  object-fit: cover;
  filter: grayscale(1) drop-shadow(0 0 22px rgba(255, 255, 255, 0.42));
  animation: logoMaterialize 9s ease-in-out infinite;
}

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

.spatial-logo::before {
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.12), inset 0 0 22px rgba(255, 255, 255, 0.08);
  transform: rotateX(66deg);
  animation: orbitalRing 9s ease-in-out infinite;
}

.spatial-logo::after {
  inset: -18%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(18deg);
}

.spatial-cards {
  display: none;
}

.space-depth-card {
  position: absolute;
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(235, 248, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 28px 90px rgba(0, 0, 0, 0.34);
  opacity: 0.42;
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.space-depth-card strong,
.space-depth-card span {
  display: block;
}

.space-depth-card strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.05rem;
}

.space-depth-card span {
  color: rgba(224, 238, 255, 0.62);
  font-size: 0.88rem;
}

.depth-card-plan {
  right: 12vw;
  top: 30vh;
  transform:
    translate3d(calc(var(--sx) * 48px), calc(var(--sy) * 36px + var(--scroll-ratio) * -80px), 0)
    rotateY(-12deg)
    rotateZ(1deg);
}

.depth-card-review {
  right: 20vw;
  bottom: 16vh;
  opacity: 0.34;
  transform:
    translate3d(calc(var(--sx) * -34px), calc(var(--sy) * 24px + var(--scroll-ratio) * 120px), 0)
    rotateY(14deg)
    rotateZ(-1deg);
}

.depth-card-ai {
  left: 9vw;
  top: 58vh;
  opacity: 0.24;
  transform:
    translate3d(calc(var(--sx) * 22px), calc(var(--sy) * -18px + var(--scroll-ratio) * -44px), 0)
    rotateY(18deg)
    rotateZ(-2deg);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 8;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid rgba(235, 248, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 3, 10, 0.46);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
}

.site-header[data-elevated="true"] {
  background: rgba(2, 3, 10, 0.82);
  border-color: rgba(235, 248, 255, 0.32);
}

.brand,
.top-nav,
.hero-actions,
.feature-list,
.footer-links,
.chapter-band,
.hero-orbit,
.platform-grid,
.official-grid {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 850;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.14);
}

.top-nav {
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.top-nav a,
.footer-links a {
  text-decoration: none;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

.header-action svg,
.primary-button svg,
.secondary-button svg,
.hero-orbit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-action {
  padding: 0 18px;
  background: rgba(247, 251, 255, 0.94);
  color: #041015;
}

.hero {
  position: relative;
  display: grid;
  width: min(1220px, calc(100% - 32px));
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) 170px minmax(330px, 0.82fr);
  gap: 34px;
  align-items: center;
  margin: 0 auto;
  padding: 118px 0 42px;
}

.hero-copy,
.logo-birth,
.app-constellation,
.hero-orbit {
  position: relative;
}

.hero-copy {
  z-index: 2;
  transform: translate3d(calc(var(--sx) * -8px), calc(var(--sy) * -6px), 0);
}

.brand-signal,
.section-label {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 850;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.22);
}

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

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.18), 0 0 84px rgba(255, 255, 255, 0.08);
}

h2 {
  margin-bottom: 20px;
  font-size: 3.25rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.86;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.trust-strip {
  display: flex;
  max-width: 690px;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 22px;
}

.trust-strip span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 780;
  backdrop-filter: blur(16px);
}

.primary-button,
.secondary-button {
  padding: 0 22px;
  border: 1px solid var(--line);
}

.primary-button {
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.18), 0 18px 70px var(--shadow);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero-facts {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.hero-facts div,
.feature-card,
.detail-grid article,
.showcase-frame,
.phone-preview,
.platform-card,
.official-grid article,
.review-flow article,
.glass-chip,
.chapter-band,
.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 18px 54px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
}

.feature-card,
.detail-grid article,
.platform-card,
.official-grid article,
.review-flow article {
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.feature-card:hover,
.detail-grid article:hover,
.platform-card:hover,
.official-grid article:hover,
.review-flow article:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.034));
  transform: translateY(-2px);
}

.hero-facts div {
  padding: 14px;
}

.hero-facts dt,
.metric-grid dt {
  color: var(--faint);
  font-size: 0.84rem;
}

.hero-facts dd,
.metric-grid dd {
  margin: 7px 0 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.logo-birth {
  z-index: 1;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  opacity: 0;
  transform: translate3d(calc(var(--sx) * 12px), calc(var(--sy) * 8px), 0);
}

.logo-birth img {
  position: relative;
  z-index: 4;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  object-fit: cover;
  filter: grayscale(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.38));
  animation: logoMaterialize 9s ease-in-out infinite;
}

.logo-aura,
.logo-birth::before,
.logo-birth::after,
.logo-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.logo-aura {
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.48) 0 7%, rgba(255, 255, 255, 0.18) 16%, transparent 52%),
    conic-gradient(from 130deg, transparent, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18), transparent);
  filter: blur(16px);
  animation: auraBirth 9s ease-in-out infinite;
}

.logo-birth::before {
  content: "";
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.16), inset 0 0 24px rgba(255, 255, 255, 0.1);
  transform: rotateX(66deg);
  animation: orbitalRing 9s ease-in-out infinite;
}

.logo-birth::after {
  content: "";
  inset: -54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: rotateX(70deg) rotateZ(18deg);
}

.logo-particles span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(235, 248, 255, 0.95);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.64), 0 0 18px rgba(255, 255, 255, 0.24);
  opacity: 0;
  animation: particleOrbit 9s ease-in-out infinite;
  animation-delay: var(--delay);
}

.app-constellation {
  z-index: 2;
  min-height: 590px;
  transform: translate3d(calc(var(--sx) * 14px), calc(var(--sy) * 10px), 0);
}

.device-stage {
  position: relative;
  min-height: 590px;
}

.device-stage::before {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 118%;
  height: 32%;
  border: 1px solid rgba(210, 236, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%) rotate(-5deg);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 292px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(235, 248, 255, 0.32);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05));
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.62), 0 0 72px rgba(255, 255, 255, 0.1);
  transform: rotate(-2deg);
}

.phone-shell img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

.glass-chip {
  position: absolute;
  z-index: 4;
  width: 188px;
  padding: 14px;
  will-change: transform;
}

.glass-chip strong,
.glass-chip span {
  display: block;
}

.glass-chip strong {
  margin-bottom: 6px;
}

.glass-chip span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.chip-plan {
  left: -34px;
  top: 92px;
  transform: translate3d(calc(var(--sx) * 18px), calc(var(--sy) * 12px), 0) rotateY(-8deg);
}

.chip-politics {
  right: -28px;
  top: 218px;
  transform: translate3d(calc(var(--sx) * -16px), calc(var(--sy) * 18px), 0) rotateY(10deg);
}

.chip-review {
  left: 18px;
  bottom: 72px;
  transform: translate3d(calc(var(--sx) * 12px), calc(var(--sy) * -14px), 0) rotateY(-6deg);
}

.hero-orbit {
  grid-column: 1 / -1;
  z-index: 3;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 104px;
  padding: 16px 22px;
  border-top: 1px solid rgba(235, 248, 255, 0.16);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent);
}

.hero-orbit a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.hero-orbit svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid rgba(235, 248, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.hero-orbit span {
  font-weight: 850;
}

.opening-section,
.page-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.opening-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 118px 0;
}

.page-section {
  position: relative;
  padding: 96px 0;
}

.page-section::before,
.opening-section::before {
  position: absolute;
  left: 0;
  top: 0;
  width: min(360px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
  content: "";
}

.section-copy {
  max-width: 760px;
}

.section-copy p,
.section-heading p {
  font-size: 1.02rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.observatory-panel {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(590px, 100%);
  z-index: 2;
  transform:
    translate3d(calc(-50% + var(--sx) * 5px), calc(-50% + var(--sy) * 4px), 0)
    rotate(0.3deg);
}

.observatory-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse at 54% 50%, #000 0 30%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.62) 54%, rgba(0, 0, 0, 0.22) 68%, rgba(0, 0, 0, 0.06) 80%, transparent 95%);
  mask-image: radial-gradient(ellipse at 54% 50%, #000 0 30%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.62) 54%, rgba(0, 0, 0, 0.22) 68%, rgba(0, 0, 0, 0.06) 80%, transparent 95%);
}

.observatory-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 1;
  filter: contrast(1.06) saturate(0.8) brightness(0.86);
}

.track-map {
  position: relative;
  min-height: 510px;
}

.track-line {
  position: absolute;
  left: 4%;
  top: 50%;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2), transparent);
  transform: translateY(-50%) rotate(-7deg);
}

.track-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.52);
}

.track-node:nth-child(1) {
  left: 8%;
  top: 55%;
}

.track-node:nth-child(2) {
  left: 37%;
  top: 42%;
}

.track-node:nth-child(3) {
  left: 62%;
  top: 52%;
}

.track-node:nth-child(4) {
  left: 86%;
  top: 36%;
}

.node-live {
  width: 18px;
  height: 18px;
  background: var(--cyan);
}

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

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.media-stack {
  position: relative;
}

.ipad-frame {
  width: min(460px, 100%);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(235, 248, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
  transform: rotate(-1.5deg);
}

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

.feature-list {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(235, 248, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 251, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 760;
}

.feature-list.compact li {
  font-size: 0.86rem;
}

.one-line {
  margin: 26px 0 0;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 850;
}

.one-line.wide {
  max-width: 900px;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.feature-card span,
.detail-grid article span,
.platform-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 850;
}

.feature-card p,
.detail-grid article p,
.platform-card p,
.official-grid p,
.review-flow p {
  margin-bottom: 0;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.showcase-frame,
.phone-preview {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
}

.showcase-frame {
  transform: rotate(-0.65deg);
}

.showcase-frame.wide {
  align-self: stretch;
}

.phone-preview {
  padding: 9px;
  border-radius: 22px;
}

.showcase-frame img,
.phone-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-frame img {
  border-radius: 6px;
}

.phone-preview img {
  border-radius: 18px;
}

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

.detail-grid article {
  min-height: 166px;
  padding: 22px;
}

.detail-grid article h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.38;
}

.detail-grid article p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.78;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(160px, 0.48fr) minmax(160px, 0.48fr);
  gap: 16px;
  align-items: end;
}

.chapter-band {
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
}

.chapter-band span {
  color: var(--amber);
  font-weight: 850;
}

.chapter-band strong {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.logic-orbit {
  position: relative;
  min-height: 430px;
}

.logic-orbit::before,
.logic-orbit::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  max-width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(235, 248, 255, 0.2);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotateX(64deg);
}

.logic-orbit::after {
  width: 54%;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(48deg);
}

.logic-core,
.logic-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 248, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.logic-core {
  width: 120px;
  height: 120px;
  color: #fff;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.logic-orbit span {
  width: 96px;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.86rem;
  transform: translate(-50%, -50%) rotate(var(--r)) translateX(180px) rotate(calc(var(--r) * -1));
}

.review-flow,
.metric-grid {
  display: grid;
  gap: 14px;
}

.review-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-flow article,
.platform-card,
.official-grid article {
  padding: 24px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.metric-grid div {
  min-height: 160px;
  padding: 24px;
}

.metric-grid dd {
  font-size: 2.35rem;
}

.platform-grid,
.official-grid {
  flex-wrap: wrap;
  gap: 16px;
}

.platform-card,
.official-grid article {
  flex: 1 1 240px;
  min-height: 168px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: end;
  padding: 54px 0 36px;
  border-top: 1px solid rgba(235, 248, 255, 0.18);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.15rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a {
  min-height: 44px;
  align-items: center;
}

.legal-page .site-header {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.legal-page .top-nav {
  justify-content: flex-end;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 32px;
}

.legal-hero {
  padding: 76px 0 42px;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: 0.95;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.8;
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(235, 248, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(245, 247, 255, 0.68);
  font-size: 0.9rem;
}

.legal-card h2 {
  margin: 34px 0 12px;
  color: #fff;
  font-size: clamp(1.22rem, 2.6vw, 1.55rem);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.legal-card a {
  color: #fff;
  text-underline-offset: 4px;
}

.legal-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(235, 248, 255, 0.16);
  color: var(--faint);
  font-size: 0.92rem;
}

@keyframes logoMaterialize {
  0% {
    opacity: 0;
    transform: scale(0.72);
    filter: blur(18px) brightness(1.6);
  }
  26% {
    opacity: 0.18;
    transform: scale(0.86);
    filter: blur(9px) brightness(1.4);
  }
  42%,
  64% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1.12) drop-shadow(0 0 22px rgba(235, 248, 255, 0.8));
  }
  80% {
    opacity: 0.46;
    transform: scale(1.14);
    filter: blur(8px) brightness(1.44);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
    filter: blur(22px) brightness(1.7);
  }
}

@keyframes auraBirth {
  0%,
  12% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  38% {
    opacity: 0.86;
    transform: scale(0.9) rotate(110deg);
  }
  62% {
    opacity: 0.78;
    transform: scale(1.04) rotate(220deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.45) rotate(360deg);
  }
}

@keyframes orbitalRing {
  0%,
  12% {
    opacity: 0;
    transform: rotateX(66deg) rotateZ(0deg) scale(0.58);
  }
  42%,
  66% {
    opacity: 0.9;
    transform: rotateX(66deg) rotateZ(160deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotateX(66deg) rotateZ(360deg) scale(1.45);
  }
}

@keyframes particleOrbit {
  0% {
    opacity: 0;
    transform: translate(var(--sx0), var(--sy0)) scale(0.4);
  }
  30% {
    opacity: var(--alpha);
    transform: translate(calc(var(--sx0) * 0.28), calc(var(--sy0) * 0.28)) scale(1);
  }
  48%,
  66% {
    opacity: var(--alpha);
    transform: translate(0, 0) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(var(--ex), var(--ey)) scale(0.18);
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 12px;
  }

  .top-nav {
    gap: 10px;
    font-size: 0.8rem;
  }

  .header-action {
    padding: 0 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .logo-birth {
    position: absolute;
    left: 48%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
  }

  .hero-orbit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .opening-section,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 112px;
  }

  .logo-birth {
    display: none;
  }

  .app-constellation {
    min-height: auto;
  }

  .device-stage {
    min-height: 540px;
  }

  .feature-grid.three,
  .feature-grid.two,
  .detail-grid,
  .review-flow,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .showcase-frame.wide {
    max-width: 760px;
  }

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

  .screenshot-strip .showcase-frame {
    grid-column: 1 / -1;
  }

  .opening-section,
  .page-section {
    padding: 92px 0;
  }

  .observatory-panel {
    transform: translate3d(-50%, -50%, 0);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
  }

  .brand span {
    display: none;
  }

  .header-action {
    padding: 0 14px;
  }

  .hero,
  .opening-section,
  .page-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 102px 0 34px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-facts,
  .feature-grid.three,
  .feature-grid.two,
  .detail-grid,
  .review-flow,
  .screenshot-strip,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    padding: 14px 0 0;
  }

  .hero-orbit a {
    gap: 9px;
    font-size: 0.92rem;
  }

  .hero-orbit svg {
    width: 34px;
    height: 34px;
  }

  .device-stage {
    min-height: 470px;
  }

  .phone-shell {
    width: min(264px, 86vw);
    transform: rotate(0deg);
  }

  .glass-chip {
    width: 166px;
    padding: 12px;
  }

  .chip-plan {
    left: 0;
    top: 74px;
    transform: translate3d(calc(var(--sx) * 8px), calc(var(--sy) * 8px), 0);
  }

  .chip-politics {
    right: 0;
    top: 196px;
    transform: translate3d(calc(var(--sx) * -8px), calc(var(--sy) * 8px), 0);
  }

  .chip-review {
    left: 16px;
    bottom: 42px;
    transform: translate3d(calc(var(--sx) * 6px), calc(var(--sy) * -6px), 0);
  }

  .showcase-layout {
    gap: 20px;
  }

  .showcase-frame,
  .phone-preview {
    padding: 7px;
    transform: none;
  }

  .feature-card,
  .feature-card.large,
  .detail-grid article,
  .platform-card,
  .official-grid article {
    min-height: auto;
  }

  .detail-grid article {
    padding: 18px;
  }

  .feature-card span,
  .detail-grid article span,
  .platform-card span {
    margin-bottom: 18px;
  }

  .spatial-logo {
    left: 72%;
    top: 36%;
    width: 112px;
    height: 112px;
    opacity: 0.36;
  }

  .spatial-cards {
    display: none;
  }

  .track-map,
  .logic-orbit {
    min-height: 360px;
  }

  .logic-orbit span {
    width: 82px;
    transform: translate(-50%, -50%) rotate(var(--r)) translateX(132px) rotate(calc(var(--r) * -1));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

  .observatory-video {
    filter: contrast(1.02) saturate(0.72) brightness(0.82);
  }
}
