:root {
  color-scheme: dark;
  --ink: #000000;
  --ink-soft: #0c2940;
  --cream: #fff9e9;
  --blue: #2f9af0;
  --blue-soft: #73bdf5;
  --orange: #ff7a2d;
  --muted: #b9cad8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--ink);
}

a {
  color: var(--blue-soft);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 56px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.logo {
  width: min(100%, 260px);
  height: auto;
  display: block;
  justify-self: center;
  border-radius: 50%;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 249, 233, 0.08);
}

.copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.intro {
  margin: 28px 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.status {
  width: fit-content;
  margin-top: 28px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(115, 189, 245, 0.24);
  border-radius: 999px;
  color: #dcebf5;
  background: rgba(12, 41, 64, 0.66);
  font-size: 0.94rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 122, 45, 0.72);
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(185, 202, 216, 0.7);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cream);
}

.legal-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 68px;
}

.legal-nav {
  margin-bottom: 42px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.legal-header {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(115, 189, 245, 0.2);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-summary {
  margin: 30px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(115, 189, 245, 0.23);
  border-radius: 16px;
  background: rgba(12, 41, 64, 0.48);
  color: #e7f1f7;
  line-height: 1.7;
}

.legal-content {
  padding-top: 14px;
}

.legal-content section {
  padding: 30px 0 4px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 24px 0 8px;
  color: #e7f1f7;
  font-size: 1.05rem;
}

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

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

.legal-content ul {
  margin: 8px 0 18px;
  padding-left: 1.3rem;
}

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

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

.legal-content code {
  color: var(--cream);
  background: rgba(115, 189, 245, 0.12);
  border-radius: 4px;
  padding: 0.08em 0.3em;
}

.legal-contact {
  margin-top: 12px;
  padding: 20px 22px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 45, 0.07);
  color: var(--muted);
  line-height: 1.8;
}

.legal-contact address {
  font-style: normal;
}

@media (max-width: 780px) {
  .page {
    padding-top: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .logo {
    width: min(68vw, 240px);
    justify-self: center;
  }

  .copy {
    text-align: center;
    justify-self: center;
  }

  h1 {
    max-width: 11ch;
    margin-inline: auto;
  }

  .intro {
    margin-inline: auto;
  }

  .status {
    margin-inline: auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .legal-page {
    padding-top: 28px;
  }

  .legal-nav {
    margin-bottom: 30px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .logo {
    animation: settle 700ms ease-out both;
  }

  .copy {
    animation: settle 700ms 90ms ease-out both;
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


.featured-game {
  margin: 22px 0 0;
}

.featured-game a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-soft);
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.featured-game a:hover {
  color: var(--cream);
}

@media (max-width: 780px) {
  .featured-game {
    text-align: center;
  }
}

/* Abrecan game page. Keep branding isolated from the studio and policy pages. */
.game-body {
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 163, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(98, 74, 255, 0.14), transparent 28rem),
    #020617;
}

.game-page {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 38px 0 48px;
}

.game-nav {
  margin-bottom: clamp(42px, 7vw, 76px);
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 8vw, 96px);
}

.game-logo-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 360px);
  justify-self: center;
}

.game-logo-frame::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 148, 255, 0.24);
  filter: blur(56px);
}

.game-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 44px rgba(0, 100, 255, 0.24));
}

.game-copy {
  max-width: 650px;
}

.game-page .eyebrow {
  color: #8deaff;
}

.game-page h1 {
  max-width: none;
  color: #f2faff;
  font-size: clamp(3.6rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 0 42px rgba(0, 183, 255, 0.2);
}

.game-intro {
  margin: 26px 0 0;
  max-width: 58ch;
  color: #c2d5e6;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.game-status {
  width: fit-content;
  margin-top: 26px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(80, 211, 255, 0.32);
  border-radius: 999px;
  color: #dfedff;
  background: rgba(8, 34, 76, 0.64);
  font-size: 0.94rem;
}

.game-status strong {
  color: #f2faff;
}

.game-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #48e6ff;
  box-shadow: 0 0 18px rgba(72, 230, 255, 0.72);
}

.game-support {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(80, 211, 255, 0.22);
}

.game-support h2 {
  margin: 0 0 10px;
  color: #f2faff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-support p {
  margin: 0;
  color: #bdcee1;
  line-height: 1.7;
}

.game-support a {
  color: #8deaff;
}

.game-links {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.game-links a {
  color: #dae9fa;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-color: rgba(80, 211, 255, 0.56);
}

.game-links a:hover {
  color: #ffffff;
}

@media (max-width: 780px) {
  .game-page {
    padding-top: 28px;
  }

  .game-nav {
    margin-bottom: 36px;
  }

  .game-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .game-logo-frame {
    width: min(76vw, 360px);
  }

  .game-copy {
    text-align: center;
    justify-self: center;
  }

  .game-page h1 {
    margin-inline: auto;
  }

  .game-intro {
    margin-inline: auto;
  }

  .game-status {
    margin-inline: auto;
  }

  .game-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .game-logo {
    animation: settle 700ms ease-out both;
  }

  .game-copy {
    animation: settle 700ms 90ms ease-out both;
  }
}
