:root {
  --bg: #080d12;
  --section-bg-beta: var(--bg);
  --section-bg-discover: linear-gradient(
    rgba(4, 8, 12, .62),
    rgba(4, 8, 12, .62)
  ),
  linear-gradient(145deg, #0c1117 0%, #11171f 45%, #1a2028 100%);
  --ink: #d8d2c4;
  --paper: #0d1520;
  --accent: #c74e2a;
  --accent-2: #1a8f9c;
  --line: #1d2c3c;
  --section-max-width: 1200px;
  --hero-feature-card-width: min(82vw, 320px);
  --hero-bg-opacity: .34;
  --hero-bg-fade-ms: 850ms;
  --hero-video-opacity: .14;
  --hero-float-duration: 11.5s;
  --discover-wow-intensity: 1;
  --discover-wow-duration: 1120ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #0f2235 0%, transparent 32%),
    radial-gradient(circle at 90% 20%, #081a20 0%, transparent 30%),
    var(--bg);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0 0 .5rem; }
p { line-height: 1.6; max-width: 62ch; }
a { color: inherit; }

a[aria-disabled="true"] {
  opacity: .48;
  filter: grayscale(.35);
  cursor: not-allowed;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1rem;
  background: color-mix(in srgb, #0a0f14 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand img { height: 34px; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}
.topbar-actions { display: flex; gap: .5rem; }
.lang-btn, .menu-btn, .close-menu, .to-top, .sfx-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #131e2d;
  color: var(--ink);
  padding: 0 .9rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding-inline: .62rem;
}

.menu-btn {
  padding: 0;
  display: grid;
  place-items: center;
}

.menu-btn .burger {
  width: 20px;
  height: 14px;
  display: grid;
  align-content: space-between;
}

.menu-btn .burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.lang-panel {
  position: fixed;
  top: 58px;
  right: 1rem;
  width: min(92vw, 420px);
  z-index: 31;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .95rem;
  padding: .7rem;
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}

.lang-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-panel {
  position: fixed;
  top: 58px;
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: 520px;
  max-height: min(78dvh, 560px);
  z-index: 30;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .95rem;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scaleY(.92);
  transform-origin: top center;
  transition: opacity .62s ease, transform .62s cubic-bezier(.2, .76, .2, 1);
  overflow: auto;
}
.menu-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

@media (min-width: 900px) {
  .menu-panel {
    left: auto;
    right: 1rem;
    width: min(86vw, 420px);
    transform-origin: top right;
  }
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(0, 0, 0, .35);
}
.menu-panel nav { display: grid; gap: .65rem; margin: 1rem 0; }
.menu-panel nav a {
  text-decoration: none;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #131e2d;
}
.menu-panel nav a.active {
  border-color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 22%, #0d1520);
  font-weight: 700;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
  max-height: min(58vh, 360px);
  overflow: auto;
  padding: .1rem;
}
.language-grid button {
  border: 1px solid var(--line);
  background: #131e2d;
  color: var(--ink);
  border-radius: .6rem;
  min-height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .22rem;
  padding: .45rem .55rem;
  text-align: left;
  justify-self: start;
  width: auto;
}

.lang-code {
  font-weight: 700;
  letter-spacing: .02em;
}

.lang-flag {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.lang-flag-img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 80%, #fff);
}

.lang-flag-fallback {
  font-size: .95rem;
}

.hero {
  min-height: 60dvh;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: .5rem;
  padding: .75rem 1rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--section-max-width));
  margin-inline: auto;
  display: grid;
  justify-items: center;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > p {
  text-align: center;
  width: 100%;
  margin-inline: auto;
}

.hero-beta-note {
  margin-top: .5rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}

.eyebrow { letter-spacing: .18em; font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.1; color: var(--ink); margin-bottom: .5rem; }
.hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: .94; }
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity var(--hero-bg-fade-ms, 850ms) ease;
  filter: saturate(1.05) contrast(1.02);
}

.hero-bg-layer.is-visible {
  opacity: var(--hero-bg-opacity, .34);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-video-opacity, .14);
}

.hero-card-showcase {
  margin-top: 1.15rem;
  display: grid;
  place-items: center;
  perspective: 1200px;
  width: min(100%, 560px);
  z-index: 2;
}

