:root {
  color-scheme: dark;
  --ink: #070817;
  --deep-ink: #10122b;
  --velvet: #160a2a;
  --text: #f7f3e8;
  --muted: #b9b4d0;
  --crown: #fff1a8;
  --staff: #31f5ff;
  --phase: #7b61ff;
  --wall: #ffb000;
  --web: #ff3d9a;
  --danger: #ff3864;
  --shard: #71f6a1;
  --sofa: #9b2335;
  --panel: #161831;
  --stroke: #292d5a;
  --max: 1160px;
  --display: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  --body: "Gill Sans", "Avenir Next", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 176, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 83% 18%, rgba(255, 61, 154, 0.22), transparent 30rem),
    radial-gradient(circle at 55% 92%, rgba(49, 245, 255, 0.14), transparent 28rem),
    linear-gradient(135deg, var(--ink), #05040d 46%, var(--velvet));
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(49, 245, 255, 0.28);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.button {
  border: 1px solid rgba(255, 241, 168, 0.5);
  background: linear-gradient(135deg, var(--wall), #ff6a00);
  color: #170a03;
  box-shadow: 0 12px 36px rgba(255, 176, 0, 0.26);
}

.button.secondary {
  border-color: rgba(49, 245, 255, 0.42);
  background: rgba(16, 18, 43, 0.86);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(82svh - 72px);
  padding: 44px 0 28px;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -18vw;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 61, 154, 0.3);
  border-radius: 50%;
  content: "";
  background: conic-gradient(from 210deg, rgba(255, 61, 154, 0), rgba(255, 61, 154, 0.2), rgba(49, 245, 255, 0.18), rgba(255, 61, 154, 0));
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  gap: clamp(28px, 5vw, 76px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--shard);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.7rem, 9vw, 7.6rem);
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 61, 154, 0.22);
}

h2 {
  font-size: clamp(2.45rem, 6vw, 5.2rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.availability {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 12% -4% -2% 8%;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.56), rgba(255, 61, 154, 0.5), rgba(49, 245, 255, 0.44));
  filter: blur(48px);
  transform: rotate(-7deg);
}

.hero-art img {
  width: min(100%, 560px);
  height: min(100vw, 560px);
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.next-strip {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: -8px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 9vw, 108px) 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}

.mechanic {
  display: grid;
  gap: 14px;
}

.rule {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule strong {
  display: block;
  color: var(--text);
  font-size: 1.18rem;
}

.rule span {
  color: var(--muted);
}

.sigil {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  color: #0c0711;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 900;
}

.sigil.wall {
  background: linear-gradient(135deg, var(--wall), #ff6d00);
}

.sigil.web {
  background: linear-gradient(135deg, var(--web), #9f42ff);
}

.sigil.staff {
  background: linear-gradient(135deg, var(--staff), var(--phase));
}

.feature-image {
  position: relative;
}

.feature-image img {
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.feature-image::after {
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 34px;
  border-radius: 50%;
  content: "";
  background: rgba(49, 245, 255, 0.36);
  filter: blur(18px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  min-height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(22, 24, 49, 0.92), rgba(13, 11, 30, 0.78));
}

.card p,
.legal-body p,
.legal-body li,
.support-list li {
  color: var(--muted);
}

.card h3 {
  margin-bottom: 12px;
}

.accent-wall {
  color: var(--wall);
}

.accent-web {
  color: var(--web);
}

.accent-staff {
  color: var(--staff);
}

.quote-band {
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.1), rgba(255, 61, 154, 0.15), rgba(49, 245, 255, 0.1)),
    rgba(5, 4, 13, 0.38);
}

.quote-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.quote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.7rem);
  font-weight: 900;
  line-height: 0.98;
}

.mini-icon {
  width: 136px;
  border-radius: 28px;
  box-shadow: 0 0 52px rgba(255, 61, 154, 0.3);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 4, 13, 0.64);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

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

.legal-hero {
  padding: 70px 0 38px;
}

.legal-hero .section-inner {
  display: grid;
  gap: 16px;
}

.legal-body {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 34px 0 86px;
}

.legal-body h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body ul {
  padding-left: 1.25rem;
}

.support-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  border-left: 4px solid var(--staff);
  padding: 8px 0 8px 16px;
}

.fine-print {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: center;
    flex-direction: row;
    min-height: 66px;
    padding: 10px 0;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 4px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-grid,
  .split,
  .quote-band .section-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 7ch;
  }

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

  .quote-band .mini-icon {
    width: 92px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    min-height: 30px;
    padding: 5px 4px;
    font-size: 0.82rem;
  }

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

  .brand span {
    font-size: 0.95rem;
  }

  .brand {
    white-space: nowrap;
  }

  .cta-row {
    flex-direction: row;
    gap: 8px;
  }

  .cta-row .button {
    flex: 1 1 0;
    min-height: 42px;
    padding: 9px 8px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 1rem;
  }

  .availability {
    margin-top: 12px;
  }

  .hero-art {
    order: -1;
    width: min(58vw, 210px);
    margin: 0 auto;
  }

  .hero-art img {
    width: 100%;
    height: min(58vw, 210px);
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
  }

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