@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/anton-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2');
}

:root {
  --bg: #0B0B0D;
  --surface: #121318;
  --field: #16171B;
  --plate: #1A1B1F;
  --line: #26272C;
  --line-card: #2C2D33;
  --line-strong: #3A3B42;
  --text: #E9E9EC;
  --text-strong: #FFFFFF;
  --text-soft: #D4D5DA;
  --text-muted: #B4B5BC;
  --text-dim: #A9AAB1;
  --text-faint: #8E8F96;
  --accent: #D21F27;
  --accent-hover: #FF3A42;
  --error: #FF7A7F;
  --success: #7ED99B;
  --discord: #5865F2;
  --discord-hover: #6D76F5;
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --gutter: 24px;
  --max: 1280px;
  --hero-height: clamp(440px, calc(100svh - 200px), 760px);
  --hero-overlap: -110px;
  --scrim: linear-gradient(180deg, rgba(11, 11, 13, 0) 72%, rgba(11, 11, 13, 0.8) 92%, #0B0B0D 100%);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

a {
  color: var(--text);
}

a:hover {
  color: var(--text-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-strong);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--text-strong);
  color: var(--bg);
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
}

.skip:focus {
  top: 12px;
  color: var(--bg);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: block;
  flex-shrink: 0;
}

.logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.signup-off [data-signup] {
  display: none !important;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-img {
  display: block;
  width: 100%;
  height: var(--hero-height);
  object-fit: cover;
  object-position: center 22%;
}

.scrim {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--hero-height);
  background: var(--scrim);
}

.hero-body {
  position: relative;
  margin-top: var(--hero-overlap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 48px;
  text-align: center;
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 120px;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.countdown {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.countdown-on .countdown {
  display: flex;
}

.countdown-label {
  margin: 0;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--text-strong);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 88px;
  padding: 10px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom: 3px solid var(--accent);
  border-radius: 4px;
}

.tile-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.tile-unit {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tagline {
  margin: 0;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-soft);
}

.community .wrap {
  padding-top: 32px;
  padding-bottom: 24px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line-card);
  border-top: 4px solid var(--accent);
  border-radius: 6px;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.card-copy {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
}

.discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--discord);
  color: var(--text-strong);
  text-decoration: none;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.discord:hover {
  background: var(--discord-hover);
  color: var(--text-strong);
}

.discord img {
  width: 26px;
  height: auto;
}

.signup .wrap {
  max-width: calc(720px + 2 * var(--gutter));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 72px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.section-copy {
  margin: 0;
  font-size: 17px;
  color: var(--text-dim);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin: 8px 0 0;
}

.form-row {
  display: flex;
  gap: 12px;
}

.input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  font: inherit;
  font-size: 17px;
  color: var(--text-strong);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.input::placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.input[aria-invalid="true"] {
  border-color: var(--error);
}

.btn {
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  background: var(--accent);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--text-strong);
}

.btn[aria-disabled="true"] {
  cursor: progress;
  opacity: 0.75;
}

.form-message {
  margin: 0;
  min-height: 0;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.form-message:empty {
  display: none;
}

.form-message[data-tone="error"] {
  color: var(--error);
}

.form-message[data-tone="success"] {
  color: var(--success);
  font-size: 18px;
  text-align: center;
}

.form[data-state="success"] .form-row {
  display: none;
}

.platforms {
  border-top: 1px solid var(--line-card);
  border-bottom: 1px solid var(--line-card);
  background-color: var(--plate);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
}

.platforms .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 20px 8px 16px;
  background: #000000;
  border: 1px solid var(--text-faint);
  border-radius: 10px;
  color: var(--text-strong);
  text-decoration: none;
}

a.badge:hover {
  border-color: var(--text-strong);
  color: var(--text-strong);
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.badge-kicker {
  font-size: 12px;
  color: var(--text-soft);
}

.badge-name {
  font-size: 21px;
  font-weight: 600;
}

.badge-official {
  display: flex;
  align-items: center;
}

.badge-official img {
  height: 60px;
  width: auto;
}

.site-footer {
  margin-top: auto;
  background: var(--bg);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 15px;
  color: var(--text-dim);
}

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

.legal-on .footer-nav {
  display: flex;
}

.footer-nav a {
  color: var(--text-dim);
}

.footer-nav a:hover {
  color: var(--text-strong);
}

.page {
  flex: 1;
}

.page .wrap {
  max-width: calc(820px + 2 * var(--gutter));
  padding-top: 56px;
  padding-bottom: 72px;
}

.page-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.page-lead {
  margin: 0 0 32px;
  font-size: 19px;
  color: var(--text-soft);
}

.draft {
  margin: 0 0 32px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line-card);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.prose h2 {
  margin: 40px 0 12px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.prose p,
.prose li {
  font-size: 17px;
  color: var(--text-muted);
}

.prose ul {
  padding-left: 22px;
}

.prose a {
  color: var(--text-strong);
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
}

.facts dt {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.facts dd {
  margin: 0;
  color: var(--text-muted);
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line-card);
  border-radius: 6px;
}

.download-preview {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #000000;
}

.download a {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-meta {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.panel .form {
  margin-top: 8px;
}

@media (max-width: 1023px) {
  :root {
    --gutter: 24px;
    --hero-height: 330px;
    --hero-overlap: -48px;
    --scrim: linear-gradient(180deg, rgba(11, 11, 13, 0) 65%, rgba(11, 11, 13, 0.8) 88%, #0B0B0D 100%);
  }

  .site-header .wrap {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo {
    height: 36px;
  }

  .nav {
    gap: 24px;
    font-size: 16px;
  }

  .nav a {
    padding: 12px 0;
  }

  .hero-body {
    gap: 14px;
    padding-bottom: 36px;
  }

  .title {
    font-size: 72px;
    line-height: 0.95;
  }

  .countdown {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
  }

  .countdown-label {
    font-size: 15px;
    padding: 6px 12px;
  }

  .tiles {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .tile {
    gap: 2px;
    min-width: 76px;
    padding: 8px 6px 6px;
  }

  .tile-num {
    font-size: 34px;
  }

  .tile-unit {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .tagline {
    max-width: 600px;
    font-size: 17px;
  }

  .community .wrap {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .card {
    flex-wrap: nowrap;
    gap: 24px;
    padding: 24px 28px;
  }

  .card-text {
    flex: 1;
    min-width: 0;
    gap: 6px;
  }

  .card-title {
    font-size: 34px;
  }

  .card-copy {
    font-size: 16px;
  }

  .discord {
    flex-shrink: 0;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    font-size: 18px;
  }

  .discord img {
    width: 24px;
  }

  .signup .wrap {
    gap: 10px;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-copy {
    font-size: 16px;
  }

  .btn {
    padding: 0 24px;
  }

  .platforms .wrap {
    gap: 20px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 560px;
  }

  .badge {
    padding: 8px 16px;
  }

  .badge-name {
    font-size: 20px;
  }

  .site-footer .wrap {
    flex-wrap: nowrap;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 14px;
  }

  .page-title {
    font-size: 56px;
  }
}

@media (min-width: 601px) and (max-width: 1023px) and (orientation: portrait) {
  :root {
    --hero-height: 460px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
    --hero-height: 460px;
    --scrim: linear-gradient(180deg, rgba(11, 11, 13, 0) 70%, rgba(11, 11, 13, 0.8) 90%, #0B0B0D 100%);
  }

  .site-header .wrap {
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 16px 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .nav a:first-child {
    border-top: 0;
  }

  .hero-img {
    object-position: center 20%;
  }

  .hero-body {
    gap: 16px;
    padding-bottom: 40px;
  }

  .title {
    font-size: 60px;
  }

  .countdown {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

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

  .tile {
    gap: 4px;
    min-width: 0;
    padding: 10px 4px 8px;
  }

  .tagline {
    max-width: none;
  }

  .community .wrap {
    padding-bottom: 16px;
  }

  .card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px;
  }

  .card-text {
    gap: 8px;
  }

  .discord {
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    font-size: 19px;
  }

  .signup .wrap {
    gap: 12px;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .form-row {
    flex-direction: column;
  }

  .platforms .wrap {
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .badges {
    display: flex;
    flex-direction: column;
    max-width: 300px;
  }

  .badge {
    padding: 8px 20px 8px 16px;
  }

  .badge-name {
    font-size: 21px;
  }

  .site-footer .wrap {
    flex-direction: column;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 32px;
    text-align: center;
  }

  .footer-nav {
    order: -1;
  }

  .page .wrap {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .page-title {
    font-size: 48px;
  }

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

  .facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .facts dd {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .nav.nav-inline {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border: 0;
  }

  .nav.nav-inline a {
    border-top: 0;
  }
}

.prose .downloads {
  padding-left: 0;
}