.hero-card-tilt {
  transform-style: preserve-3d;
  animation: hero-card-float var(--hero-float-duration, 11.5s) ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translate3d(0, 0, -2px) rotateX(2.2deg) rotateY(-2.4deg) rotateZ(.18deg);
  }

  12.5% {
    transform: translate3d(1px, -3px, -8px) rotateX(-2.8deg) rotateY(2.9deg) rotateZ(-.24deg);
  }

  25% {
    transform: translate3d(0, -5px, -4px) rotateX(2.7deg) rotateY(2.2deg) rotateZ(.12deg);
  }

  37.5% {
    transform: translate3d(-1px, -3px, -9px) rotateX(-3deg) rotateY(-2.7deg) rotateZ(-.18deg);
  }

  50% {
    transform: translate3d(0, -6px, -3px) rotateX(2.9deg) rotateY(-2.3deg) rotateZ(.2deg);
  }

  62.5% {
    transform: translate3d(1px, -2px, -8px) rotateX(-2.6deg) rotateY(2.2deg) rotateZ(-.14deg);
  }

  75% {
    transform: translate3d(0, -4px, -4px) rotateX(2.5deg) rotateY(2.8deg) rotateZ(.14deg);
  }

  87.5% {
    transform: translate3d(-1px, -2px, -7px) rotateX(-2.7deg) rotateY(-2.2deg) rotateZ(-.12deg);
  }
}

.hero-card-spin {
  position: relative;
  width: var(--hero-feature-card-width);
  aspect-ratio: 63 / 88;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
  cursor: pointer;
}

.hero-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .8rem;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  backface-visibility: hidden;
}

.hero-card-face.back {
  transform: rotateY(180deg);
}

