/* =========================================================
   KNIFE RUSSIA — criminal MTA server landing
   ========================================================= */

:root {
  --ink: #070708;
  --ink-2: #0b0a0d;
  --ink-3: #121015;
  --bone: #ede7dc;
  --bone-dim: #cdc5b8;
  --ash: #9b948a;
  --blood: #c8102e;
  --blood-hot: #ff3b30;
  --line: rgba(237, 231, 220, 0.14);
  --line-strong: rgba(237, 231, 220, 0.28);
  --font-display: "Russo One", "Arial Black", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--blood-hot);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--blood);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.accent {
  color: var(--blood-hot);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 8, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 8, 0.92);
  border-bottom-color: var(--line-strong);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--bone);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 8px;
  height: 26px;
  background: var(--blood);
  transform: skewX(-12deg);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.65);
}

.brand-name {
  display: inline-flex;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.brand-name-accent {
  color: var(--blood-hot);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--blood-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--bone);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--blood-hot);
  color: var(--blood-hot);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blood);
  border-color: var(--blood);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(200, 16, 46, 0.8);
}

.btn--primary:hover {
  background: #e11634;
  border-color: #e11634;
}

.btn--ghost {
  background: rgba(237, 231, 220, 0.03);
  border-color: var(--line-strong);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--bone);
  background: rgba(237, 231, 220, 0.07);
}

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

.btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 10.5px;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn:hover {
  border-color: var(--blood-hot);
  color: var(--blood-hot);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blood-hot);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 59, 48, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link:hover {
  color: #ff6a61;
  border-bottom-color: #ff6a61;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) 0 clamp(34px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(78vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.34), transparent 62%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(237, 231, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 231, 220, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.5vw, 30px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}

.eyebrow-mark {
  width: 6px;
  height: 6px;
  background: var(--blood-hot);
  transform: rotate(45deg);
  flex: none;
}

.hero-title {
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 44ch;
  margin: 0 0 clamp(24px, 3vw, 34px);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--bone-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

.hero-meta li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--blood);
  flex: none;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 6%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.42), transparent 66%);
  filter: blur(38px);
}

.art-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(237, 231, 220, 0.045), rgba(237, 231, 220, 0.008));
}

.art-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.06);
}

.art-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--blood);
  z-index: 1;
}

.art-corner--tl {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.art-corner--tr {
  top: -2px;
  right: -2px;
  border-left: 0;
  border-bottom: 0;
}

.art-corner--bl {
  bottom: -2px;
  left: -2px;
  border-right: 0;
  border-top: 0;
}

.art-corner--br {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.art-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 7px 11px;
  background: rgba(7, 7, 8, 0.86);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  transform: rotate(-2deg);
}

.art-side {
  position: absolute;
  top: 18px;
  right: -26px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--ash);
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px var(--gutter);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
}

.ticker-track i {
  width: 5px;
  height: 5px;
  background: var(--blood);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: clamp(56px, 8.5vw, 118px) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section--alt {
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 88%);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood-hot);
}

.kicker span {
  color: var(--ash);
}

.section-head h2,
.perks-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.section-lede {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ash);
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.25s var(--ease);
}

.feature-card:hover {
  background: rgba(200, 16, 46, 0.055);
}

.feature-icon {
  display: inline-flex;
  color: var(--blood-hot);
}

.feature-kicker {
  margin: auto 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ash);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ash);
}

/* ---------- factions ---------- */

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

.faction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(237, 231, 220, 0.022);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.faction-card:hover {
  border-color: rgba(255, 59, 48, 0.52);
  background: rgba(200, 16, 46, 0.05);
  transform: translateY(-3px);
}

.faction-card:nth-child(1) {
  grid-column: span 7;
}

.faction-card:nth-child(2) {
  grid-column: span 5;
}

.faction-card:nth-child(3) {
  grid-column: span 5;
}

.faction-card:nth-child(4) {
  grid-column: span 7;
}

.faction-card:nth-child(5) {
  grid-column: span 7;
}

.faction-card:nth-child(6) {
  grid-column: span 5;
}

.faction-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.faction-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

.faction-icon {
  display: inline-flex;
  color: var(--blood-hot);
}

.faction-card h3 {
  margin: 42px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.05;
  text-transform: uppercase;
}

.faction-card p {
  margin: 0 0 20px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ash);
}

.faction-tag {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
}

/* ---------- steps ---------- */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  border-top: 2px solid var(--blood);
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.075), transparent 62%);
}

.step-num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 59, 48, 0.6);
}

