:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --panel: #0f0f11;
  --line: #1f1f22;
  --red: #e0202b;
  --red-hover: #f0303b;
  --red-text: #ff6a70;
  --orange: #f0832a;
  --text: #e8e6e1;
  --heading: #f6f5f2;
  --muted: #a9a79f;
  --dim: #8f8d86;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 14px;
  color: #d8d6d0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.stripe {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--red) 0 10px, transparent 10px 20px);
  opacity: 0.9;
}

.icon {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Type */

h1,
h2 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--heading);
}

h1 {
  font-size: 96px;
  line-height: 0.94;
  letter-spacing: -1px;
}

h2 {
  font-size: 56px;
  line-height: 0.97;
  letter-spacing: -0.5px;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  color: #f3f3f5;
}

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-text);
}

.lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.55;
  color: #c9c7c1;
}

.text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #f3f3f5;
  transition: border-color 0.15s, background-color 0.15s;
}

.btn:hover {
  border-color: #fff;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

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

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  margin: 0 2px;
  border: 1px solid #3a3a3e;
  border-bottom-width: 3px;
  font-family: var(--mono);
  font-size: 13px;
  color: #f3f3f5;
}

/* Header */

.site-header {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #f3f3f5;
}

.logo span {
  color: var(--red);
}

.nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 15px;
  font-weight: 500;
}

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

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active {
  box-shadow: 0 2px 0 var(--red);
}

/* Footer */

.site-footer .container {
  padding-top: 40px;
  padding-bottom: 48px;
  font-size: 14px;
  color: var(--dim);
}

/* Shared sections */

.section {
  padding: 110px 0;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 640px;
}

.section-head .text {
  max-width: 420px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}

.split-flip {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.split h2 {
  margin-bottom: 22px;
}

.points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.points li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--red);
}

.points b {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 600;
  color: #f3f3f5;
}

/* Home: hero */

.home-hero {
  overflow: hidden;
}

.home-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
  align-items: center;
  min-height: 780px;
  padding-top: 110px;
  padding-bottom: 50px;
}

.home-hero .copy {
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  font-size: 72px;
  letter-spacing: -1.5px;
}

.home-hero .lead {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.6;
}

.home-hero .btn-row {
  margin-top: 36px;
}

.hero-note {
  margin-top: 24px;
  font-size: 14px;
  color: #9a988f;
}

.hero-art {
  margin: 0 -190px 0 -60px;
}

.hero-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 66% 62% at 52% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 66% 62% at 52% 50%, #000 55%, transparent 100%);
}

.facts {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts .container > div {
  padding: 26px 0 26px 24px;
  border-left: 1px solid var(--line);
}

.facts .container > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts b {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--heading);
}

.facts span {
  font-size: 14px;
  color: var(--dim);
}

/* Home: what it watches for */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  position: relative;
  padding: 30px 30px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
}

.tile .badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  background: rgba(224, 32, 43, 0.1);
  border: 1px solid rgba(224, 32, 43, 0.3);
  color: var(--red);
}

.tile .num {
  position: absolute;
  top: 26px;
  right: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: #4a4946;
}

.tile p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.tiles-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--dim);
}

/* Home: warning system card */

.ladder {
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.ladder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--dim);
}

.pips {
  display: flex;
  gap: 6px;
}

.pips i {
  width: 30px;
  height: 6px;
  background: var(--orange);
}

.pips i:last-child {
  background: var(--red);
}

.ladder ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: warning;
}

.ladder li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #141416;
  border: 1px solid #232327;
  counter-increment: warning;
}

.ladder li::before {
  content: counter(warning);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #2f2f33;
  font-size: 18px;
  font-weight: 900;
  color: #f3f3f5;
}

.ladder li b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #f3f3f5;
}

.ladder li small {
  font-size: 13px;
  color: var(--dim);
}

.ladder li.banned {
  background: rgba(224, 32, 43, 0.06);
  border-color: rgba(224, 32, 43, 0.5);
}

.ladder li.banned::before {
  border-color: var(--red);
  color: var(--red);
}

.result {
  padding: 5px 9px;
  border: 1px solid rgba(240, 131, 42, 0.45);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--orange);
}

.banned .result {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.ladder-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

.ladder-foot b {
  font-weight: 600;
  color: #c9c7c1;
}

/* Home: in-game menu */

.window {
  margin: 0;
  background: #0c0c0b;
  border: 1px solid #2a2a2e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid #222;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #5f5c56;
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a2a2e;
}

.window-bar span {
  margin-left: auto;
}

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

.callouts div {
  padding-top: 18px;
  border-top: 2px solid var(--red);
}

.callouts h3 {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--red-text);
}

