@font-face {
  font-family: "Aubrey";
  src: url("/assets/aubrey.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Average Sans";
  src: url("/assets/average-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0f13;
  --bg-soft: #11171c;
  --surface: #151c22;
  --surface-raised: #1a232a;
  --ink: #f7f3e8;
  --muted: #9ba8ad;
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(255, 255, 255, 0.2);
  --gold: #f3b62d;
  --gold-bright: #ffd65a;
  --cyan: #3ed9ff;
  --purple: #b65cff;
  --content: 1180px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 12%, rgba(62, 217, 255, 0.06), transparent 25rem),
    radial-gradient(circle at 32% 0%, rgba(243, 182, 45, 0.05), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: "Average Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--gold);
  color: #15120b;
  font-weight: 700;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  min-height: var(--header-height);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Aubrey", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(243, 182, 45, 0.5);
  background: linear-gradient(145deg, #2a2519, #12171b);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25);
  font-family: "Aubrey", Georgia, serif;
  font-size: 1.4rem;
}

.header-logo {
  display: block;
  width: 108px;
  height: auto;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--ink);
}

.site-nav .nav-cta {
  border: 1px solid rgba(243, 182, 45, 0.55);
  padding: 9px 16px;
  color: var(--gold-bright);
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: #17130b;
}

.hero {
  display: grid;
  width: min(calc(100% - 48px), var(--content));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 74px 0 86px;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

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

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.wordmark {
  display: none;
}

.hero h1,
.section-heading h2,
.final-cta h2,
.legal-intro h1 {
  margin: 0;
  font-family: "Aubrey", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.15rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  text-wrap: balance;
}

.hero-lede {
  max-width: 570px;
  margin: 30px 0 0;
  color: #bcc5c8;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright), #e59716);
  color: #17130b;
  box-shadow: 0 14px 44px rgba(226, 146, 16, 0.16);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffe078, #f0a928);
}

.button-secondary {
  border-color: var(--line-bright);
  background: transparent;
  color: #d8dfe0;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.hero-note {
  margin: 16px 0 0;
  color: #717f84;
  font-size: 0.84rem;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
  isolation: isolate;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  content: "";
}

.hero-art::before {
  width: 78%;
  aspect-ratio: 1;
  rotate: 45deg;
}

.hero-art::after {
  width: 54%;
  aspect-ratio: 1;
  rotate: 45deg;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 570px);
  height: auto;
  filter: drop-shadow(0 36px 34px rgba(0, 0, 0, 0.42));
  animation: float 6s ease-in-out infinite;
}

.art-glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 92, 255, 0.22), rgba(62, 217, 255, 0.07) 38%, transparent 68%);
  filter: blur(12px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(243, 182, 45, 0.17);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.orbit-one {
  width: 100%;
  height: 42%;
}

.orbit-two {
  width: 84%;
  height: 30%;
  border-color: rgba(62, 217, 255, 0.12);
  transform: rotate(25deg);
}

.art-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 186px;
  padding: 12px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line-bright);
  background: rgba(14, 19, 23, 0.88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.art-tag strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.art-tag-top {
  top: 19%;
  right: -2%;
}

.art-tag-bottom {
  bottom: 14%;
  left: 2%;
}

.tag-icon,
.level-ring {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(243, 182, 45, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
}

.level-ring {
  border-color: rgba(62, 217, 255, 0.5);
  color: var(--cyan);
  font-weight: 700;
}

.stat-strip {
  display: grid;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip > div {
  display: grid;
  padding: 30px clamp(18px, 3vw, 34px);
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
}

.stat-strip > div + div {
  border-left: 1px solid var(--line);
}

.stat-number {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.stat-strip p {
  margin: 0;
  color: #849197;
  font-size: 0.9rem;
  line-height: 1.45;
}

.stat-strip strong {
  color: var(--ink);
  font-size: 1rem;
}

.how {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 132px 0;
}

.section-heading {
  display: grid;
  margin-bottom: 58px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  column-gap: 80px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 55%),
    var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card::after {
  position: absolute;
  right: -55px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.018), 0 0 0 64px rgba(255, 255, 255, 0.01);
  content: "";
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 182, 45, 0.28);
}

.feature-index {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #566269;
  font-family: Georgia, serif;
  font-size: 0.8rem;
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 84px;
  place-items: center;
  border: 1px solid rgba(243, 182, 45, 0.32);
  background: rgba(243, 182, 45, 0.07);
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.feature-card-grow .feature-icon {
  border-color: rgba(62, 217, 255, 0.32);
  background: rgba(62, 217, 255, 0.06);
  color: var(--cyan);
}

.feature-card-explore .feature-icon {
  border-color: rgba(182, 92, 255, 0.34);
  background: rgba(182, 92, 255, 0.07);
  color: #d6a0ff;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-family: "Aubrey", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.feature-card p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto 112px;
  padding: clamp(44px, 7vw, 76px);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(243, 182, 45, 0.22);
  background:
    radial-gradient(circle at 85% 15%, rgba(243, 182, 45, 0.14), transparent 17rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 60%),
    #12181d;
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  width: min(calc(100% - 48px), var(--content));
  min-height: 150px;
  margin: 0 auto;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: #768389;
  font-size: 0.9rem;
}

.site-footer > p:first-of-type {
  margin-right: auto;
}

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

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

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

.copyright {
  margin: 0;
  white-space: nowrap;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Trailer lightbox */
.video-modal {
  width: min(calc(100% - 40px), 980px);
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(243, 182, 45, 0.3);
  background: #0e1317;
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.7);
}

.video-modal::backdrop {
  background: rgba(3, 6, 8, 0.84);
  backdrop-filter: blur(10px);
}

.video-modal-panel {
  padding: 18px;
}

.video-modal-header {
  display: flex;
  padding: 4px 2px 18px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.video-modal-header .eyebrow {
  margin-bottom: 7px;
}

.video-modal-header h2 {
  margin: 0;
  font-family: "Aubrey", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
}

.video-modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.video-modal-close:hover {
  border-color: rgba(243, 182, 45, 0.5);
  color: var(--gold-bright);
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 175px);
  background: #050708;
  aspect-ratio: 16 / 9;
}

/* Legal pages */
.legal-body {
  background:
    radial-gradient(circle at 50% -5%, rgba(243, 182, 45, 0.07), transparent 34rem),
    var(--bg);
}

.legal-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
  background: rgba(11, 15, 19, 0.87);
  backdrop-filter: blur(18px);
}

.legal-main {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  padding: 92px 0 120px;
}

.legal-intro {
  max-width: 780px;
  margin-bottom: 70px;
}

.legal-intro h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.legal-updated {
  margin: 24px 0;
  color: var(--gold-bright) !important;
  font-size: 0.9rem !important;
}

.legal-intro > p:last-child {
  margin: 0;
  color: #aeb8bb;
  font-size: 1.18rem;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 94px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  gap: 9px;
}

.legal-toc p {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc a {
  color: #77858a;
  font-size: 0.85rem;
  line-height: 1.3;
}

.legal-toc a:hover {
  color: var(--gold-bright);
}

.legal-content section {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-content section + section {
  padding-top: 44px;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Aubrey", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 28px 0 8px;
  color: #d9dedc;
  font-size: 1.06rem;
}

.legal-content p,
.legal-content li {
  color: #a1adb1;
  line-height: 1.78;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 12px;
}

.legal-content strong {
  color: #dfe4e2;
}

.legal-content a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(243, 182, 45, 0.38);
  text-underline-offset: 3px;
}

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

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 70px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 520px;
  }

  .hero-art img {
    width: min(78vw, 540px);
  }

  .art-tag-top {
    right: 7%;
  }

  .art-tag-bottom {
    left: 8%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 300px;
  }

  .feature-icon {
    margin-bottom: 52px;
  }

  .final-cta {
    align-items: start;
    flex-direction: column;
  }

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

  .site-footer > p:first-of-type {
    display: none;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .site-nav .nav-cta {
    padding: 8px 13px;
  }

  .header-logo {
    width: 88px;
  }

  .hero,
  .stat-strip,
  .how,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero {
    padding: 62px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .video-modal {
    width: calc(100% - 20px);
  }

  .video-modal-panel {
    padding: 10px;
  }

  .video-modal-header {
    padding: 8px 4px 14px;
  }

  .video-modal-header .eyebrow {
    display: none;
  }

  .video-modal video {
    max-height: calc(100dvh - 110px);
  }

  .hero-art {
    min-height: 390px;
    margin-top: 18px;
  }

  .hero-art::before {
    width: 70%;
  }

  .hero-art .art-tag {
    min-width: 0;
    padding: 9px 11px;
    font-size: 0.72rem;
  }

  .art-tag strong {
    font-size: 0.8rem;
  }

  .art-tag-top {
    top: 13%;
    right: 0;
  }

  .art-tag-bottom {
    bottom: 8%;
    left: 0;
  }

  .tag-icon,
  .level-ring {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-strip > div {
    padding: 24px 8px;
  }

  .stat-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .how {
    padding: 96px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .feature-card {
    min-height: 280px;
    padding: 28px;
  }

  .final-cta {
    margin-bottom: 76px;
    padding: 36px 26px;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer,
  .legal-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

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

  .legal-header {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .legal-main {
    width: min(calc(100% - 32px), 1040px);
    padding: 68px 0 84px;
  }

  .legal-intro {
    margin-bottom: 52px;
  }

  .legal-intro h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-toc {
    position: static;
    display: grid;
    padding: 18px 20px;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
  }

  .legal-toc p {
    grid-column: 1 / -1;
  }

  .legal-content h2 {
    font-size: 1.8rem;
  }
}

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

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