:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-soft: #0d0f16;
  --surface: #11131b;
  --surface-raised: #171a24;
  --surface-soft: #1d202c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.19);
  --text: #f7f4ef;
  --muted: #a6a8b3;
  --accent: #ff316f;
  --accent-bright: #ff6e9b;
  --accent-dark: #a81545;
  --cyan: #77e3ff;
  --success: #77d996;
  --warning: #f1c56c;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent-dark) var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 49, 111, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 28%, rgba(43, 85, 162, 0.16), transparent 30rem),
    linear-gradient(180deg, #090a0f 0%, var(--bg) 58%, #09090d 100%);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(255, 49, 111, 0.17);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.055em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(255, 49, 111, 0.22);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-bright);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.button-compact {
  min-height: 40px;
  padding-inline: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 49, 111, 0.7);
  content: "";
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
  padding-block: clamp(68px, 10vw, 126px);
}

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

.hero h1,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(68px, 9.4vw, 126px);
}

.hero h1 span,
.page-title span {
  color: var(--accent);
}

.hero-intro {
  max-width: 600px;
  margin: 28px 0 0;
  color: #c1c2ca;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-points li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  inset: 8% -6% 7% 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle, rgba(255, 49, 111, 0.13), transparent 62%);
}

.hero-visual::after {
  inset: 21% 8% 18% 12%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.hero-logo-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(82%, 430px);
  padding: 18px;
  transform: translate(-50%, -50%) rotate(2deg);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.hero-logo-card img {
  width: 100%;
  border-radius: 18px;
}

.signal-card {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 7%;
  width: min(310px, 78%);
  padding: 19px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 19, 27, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.signal-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--success);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(119, 217, 150, 0.65);
  content: "";
}

.signal-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.signal-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--accent);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.section {
  position: relative;
  scroll-margin-top: 74px;
  padding-block: clamp(74px, 10vw, 118px);
}

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

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

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(43px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-copy {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.server-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: 18px;
}

.server-showcase-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 19, 27, 0.72);
  box-shadow: var(--shadow);
}

.server-showcase-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #080b0d;
}

.server-showcase-map::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 65%, rgba(7, 8, 12, 0.86)),
    linear-gradient(0deg, rgba(7, 8, 12, 0.38), transparent 45%);
  content: "";
}

.server-showcase-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.server-showcase-card:hover .server-showcase-map img {
  transform: scale(1.025);
}

.server-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}

.server-showcase-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.server-showcase-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(119, 227, 255, 0.65);
  content: "";
}

.server-showcase-content h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.server-showcase-content p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.server-showcase-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.server-showcase-facts li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.server-showcase-content .button {
  width: fit-content;
}

.path-grid-community .path-card-small {
  grid-column: span 6;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.path-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-card::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--card-glow, rgba(255, 49, 111, 0.13));
  filter: blur(4px);
  content: "";
}

.path-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
}

.path-card-featured {
  grid-column: span 6;
  --card-glow: rgba(255, 49, 111, 0.22);
}

.path-card-small {
  grid-column: span 3;
}

.path-card:nth-child(2) {
  --card-glow: rgba(119, 227, 255, 0.12);
}

.card-kicker {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.path-card-small h3 {
  font-size: 35px;
}

.path-card p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.path-arrow {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease;
}

.path-card:hover .path-arrow {
  transform: translate(3px, -3px);
  background: var(--accent);
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(100deg, rgba(255, 49, 111, 0.12), transparent 46%),
    var(--surface);
}

.support-panel h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(39px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.support-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.page-main {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: clamp(70px, 10vw, 118px) 0 clamp(54px, 8vw, 84px);
  border-bottom: 1px solid var(--line);
}

.page-title {
  max-width: 920px;
  font-size: clamp(62px, 9vw, 108px);
}

.page-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #bfc0c8;
  font-size: clamp(17px, 2vw, 20px);
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-strip b {
  color: var(--text);
  font-weight: 700;
}

.status-strip .is-live {
  color: var(--success);
}

.content-section {
  padding-block: clamp(54px, 8vw, 88px) 110px;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid rgba(241, 197, 108, 0.26);
  border-radius: var(--radius);
  background: rgba(241, 197, 108, 0.065);
}

.notice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(241, 197, 108, 0.13);
  color: var(--warning);
  font-weight: 800;
}

.notice strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.notice p {
  margin: 0;
  color: #c5bfae;
  font-size: 14px;
}

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

.rules-index {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 27, 0.72);
  backdrop-filter: blur(12px);
}

