@font-face {
  font-family: "Shippori Mincho";
  src: url("/assets/riichi-orbit-v5/fonts/shippori-mincho-500-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("/assets/riichi-orbit-v5/fonts/noto-sans-jp-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #020308;
  --graphite: #080b13;
  --white: #f4f7fb;
  --silver: #9aa4b2;
  --dim: #687282;
  --indigo: #5c66ff;
  --cyan: #8ce7f2;
  --line: rgba(244, 247, 251, 0.14);
  --line-bright: rgba(244, 247, 251, 0.34);
  --header-height: 66px;
  --page-pad: clamp(24px, 5vw, 80px);
  --content-width: 1440px;
  --scene-progress: 0;
  --ease-out: cubic-bezier(0.2, 0.85, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 80% 6%, rgba(92, 102, 255, 0.08), transparent 27rem),
    var(--void);
  color: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol,
ul,
blockquote {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.space-canvas {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--void);
  font-weight: 900;
  transform: translateY(-180%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px var(--page-pad);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(2, 3, 8, 0.88), rgba(2, 3, 8, 0));
  transition: background-color 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(2, 3, 8, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.29em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 20%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.site-header nav a,
.header-cta {
  min-height: 44px;
  color: var(--silver);
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header nav a {
  display: inline-flex;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  padding: 9px 18px 10px;
  border: 1px solid var(--line-bright);
}

.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

.section-shell {
  position: relative;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.screen-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.screen-button:focus-visible,
.primary-button:focus-visible,
.release-qr:focus-visible,
.crew-tabs button:focus-visible,
.dialog-close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.screen-frame,
.proof-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: #03050a;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  isolation: isolate;
  transition: border-color 240ms ease, filter 240ms ease;
}

.screen-frame::after,
.proof-screen::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(140, 231, 242, 0.08);
  content: "";
  pointer-events: none;
}

.screen-button:hover,
.screen-button:focus-visible {
  border-color: rgba(140, 231, 242, 0.62);
  filter: brightness(1.05);
}

.screen-frame > img,
.proof-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
}

.primary-button {
  display: inline-flex;
  min-width: 250px;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 22px 0 26px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--void);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms var(--ease-out);
}

.primary-button:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.primary-button span:last-child {
  font-size: 19px;
}

.section-index {
  color: var(--silver);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.section-index span {
  display: inline-block;
  min-width: 32px;
  margin-right: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cyan);
  color: var(--white);
  letter-spacing: 0.08em;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.has-js [data-reveal] {
  opacity: 0;
  clip-path: inset(0 0 10% 0);
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 1000ms var(--ease-out), clip-path 1100ms var(--ease-out);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  clip-path: inset(0);
  transform: translateY(0);
}

/* Hero */

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--void));
  content: "";
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 1%;
  right: 8%;
  width: 42vw;
  height: 90vh;
  background: radial-gradient(ellipse, rgba(92, 102, 255, 0.15), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  top: 37%;
  right: 5%;
  width: 74vw;
  height: 42vw;
  border: 1px solid rgba(140, 231, 242, 0.15);
  border-radius: 50%;
  transform: rotate(-17deg) translate3d(calc(var(--scene-progress) * -4vw), calc(var(--scene-progress) * 3vh), 0);
}

.hero-copy {
  position: absolute;
  z-index: 8;
  top: 23%;
  left: var(--page-pad);
  width: min(46vw, 680px);
}

.hero h1 {
  font-size: clamp(50px, 5.3vw, 84px);
  line-height: 1.32;
}

.hero h1 span {
  color: var(--white);
  text-shadow: 0 0 44px rgba(92, 102, 255, 0.13);
}

.hero-lead {
  margin-top: 34px;
  color: var(--silver);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.hero-ai-note {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding-left: 14px;
  border-left: 1px solid var(--cyan);
  color: var(--silver);
  font-size: 12px;
  line-height: 1.7;
}

.hero-ai-note strong {
  flex: 0 0 auto;
  color: var(--cyan);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .primary-button {
  margin-top: 36px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 19px;
  color: var(--dim);
  font-size: 11px;
}

.availability > * + *::before {
  margin-inline: 12px;
  color: var(--dim);
  content: "/";
}

.availability strong {
  color: var(--silver);
  font-weight: 400;
}

.hero-stage {
  --tilt-x: 0;
  --tilt-y: 0;
  position: absolute;
  z-index: 4;
  top: 7%;
  right: 1.5%;
  width: min(64vw, 930px);
  height: 89%;
  perspective: 1200px;
  transform: translate3d(0, calc(var(--scene-progress) * -5vh), 0);
}

.hero-creature {
  position: absolute;
  z-index: 0;
  top: 3%;
  right: -2%;
  width: 36%;
  height: 78%;
  object-fit: cover;
  object-position: center;
  opacity: 0.63;
  filter: saturate(0.72) brightness(0.78);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  transform: translate3d(calc(var(--tilt-x) * -1px), calc(var(--scene-progress) * 3vh), 0);
}

.hero-match {
  position: absolute;
  z-index: 2;
  top: 2%;
  left: 24%;
  width: clamp(330px, 30vw, 465px);
  height: min(82vh, 730px);
  min-height: 590px;
  transform: rotateY(calc(-7deg + var(--tilt-x) * 0.35deg)) rotateX(calc(var(--tilt-y) * -0.25deg)) rotateZ(3.5deg);
  transition: transform 240ms ease, border-color 240ms ease;
}

.hero-match > img {
  object-position: center 48%;
}

.reward-proof > span {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 14px;
  color: var(--white);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: left;
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  bottom: 28px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--dim);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.scroll-cue i {
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  content: "";
  animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 15% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Rival cards */

.rivals {
  padding-top: clamp(130px, 14vw, 210px);
  padding-bottom: clamp(150px, 16vw, 240px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 70px;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: -34px;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: 1.36;
}

.section-heading > p:last-child {
  padding-bottom: 10px;
  color: var(--silver);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.9;
}

.rival-gallery {
  position: relative;
  display: grid;
  height: clamp(520px, 52vw, 720px);
  grid-template-columns: 0.64fr repeat(3, 1.05fr) 0.68fr;
  gap: clamp(8px, 1.1vw, 18px);
  margin-top: clamp(70px, 8vw, 115px);
  perspective: 1500px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(62px, 7vw, 96px);
  border-block: 1px solid var(--line);
}

.journey-steps li {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(22px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.journey-steps li:last-child {
  border-right: 1px solid var(--line);
}

.journey-steps li::after {
  position: absolute;
  top: 50%;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--void);
  content: "";
  transform: translateY(-50%);
}

.journey-steps li:last-child::after {
  display: none;
}

.journey-steps span {
  color: var(--cyan);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.journey-steps strong {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
}

.journey-steps small {
  color: var(--silver);
  font-size: 12px;
  line-height: 1.7;
}

.rival-gallery::before {
  position: absolute;
  z-index: -1;
  top: -16%;
  left: 7%;
  width: 96%;
  height: 70%;
  border: 1px solid rgba(140, 231, 242, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.rival-portrait {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--graphite);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 600ms var(--ease-out), border-color 240ms ease;
}

.rival-portrait:hover {
  z-index: 3;
  border-color: var(--line-bright);
  transform: translateY(-14px) scale(1.015);
}

.rival-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.78);
  transition: filter 500ms ease, transform 900ms var(--ease-out);
}

.rival-portrait:hover img {
  filter: saturate(0.92) brightness(0.9);
  transform: scale(1.035);
}

.rival-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 15px;
  padding: 72px 20px 22px;
  background: linear-gradient(to bottom, transparent, rgba(2, 3, 8, 0.94));
}

.rival-portrait figcaption span {
  grid-row: 1 / 3;
  color: var(--dim);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
}

.rival-portrait figcaption strong {
  font-size: 20px;
  font-weight: 400;
}

.rival-portrait figcaption small {
  color: var(--silver);
  font-size: 11px;
}

.portrait-noise {
  margin-top: 8%;
  margin-bottom: 5%;
}

.portrait-loop {
  margin-bottom: 10%;
}

.portrait-hako {
  margin-top: 4%;
  margin-bottom: 3%;
}

.proof-screen {
  align-self: center;
  width: 100%;
  height: 71%;
}

.collection-proof {
  transform: rotateY(8deg);
  transform-origin: right;
}

.reward-proof {
  transform: rotateY(-8deg);
  transform-origin: left;
}

.reward-proof > img {
  filter: saturate(0.7) brightness(0.76);
}

.honest-note {
  margin-top: 34px;
  color: var(--dim);
  font-size: 12px;
  text-align: right;
}

/* Orbit AI preview */

.orbit-ai {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 42%, rgba(92, 102, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(8, 11, 19, 0.88), rgba(2, 3, 8, 0.96));
}

.orbit-ai-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.orbit-ai-lockup > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.orbit-ai-lockup > div {
  display: grid;
  gap: 6px;
}

.orbit-ai-lockup p {
  color: var(--white);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.orbit-ai-lockup p span {
  margin-right: 8px;
  color: var(--cyan);
  font-size: 10px;
}

.orbit-ai-lockup small {
  color: var(--dim);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ai-preview {
  display: grid;
  min-height: min(980px, 100svh);
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
  padding-top: clamp(120px, 13vw, 190px);
  padding-bottom: clamp(90px, 10vw, 150px);
}

.ai-preview::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: -8%;
  width: 67%;
  aspect-ratio: 1.8;
  border: 1px solid rgba(140, 231, 242, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-10deg);
}

.ai-preview-copy {
  z-index: 2;
  max-width: 560px;
}

.ai-preview-copy h2 {
  margin-top: 36px;
  font-size: clamp(44px, 4.7vw, 70px);
  line-height: 1.35;
}

.ai-preview-lead {
  max-width: 510px;
  margin-top: 26px;
  color: var(--silver);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 2;
}

.ai-preview-specific {
  max-width: 510px;
  margin-top: 18px;
  padding-left: 17px;
  border-left: 1px solid rgba(140, 231, 242, 0.48);
  color: #c2cad6;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.95;
}

.ai-preview-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 42px;
  margin-top: 38px;
  padding: 0 20px 0 24px;
  border: 1px solid var(--line-bright);
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms var(--ease-out);
}

.ai-preview-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.ai-preview-link:hover,
.ai-preview-link:focus-visible {
  border-color: var(--cyan);
  background: rgba(140, 231, 242, 0.07);
  transform: translateY(-3px);
}

.ai-preview-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.ai-preview-figure {
  position: relative;
  align-self: center;
  min-width: 0;
}

.ai-preview-figure::before {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(92, 102, 255, 0.14), transparent 66%);
  content: "";
  filter: blur(20px);
  pointer-events: none;
}

.ai-preview-figure img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(140, 231, 242, 0.16);
  object-fit: cover;
}

.ai-preview-figure figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 13px;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.6;
}

.ai-preview-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.ai-preview-facts li {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  border-left: 1px solid var(--line);
}

.ai-preview-facts li:last-child {
  border-right: 1px solid var(--line);
}

.ai-preview-facts strong {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
}

.ai-preview-facts span {
  color: var(--silver);
  font-size: 11px;
  line-height: 1.75;
}

.ai-role-facts strong {
  color: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 500;
  line-height: 1.45;
}

.ai-role-facts span {
  max-width: 180px;
}

/* Learning */

.learning {
  padding-top: clamp(140px, 15vw, 220px);
  padding-bottom: clamp(150px, 16vw, 240px);
}

.learning-heading {
  margin-bottom: clamp(58px, 6vw, 88px);
}

.rank-route {
  display: grid;
  min-width: 0;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  align-items: center;
  margin-bottom: clamp(76px, 8vw, 118px);
  border-block: 1px solid var(--line);
}

.rank-route > div {
  display: grid;
  min-height: 104px;
  place-content: center;
  gap: 7px;
  border-inline: 1px solid var(--line);
  text-align: center;
}

.rank-route > div span {
  color: var(--dim);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.rank-route > div strong {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
}

.rank-route > div:last-child {
  background: linear-gradient(135deg, rgba(92, 102, 255, 0.16), rgba(140, 231, 242, 0.08));
}

.rank-route > div:last-child strong {
  color: var(--cyan);
  font-size: 27px;
}

.rank-route ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center;
  padding-inline: 15px;
}

.rank-route ol::before {
  position: absolute;
  right: 4%;
  left: 4%;
  top: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), rgba(140, 231, 242, 0.72));
  content: "";
}

