@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;600&family=Outfit:wght@300..900&display=swap');

:root {
  color-scheme: dark;
  --bg-base: #080814;
  --bg-surface: #13131d;
  --bg-surface-2: #1b1a29;
  --ink: #fafafa;
  --ink-90: rgba(250, 250, 252, 0.9);
  --ink-72: rgba(250, 250, 252, 0.72);
  --ink-62: rgba(250, 250, 252, 0.62);
  --ink-48: rgba(250, 250, 252, 0.48);
  --ink-32: rgba(250, 250, 252, 0.32);
  --ink-16: rgba(250, 250, 252, 0.16);
  --ink-10: rgba(250, 250, 252, 0.1);
  --ink-06: rgba(250, 250, 252, 0.06);
  --brand: #7650ff;
  --brand-light: #aa72ff;
  --brand-deep: #3515b9;
  --brand-soft: rgba(118, 80, 255, 0.24);
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.06);
  --font-display: 'Outfit', 'Arial Black', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --wrap: 1200px;
  --hero-wrap: 1440px;
  --gutter: 40px;
  --nav-height: 72px;
  --shadow-purple: 0 36px 100px rgba(66, 24, 202, 0.34);
}

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

html {
  background: var(--bg-base);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

::selection {
  background: var(--brand);
  color: white;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-base);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.wrap {
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

.grain {
  isolation: isolate;
}

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ink-48);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.display-title {
  margin: 0;
  font-size: clamp(46px, 7vw, 108px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.display-title em {
  color: var(--ink-62);
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.punctuation {
  margin-left: 0.015em;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-dot {
  color: var(--brand);
}

/* Navigation */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(8, 8, 20, 0.78);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.site-nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.site-nav__home {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  min-height: 42px;
}

.site-nav__home img {
  width: 148px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.site-nav__links {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
  font-weight: 650;
}

.site-nav__links a {
  color: var(--ink-62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: var(--ink);
}

/* Intro */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--brand);
  animation: intro-hide 0.75s cubic-bezier(0.76, 0, 0.24, 1) 2.4s forwards;
}

.intro-splash__grid {
  position: absolute;
  inset: -10%;
  opacity: 0.34;
  background-image: linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(800px) rotateX(12deg) scale(1.18);
  animation: intro-grid 2.4s ease-out both;
}

.intro-splash__word {
  position: relative;
  display: flex;
  color: white;
  font-size: clamp(54px, 11vw, 166px);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
}

.intro-splash__word span,
.intro-splash__word em {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(30px) scale(0.93);
  animation: intro-letter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-splash__word span:nth-child(2) { animation-delay: 0.08s; }
.intro-splash__word span:nth-child(3) { animation-delay: 0.16s; }
.intro-splash__word span:nth-child(4) { animation-delay: 0.24s; }
.intro-splash__word span:nth-child(5) { animation-delay: 0.32s; }
.intro-splash__word span:nth-child(6) { animation-delay: 0.4s; }
.intro-splash__word em {
  margin-left: 0.03em;
  color: #c5a7ff;
  font-style: normal;
  animation-delay: 0.48s;
}

.home-page .nav-shell,
.home-page .reveal-block {
  opacity: 0;
  transform: translateY(18px);
  animation: enter-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 2.52s forwards;
}

.home-page .reveal-block:nth-child(2) {
  animation-delay: 2.68s;
}

.home-page .site-nav__links,
.hero .eyebrow {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(920px, calc(100svh + 120px));
  overflow: hidden;
  background: var(--bg-surface);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  column-gap: clamp(52px, 4.5vw, 82px);
  width: min(calc(100% - (var(--gutter) * 2)), var(--hero-wrap));
  min-height: min(920px, calc(100svh + 120px));
  padding-block: clamp(62px, 7vw, 96px);
}

.hero__copy {
  position: relative;
  top: -34px;
  z-index: 4;
  min-width: 0;
}

.hero__title {
  font-size: clamp(58px, 5.2vw, 100px);
  line-height: 0.84;
}

.hero__title > span {
  display: block;
  white-space: nowrap;
}

.hero__title > span + span {
  margin-top: 0.09em;
}

.hero__title i {
  margin-left: 0.06em;
  color: var(--brand);
  font-style: normal;
}

.hero__sub {
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--ink-90);
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 430;
  line-height: 1.43;
}

.app-badge {
  display: inline-grid;
  grid-template-columns: 72px auto 28px;
  align-items: center;
  gap: 16px;
  min-width: min(100%, 390px);
  margin-top: 38px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.app-badge:hover,
.app-badge:focus-visible {
  border-color: rgba(170, 114, 255, 0.65);
  background: rgba(118, 80, 255, 0.1);
  transform: translateY(-2px);
}

.app-badge__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: #050509;
}

.app-badge__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-badge strong,
.app-badge small {
  display: block;
}

.app-badge strong {
  font-size: 17px;
  font-weight: 750;
}

.app-badge small {
  margin-top: 4px;
  color: var(--ink-48);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.app-badge__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg-base);
  font-size: 15px;
}

.hero__visual {
  position: relative;
  min-width: 0;
  min-height: clamp(520px, 45vw, 720px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.visual-panel,
.cta-halo {
  position: absolute;
  inset: 5% -16% 0 -1%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, var(--brand-light), var(--brand) 38%, var(--brand-deep));
  background-size: 38px 38px, 38px 38px, auto;
  clip-path: polygon(15% 0, 100% 6%, 94% 94%, 0 100%, 5% 18%);
  box-shadow: var(--shadow-purple);
}

.pack-stage,
.cta__packs {
  --stage-light-x: 50%;
  --stage-light-y: 42%;
  position: relative;
  width: 100%;
  max-width: 780px;
  height: clamp(520px, 38vw, 700px);
  perspective: 1400px;
  isolation: isolate;
}

.pack-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(220px circle at var(--stage-light-x) var(--stage-light-y), rgba(93, 72, 255, 0.24), rgba(93, 72, 255, 0) 65%);
  mix-blend-mode: screen;
  transition: opacity 0.32s ease;
}

.pack-stage:hover::after {
  opacity: 1;
}

.product-pack {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --stage-shift-x: 0px;
  --shine-x: 50%;
  --shine-y: 30%;
  --pack-glow: rgba(91, 85, 255, 0.5);
  position: absolute;
  width: 35%;
  aspect-ratio: 962 / 1635;
  margin: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: opacity 0.32s ease, filter 0.32s ease, translate 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: translate, transform, filter;
}

.js [data-pack-stage] .product-pack {
  visibility: hidden;
  opacity: 0;
}

.js [data-pack-stage].is-pack-ready .product-pack {
  visibility: visible;
  opacity: 1;
}

.product-pack__tilt {
  position: absolute;
  inset: 0;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), scale 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, translate, rotate;
}

.pack-stage .product-pack--ruby .product-pack__tilt,
.pack-stage .product-pack--amber .product-pack__tilt {
  animation: hero-pack-drift-left 6.5s ease-in-out infinite;
}

.pack-stage .product-pack--amber .product-pack__tilt {
  animation-duration: 7s;
  animation-delay: -1.8s;
}

.pack-stage .product-pack--sapphire .product-pack__tilt {
  animation: hero-pack-drift-right 7.5s ease-in-out -2.6s infinite;
}

.pack-stage .product-pack--gold .product-pack__tilt {
  animation: hero-pack-drift-center 5s ease-in-out -1.1s infinite;
}

.product-pack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.46));
  user-select: none;
  -webkit-user-drag: none;
}

