:root {
  --bg: #0b090a;
  --ink: #f7f4ff;
  --muted: #cbbfe0;
  --soft: #ead9ff;
  --purple: #9715ff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 7px 7px 0 #000;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(980px 520px at 112% -8%, rgba(151, 21, 255, 0.38), transparent 58%),
    radial-gradient(720px 420px at -18% 18%, rgba(151, 21, 255, 0.14), transparent 52%);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/></svg>");
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--purple);
  color: #fff;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.brand span,
.rules h3,
.crew-card h3 {
  font-family: "Archivo Black", "Arial Black", Impact, sans-serif;
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 8vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0.02em 0.1em 0.05em;
  color: #fff;
  background: var(--purple);
  border: 4px solid #fff;
  box-shadow: 7px 7px 0 #000;
  line-height: 0.95;
}

h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  background: rgba(11, 9, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: none;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 11px;
  background: var(--purple);
}

.brand span {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent;
}

.nav a:hover {
  box-shadow: inset 0 -2px 0 var(--purple);
}

.header-socials {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  box-shadow: 3px 3px 0 var(--purple);
  text-decoration: none;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover,
.btn:hover,
.copy-btn:hover,
.crew-card:hover,
.rules li:hover {
  transform: translate(-2px, -2px);
}

.icon-btn,
.btn,
.copy-btn,
.crew-card,
.rules li,
.mascot-wrap {
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.marquee {
  overflow: hidden;
  color: #fff;
  background: var(--purple);
  border-bottom: 3px solid #fff;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.marquee-group {
  display: flex;
  padding: 13px 0;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-right: 28px;
  font-family: "Archivo Black", "Arial Black", Impact, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  padding: 42px 0 28px;
}

.hero-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.mascot-wrap {
  width: fit-content;
  transform: rotate(-3deg);
}

.mascot-wrap:hover {
  transform: rotate(0deg) translateY(-4px);
}

.mascot {
  display: block;
  width: min(240px, 100%);
  height: auto;
  border: 4px solid #fff;
  border-radius: 32px;
  background: var(--purple);
  box-shadow: 10px 10px 0 #000;
}

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

.ca-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 100%;
  padding: 6px 6px 6px 14px;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 var(--purple);
}

.ca-bits {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tag,
.ca-label {
  margin: 0;
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

code {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-weight: 600;
  user-select: all;
}

.ca-inline code {
  font-size: 1rem;
}

.btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 var(--purple);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-purple,
.copy-btn-lg {
  background: var(--purple);
  box-shadow: 4px 4px 0 #000;
}

.btn:hover,
.copy-btn:hover {
  box-shadow: 7px 7px 0 var(--purple);
}

.btn-purple:hover,
.copy-btn-lg:hover {
  box-shadow: 7px 7px 0 #000;
}

.btn:active,
.copy-btn:active,
.icon-btn:active,
.crew-card:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #000;
}

.copy-btn.is-copied {
  background: #fff;
  color: #000;
}

.banner-frame {
  margin: 36px 0 8px;
  line-height: 0;
  border: 3px solid #fff;
  box-shadow: 10px 10px 0 var(--purple);
  background: #000;
}

.banner-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.manifesto,
.contract,
.crew {
  padding: 84px 0;
  scroll-margin-top: 84px;
}

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.rules li {
  min-height: 230px;
  padding: 22px;
  background: #110d14;
  border: 3px solid #fff;
  box-shadow: 7px 7px 0 var(--purple);
}

.rules li:nth-child(2) {
  box-shadow: 7px 7px 0 #fff;
}

.rules li:hover {
  box-shadow: 10px 10px 0 var(--purple);
}

.rules li:nth-child(2):hover {
  box-shadow: 10px 10px 0 #fff;
}

.rules span {
  color: var(--soft);
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-weight: 600;
}

.rules h3,
.crew-card h3 {
  margin: 28px 0 8px;
  font-size: 2rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.rules p,
.crew-card p {
  margin: 0;
  color: var(--muted);
}

.ca-plate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 10px 10px 0 var(--purple);
}

.ca-plate code {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.crew-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.crew-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 250px;
  padding: 26px;
  color: #fff;
  text-decoration: none;
  border: 3px solid #fff;
}

.crew-x {
  background: #070607;
  box-shadow: 8px 8px 0 var(--purple);
}

.crew-tg {
  background: var(--purple);
  box-shadow: 8px 8px 0 #fff;
}

.crew-x:hover {
  box-shadow: 12px 12px 0 var(--purple);
}

.crew-tg:hover {
  box-shadow: 12px 12px 0 #fff;
}

.crew-tg p,
.crew-tg .crew-where {
  color: #fff;
}

.crew-where {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crew-where svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.crew-card h3 {
  margin-top: 12px;
}

.go {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.go-end {
  white-space: nowrap;
}

.go span {
  display: inline-block;
  transition: transform 0.14s ease;
}

.crew-card:hover .go span {
  transform: translateX(6px);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 3px solid var(--purple);
}

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 20px;
  margin: 0;
  padding: 12px 16px;
  color: #000;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 var(--purple);
  font-weight: 700;
  transform: translateX(-50%);
}

.toast[hidden] {
  display: none;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer .brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: Outfit, "Segoe UI", sans-serif;
}

.site-footer .brand strong {
  font-family: "Archivo Black", "Arial Black", Impact, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.site-footer .brand small {
  color: var(--muted);
  font-size: 0.92rem;
}

.disclaimer {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero-top,
  .rules,
  .crew-grid {
    grid-template-columns: 1fr;
  }

  .mascot {
    width: 168px;
    border-radius: 24px;
  }

  .rules li,
  .crew-card {
    min-height: 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ca-inline,
  .hero-actions .btn {
    width: 100%;
  }

  .manifesto,
  .contract,
  .crew {
    padding: 64px 0;
  }

  h1 span {
    border-width: 3px;
    box-shadow: 5px 5px 0 #000;
  }

  .copy-btn-lg {
    width: 100%;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .icon-btn,
  .btn,
  .copy-btn,
  .crew-card,
  .rules li,
  .mascot-wrap,
  .go span {
    transition: none;
  }

  .mascot-wrap:hover,
  .icon-btn:hover,
  .btn:hover,
  .copy-btn:hover,
  .crew-card:hover,
  .rules li:hover {
    transform: none;
  }

  .mascot-wrap {
    transform: rotate(-3deg);
  }
}