.rank-route li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 52px 3px 18px;
  color: var(--silver);
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.rank-route li::before {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6f79ab;
  box-shadow: 0 0 0 4px var(--void);
  content: "";
  transform: translate(-50%, -50%);
}

.rank-route li.rank-masked::before {
  opacity: 0.46;
  filter: blur(1.4px);
}

.rank-route li.rank-masked::after {
  position: absolute;
  top: 53px;
  left: 50%;
  width: 30px;
  height: 5px;
  border-radius: 50%;
  background: rgba(142, 150, 186, 0.32);
  content: "";
  filter: blur(3px);
  transform: translateX(-50%);
}

.rank-route-secret strong {
  opacity: 0.68;
  filter: blur(2px);
  letter-spacing: 0.16em;
}

.learning-stage {
  position: relative;
  min-height: 820px;
}

.learning-stage::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -8%;
  width: 84%;
  height: 70%;
  border: 1px solid rgba(92, 102, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(12deg);
}

.learning-screens {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 0;
  width: 52%;
  height: 78%;
  perspective: 1300px;
}

.detail-screen,
.analysis-screen {
  position: absolute;
  width: 45%;
  height: 88%;
}

.detail-screen {
  top: 7%;
  left: 0;
  transform: rotateY(7deg) rotateZ(-1.5deg);
}