.hero.is-side-layout {
  --hero-feature-card-width: min(34vw, 320px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  justify-items: stretch;
  text-align: left;
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.hero.is-side-layout .hero-copy {
  width: 100%;
  margin-inline: 0;
}

.hero.is-side-layout .cta-row {
  justify-content: flex-start;
}

.hero.is-side-layout .hero-card-showcase {
  width: 100%;
  margin-top: 0;
  justify-self: end;
  align-self: center;
}

.section {
  padding: 3.2rem 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  justify-items: center;
  text-align: center;
  overflow-x: clip;
}

.section > * {
  width: min(100%, var(--section-max-width));
  margin-inline: auto;
}

.section p {
  margin-inline: auto;
}
.section-alt { background: #1c2e42; }
.section-cta { background: linear-gradient(130deg, #1e0e06, #140e0c 50%, #051318); }

body[data-page="home"] .section:not(#hero) {
  background: var(--section-bg-beta);
  color: #e8eef4;
}

body[data-page="home"] .section-alt {
  background: var(--section-bg-discover);
}

.legal-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legal-page > .section {
  flex: 1;
}

.legal-page > .section:first-of-type,
.legal-page > .doc-shell:first-child + .section {
  border-top: none;
}

.doc-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.doc-breadcrumb {
  font-size: .95rem;
  color: color-mix(in srgb, var(--ink) 75%, #666);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  padding: .55rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #131e2d;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.back-btn::before { content: "←"; margin-right: .1em; }
.back-btn:hover, .back-btn:focus-visible {
  background: color-mix(in srgb, var(--accent-2) 22%, #0d1520);
  border-color: var(--accent-2);
}

.section > .back-btn { width: auto; }

.doc-card {
  background: #131e2d;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
}

.doc-card h2 {
  margin-top: .2rem;
}

.faq-list {
  display: grid;
  gap: .7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #131e2d;
  border-radius: .8rem;
  padding: .65rem .75rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.support-list {
  margin: 0;
  padding-left: 1.1rem;
}

.inline-home {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent-2) 60%, transparent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 52px;
  text-decoration: none;
  padding: .65rem 1.4rem;
  background: #131e2d;
  color: var(--ink);
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .95rem;
  transition: background .15s, border-color .15s;
  cursor: pointer;
}
.store-btn img { width: 20px; height: 20px; }
.store-btn:hover, .store-btn:focus-visible {
  background: color-mix(in srgb, var(--accent-2) 22%, #0d1520);
  border-color: var(--accent-2);
}

.store-btn-compact {
  min-height: 44px;
  padding: .52rem 1.1rem;
  font-size: .9rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 1rem;
  padding: .55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: .95rem;
  background: #131e2d;
  color: var(--ink);
  transition: background .15s, border-color .15s;
  cursor: pointer;
}

.section > .learn-more-btn {
  width: auto;
}

#what > .learn-more-btn {
  width: fit-content;
  max-width: 100%;
}

.learn-more-btn:hover,
.learn-more-btn:focus-visible {
  background: color-mix(in srgb, var(--accent-2) 22%, #0d1520);
  border-color: var(--accent-2);
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}
.trust article {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #131e2d;
}
.trust img { width: 18px; height: 18px; }

.card-discovery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .7rem;
}

.discover-card {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1000px;
  border-radius: .8rem;
  position: relative;
  isolation: isolate;
}

.discover-card-inner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 63 / 88;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.78,.25,1);
}

.discover-card.flipped .discover-card-inner {
  transform: rotateY(180deg);
}

.discover-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: .8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(0,0,0,.4);
  background: #131e2d;
}

.discover-card.highlighted:not(.flipped) .discover-face.back {
  border-color: color-mix(in srgb, var(--accent-2) 45%, var(--line));
  animation: discoverPulse 1s ease-in-out infinite;
}

@keyframes discoverPulse {
  0% {
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 0 0 0 rgba(15,108,117,.00);
  }
  55% {
    box-shadow: 0 12px 24px rgba(0,0,0,.14), 0 0 0 8px rgba(15,108,117,.18);
  }
  100% {
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 0 0 0 rgba(15,108,117,.00);
  }
}

.discover-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discover-face.front {
  transform: rotateY(180deg);
}

.discover-wow {
  position: absolute;
  inset: calc(-24% * var(--discover-wow-intensity, 1));
  pointer-events: none;
  z-index: 5;
}

.discover-wow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(26% * var(--discover-wow-intensity, 1));
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, #fff 52%, var(--accent-2));
  box-shadow: 0 0 calc(16px * var(--discover-wow-intensity, 1)) color-mix(in srgb, #fff 48%, var(--accent-2));
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
}

.discover-wow-glow,
.discover-wow-star {
  position: absolute;
  opacity: 0;
}

.discover-wow-glow {
  inset: calc(8% / var(--discover-wow-intensity, 1));
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, #fff 84%, var(--accent-2)) 0%, rgba(255,255,255,0) 80%);
  filter: blur(5px);
  transform: scale(.2);
}

.discover-wow-star {
  width: calc(17px * var(--discover-wow-intensity, 1));
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, #fff 45%, var(--accent-2)) 100%);
  clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0% 50%, 38% 35%);
  filter: drop-shadow(0 0 calc(14px * var(--discover-wow-intensity, 1)) rgba(255,255,255,.95));
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.12) rotate(0deg);
}

.discover-wow-star:nth-child(2) { --tx: calc(0px * var(--discover-wow-intensity, 1)); --ty: calc(-86px * var(--discover-wow-intensity, 1)); --rot: 34deg; }
.discover-wow-star:nth-child(3) { --tx: calc(78px * var(--discover-wow-intensity, 1)); --ty: calc(-46px * var(--discover-wow-intensity, 1)); --rot: 80deg; }
.discover-wow-star:nth-child(4) { --tx: calc(88px * var(--discover-wow-intensity, 1)); --ty: calc(18px * var(--discover-wow-intensity, 1)); --rot: 132deg; }
.discover-wow-star:nth-child(5) { --tx: calc(-76px * var(--discover-wow-intensity, 1)); --ty: calc(-36px * var(--discover-wow-intensity, 1)); --rot: -66deg; }
.discover-wow-star:nth-child(6) { --tx: calc(-86px * var(--discover-wow-intensity, 1)); --ty: calc(22px * var(--discover-wow-intensity, 1)); --rot: -126deg; }
.discover-wow-star:nth-child(7) { --tx: calc(16px * var(--discover-wow-intensity, 1)); --ty: calc(82px * var(--discover-wow-intensity, 1)); --rot: 178deg; }

.discover-card.is-revealing .discover-wow-glow {
  animation: discoverRevealGlow var(--discover-wow-duration, 1120ms) ease-out;
}

.discover-card.is-revealing .discover-wow::after {
  animation: discoverRevealRing calc(var(--discover-wow-duration, 1120ms) * .9) cubic-bezier(.15,.75,.2,1);
}

.discover-card.is-revealing .discover-wow-star {
  animation: discoverRevealStar calc(var(--discover-wow-duration, 1120ms) * .96) cubic-bezier(.15,.8,.2,1);
}

@keyframes discoverRevealGlow {
  0% {
    opacity: 0;
    transform: scale(.14);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.92);
  }
}

@keyframes discoverRevealRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.22);
  }
  24% {
    opacity: .95;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.1);
  }
}

@keyframes discoverRevealStar {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(.12) rotate(0deg);
  }
  14% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(1.62) rotate(var(--rot));
  }
}

.auras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.details-card-shell {
  margin-top: 1rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
}

.details-card-stage {
  width: min(calc(420px * 0.85), calc(92vw * 0.85));
  position: relative;
  border-radius: .9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #131e2d;
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}

#detailsCardImage {
  width: 100%;
  display: block;
  opacity: 1;
  transition: opacity .16s ease;
  will-change: opacity;
}

#detailsCardImage.is-level-swapping {
  opacity: .14;
}

.details-hotspots {
  position: absolute;
  inset: 0;
  --details-box-border: color-mix(in srgb, var(--accent-2) 45%, var(--line));
  --details-box-bg-idle: color-mix(in srgb, #b8c3cf 8%, transparent);
  --details-box-active-border: color-mix(in srgb, var(--accent-2) 86%, #fff);
  --details-box-active-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-2) 45%, transparent), 0 0 14px color-mix(in srgb, var(--accent-2) 50%, transparent);
}