.product-pack__shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.16) 14%, transparent 34%);
  mix-blend-mode: screen;
  -webkit-mask: var(--pack-image) center / contain no-repeat;
  mask: var(--pack-image) center / contain no-repeat;
  transform: translateZ(2px);
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.product-pack--ruby {
  --pack-glow: rgba(255, 53, 94, 0.58);
  top: 29%;
  left: -1%;
  z-index: 1;
  transform: rotate(-13deg) translate3d(4%, 0, -80px);
}

.product-pack--amber {
  --pack-glow: rgba(255, 124, 35, 0.58);
  top: 18%;
  left: 15%;
  z-index: 2;
  width: 37%;
  transform: rotate(-6deg) translate3d(2%, 0, -45px);
}

.product-pack--sapphire {
  --pack-glow: rgba(43, 121, 255, 0.62);
  top: 27%;
  right: -1%;
  z-index: 3;
  transform: rotate(11deg) translate3d(-3%, 0, -20px);
}

.product-pack--gold {
  --pack-glow: rgba(255, 199, 66, 0.58);
  top: 4%;
  left: 53%;
  z-index: 5;
  width: 43%;
  transform: translateX(-50%);
}

.product-pack:is(:hover, .is-focused) {
  z-index: 20;
  translate: 0 -18px;
  filter: saturate(1.08) drop-shadow(0 32px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 36px var(--pack-glow));
}

