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

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

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

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

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

:root {
  --ink: #0e0f10;
  --ink-2: #17191c;
  --card: #141618;
  --text: #f5f6f7;
  --muted: #c5cad0;
  --line: rgba(245, 246, 247, 0.16);
  --mint: #9df26e;
  --paper: #ffffff;
  /* Presentation accents for the combat corners. Not official brand tokens. */
  --red-corner: #9b0c16;
  --green-corner: #086628;
  --sans: "Barlow", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --wrap: 1120px;
  --header: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.button-primary:focus-visible {
  outline-color: #ffffff;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 40;
  background: var(--mint);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1rem;
  min-height: 48px;
}

.skip:focus {
  top: 0.75rem;
}

.identity-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 8px;
}

.identity-bar span {
  display: block;
}

.bar-red {
  background: var(--red-corner);
}

.bar-green {
  background: var(--green-corner);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-block: 0.65rem;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: transparent;
  text-decoration: none;
}

.brand img,
.footer-logo img,
.hero-logo img {
  display: block;
  width: auto;
  height: auto;
}

.brand img,
.footer-logo img {
  height: 44px;
  aspect-ratio: 871 / 336;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a:hover {
  color: var(--mint);
  text-decoration: underline;
}

main section {
  padding-block: clamp(3.25rem, 7vw, 5.75rem);
  scroll-margin-top: 1.25rem;
}

.hero {
  padding-top: clamp(2.25rem, 5vw, 4.5rem);
}

.hero-grid,
.split,
.facts,
.formats,
.tools,
.participate-grid {
  display: grid;
  gap: 1.25rem;
}

.eyebrow,
.index,
.badge,
.format-index,
.corner-kicker,
.host,
.link-note,
.footer-meta {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  color: var(--mint);
  margin-bottom: 0.85rem;
}

h1 {
  font-size: clamp(4.2rem, 12vw, 7.4rem);
  text-transform: uppercase;
}

h1 span {
  display: block;
  margin-top: 0.28em;
  font-size: 0.34em;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.lede,
.section-head p,
.format-lead {
  color: var(--muted);
  max-width: 40rem;
}

.lede {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--text);
}

.badges,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.badge-mint {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.button,
.button-secondary,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.button-primary {
  background: var(--mint);
  color: var(--ink);
}

.button-primary:hover {
  background: #c6f7a4;
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(245, 246, 247, 0.5);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: min(100%, 36rem);
  aspect-ratio: 871 / 336;
}

@media (max-width: 799px) {
  main section.hero {
    padding-top: 1.25rem;
  }

  .hero-grid .hero-logo {
    order: -1;
  }
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  max-width: 44rem;
}

.index {
  color: var(--mint);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  text-transform: uppercase;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.facts {
  margin-top: 1.75rem;
}

.fact,
.format,
.tool,
.blank,
.step-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.15rem 1.3rem;
}

.fact strong,
.format h3,
.tool h3,
.blank h3 {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.fact p,
.format li,
.tool p,
.answer p,
.blank p,
.step-list li {
  color: var(--muted);
}

.formats {
  align-items: stretch;
}

.format {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.format-index {
  color: var(--mint);
  margin-bottom: 0.55rem;
}

.format-lead {
  color: var(--text);
  margin-bottom: 0.9rem;
}

.format ul,
.step-list ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chip-red {
  background: var(--red-corner);
}

.chip-green {
  background: var(--green-corner);
}

.chip-outline {
  color: var(--text);
  border: 1px solid var(--line);
}

.note {
  margin-top: 1.15rem;
  max-width: 46rem;
  color: var(--muted);
}

.corner-copy {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.corner-split {
  display: grid;
  grid-template-columns: 1fr;
}

.corner {
  min-height: 18rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  color: #ffffff;
}

.corner p {
  max-width: 28rem;
  margin: 0;
  color: #ffffff;
}

.corner-red {
  background: var(--red-corner);
}

.corner-green {
  background: var(--green-corner);
}

.corner-kicker {
  color: #ffffff;
}

.corner h3 {
  font-size: clamp(2.7rem, 11vw, 6rem);
  text-transform: uppercase;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.participate-grid {
  align-items: start;
}

.step-list {
  margin: 0;
}

.step-list ol {
  color: var(--text);
}

.step-list li::marker {
  color: var(--mint);
  font-weight: 700;
}

.blank ol {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.blank li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.blank li span {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.08em;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tool {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool .badges {
  margin-top: 0;
}

.tool h3 {
  margin-bottom: 0;
}

.host {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.link-note {
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tool .button {
  margin-top: auto;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 1rem;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--mint);
}

details[open] summary::after {
  content: "–";
}

.answer {
  padding: 0.2rem 0 1rem;
  max-width: 46rem;
}

.announce {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.35rem;
}

.footer-meta {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.host-note:empty {
  display: none;
}

.error-main {
  min-height: calc(100vh - 8px - 8rem);
  display: grid;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
  }

  .facts,
  .formats,
  .participate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .corner-split {
    grid-template-columns: 1fr 1fr;
  }

  .tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .brand img {
    height: 52px;
  }
}

@media (min-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  main section {
    scroll-margin-top: 6rem;
  }
}

@media (max-width: 540px) {
  .actions .button,
  .actions .button-primary,
  .actions .button-secondary,
  .tool .button {
    width: 100%;
  }
}

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

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

@media (prefers-contrast: more) {
  :root {
    --muted: #f5f6f7;
    --line: rgba(245, 246, 247, 0.7);
  }
}

@media print {
  body {
    background: #ffffff;
    color: #111111;
  }

  .identity-bar,
  .skip,
  .site-header {
    display: none;
  }

  a {
    color: #111111;
  }

  .fact,
  .format,
  .tool,
  .blank,
  .step-list,
  details {
    border: 1px solid #111111;
    background: #ffffff;
  }
}