.details-hotspot {
  position: absolute;
  border: 2px solid var(--details-box-border);
  border-radius: .72rem;
  background: var(--details-box-bg-idle);
  box-shadow: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.details-hotspot:hover,
.details-hotspot:focus-visible {
  background: transparent;
  border-color: var(--details-box-active-border);
  box-shadow: var(--details-box-active-shadow);
}

.details-hotspot.is-active {
  background: transparent;
  border-color: var(--accent-2);
  border-width: 3px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-2) 55%, transparent), 0 0 16px color-mix(in srgb, var(--accent-2) 65%, transparent);
}

.details-hotspot.is-dimmed {
  opacity: .12;
  filter: grayscale(.6);
}

.details-desktop-lines,
.details-desktop-notes {
  display: none;
}

.details-annotation-line {
  fill: none;
  stroke: color-mix(in srgb, var(--accent-2) 70%, #fff);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
}

.details-annotation-line.is-active {
  stroke: color-mix(in srgb, var(--accent-2) 86%, #fff);
  stroke-width: 2.6;
  opacity: 1;
}

.details-annotation-line.is-dimmed {
  opacity: .2;
}

.details-annotation-dot {
  fill: color-mix(in srgb, var(--accent-2) 78%, #fff);
  opacity: .9;
}

.details-annotation-dot.is-active {
  fill: color-mix(in srgb, var(--accent-2) 92%, #fff);
  opacity: 1;
}

.details-annotation-dot.is-dimmed {
  opacity: .22;
}

.details-annotation {
  position: absolute;
  width: clamp(170px, 19vw, 230px);
  padding: .72rem .8rem;
  border-radius: .72rem;
  border: 2px solid color-mix(in srgb, var(--accent-2) 48%, var(--line));
  background: #131e2d;
  color: var(--ink);
  box-shadow: var(--details-box-shadow);
  text-align: left;
  transition: background .25s ease, border-color .2s ease, box-shadow .25s ease, transform .25s ease;
  pointer-events: auto;
  cursor: pointer;
}

.details-annotation:hover,
.details-annotation:focus-within {
  background: color-mix(in srgb, var(--accent-2) 10%, #131e2d);
  border-color: color-mix(in srgb, var(--accent-2) 60%, var(--line));
  transform: translateY(-1px);
}

.details-annotation:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 78%, #fff);
  outline-offset: 2px;
}

.details-annotation h4 {
  margin: 0 0 .3rem;
  font-size: .98rem;
  color: #fff;
}

.details-annotation p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
}

.details-annotation.is-active {
  border-color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 28%, #0d1520);
  box-shadow: 0 10px 24px rgba(26,143,156,.28);
}

.details-annotation.is-dimmed {
  opacity: .4;
  filter: grayscale(.3);
}

@keyframes detailsAnnotationActiveGlow {
  0% {
    box-shadow: 0 10px 24px rgba(15,108,117,.18), 0 0 0 0 rgba(15,108,117,.0);
  }
  100% {
    box-shadow: 0 13px 28px rgba(15,108,117,.26), 0 0 0 6px rgba(15,108,117,.06);
  }
}

@media (min-width: 980px) {
  #card-details .details-card-shell.is-desktop-annotated,
  #levels .details-card-shell.is-desktop-annotated {
    width: min(var(--section-max-width), 100%);
    margin-top: .4rem;
    min-height: clamp(720px, 70vw, 920px);
  }

  #card-details .details-card-shell.is-desktop-annotated .details-card-stage,
  #levels .details-card-shell.is-desktop-annotated .details-card-stage {
    width: min(calc(420px * 0.85), calc(36vw * 0.85));
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  #card-details .details-card-shell.is-desktop-annotated .details-desktop-lines,
  #levels .details-card-shell.is-desktop-annotated .details-desktop-lines {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
  }

  #card-details .details-card-shell.is-desktop-annotated .details-desktop-notes,
  #levels .details-card-shell.is-desktop-annotated .details-desktop-notes {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
  }
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(15,108,117,.08); }
  50% { box-shadow: 0 0 0 10px rgba(15,108,117,.0); }
  100% { box-shadow: 0 0 0 0 rgba(15,108,117,.08); }
}

.details-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.42);
  display: none;
  place-items: center;
  padding: 1rem;
}

.details-popup-backdrop.is-open {
  display: grid;
}

.details-popup-backdrop[hidden] {
  display: none !important;
}

.details-popup {
  position: relative;
  width: min(520px, 100%);
  background: #131e2d;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1rem .9rem;
  box-shadow: 0 18px 42px rgba(0,0,0,.6);
}

.details-popup h3 {
  margin-right: 2rem;
}

.details-popup p {
  margin-bottom: 0;
}