.product-pack--ruby:is(:hover, .is-focused) {
  transform: rotate(-2deg) translate3d(4%, 0, -80px);
}

.product-pack--amber:is(:hover, .is-focused) {
  transform: rotate(-1deg) translate3d(2%, 0, -45px);
}

.product-pack--sapphire:is(:hover, .is-focused) {
  transform: rotate(2deg) translate3d(-3%, 0, -20px);
}

.product-pack--gold:is(:hover, .is-focused) {
  translate: 0 -14px;
  filter: saturate(1.08) drop-shadow(0 48px 80px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 52px var(--pack-glow));
}

.product-pack:is(:hover, .is-focused) .product-pack__tilt {
  scale: 1.08;
}

.product-pack--gold:is(:hover, .is-focused) .product-pack__tilt {
  scale: 1.04;
}

.product-pack:is(:hover, .is-focused) .product-pack__shine {
  opacity: 0.74;
}

.pack-stage:has(.product-pack:hover) .product-pack:not(:hover) {
  opacity: 0.55;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3)) saturate(0.85);
}

.pack-stage.has-pack-focus .product-pack:not(.is-focused) {
  opacity: 0.55;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3)) saturate(0.85);
}

.visual-seal {
  position: absolute;
  top: 13%;
  right: -2%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: clamp(82px, 8vw, 112px);
  aspect-ratio: 1;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-deep);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.22;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

/* Collection carousel */
.vault {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 860px;
  overflow: hidden;
  background: var(--bg-base);
}

.vault__grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(56px, 6vw, 88px);
  min-height: 860px;
  padding-block: 92px;
}

.vault__header .display-title {
  max-width: 5.4ch;
  font-size: clamp(58px, 7vw, 108px);
}

.collectible-carousel {
  position: relative;
}

.collectible-carousel__viewport {
  position: relative;
  height: 560px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.collectible-carousel__track {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.slab-card {
  --card-offset: 0;
  --card-distance: 0;
  position: absolute;
  width: clamp(250px, 23vw, 330px);
  aspect-ratio: 0.69;
  margin: 0;
  opacity: max(0, calc(1 - (var(--card-distance) * 0.32)));
  transform: translateX(calc(var(--card-offset) * 63%)) translateZ(calc(var(--card-distance) * -120px)) rotateY(calc(var(--card-offset) * -8deg)) scale(calc(1 - (var(--card-distance) * 0.1)));
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, filter 0.55s ease;
  filter: saturate(calc(1 - (var(--card-distance) * 0.18))) drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.slab-card.is-active {
  z-index: 5;
  filter: saturate(1) drop-shadow(0 26px 36px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 24px rgba(118, 80, 255, 0.3));
}

.slab-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ink-16);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.is-active {
  width: 25px;
  background: var(--ink-90);
}

.carousel-dots button:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 5px;
}

/* Drawer and steps */
.drawer {
  position: relative;
  z-index: 5;
  overflow: clip;
  border-radius: 40px 40px 0 0;
  background: var(--bg-surface);
  box-shadow: 0 -36px 100px -12px rgba(0, 0, 0, 0.22);
}

.steps-pin {
  position: relative;
  height: 210svh;
  background: var(--bg-base);
}

.steps-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.steps__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.steps__intro .display-title {
  max-width: 5.5ch;
}

.steps__list {
  display: grid;
  gap: clamp(12px, 1.8svh, 18px);
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  min-height: clamp(128px, 15svh, 165px);
  padding: clamp(20px, 2.3vw, 26px) clamp(20px, 2.5vw, 30px) clamp(22px, 2.6vw, 30px);
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.14;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, background 0.45s ease;
}

.step-card.is-active {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.045);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--brand-light), var(--brand));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s ease 0.08s;
}