.callouts p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  margin-top: 28px;
}

.note-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.note-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

/* Home: discord */

.discord {
  position: relative;
  max-height: 560px;
  overflow: hidden;
  background: #313338;
  border: 1px solid #3a3c42;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.discord::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #313338);
}

.discord-channel {
  padding: 14px 22px;
  border-bottom: 1px solid #26282c;
  font-size: 15px;
  font-weight: 600;
  color: #f2f3f5;
}

.discord-channel span {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #80848e;
}

.discord img {
  padding: 22px 28px 0;
}

.discord-copy h2 {
  font-size: 48px;
}

/* Home: dashboard */

.centered {
  text-align: center;
}

.centered .text {
  max-width: 620px;
  margin: 16px auto 0;
}

.devices {
  max-width: 1100px;
  margin: 48px auto 0;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
  text-align: left;
}

.mini-cards div {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.mini-cards p {
  font-size: 15px;
  color: var(--muted);
}

/* Home: install, faq, download */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

.steps p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
}

.faq details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #f3f3f5;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--red);
}

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

.faq details p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.download {
  display: flex;
  align-items: center;
  min-height: 520px;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 11, 0.88) 45%, rgba(10, 10, 11, 0.3) 100%), url("/assets/img/flags.jpg?v=5") center / cover no-repeat;
}

.download .container {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
}

.download h2 {
  margin-bottom: 18px;
  font-size: 84px;
}

.download p {
  max-width: 480px;
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.6;
  color: #c9c7c1;
}

/* Features page */

.hero-features {
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.25), var(--bg)), url("/assets/img/shield.jpg?v=5") center 30% / cover no-repeat;
}

.hero-features .container {
  width: 100%;
  padding-top: 150px;
  padding-bottom: 70px;
}

.hero-features h1 {
  max-width: 760px;
}

.cat-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(10, 10, 11, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cat-bar .container {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-bar .container::-webkit-scrollbar {
  display: none;
}

.cat-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dim);
  transition: color 0.15s, background-color 0.15s;
}

.cat-bar a + a {
  border-left: 1px solid var(--line);
}

.cat-bar svg {
  color: #6b6a66;
  transition: color 0.15s;
}

.cat-bar a:hover,
.cat-bar a.current {
  color: var(--heading);
}

.cat-bar a:hover svg,
.cat-bar a.current svg {
  color: var(--red);
}

.cat-bar a.current {
  background: rgba(224, 32, 43, 0.07);
  box-shadow: inset 0 -2px 0 var(--red);
}

.category {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.category:first-child {
  border-top: 0;
}

.category header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 34px;
}

.category .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--red);
}

.category .meta span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--red-text);
}

.category .tagline {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}

.category .intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

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

.card {
  padding: 26px 28px;
  background: var(--panel);
  box-shadow: inset 3px 0 0 var(--red);
}

.card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.cta {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.cta .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.cta h2 {
  font-size: 48px;
}

/* Smaller screens */

@media (max-width: 1100px) {
  .home-hero .container {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 150px;
  }

  .hero-art {
    margin: 10px -32px 0;
  }
}

@media (max-width: 1000px) {
  .tiles,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split-flip,
  .settings-row,
  .faq,
  .category header {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    gap: 48px;
  }

  .category header {
    align-items: start;
  }

  .facts .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts .container > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .cat-bar .container {
    grid-template-columns: repeat(10, minmax(96px, 1fr));
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 16px;
  }

  .site-header .container {
    gap: 12px 24px;
    padding-top: 18px;
  }

  h1,
  .home-hero h1 {
    font-size: 54px;
  }

  h2,
  .discord-copy h2 {
    font-size: 40px;
  }

  .download h2 {
    font-size: 56px;
  }

  .cta h2 {
    font-size: 36px;
  }

  .lead,
  .home-hero .lead {
    font-size: 18px;
  }

  .home-hero .container {
    padding-top: 230px;
  }

  .hero-art {
    margin: 10px -16px 0;
  }

  .hero-features {
    min-height: 480px;
  }

  .hero-features .container {
    padding-top: 230px;
    padding-bottom: 56px;
  }

  .section {
    padding: 72px 0;
  }

  .tiles,
  .cards,
  .callouts,
  .mini-cards,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ladder {
    padding: 20px;
  }

  .ladder li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .ladder li::before {
    width: 36px;
    height: 36px;
  }

  .ladder .result {
    grid-column: 2;
    justify-self: start;
  }

  .note-card {
    padding: 24px;
  }

  .discord img {
    padding: 16px 12px 0;
  }
}

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