.analysis-screen {
  top: 0;
  right: 5%;
  transform: rotateY(-5deg) rotateZ(1.5deg);
}

.navigator-stage {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 86%;
}

.crew-art {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -5%;
  width: 92%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.66;
  filter: saturate(0.76) brightness(0.8);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}

.navigator-copy {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 12%;
  width: 43%;
}

.navigator-copy h3 {
  font-size: clamp(27px, 2.6vw, 42px);
  line-height: 1.45;
}

.crew-tabs {
  display: flex;
  gap: 21px;
  margin-top: 35px;
  border-bottom: 1px solid var(--line);
}

.crew-tabs button {
  min-width: 48px;
  min-height: 44px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: 12px;
}

.crew-tabs button[aria-selected="true"] {
  border-color: var(--cyan);
  color: var(--white);
}

.crew-line {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.crew-line strong {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 400;
}

.crew-line span {
  color: var(--silver);
  font-size: 13px;
  line-height: 1.8;
}

/* Release */

.release {
  position: relative;
  display: grid;
  min-height: max(760px, 94svh);
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 62% 48%, rgba(92, 102, 255, 0.14), transparent 25rem);
}

.release::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--void) 0%, rgba(2, 3, 8, 0.9) 40%, rgba(2, 3, 8, 0.08) 70%);
  content: "";
}