.step-card.is-active::before { transform: scaleY(1); }

.step-card__number {
  min-width: clamp(60px, 7vw, 86px);
  color: var(--ink-32);
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.step-card h3 {
  margin: 0;
  font-size: clamp(28px, 3.45vw, 44px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.step-card h3 em {
  color: var(--ink-48);
  font-style: normal;
}

.step-card p {
  max-width: 44ch;
  margin: 12px 0 0;
  color: var(--ink-62);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.42;
}

/* CTA */
.cta-section {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  border-top: 1px solid var(--hairline-soft);
  background: var(--bg-surface);
}

.cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
  min-height: 790px;
  padding-block: 84px;
}

.cta__copy .display-title {
  max-width: 6.2ch;
}

.cta__packs {
  height: 580px;
}

.cta__packs .cta-halo {
  inset: 10% -18% 0 -8%;
  animation: halo-breathe 5s ease-in-out infinite;
}

.cta__packs .product-pack--ruby,
.cta__packs .product-pack--amber,
.cta__packs .product-pack--sapphire {
  animation: pack-float 4.8s ease-in-out infinite;
}

.cta__packs .product-pack--amber { animation-delay: -0.8s; }
.cta__packs .product-pack--sapphire { animation-delay: -1.7s; }
.cta__packs .product-pack--gold { animation: pack-float-center 4.2s ease-in-out infinite; }
.cta__packs .product-pack { pointer-events: none; }

/* Footer */
.site-footer {
  min-height: 520px;
  padding: 112px 0 40px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-base);
}

.footer-shortcuts {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.footer-shortcuts a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink-90);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-shortcuts a:hover,
.footer-shortcuts a:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  transform: translateY(-2px);
}