.details-popup-close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #131e2d;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.auras-grid article {
  padding: 1rem;
  background: #131e2d;
  border: 1px solid var(--line);
  border-radius: .8rem;
  text-align: center;
  font-weight: 700;
}

.holo-wrap {
  position: relative;
  width: min(280px, 75vw);
  margin: 1rem auto 0;
  perspective: 1000px;
  isolation: isolate;
  border-radius: .8rem;
  overflow: hidden;
  --hx: 50%;
  --hy: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spark: .2;
  --sheen-angle: 135deg;
}

#what {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

#what > * {
  width: min(100%, var(--section-max-width));
}

#discover p {
  max-width: none;
}

#collect {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.collect-copy {
  display: grid;
  gap: .85rem;
  justify-items: center;
  text-align: center;
  order: 0;
}

.collect-video-wrap {
  width: min(168px, 45vw);
  border-radius: .8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  order: 1;
}

.collect-video-wrap video,
.collect-video-wrap img {
  width: 100%;
  display: block;
  border-radius: .8rem;
}

@media (min-width: 900px) {
  #collect {
    grid-template-columns: minmax(0, 1fr) minmax(144px, 168px);
    column-gap: clamp(1.5rem, 3.4vw, 3rem);
    align-items: center;
  }
  #collect > .collect-copy { grid-column: 1; grid-row: 1; text-align: center; justify-items: center; align-self: center; }
  #collect > .collect-video-wrap { grid-column: 2; grid-row: 1; align-self: center; }
}

/* ── Levels section ── */
#levels {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.levels-card-col {
  display: grid;
  gap: .65rem;
  justify-items: center;
  width: min(100%, var(--section-max-width));
  order: 1;
}

.levels-copy {
  display: grid;
  gap: .85rem;
  justify-items: center;
  text-align: center;
  width: min(100%, 760px);
  order: 0;
}

.levels-action {
  order: 2;
  width: auto;
}

.levels-card-wrap {
  width: 100%;
  border-radius: .8rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.levels-card-wrap img {
  width: 100%;
  display: block;
  border-radius: .8rem;
  transition: opacity .25s ease;
}

.levels-stat-hint {
  font-size: .88rem;
  opacity: .75;
  text-align: center;
  margin: 0;
  width: min(100%, 560px);
}

.levels-problem-note {
  margin: .9rem 0 0;
  width: min(100%, 720px);
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

.levels-extra-copy {
  width: min(100%, 900px);
  margin: 1.1rem auto 0;
  text-align: center;
  color: var(--muted);
}

.levels-extra-copy h3 {
  margin: 1rem 0 .45rem;
  color: #fff;
  font-size: 1.12rem;
}

.levels-extra-copy p {
  margin: .6rem auto;
  width: min(100%, 760px);
  line-height: 1.65;
}

.levels-type-controls {
  display: flex;
  gap: .5rem;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.levels-controls {
  display: flex;
  gap: .5rem;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.levels-control-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #131e2d;
  font-size: .9rem;
  color: var(--ink);
}

.levels-type-btn {
  cursor: pointer;
  min-width: 90px;
}

.levels-type-btn.is-active {
  background: color-mix(in srgb, var(--gold) 22%, #131e2d);
  border-color: color-mix(in srgb, var(--gold) 70%, var(--line));
}

.levels-select {
  cursor: pointer;
  appearance: auto;
  min-width: 72px;
}

.levels-plus-btn {
  cursor: pointer;
  justify-content: center;
  min-width: 54px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.levels-plus-btn:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (min-width: 900px) {
  #levels {
    align-items: center;
  }
}
/* ── end Levels ── */

#what p {
  max-width: none;
}

#what .holo-wrap {
  width: var(--hero-feature-card-width);
  margin: .25rem 0 .35rem;
  justify-self: center;
}

#what .what-copy {
  display: grid;
  gap: .85rem;
}

#what .what-copy > .learn-more-btn {
  justify-self: center;
}