.release-orbit {
  position: absolute;
  top: 14%;
  left: 32%;
  width: 80%;
  height: 70%;
  border: 1px solid rgba(140, 231, 242, 0.15);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.release-icon {
  position: absolute;
  z-index: 0;
  top: 14%;
  right: 7%;
  width: min(45vw, 620px);
  opacity: 0.72;
  filter: brightness(0.9);
  transform: rotate(6deg);
}

.release-copy {
  position: relative;
  z-index: 2;
  width: min(100% - var(--page-pad) * 2, var(--content-width));
}

.release-copy > p {
  color: var(--silver);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.release-copy h2 {
  max-width: 760px;
  margin-top: 32px;
  font-size: clamp(52px, 5.7vw, 86px);
  line-height: 1.34;
}

.release-button {
  margin-top: 0;
}

.release-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
}

.release-qr {
  display: grid;
  width: 132px;
  flex: 0 0 auto;
  gap: 6px;
  padding: 9px 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: #fff;
  color: #10131a;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.release-qr:hover {
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.release-qr img {
  width: 100%;
  height: auto;
}

.release-copy small {
  display: block;
  margin-top: 17px;
  color: var(--dim);
  font-size: 11px;
}

footer {
  display: grid;
  min-height: 90px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 20px var(--page-pad);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
}

.footer-brand {
  min-height: 44px;
  font-size: 10px;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  color: var(--silver);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

/* Privacy and support */

.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 84% 0%, rgba(92, 102, 255, 0.15), transparent 34rem),
    radial-gradient(circle at 8% 24%, rgba(140, 231, 242, 0.05), transparent 26rem),
    var(--void);
}

.legal-page::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(244, 247, 251, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 247, 251, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.legal-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 3, 8, 0.78);
  backdrop-filter: blur(18px);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-decoration: none;
}