.footer-wordmark {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(96px, 22vw, 340px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.78;
  white-space: nowrap;
}

.footer-wordmark span { color: var(--brand); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  color: var(--ink-90);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.footer-legal a + a::before {
  content: '|';
  margin: 0 12px;
  color: var(--ink-32);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--brand-light);
}

/* Legal and help pages */
.legal-page main {
  min-height: 100svh;
  background: var(--bg-surface);
}

.legal-page .nav-shell {
  position: sticky;
}

.legal-article {
  padding: clamp(70px, 9vw, 120px) 0 clamp(100px, 12vw, 170px);
}

.legal-wrap {
  width: min(calc(100% - (var(--gutter) * 2)), 920px);
  margin-inline: auto;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(62px, 8vw, 98px);
}

.legal-tabs a {
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-62);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.legal-tabs a[aria-current='page'],
.legal-tabs a:hover,
.legal-tabs a:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.legal-updated {
  margin: 0 0 22px;
  color: var(--ink-48);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-title {
  margin: 0 0 clamp(54px, 8vw, 90px);
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.legal-title span { color: var(--brand); }

.legal-note {
  margin: -42px 0 70px;
  padding: 18px 20px;
  border: 1px solid rgba(170, 114, 255, 0.32);
  border-radius: 16px;
  background: rgba(118, 80, 255, 0.08);
  color: var(--ink-72);
  font-size: 14px;
  line-height: 1.55;
}

.legal-section {
  padding: 44px 0;
  border-top: 1px solid var(--hairline-soft);
}

.legal-section h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1;
}

.legal-section h3 {
  margin: 34px 0 16px;
  color: var(--ink-90);
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: var(--ink-72);
  font-size: 16px;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 18px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.legal-section li + li { margin-top: 10px; }
.legal-section a { color: var(--brand-light); }
.legal-section strong { color: var(--ink); }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.faq-list summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  cursor: pointer;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 750;
  letter-spacing: -0.025em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-06);
  color: var(--brand-light);
  font-family: var(--font-mono);
  font-size: 17px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 64px 24px 24px;
  color: var(--ink-62);
  line-height: 1.7;
}

.legal-page .site-footer {
  min-height: 430px;
  padding-top: 86px;
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 40px 24px;
  background: radial-gradient(circle at 50% 30%, rgba(118, 80, 255, 0.24), transparent 34%), var(--bg-base);
  text-align: center;
}

.not-found-card img {
  width: 164px;
  margin: 0 auto 42px;
}

.not-found-card h1 {
  margin: 0;
  font-size: clamp(92px, 22vw, 250px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.not-found-card h1 span { color: var(--brand); }
.not-found-card p { margin: 34px 0 26px; color: var(--ink-62); font-size: 18px; }
.not-found-card a {
  display: inline-flex;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-base);
  font-weight: 750;
  text-decoration: none;
}

/* Reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes intro-letter {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes intro-grid {
  0% { opacity: 0; transform: perspective(800px) rotateX(12deg) scale(1.35); }
  100% { opacity: 0.34; transform: perspective(800px) rotateX(12deg) scale(1.18); }
}

@keyframes intro-hide {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; visibility: hidden; transform: translateY(-105%); }
}

@keyframes enter-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes foil-sheen {
  0%, 100% { background-position: 110% 0, 0 0; }
  50% { background-position: -80% 0, 0 0; }
}

@keyframes pack-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes pack-float-center {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -13px; }
}

@keyframes hero-pack-drift-left {
  0%, 100% { translate: var(--stage-shift-x) -4px; rotate: y -4deg; }
  50% { translate: var(--stage-shift-x) 4px; rotate: y 4deg; }
}

@keyframes hero-pack-drift-right {
  0%, 100% { translate: var(--stage-shift-x) 4px; rotate: y 4deg; }
  50% { translate: var(--stage-shift-x) -4px; rotate: y -4deg; }
}

@keyframes hero-pack-drift-center {
  0%, 100% { translate: var(--stage-shift-x) -6px; rotate: y -6deg; }
  50% { translate: var(--stage-shift-x) 6px; rotate: y 6deg; }
}

@keyframes halo-breathe {
  0%, 100% { filter: saturate(1); opacity: 0.92; }
  50% { filter: saturate(1.2); opacity: 1; }
}

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .site-nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(430px, 0.9fr) minmax(430px, 1.1fr); column-gap: 34px; }
  .vault__grid { grid-template-columns: 0.8fr 1.2fr; gap: 34px; }
  .cta__grid { grid-template-columns: 0.9fr 1.1fr; gap: 34px; }
}

@media (max-width: 960px) {
  :root { --nav-height: 65px; --gutter: 28px; }

  .site-nav__home { width: 126px; }
  .site-nav__home img { width: 120px; max-height: 40px; }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-block: 48px 64px;
  }

  .hero__copy { top: 0; }

  .hero__title > span { white-space: normal; }
  .hero__visual { min-height: clamp(430px, 78vw, 590px); transform: none; }
  .visual-panel { inset: 8% -24% -3% -8%; }
  .pack-stage { max-width: 620px; height: clamp(420px, 72vw, 560px); }

  .vault { min-height: auto; }
  .vault__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
    padding-block: 88px;
  }
  .vault__header .display-title { max-width: 8ch; }
  .collectible-carousel__viewport { height: 500px; }

  .steps-pin { height: auto; }
  .steps-sticky { position: relative; min-height: auto; padding: 70px 0 76px; }
  .steps__grid { grid-template-columns: 1fr; gap: 36px; }
  .steps__intro .display-title { max-width: 8ch; }
  .steps__list { gap: 20px; }
  .step-card { grid-template-columns: 1fr; min-height: 0; gap: 15px; padding: 26px 24px 30px; opacity: 1; transform: none; }
  .step-card__number { min-width: 0; }

  .cta-section { min-height: auto; }
  .cta__grid { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-block: 74px 54px; }
  .cta__copy .display-title { max-width: 8ch; }
  .cta__packs { height: clamp(420px, 76vw, 570px); }

  .site-footer { padding-top: 86px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .display-title { font-size: 46px; line-height: 0.95; }
  .drawer { border-radius: 30px 30px 0 0; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }

  .hero__grid { gap: 20px; padding-block: 54px 36px; }
  .hero__title { font-size: 46px; line-height: 0.84; }
  .hero__sub { margin-top: 25px; font-size: 17px; }
  .app-badge { grid-template-columns: 74px auto; gap: 16px; width: 100%; margin-top: 30px; }
  .app-badge__icon { width: 74px; height: 74px; }
  .app-badge__arrow { display: none; }
  .hero__visual { min-height: 390px; }
  .visual-panel { inset: 10% -30% 0 -9%; border-radius: 24px; }
  .pack-stage { height: 390px; }
  .product-pack { width: 37%; }
  .product-pack--ruby { top: 31%; left: -2%; }
  .product-pack--amber { top: 19%; left: 18%; width: 39%; }
  .product-pack--sapphire { top: 30%; right: -2%; }
  .product-pack--gold { top: 5%; left: 53%; width: 46%; }
  .visual-seal { display: none; }

  .vault__grid { gap: 38px; padding-block: 80px; }
  .vault__header .display-title { max-width: 8ch; }
  .collectible-carousel__viewport { height: 350px; margin-inline: calc(var(--gutter) * -1); }
  .slab-card { width: 166px; transform: translateX(calc(var(--card-offset) * 58%)) translateZ(calc(var(--card-distance) * -90px)) rotateY(calc(var(--card-offset) * -8deg)) scale(calc(1 - (var(--card-distance) * 0.09))); }

  .steps-sticky { padding: 48px 0 56px; }
  .steps__grid { gap: 28px; }
  .steps__intro .display-title { max-width: 9ch; }
  .step-card h3 { font-size: 28px; line-height: 0.98; }
  .step-card__number { font-size: 64px; }

  .cta__grid { padding-block: 68px 26px; }
  .cta__packs { height: 390px; }
  .cta__packs .cta-halo { inset: 8% -28% 0 -10%; }

  .site-footer { min-height: 427px; padding: 78px 0 36px; text-align: center; }
  .footer-shortcuts { justify-content: center; margin-bottom: 52px; }
  .footer-shortcuts a { width: 52px; height: 52px; }
  .footer-wordmark { font-size: clamp(82px, 24vw, 118px); line-height: 0.85; text-align: center; }
  .footer-bottom { align-items: center; gap: 12px; margin-top: 30px; font-size: 9px; text-align: center; }
  .footer-legal { justify-content: center; row-gap: 8px; }
  .footer-legal a + a::before { margin-inline: 8px; }

  .legal-wrap { width: min(calc(100% - 56px), 920px); }
  .legal-article { padding-top: 58px; }
  .legal-tabs { gap: 6px; margin-bottom: 58px; }
  .legal-tabs a { padding: 9px 11px; font-size: 8px; }
  .legal-title { margin-bottom: 68px; font-size: 52px; }
  .legal-note { margin-top: -34px; margin-bottom: 54px; }
  .legal-section { padding-block: 36px; }
  .legal-section h2 { font-size: 32px; }
  .faq-list summary { padding: 20px 58px 20px 20px; font-size: 20px; }
  .faq-answer { padding: 0 20px 22px; }
}

@media (max-width: 420px) {
  .intro-splash__grid { background-size: 38px 38px; }
  .hero__visual { margin-inline: -28px; }
  .visual-panel { inset-inline: -8%; }
  .product-pack--ruby { left: 3%; }
  .product-pack--amber { left: 19%; }
  .product-pack--sapphire { right: 3%; }
  .footer-shortcuts { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .intro-splash { display: none; }
  .home-page .nav-shell,
  .home-page .reveal-block,
  .reveal-on-scroll { opacity: 1; transform: none; }
  .step-card { opacity: 1; transform: none; }
}