@media (min-width: 900px) {
  /* Center 2-column grid sections within --section-max-width */
  #what, #levels, #music, #collect {
    padding-inline: max(1rem, calc((100% - var(--section-max-width)) / 2));
  }

  #what {
    grid-template-columns: minmax(280px, var(--hero-feature-card-width)) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3.4vw, 3rem);
    align-items: center;
  }

  #what > .holo-wrap {
    grid-column: 1;
    align-self: center;
    margin-top: 0;
    justify-self: center;
  }

  #what > .what-copy {
    grid-column: 2;
    align-self: center;
    display: grid;
    align-content: center;
    row-gap: .85rem;
    justify-self: center;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  #what > .what-copy > h2,
  #what > .what-copy > p {
    width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  #what > .what-copy > .learn-more-btn {
    width: auto;
    margin-top: .4rem;
    justify-self: center;
  }
}

  #music {
    position: relative;
    display: grid;
    gap: 1rem;
    justify-items: center;
    overflow: hidden;
    isolation: isolate;
    color: inherit;
  }

  #music > * {
    width: min(100%, var(--section-max-width));
    position: relative;
    z-index: 1;
  }

  #music .music-copy {
    display: grid;
    gap: .85rem;
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  #music .music-copy h2,
  #music .music-copy p {
    color: inherit;
  }

  #music .music-copy > .learn-more-btn {
    justify-self: center;
    color: #e9f4ff;
    border-color: color-mix(in srgb, #a9dff2 36%, #2f3944);
    background: color-mix(in srgb, #88cde6 14%, #101922);
  }

  #music .music-copy > .learn-more-btn:hover,
  #music .music-copy > .learn-more-btn:focus-visible {
    background: color-mix(in srgb, #9fdcf0 22%, #111b25);
    border-color: color-mix(in srgb, #b9e7f6 48%, #3a4654);
  }

  #music .music-card-mist {
    position: relative;
    width: min(280px, 75vw);
    aspect-ratio: 63 / 88;
    border-radius: .9rem;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 50% 30%, rgba(190,220,226,.2) 0%, rgba(17,20,24,.92) 74%);
    border: none;
    box-shadow: 0 16px 34px rgba(0,0,0,.3);
  }

  #music .music-card-mist img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: brightness(.56) contrast(.9) saturate(.76) blur(1.8px);
    transform: scale(.9) translateY(14px);
    opacity: 0;
    animation: musicCardMistCycle var(--music-mist-cycle-duration, 2400ms) cubic-bezier(.16,.85,.22,1) var(--music-mist-initial-delay, 120ms) infinite alternate;
  }

  #music .music-card-mist::before,
  #music .music-card-mist::after {
    content: "";
    position: absolute;
    inset: -18%;
    pointer-events: none;
  }

  #music .music-card-mist::before {
    background:
      radial-gradient(circle at 24% 58%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 42%),
      radial-gradient(circle at 72% 42%, rgba(208, 240, 246, .24) 0%, rgba(208, 240, 246, 0) 45%),
      radial-gradient(circle at 50% 78%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 36%);
    mix-blend-mode: screen;
    opacity: .15;
    filter: blur(8px);
    animation: musicFogDrift 5.8s ease-in-out infinite;
  }

  #music .music-card-mist::after {
    inset: 0;
    background: rgba(4, 8, 12, calc(var(--music-section-darkness, .86) * .72));
    opacity: 1;
    animation: musicVeilCycle var(--music-mist-cycle-duration, 2400ms) ease-in-out var(--music-mist-initial-delay, 120ms) infinite alternate;
  }

  @keyframes musicCardMistCycle {
    0% {
      opacity: 0;
      filter: brightness(.4) contrast(.82) saturate(.62) blur(5px);
      transform: scale(.84) translateY(18px);
    }
    38% {
      opacity: .68;
    }
    100% {
      opacity: 1;
      filter: brightness(1) contrast(1) saturate(1) blur(0);
      transform: scale(1) translateY(0);
    }
  }

  @keyframes musicVeilCycle {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes musicFogDrift {
    0%,
    100% {
      transform: translate3d(-6%, 0, 0) scale(1);
      opacity: .16;
    }
    50% {
      transform: translate3d(4%, -3%, 0) scale(1.05);
      opacity: .26;
    }
  }

  @keyframes musicSectionFogSweep {
    0% {
      transform: translate3d(-7%, 0, 0) scale(1.04);
      opacity: .24;
    }
    50% {
      transform: translate3d(3%, -2%, 0) scale(1.1);
      opacity: .4;
    }
    100% {
      transform: translate3d(9%, 1%, 0) scale(1.06);
      opacity: .3;
    }
  }

  @media (min-width: 900px) {
    #music {
      grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
      column-gap: clamp(1.4rem, 3vw, 2.8rem);
      align-items: center;
    }

    #music > .music-card-mist {
      grid-column: 2;
      grid-row: 1;
      justify-self: center;
    }

    #music > .music-copy {
      grid-column: 1;
      grid-row: 1;
      justify-self: center;
      justify-items: center;
      text-align: center;
      width: 100%;
    }

    #music > .music-copy > p,
    #music > .music-copy > h2 {
      margin-inline: auto;
      text-align: center;
    }

    #music > .music-copy > .learn-more-btn {
      justify-self: center;
    }
  }