@supports not (-webkit-text-stroke: 1px red) {
  .step-num {
    color: rgba(255, 59, 48, 0.6);
  }
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ash);
}

.start-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.start-bar-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ash);
}

.start-bar-text strong {
  color: var(--bone);
  font-weight: 600;
}

/* ---------- rules ---------- */

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-head--sticky {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  margin-bottom: 0;
}

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

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

.rule summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

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

.rule-title {
  font-family: var(--font-display);
  font-size: clamp(13.5px, 1.35vw, 16px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.rule summary:hover .rule-title,
.rule[open] .rule-title {
  color: var(--blood-hot);
}

.rule-mark {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.rule-mark::before,
.rule-mark::after {
  content: "";
  position: absolute;
  background: var(--blood-hot);
  transition: transform 0.25s var(--ease);
}

.rule-mark::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.rule-mark::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.rule[open] .rule-mark::after {
  transform: scaleY(0);
}

.rule-text {
  margin: 0;
  padding: 0 0 22px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ash);
}

/* ---------- perks ---------- */

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

.perks-actions {
  margin-top: 26px;
}

.perk-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.perk-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--bone-dim);
}

.perk-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--blood-hot);
}

/* ---------- community ---------- */

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

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

a.social-card:hover {
  border-color: rgba(255, 59, 48, 0.52);
  transform: translateY(-3px);
}

.social-icon {
  display: inline-flex;
  margin-bottom: auto;
  color: var(--blood-hot);
}

.social-card h3 {
  margin: 26px 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
}

.social-card p {
  margin: 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ash);
}

.social-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--ash);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

a.social-card:hover .social-arrow {
  color: var(--blood-hot);
  transform: translateX(3px);
}

.social-card--soon {
  opacity: 0.7;
}

.soon-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 82% 18%, rgba(200, 16, 46, 0.24), transparent 58%), var(--ink-2);
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.92;
  text-transform: uppercase;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(34px, 5vw, 56px) 0 28px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand--footer .brand-name {
  font-size: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
  padding-top: 18px;
}

.footer-copy,
.footer-note,
.footer-credit {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash);
}

.footer-note {
  max-width: 52ch;
  flex: 1 1 320px;
}

.footer-credit a {
  color: var(--ash);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--bone);
}

/* ---------- dialogs ---------- */

dialog {
  color: var(--bone);
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(3, 3, 4, 0.78);
  overflow: hidden;
  overscroll-behavior: contain;
}

.launcher-dialog {
  width: min(520px, calc(100vw - 32px));
  margin: auto;
  padding: 26px 26px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--ink-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

.launcher-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.launcher-head .kicker {
  margin: 0;
}

.launcher-title {
  margin: 20px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}

.launcher-text {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ash);
}

.launcher-download {
  width: 100%;
}

.launcher-pending {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--ash);
}

.launcher-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}

.launcher-link:hover {
  color: var(--blood-hot);
  border-bottom-color: var(--blood-hot);
}

.launcher-note {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

/* mobile menu */

.menu-dialog {
  width: min(420px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 20px var(--gutter) 30px;
  border: 0;
  border-left: 1px solid var(--line-strong);
  background: var(--ink-2);
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ash);
}

.menu-close-form {
  margin: 0;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  margin: 10px 0 26px;
}

.menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
}

.menu-nav a:hover {
  color: var(--blood-hot);
}

.menu-download {
  width: 100%;
}

.menu-meta {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    justify-self: start;
    max-width: 520px;
  }

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

  .faction-card:nth-child(n) {
    grid-column: span 6;
  }

  .rules-layout,
  .perks-layout {
    grid-template-columns: 1fr;
  }

  .section-head--sticky {
    position: static;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

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

  .social-card {
    min-height: 0;
  }

  .social-icon {
    margin-bottom: 0;
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-kicker {
    margin-top: 30px;
  }

  .faction-card:nth-child(n) {
    grid-column: span 12;
  }

  .faction-card {
    min-height: 0;
  }

  .faction-card h3 {
    margin-top: 30px;
  }

  .art-side {
    display: none;
  }

  .art-tag {
    left: 16px;
    bottom: 16px;
  }

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

  .start-bar .btn {
    width: 100%;
  }

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

  .cta-inner {
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    flex: 0 0 auto;
  }

  .launcher-dialog {
    padding: 22px 18px 20px;
  }

  .hero-glow {
    top: -10%;
    right: -30%;
    width: 120vw;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 15px;
  }

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

/* slow devices: skip heavy blur */
@media (max-width: 720px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