.rules-index h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rules-index ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}

.rules-index li {
  counter-increment: rules;
}

.rules-index a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  padding: 6px 4px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.rules-index a::before {
  color: #686b76;
  font-family: var(--mono);
  font-size: 10px;
  content: counter(rules, decimal-leading-zero);
}

.rules-index a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.rules-content {
  display: grid;
  gap: 14px;
}

.rule-card {
  scroll-margin-top: 100px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 19, 27, 0.62);
}

.rule-number {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rule-card h2 {
  margin: 0 0 19px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.rule-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #c5c6cd;
  list-style: none;
}

.rule-card li {
  position: relative;
  padding-left: 22px;
}

.rule-card li::before {
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--accent);
  content: "";
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(4, 5, 8, 0.45);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding-block: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.footer-links a:hover,
.footer-cookie-button:hover {
  color: var(--text);
}

.footer-meta {
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
  color: #747681;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.legal-index {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 27, 0.72);
  backdrop-filter: blur(12px);
}

.legal-index h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-index ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-index a {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-index a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.legal-content {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.legal-card {
  min-width: 0;
  scroll-margin-top: 100px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 19, 27, 0.62);
}

.legal-card h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-card h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
}

.legal-card p,
.legal-card li,
.legal-card td,
.legal-card th {
  color: #c5c6cd;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 21px;
}

.legal-card a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.legal-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-callout {
  margin-top: 20px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 49, 111, 0.075);
}

.legal-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.cookie-notice {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 1120px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(13, 15, 22, 0.98);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px;
}

.cookie-notice__label {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cookie-notice h2 {
  margin: 3px 0 5px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-notice p {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-notice p a,
.cookie-notice__details {
  color: var(--text);
  text-underline-offset: 3px;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-notice__details {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-notice__accept {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(255, 49, 111, 0.24);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-notice__accept:hover {
  background: var(--accent-bright);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .path-card-featured {
    grid-column: span 12;
  }

  .path-card-small {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(10, 11, 16, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-panel[data-open="true"] {
    display: grid;
  }

  .nav-links {
    display: grid;
  }

  .nav-link {
    padding: 11px 12px;
  }

  .nav-link[aria-current="page"]::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 3px;
    width: 2px;
    height: auto;
  }

  .nav-panel .button {
    margin-top: 8px;
  }

  .section-head,
  .support-panel,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .server-showcase-card {
    grid-template-columns: 1fr;
  }

  .server-showcase-map {
    min-height: 310px;
  }

  .server-showcase-map::after {
    background: linear-gradient(0deg, rgba(7, 8, 12, 0.78), transparent 55%);
  }

  .support-panel {
    justify-items: start;
  }

  .rules-layout,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rules-index,
  .legal-index {
    position: static;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-notice__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cookie-notice__actions {
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .hero {
    padding-top: 62px;
  }

  .hero h1 {
    font-size: clamp(62px, 21vw, 88px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .server-showcase-map {
    min-height: 240px;
  }

  .server-showcase-content .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-logo-card {
    width: 88%;
  }

  .signal-card {
    right: 1%;
    bottom: 2%;
  }

  .path-card-small {
    grid-column: span 12;
  }

  .path-card {
    min-height: 240px;
  }

  .page-title {
    font-size: clamp(56px, 19vw, 82px);
  }

  .status-strip {
    display: grid;
  }

  .rules-index ol {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .cookie-notice__inner {
    padding: 18px;
  }

  .cookie-notice__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-notice__accept {
    width: 100%;
  }
}

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

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