.holo-wrap img {
  width: 100%;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(8px) scale(1.01);
  transition: transform .16s ease, filter .2s ease, opacity .28s ease;
  border-radius: .8rem;
  filter: saturate(calc(1 + var(--spark) * .45)) contrast(calc(1 + var(--spark) * .08));
}
#holoLight {
  position: absolute;
  inset: 0;
  border-radius: .8rem;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hx) var(--hy), rgba(255,255,255,.58), rgba(255,255,255,.12) 24%, transparent 52%),
    conic-gradient(from 200deg at var(--hx) var(--hy),
      rgba(255, 77, 166, .24),
      rgba(80, 170, 255, .22),
      rgba(134, 255, 201, .2),
      rgba(255, 225, 94, .2),
      rgba(255, 77, 166, .24)),
    linear-gradient(var(--sheen-angle),
      transparent 18%,
      rgba(255,255,255,.52) 46%,
      transparent 70%);
  background-size: 100% 100%, 140% 140%, 210% 210%;
  background-position: center, center, var(--hx) var(--hy);
  background-blend-mode: screen, color-dodge, screen;
  mix-blend-mode: screen;
  opacity: calc(.35 + var(--spark) * .5);
  transform: translateZ(12px);
  transition: opacity .18s ease;
}

#holoLight::before,
#holoLight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

#holoLight::before {
  background:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,.10) 0,
      rgba(255,255,255,.10) 2px,
      rgba(255,255,255,0) 3px,
      rgba(255,255,255,0) 7px);
  mix-blend-mode: soft-light;
  opacity: calc(.14 + var(--spark) * .26);
}

#holoLight::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.24), transparent 26%),
    radial-gradient(circle at 84% 75%, rgba(125, 224, 255, .20), transparent 22%);
  mix-blend-mode: color-dodge;
  opacity: calc(.08 + var(--spark) * .2);
}

.holo-wrap.active img {
  filter: saturate(calc(1 + var(--spark) * .7)) contrast(calc(1 + var(--spark) * .16));
}

.holo-stars {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}

.holo-star {
  position: absolute;
  aspect-ratio: 1;
  opacity: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.2) 36%, rgba(255,255,255,0) 64%),
    conic-gradient(from 0deg,
      rgba(255, 96, 194, .85),
      rgba(98, 219, 255, .9),
      rgba(132, 255, 210, .82),
      rgba(255, 233, 128, .86),
      rgba(255, 96, 194, .85));
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  mix-blend-mode: screen;
  filter: hue-rotate(var(--star-hue, 0deg)) saturate(1.22) drop-shadow(0 0 7px rgba(255,255,255,.82));
  transform: translate(-50%, -50%) scale(.32);
  animation: holoStarTwinkle 1.45s ease-out var(--star-delay, 0ms) forwards;
}

@keyframes holoStarTwinkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(.2) rotate(calc(var(--star-twist, 0deg) * .2));
  }
  18% {
    opacity: .95;
  }
  68% {
    opacity: .62;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--star-drift-x, 0px), var(--star-drift-y, -10px)) scale(1.15) rotate(calc(18deg + var(--star-twist, 0deg)));
  }
}

.social-row {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.social-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #131e2d;
}
.social-row img { width: 20px; height: 20px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1rem;
  background: #060b10;
}
.footer a { display: block; margin: .35rem 0; text-decoration: none; }
.footer h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; margin-bottom: .5rem; color: #fff; }

.footer > div {
  display: grid;
  align-content: start;
  gap: .2rem;
}

.footer > div:not(.footer-community) {
  width: min(100%, 220px);
  justify-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .footer {
    grid-template-columns: repeat(3, minmax(180px, 220px));
    justify-content: center;
    column-gap: 1.5rem;
  }
}

.footer > div:not(.footer-community) > a {
  display: inline-block;
  margin: .35rem auto 0;
}

.footer .store-btn {
  display: inline;
  width: fit-content;
  margin: .35rem auto 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  min-height: unset;
  font-size: inherit;
  color: inherit;
  transition: opacity .15s;
}

.footer .store-btn img { width: 16px; height: 16px; margin-right: .55rem; vertical-align: middle; }
.footer .store-btn span { vertical-align: middle; }

.footer .store-btn:hover, .footer .store-btn:focus-visible {
  background: none;
  border-color: transparent;
  opacity: .75;
}

.footer .store-btn-compact {
  min-height: unset;
  padding: 0;
}

.footer-community .social-row {
  margin-top: .35rem;
  gap: clamp(.45rem, 1.2vw, .75rem);
  justify-content: center;
}

/* ── Team grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  width: 100%;
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .team-grid { grid-template-columns: repeat(1, 1fr); }
}

.team-card {
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #131e2d;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.team-card:hover { border-color: var(--accent-2); }

/* Normal state: photo + label stacked */
.team-card-thumb {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: flex .3s ease, padding .3s ease;
}

.team-card-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: width .3s ease, height .3s ease, border-radius .3s ease, aspect-ratio .3s ease;
}