.legal-brand img {
  border-radius: 20%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.legal-nav {
  display: flex;
  gap: 24px;
  color: var(--silver);
  font-size: 12px;
}

.legal-nav a {
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--white);
}

.legal-main {
  width: min(100% - (var(--page-pad) * 2), 900px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0 112px;
}

.legal-intro {
  position: relative;
  padding-bottom: clamp(62px, 8vw, 92px);
  border-bottom: 1px solid var(--line-bright);
}

.legal-intro::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(36%, 260px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  content: "";
}

.legal-intro > p:first-child {
  color: var(--cyan);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.legal-intro h1 {
  margin-top: 24px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.18;
}

.legal-intro h1 + p {
  max-width: 720px;
  margin-top: 30px;
  color: #c0c8d3;
  font-size: 15px;
  line-height: 2;
}

.legal-intro time {
  display: block;
  margin-top: 22px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.legal-card {
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.5;
}

.legal-card h3 {
  font-size: 19px;
  line-height: 1.5;
}

.legal-card p,
.legal-card li,
.legal-card dd,
.legal-card dt {
  color: #adb7c5;
  font-size: 14px;
  line-height: 2;
}

.legal-card h2 + p,
.legal-card p + p,
.legal-card p + .legal-links {
  margin-top: 20px;
}

.legal-card a {
  color: var(--cyan);
  text-underline-offset: 4px;
}

.legal-links {
  display: grid;
  gap: 12px;
}

.legal-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal-contact {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid var(--line-bright);
  background: rgba(244, 247, 251, 0.04);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.legal-contact span {
  color: var(--cyan);
  font-size: 20px;
}

.support-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 44px;
  margin-top: 32px;
}

.support-topics p {
  margin-top: 10px;
}

.app-facts dl {
  margin: 28px 0 0;
}

.app-facts dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.app-facts dt {
  color: var(--dim);
}

.app-facts dd {
  margin: 0;
  color: var(--white);
}

.legal-footer {
  grid-template-columns: auto auto 1fr;
  justify-items: start;
  min-height: 88px;
  padding-inline: var(--page-pad);
}

.legal-footer a {
  color: var(--silver);
  text-decoration: none;
}

.legal-footer span {
  justify-self: end;
}

/* Screen dialog */

.screen-dialog {
  width: min(92vw, 620px);
  max-width: none;
  max-height: 92svh;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--line-bright);
  background: var(--graphite);
  color: var(--white);
  box-shadow: 0 44px 150px rgba(0, 0, 0, 0.85);
}

.screen-dialog::backdrop {
  background: rgba(2, 3, 8, 0.9);
  backdrop-filter: blur(12px);
}

.screen-dialog figure {
  max-height: 88svh;
  overflow: auto;
}

.screen-dialog img {
  width: 100%;
  height: auto;
}

.screen-dialog figcaption {
  position: sticky;
  bottom: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 19, 0.95);
  color: var(--silver);
  font-size: 12px;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: var(--void);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 1100px) {
  .hero-copy {
    width: 45vw;
  }

  .hero-stage {
    right: -4%;
    width: 67vw;
  }

  .hero-match {
    left: 18%;
  }

  .rival-gallery {
    grid-template-columns: 0.52fr repeat(3, 1fr) 0.52fr;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .journey-steps li {
    min-height: 114px;
    padding: 22px 24px 22px 70px;
    border-right: 1px solid var(--line);
  }

  .journey-steps li::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 33px;
    transform: none;
  }

  .journey-steps span {
    position: absolute;
    top: 50%;
    left: 23px;
    transform: translateY(-50%);
  }

  .rival-portrait figcaption small {
    display: none;
  }

  .ai-preview {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: 42px;
  }

  .ai-preview-copy h2 {
    font-size: clamp(43px, 5.3vw, 60px);
  }

}

@media (max-width: 820px) {
  :root {
    --page-pad: 20px;
    --header-height: 62px;
  }

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

  .site-header nav {
    display: none;
  }

  .brand {
    min-height: 44px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    padding-inline: 13px;
    font-size: 10px;
  }

  .dialog-close {
    top: 6px;
    right: 6px;
  }

  .hero {
    min-height: 1170px;
  }

  .hero-copy {
    top: 115px;
    left: var(--page-pad);
    width: calc(100% - var(--page-pad) * 2);
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.28;
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 15px;
  }

  .hero-ai-note {
    gap: 10px;
    margin-top: 16px;
    font-size: 11px;
  }

  .hero .primary-button {
    width: 100%;
    margin-top: 25px;
  }

  .availability {
    justify-content: center;
    font-size: 10px;
  }

  .hero-stage {
    top: 555px;
    right: 0;
    width: 100%;
    height: 570px;
  }

  .hero-creature {
    top: 0;
    right: -24%;
    width: 65%;
    height: 75%;
  }

  .hero-match {
    top: 0;
    left: 4%;
    width: min(75vw, 310px);
    height: 510px;
    min-height: 0;
  }

  .hero-orbit {
    top: 44%;
    right: -45%;
    width: 150vw;
    height: 100vw;
  }

  .scroll-cue {
    display: none;
  }

  .rivals {
    padding-top: 110px;
    padding-bottom: 130px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .section-index {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: clamp(40px, 10.5vw, 54px);
    line-height: 1.3;
  }

  .section-heading > p:last-child {
    margin-top: 28px;
    padding: 0;
    font-size: 14px;
  }

  .rival-gallery {
    display: grid;
    height: 510px;
    grid-template-columns: 165px repeat(3, 245px) 165px;
    gap: 10px;
    margin-top: 60px;
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .rival-gallery::-webkit-scrollbar {
    display: none;
  }

  .rival-gallery > * {
    margin-block: 0;
    scroll-snap-align: center;
  }

  .proof-screen {
    height: 86%;
  }

  .rival-portrait figcaption small {
    display: block;
  }

  .honest-note {
    text-align: left;
    line-height: 1.8;
  }

  .orbit-ai {
    min-height: 0;
  }

  .ai-preview {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 100px;
    padding-bottom: 95px;
  }

  .ai-preview::before {
    top: 28%;
    right: -45%;
    width: 130%;
  }

  .ai-preview-copy {
    max-width: none;
  }

  .ai-preview-copy h2 {
    margin-top: 30px;
    font-size: clamp(39px, 10.6vw, 52px);
    line-height: 1.38;
  }

  .ai-preview-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.95;
  }

  .ai-preview-specific {
    margin-top: 17px;
    font-size: 12px;
    line-height: 1.9;
  }

  .ai-preview-link {
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
  }

  .ai-preview-figure {
    order: 2;
    margin-top: 54px;
  }

  .ai-preview-figure img {
    width: calc(100% + var(--page-pad) * 2);
    max-width: none;
    margin-left: calc(var(--page-pad) * -1);
    border-right: 0;
    border-left: 0;
  }

  .ai-preview-figure figcaption {
    flex-direction: column;
    gap: 2px;
    font-size: 9px;
  }

  .ai-preview-facts {
    order: 3;
    margin-top: 48px;
  }

  .ai-preview-facts li {
    min-height: 122px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 12px;
  }

  .ai-preview-facts strong {
    font-size: clamp(36px, 11vw, 48px);
  }

  .ai-preview-facts span {
    font-size: 9px;
  }

  .ai-preview-facts.ai-role-facts {
    grid-template-columns: 1fr;
  }

  .ai-preview-facts.ai-role-facts li {
    min-height: 94px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .ai-preview-facts.ai-role-facts li:last-child {
    border-bottom: 0;
  }

  .ai-preview-facts.ai-role-facts strong {
    width: 112px;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1.5;
  }

  .ai-preview-facts.ai-role-facts span {
    max-width: none;
    font-size: 11px;
    line-height: 1.7;
  }

  .orbit-ai-lockup {
    gap: 11px;
  }

  .orbit-ai-lockup > img {
    width: 46px;
    height: 46px;
  }

  .orbit-ai-lockup p {
    font-size: 13px;
  }

  .orbit-ai-lockup small {
    font-size: 7px;
  }

  .learning {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .learning-heading {
    margin-bottom: 52px;
  }

  .rank-route {
    display: block;
    margin-bottom: 72px;
    border: 1px solid var(--line);
  }

  .rank-route > div {
    min-height: 76px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .rank-route > div:last-child {
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .rank-route ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px;
  }

  .rank-route ol::before {
    display: none;
  }

  .rank-route li {
    padding: 15px 3px;
    border-bottom: 1px solid rgba(244, 247, 251, 0.08);
    font-size: 10px;
  }

  .rank-route li::before {
    display: none;
  }

  .rank-route li.rank-masked::after {
    top: 50%;
    width: 36px;
    height: 6px;
    transform: translate(-50%, -50%);
  }

  .learning-stage {
    min-height: 1080px;
  }

  .learning-screens {
    top: 0;
    width: 100%;
    height: 570px;
  }

  .detail-screen,
  .analysis-screen {
    width: 54%;
    height: 520px;
  }

  .analysis-screen {
    right: 0;
  }

  .navigator-stage {
    bottom: 0;
    width: 100%;
    height: 590px;
  }

  .crew-art {
    top: 2%;
    right: -18%;
    width: 118%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .navigator-copy {
    right: 0;
    bottom: 8%;
    width: 51%;
  }

  .navigator-copy h3 {
    font-size: 24px;
  }

  .crew-tabs {
    gap: 12px;
    margin-top: 24px;
  }

  .release {
    min-height: 800px;
    place-items: end start;
    padding: 0 var(--page-pad) 100px;
  }

  .release::after {
    background: linear-gradient(to bottom, rgba(2, 3, 8, 0.12), var(--void) 68%);
  }

  .release-icon {
    top: 8%;
    right: -18%;
    width: 105vw;
  }

  .release-copy {
    width: 100%;
  }

  .release-copy h2 {
    font-size: clamp(42px, 10.5vw, 56px);
  }

  .release-button {
    width: 100%;
  }

  .release-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 34px;
  }

  .release-qr {
    width: 144px;
    align-self: center;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 28px;
  }

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

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-main {
    width: calc(100% - 48px);
    padding-top: 64px;
  }

  .legal-intro h1 + p,
  .legal-card p,
  .legal-card li,
  .legal-card dd,
  .legal-card dt {
    font-size: 13px;
  }

  .support-topics {
    grid-template-columns: 1fr;
  }

  .legal-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer span {
    justify-self: auto;
  }
}

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

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

  .hero-stage,
  .hero-orbit,
  .hero-creature,
  .hero-match {
    transform: none;
  }
}