.team-card-label {
  padding: .55rem .65rem .65rem;
  text-align: center;
  flex-shrink: 0;
  transition: text-align .3s ease, padding .3s ease;
}

.team-card-label h3 {
  margin: 0 0 .12rem;
  font-size: 1.15rem;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}

.team-card-label h2 {
  margin: 0;
  font-size: .85rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  color: var(--accent-2);
}

.team-card-desc {
  display: none;
  padding: .6rem .7rem .7rem;
  font-size: .85rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: none;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}

/* Expanded and compact: row layout */
.team-card.is-expanded .team-card-thumb,
.team-card.was-active:not(.is-expanded) .team-card-thumb {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: .6rem;
  padding: .65rem .7rem .5rem;
}

.team-card.is-expanded .team-card-thumb img,
.team-card.was-active:not(.is-expanded) .team-card-thumb img {
  width: 90px;
  height: 90px;
  border-radius: .5rem;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.team-card.is-expanded .team-card-label,
.team-card.was-active:not(.is-expanded) .team-card-label {
  text-align: left;
  padding: 0;
  flex: 1;
}

.team-card.is-expanded .team-card-label h3 { font-size: 1.15rem; }
.team-card.is-expanded .team-card-label h2 { font-size: .85rem; }

.team-card.is-expanded .team-card-desc { display: block; }

/* Compact layout persists after first expand — no return to large photo */
.team-card.was-active:not(.is-expanded) .team-card-thumb {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .7rem .5rem;
  flex: 0 0 auto;
}

.team-card.was-active:not(.is-expanded) .team-card-thumb img {
  width: 90px;
  height: 90px;
  border-radius: .5rem;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.team-card.was-active:not(.is-expanded) .team-card-label {
  text-align: left;
  padding: 0;
  flex: 1;
}
/* ── end Team grid ── */

.footer-community {
  order: -1;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 640px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: .2rem;
  padding-bottom: .75rem;
  margin-bottom: .2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, #fff);
}

.footer-community .social-row a {
  --community-bubble-size: clamp(42px, 5.2vw, 58px);
  display: grid;
  place-items: center;
  width: var(--community-bubble-size);
  height: var(--community-bubble-size);
  margin: 0;
  padding: 0;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease;
}

.footer-community .social-row img {
  display: block;
  width: clamp(18px, 2.2vw, 24px);
  height: clamp(18px, 2.2vw, 24px);
  margin: 0;
}

.footer-community .social-row a:hover,
.footer-community .social-row a:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-2) 50%, var(--line));
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 18;
}
.to-top.visible { display: block; }
.sfx-toggle {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 18;
}

.reveal {
  opacity: 1;
}

.reveal > * {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 16px), 0) scale(var(--reveal-scale, .98)) rotate(var(--reveal-rot, 0deg));
  transition:
    opacity var(--reveal-opacity-dur, .7s) ease,
    transform var(--reveal-transform-dur, .98s) var(--reveal-ease, cubic-bezier(.2, .74, .28, 1));
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal > .hero-bg-layer,
.reveal > .hero-video {
  transform: none;
}

.reveal > .hero-bg-layer {
  opacity: 0;
  transition: opacity .85s ease;
}

.reveal.in > .hero-bg-layer {
  opacity: 0;
}

.reveal > .hero-bg-layer.is-visible,
.reveal.in > .hero-bg-layer.is-visible {
  opacity: var(--hero-bg-opacity, .34);
}

.reveal > .hero-video {
  opacity: 1;
  transition: none;
}

.reveal.reveal-jump > * {
  --reveal-y: 42px;
  --reveal-scale: .9;
  --reveal-ease: cubic-bezier(.16, 1.18, .32, 1);
  --reveal-transform-dur: 1.08s;
}

.reveal.reveal-zoom > * {
  --reveal-y: 20px;
  --reveal-scale: .82;
  --reveal-x: 0px;
  --reveal-transform-dur: 1.14s;
  --reveal-ease: cubic-bezier(.2, .9, .22, 1);
}

.reveal.reveal-swoop > * {
  --reveal-y: 8px;
  --reveal-scale: .97;
  --reveal-transform-dur: 1.02s;
}

.reveal.reveal-pop > * {
  --reveal-y: 10px;
  --reveal-scale: .88;
  --reveal-x: 0px;
  --reveal-transform-dur: .94s;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .holo-wrap img { transition: none; }
  .hero-card-tilt { animation: none; }
  .discover-card.is-revealing .discover-wow-glow,
  .discover-card.is-revealing .discover-wow-star {
    animation: none;
  }
}

@media (min-width: 900px) {
  .hero { padding: 4rem max(4vw, calc((100% - var(--section-max-width)) / 2)); }
  .section, .footer { padding-inline: max(4vw, calc((100% - var(--section-max-width)) / 2)); }
}

@media (max-width: 720px) {
  .card-discovery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
