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

/* 2026-04 home redesign: editorial operations room, not a card wall. */
body[data-page="home"].marketing-page {
  --marketing-panel: #0f141b;
  --marketing-panel-strong: rgba(15, 20, 27, 0.96);
  --marketing-panel-soft: rgba(246, 241, 232, 0.035);
  --marketing-line: rgba(246, 241, 232, 0.085);
  --marketing-line-strong: rgba(246, 241, 232, 0.16);
  --marketing-text: #f6f1e8;
  --marketing-sub: #d9d1c4;
  --marketing-muted: #9d978f;
  --marketing-amber: #f3a524;
  --marketing-blue: #63b8ff;
  --marketing-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at 78% 18%, rgba(243, 165, 36, 0.1), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #0a0e14 48%, #07090d 100%);
}

body[data-page="home"] .utility-bar {
  border-bottom-color: rgba(246, 241, 232, 0.08);
  background: rgba(15, 20, 27, 0.92);
}

body[data-page="home"] .site-header {
  border-bottom-color: rgba(246, 241, 232, 0.07);
  background: rgba(7, 9, 13, 0.9);
}

body[data-page="home"] .site-nav {
  min-height: 72px;
}

body[data-page="home"] .site-brand-name,
body[data-page="home"] .hero-copy h1,
body[data-page="home"] .section-head h2,
body[data-page="home"] .cta-panel h2 {
  color: var(--marketing-text);
}

body[data-page="home"] .hero-copy h1,
body[data-page="home"] .section-head h2,
body[data-page="home"] .cta-panel h2 {
  font-family: "Fraunces", "Space Grotesk", serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

body[data-page="home"] .hero-section {
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: center;
  padding: 64px 0 88px;
  background:
    radial-gradient(ellipse at 68% 35%, rgba(243, 165, 36, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(20, 27, 35, 0.72), rgba(7, 9, 13, 0) 52%);
}

body[data-page="home"] .hero-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(42px, 6vw, 92px);
}

body[data-page="home"] .hero-copy {
  max-width: 620px;
}

body[data-page="home"] .hero-kicker-large,
body[data-page="home"] .section-kicker {
  color: var(--marketing-amber);
}

body[data-page="home"] .hero-copy h1 {
  max-width: 10.8ch;
  font-size: clamp(3.15rem, 6.8vw, 6.7rem);
  line-height: 0.88;
}

body[data-page="home"] .hero-rotator {
  min-width: auto;
  color: var(--marketing-amber);
}

body[data-page="home"] .hero-lead {
  max-width: 54ch;
  margin-top: 24px;
  color: rgba(217, 209, 196, 0.88);
}

body[data-page="home"] .button-primary {
  background: linear-gradient(180deg, #ffd07a, var(--marketing-amber));
  color: #171006;
  box-shadow: 0 16px 34px rgba(243, 165, 36, 0.18);
}

body[data-page="home"] .button-secondary {
  background: rgba(246, 241, 232, 0.035);
  border-color: rgba(246, 241, 232, 0.12);
  color: var(--marketing-text);
}

body[data-page="home"] .hero-console {
  width: min(100%, 520px);
  padding: 14px;
  border-color: rgba(246, 241, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.98), rgba(7, 9, 13, 0.98)),
    #0a0e14;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body[data-page="home"] .console-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="home"] .console-stats span,
body[data-page="home"] .console-row,
body[data-page="home"] .console-input {
  border-color: rgba(246, 241, 232, 0.07);
  background: rgba(246, 241, 232, 0.025);
}

body[data-page="home"] .console-row {
  border-radius: 10px;
}

body[data-page="home"] .section-block {
  padding: 104px 0;
}

body[data-page="home"] #games {
  border-top: 1px solid rgba(246, 241, 232, 0.06);
  border-bottom: 1px solid rgba(246, 241, 232, 0.06);
  background: rgba(15, 20, 27, 0.34);
}

body[data-page="home"] .games-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr);
  align-items: stretch;
}

body[data-page="home"] .game-card {
  min-height: 0;
  border-radius: 18px;
  box-shadow: none;
  background: rgba(15, 20, 27, 0.72);
}

body[data-page="home"] .game-card-live {
  border-color: rgba(243, 165, 36, 0.24);
}

body[data-page="home"] .core-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
}

body[data-page="home"] .core-feature-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .core-feature-card:last-child {
  border-bottom: 1px solid rgba(246, 241, 232, 0.1);
}

body[data-page="home"] .core-feature-card h3 {
  color: var(--marketing-text);
}

body[data-page="home"] .core-feature-card p {
  margin: 0;
  max-width: 62ch;
}

body[data-page="home"] .pricing-card {
  border-color: rgba(246, 241, 232, 0.095);
  background: rgba(15, 20, 27, 0.78);
  box-shadow: none;
}

body[data-page="home"] .pricing-card-featured {
  border-color: rgba(243, 165, 36, 0.28);
  background:
    linear-gradient(180deg, rgba(243, 165, 36, 0.09), rgba(15, 20, 27, 0.92) 42%),
    rgba(15, 20, 27, 0.92);
}

@media (max-width: 980px) {
  body[data-page="home"] .hero-section {
    min-height: auto;
    padding: 72px 0;
  }

  body[data-page="home"] .hero-layout,
  body[data-page="home"] .games-grid,
  body[data-page="home"] .core-feature-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.7rem);
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .utility-bar {
    display: none;
  }

  body[data-page="home"] .site-nav {
    min-height: 66px;
  }

  body[data-page="home"] .hero-section,
  body[data-page="home"] .section-block {
    padding: 64px 0;
  }

  body[data-page="home"] .hero-actions .button,
  body[data-page="home"] .console-stats {
    width: 100%;
  }

  body[data-page="home"] .console-feed {
    height: 280px;
    min-height: 280px;
  }
}

html {
  scroll-behavior: smooth;
}

body.marketing-page {
  --marketing-bg: #07090d;
  --marketing-panel: #10151d;
  --marketing-panel-strong: rgba(16, 21, 29, 0.96);
  --marketing-panel-soft: rgba(255, 255, 255, 0.03);
  --marketing-line: rgba(255, 255, 255, 0.08);
  --marketing-line-strong: rgba(255, 255, 255, 0.14);
  --marketing-text: #f7f9fc;
  --marketing-sub: rgba(247, 249, 252, 0.74);
  --marketing-muted: rgba(247, 249, 252, 0.46);
  --marketing-amber: #f7a61b;
  --marketing-danger: #f26e6e;
  --marketing-blue: #73b9ff;
  --marketing-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  margin: 0;
  color: var(--marketing-text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 166, 27, 0.06), transparent 26%),
    linear-gradient(180deg, #07090d 0%, #080b10 100%);
}

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

a,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
  background: none;
  border: 0;
}

main,
footer,
header {
  position: relative;
  z-index: 1;
}

code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92em;
}

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

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.utility-bar {
  border-bottom: 1px solid rgba(247, 166, 27, 0.22);
  background: rgba(16, 21, 29, 0.9);
}

.utility-bar-inner,
.utility-announcement,
.utility-links {
  display: flex;
  align-items: center;
}

.utility-bar-inner {
  min-height: 46px;
  justify-content: space-between;
  gap: 18px;
}

.utility-announcement {
  gap: 12px;
  min-width: 0;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--marketing-amber);
  color: #151003;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utility-copy {
  display: inline-block;
  color: var(--marketing-text);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.utility-copy.swap {
  opacity: 0.12;
  transform: translateY(4px);
}

.utility-links {
  gap: 14px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--marketing-sub);
  text-decoration: none;
  font-size: 0.86rem;
}

.utility-links a:hover {
  color: var(--marketing-text);
}

.utility-console-icon {
  position: relative;
  width: 16px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

.utility-console-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.26;
}

.utility-console-icon::after {
  content: ">_";
  position: absolute;
  left: 3px;
  top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  color: currentColor;
}

.utility-console-icon span {
  position: absolute;
  right: 2px;
  bottom: -3px;
  width: 7px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.78;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.site-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-brand-mark img {
  width: 28px;
  height: 28px;
}

.site-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--marketing-line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--marketing-text);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  position: relative;
  color: var(--marketing-sub);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--marketing-text);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 1px;
  background: rgba(247, 166, 27, 0.7);
}

.nav-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  cursor: pointer;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-dropdown.open .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--marketing-line-strong);
  background: rgba(10, 13, 18, 0.98);
  box-shadow: var(--marketing-shadow);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel-wide {
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nav-dropdown-panel-compact {
  width: min(290px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
}

.dropdown-column {
  display: grid;
  gap: 10px;
}

.section-kicker,
.dropdown-heading,
.footer-heading,
.pricing-tier,
.step-number {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marketing-amber);
}

.dropdown-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item.is-current {
  border-color: rgba(247, 166, 27, 0.28);
  background: rgba(247, 166, 27, 0.05);
}

.dropdown-item:hover {
  transform: translateY(-1px);
}

.dropdown-item.is-muted {
  opacity: 0.6;
  cursor: default;
}

.dropdown-item.is-muted:hover {
  transform: none;
}

.dropdown-item-link {
  grid-template-columns: 1fr;
  min-height: 0;
}

.dropdown-logo,
.game-card-logo,
.pricing-game-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-logo-generic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--marketing-amber);
}

.dropdown-copy strong {
  display: block;
  font-size: 1rem;
}

.dropdown-copy small {
  display: block;
  margin-top: 4px;
  color: var(--marketing-muted);
  line-height: 1.45;
}

.status-badge,
.hero-feature-pill,
.console-pill,
.pricing-game-tab .status-badge,
.permission-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.is-live,
.permission-state.is-on {
  background: rgba(247, 166, 27, 0.14);
  border-color: rgba(247, 166, 27, 0.24);
  color: var(--marketing-amber);
}

.status-badge.is-soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--marketing-sub);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

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

.button-primary {
  background: var(--marketing-amber);
  border-color: rgba(247, 166, 27, 0.4);
  color: #151003;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--marketing-text);
}

.hero-section,
.section-block {
  padding: 96px 0;
}

.hero-section {
  padding-top: 84px;
  overflow: hidden;
}

.hero-layout,
.detail-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(620px, 1.18fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  justify-content: space-between;
}

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

.hero-copy h1,
.section-head h2,
.detail-copy h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero-kicker-large {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  max-width: 9.2ch;
  font-size: clamp(2.45rem, 4.3vw, 4rem);
  line-height: 0.95;
}

.hero-rotator {
  color: var(--marketing-amber);
  display: inline-block;
  min-width: 5.8ch;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hero-rotator.swap {
  opacity: 0.12;
  transform: translateY(6px);
}

.hero-lead,
.section-head p,
.detail-copy p,
.cta-panel p,
.showcase-copy p,
.pricing-copy,
.game-card p,
.footer-muted {
  color: var(--marketing-sub);
  line-height: 1.75;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions,
.hero-badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-console,
.game-card,
.showcase-card,
.pricing-card,
.step-card,
.cta-panel,
.footer-panel,
.rust-hero-side,
.detail-visual .mock-panel {
  border-radius: 16px;
  border: 1px solid var(--marketing-line);
  background: var(--marketing-panel-strong);
  box-shadow: var(--marketing-shadow);
}

.hero-console {
  padding: 16px;
  display: grid;
  gap: 12px;
  width: min(100%, 440px);
  margin-left: auto;
  align-self: center;
}

.hero-console-terminal {
  background:
    linear-gradient(180deg, rgba(8, 12, 17, 0.98), rgba(10, 13, 18, 0.98)),
    #0a0d12;
}

.hero-console-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.console-dots span:nth-child(1) {
  background: var(--marketing-danger);
}

.console-dots span:nth-child(2) {
  background: var(--marketing-amber);
}

.console-dots span:nth-child(3) {
  background: #49d39a;
}

.console-title {
  margin-right: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marketing-muted);
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.console-stats span {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--marketing-muted);
}

.console-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--marketing-text);
}

.console-feed {
  display: grid;
  gap: 8px;
  padding: 6px 0 0;
  height: 356px;
  min-height: 356px;
  overflow: hidden;
}

.console-row {
  display: grid;
  grid-template-columns: 56px 118px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  animation: console-row-in 0.22s ease;
  min-width: 0;
  min-height: 46px;
}

.console-time,
.console-message {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.console-time {
  color: var(--marketing-muted);
}

.console-message {
  color: var(--marketing-sub);
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-tags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 118px;
  justify-self: start;
}

.console-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--marketing-text);
}

.console-pill.is-alert {
  background: rgba(247, 166, 27, 0.12);
  color: var(--marketing-amber);
}

.console-pill.is-combat {
  background: rgba(242, 110, 110, 0.12);
  color: #ff8484;
}

.console-pill.is-chat {
  background: rgba(73, 211, 154, 0.12);
  color: #49d39a;
}

.console-pill.is-global {
  background: rgba(73, 138, 255, 0.12);
  color: #73b9ff;
}

.console-pill.is-team {
  background: rgba(73, 211, 154, 0.12);
  color: #7fe6b8;
}

.console-pill.is-betterchat {
  background: rgba(255, 255, 255, 0.08);
  color: #d8dde6;
}

.console-pill.is-warn {
  background: rgba(242, 110, 110, 0.12);
  color: var(--marketing-danger);
}

.console-pill.is-info {
  background: rgba(115, 185, 255, 0.12);
  color: var(--marketing-blue);
}

.console-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(247, 166, 27, 0.24);
  background: rgba(255, 255, 255, 0.02);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.console-prompt,
.console-send {
  color: var(--marketing-amber);
  text-transform: uppercase;
}

.console-placeholder {
  color: var(--marketing-muted);
}

@keyframes console-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2,
.detail-copy h2,
.cta-panel h2 {
  font-size: clamp(2rem, 3.45vw, 3.5rem);
  line-height: 0.98;
}

.section-head p {
  margin: 14px 0 0;
}

.games-grid,
.core-feature-grid,
.showcase-grid,
.pricing-grid,
.steps-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.game-card,
.core-feature-card,
.showcase-card,
.pricing-card,
.step-card {
  overflow: hidden;
}

.game-card {
  padding: 24px;
  display: grid;
  gap: 14px;
  min-height: 260px;
}

.game-card-live {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.game-card-live:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 166, 27, 0.3);
}

.game-card-locked {
  opacity: 0.78;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-card h3,
.core-feature-card h3,
.showcase-copy h3,
.pricing-card h3,
.step-card h3 {
  margin: 0;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.game-feature-line,
.plan-games,
.price-term {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--marketing-muted);
}

.text-link {
  color: var(--marketing-amber);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
}

.text-link.is-disabled {
  color: var(--marketing-muted);
}

.core-feature-card {
  padding: 24px;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid var(--marketing-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    var(--marketing-panel-strong);
}

.core-feature-card p {
  margin: 12px 0 0;
  color: var(--marketing-sub);
  line-height: 1.7;
}

.showcase-card {
  display: grid;
}

.showcase-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-copy {
  padding: 18px;
}

.showcase-copy p {
  margin: 10px 0 0;
}

.social-block {
  padding-top: 0;
  padding-bottom: 0;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--marketing-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--marketing-sub);
}

.social-strip strong {
  color: var(--marketing-text);
}

.pricing-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-game-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--marketing-sub);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pricing-game-tab.is-active {
  border-color: rgba(247, 166, 27, 0.28);
  background: rgba(247, 166, 27, 0.08);
  color: var(--marketing-text);
}

.pricing-card {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.pricing-card-featured {
  border-color: rgba(247, 166, 27, 0.28);
  background:
    linear-gradient(180deg, rgba(247, 166, 27, 0.08), rgba(16, 21, 29, 0.96) 34%),
    var(--marketing-panel-strong);
}

.pricing-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.price-amount {
  font-size: 2.9rem;
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.pricing-copy,
.detail-copy p {
  margin: 0;
}

.pricing-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-list li,
.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--marketing-sub);
  line-height: 1.7;
}

.pricing-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--marketing-amber);
}

.rust-hero-section {
  padding-bottom: 68px;
}

.rust-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.rust-hero-side {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.side-heading {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marketing-muted);
}

.hero-badge-stack {
  display: grid;
  gap: 10px;
}

.hero-feature-pill {
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.03);
  color: var(--marketing-sub);
}

.feature-band {
  padding-top: 36px;
}

.feature-band .site-shell {
  width: min(1500px, calc(100% - 48px));
}

.feature-band-list {
  display: grid;
  gap: clamp(82px, 8vw, 132px);
}

.detail-feature.reverse .detail-copy {
  order: 2;
}

.detail-feature.reverse .detail-visual {
  order: 1;
}

.detail-feature-wide {
  grid-template-columns: minmax(300px, 0.7fr) minmax(720px, 1.3fr);
}

.detail-list {
  margin-top: 18px;
}

.detail-screenshot {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: contain;
  object-position: top center;
  padding: clamp(8px, 1vw, 14px);
  border-radius: 20px;
  border: 1px solid var(--marketing-line);
  background:
    radial-gradient(circle at top right, rgba(247, 166, 27, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.98), rgba(6, 8, 12, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.detail-screenshot-contained {
  aspect-ratio: 16 / 7.2;
  object-fit: contain;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(247, 166, 27, 0.1), transparent 34%),
    #0b0f14;
}

.detail-placeholder {
  min-height: 330px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border-radius: 16px;
  border: 1px dashed rgba(247, 166, 27, 0.24);
  background:
    radial-gradient(circle at top right, rgba(247, 166, 27, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 21, 29, 0.96), rgba(9, 12, 17, 0.98));
  box-shadow: var(--marketing-shadow);
}

.detail-placeholder h3 {
  margin: 0;
  color: var(--marketing-text);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-placeholder p {
  margin: 0;
  color: var(--marketing-sub);
  line-height: 1.75;
}

.detail-visual .mock-panel {
  min-height: 340px;
  padding: 18px;
}

.mock-panel {
  position: relative;
}

.map-mock {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 21, 29, 0.88), rgba(10, 13, 18, 0.94)),
    #0b0f14;
}

.mock-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marketing-amber);
  box-shadow: 0 0 0 6px rgba(247, 166, 27, 0.12);
}

.map-dot.dot-one { top: 22%; left: 28%; }
.map-dot.dot-two { top: 32%; left: 42%; }
.map-dot.dot-three {
  top: 48%;
  left: 55%;
  background: var(--marketing-danger);
  box-shadow: 0 0 0 6px rgba(242, 110, 110, 0.12);
}
.map-dot.dot-four {
  top: 58%;
  left: 64%;
  background: var(--marketing-danger);
  box-shadow: 0 0 0 6px rgba(242, 110, 110, 0.12);
}
.map-dot.dot-five {
  top: 44%;
  left: 22%;
  background: #97a2b3;
  box-shadow: 0 0 0 6px rgba(151, 162, 179, 0.12);
}
.map-dot.dot-six { top: 66%; left: 36%; }

.mock-legend {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 16, 0.88);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--marketing-sub);
}

.mock-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.swatch-amber { background: var(--marketing-amber); }
.swatch-red { background: var(--marketing-danger); }
.swatch-muted { background: #97a2b3; }

.combat-mock {
  display: grid;
  gap: 24px;
  align-content: center;
}

.line-set {
  display: grid;
  gap: 12px;
}

.bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.bar-long { width: 72%; }
.bar-mid { width: 56%; }
.bar-short { width: 38%; }
.bar-full { width: 92%; }
.bar.is-alert { background: var(--marketing-danger); }
.bar.is-amber { background: var(--marketing-amber); }

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

.combat-columns div,
.permission-row,
.step-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.combat-columns div {
  padding: 14px;
}

.combat-columns small,
.permission-name {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--marketing-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.combat-columns strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.team-mock {
  min-height: 360px;
}

.team-node {
  position: absolute;
  min-width: 86px;
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.team-node.hub {
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(247, 166, 27, 0.24);
  background: rgba(247, 166, 27, 0.08);
}

.team-node.node-a { top: 16%; left: 20%; }
.team-node.node-b { top: 18%; right: 16%; }
.team-node.node-c { bottom: 18%; left: 18%; }
.team-node.node-d { bottom: 14%; right: 18%; }

.team-line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: left center;
}

.line-a {
  top: 33%;
  left: 31%;
  width: 108px;
  transform: rotate(27deg);
}

.line-b {
  top: 33%;
  left: 53%;
  width: 106px;
  transform: rotate(-27deg);
}

.line-c {
  top: 61%;
  left: 30%;
  width: 110px;
  transform: rotate(-27deg);
}

.line-d {
  top: 61%;
  left: 53%;
  width: 106px;
  transform: rotate(27deg);
}

.permissions-mock {
  display: grid;
  gap: 12px;
  align-content: center;
}

.permission-row {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.permission-state {
  background: rgba(255, 255, 255, 0.04);
  color: var(--marketing-sub);
}

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

.step-card {
  padding: 22px;
  box-shadow: none;
}

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

.cta-panel {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel p {
  margin: 14px 0 0;
  max-width: 54ch;
}

.site-footer {
  padding: 0 0 44px;
}

.footer-panel {
  padding: 28px;
}

.footer-grid {
  margin-top: 28px;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column a,
.footer-muted {
  text-decoration: none;
  color: var(--marketing-sub);
}

.footer-column a:hover {
  color: var(--marketing-text);
}

.footer-meta {
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--marketing-muted);
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .hero-layout,
  .detail-feature,
  .rust-hero-layout,
  .games-grid,
  .core-feature-grid,
  .showcase-grid,
  .pricing-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-band .site-shell {
    width: min(100%, calc(100% - 28px));
  }

  .detail-feature.reverse .detail-copy,
  .detail-feature.reverse .detail-visual {
    order: initial;
  }

  .social-strip,
  .cta-panel,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(100%, calc(100% - 24px));
  }

  .utility-bar-inner,
  .utility-announcement {
    align-items: flex-start;
  }

  .utility-bar-inner {
    min-height: 0;
    padding: 10px 0;
    flex-direction: column;
  }

  .utility-copy {
    white-space: normal;
  }

  .site-nav {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--marketing-line);
    background: rgba(10, 13, 18, 0.98);
    box-shadow: var(--marketing-shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

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

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-link::after,
  .nav-link:hover::after,
  .nav-link.is-active::after {
    display: none;
  }

  .nav-link,
  .nav-link-button {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    pointer-events: auto;
  }

  .nav-dropdown.open .nav-dropdown-panel {
    display: grid;
  }

  .nav-dropdown-panel-wide {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .section-block {
    padding: 72px 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .console-row {
    grid-template-columns: 1fr;
  }

  .console-stats,
  .combat-columns {
    grid-template-columns: 1fr;
  }

  .mock-legend {
    position: static;
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Final cascade for the home redesign. Keep this after legacy marketing rules. */
body[data-page="home"].marketing-page {
  --marketing-panel: #0f141b;
  --marketing-panel-strong: rgba(15, 20, 27, 0.96);
  --marketing-panel-soft: rgba(246, 241, 232, 0.035);
  --marketing-line: rgba(246, 241, 232, 0.085);
  --marketing-line-strong: rgba(246, 241, 232, 0.16);
  --marketing-text: #f6f1e8;
  --marketing-sub: #d9d1c4;
  --marketing-muted: #9d978f;
  --marketing-amber: #f3a524;
  --marketing-blue: #63b8ff;
  --marketing-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .site-nav {
  min-height: 72px;
}

body[data-page="home"] .hero-copy h1,
body[data-page="home"] .section-head h2,
body[data-page="home"] .cta-panel h2 {
  font-family: "Fraunces", "Space Grotesk", serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

body[data-page="home"] .hero-section {
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: center;
  padding: 64px 0 88px;
  background:
    radial-gradient(ellipse at 68% 35%, rgba(243, 165, 36, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(20, 27, 35, 0.72), rgba(7, 9, 13, 0) 52%);
}

body[data-page="home"] .hero-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(42px, 6vw, 92px);
}

body[data-page="home"] .hero-copy {
  max-width: 620px;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 10.8ch;
  font-size: clamp(3.15rem, 6.8vw, 6.7rem);
  line-height: 0.88;
}

body[data-page="home"] .hero-rotator,
body[data-page="home"] .hero-kicker-large,
body[data-page="home"] .section-kicker {
  color: var(--marketing-amber);
}

body[data-page="home"] .hero-lead {
  max-width: 54ch;
  margin-top: 24px;
  color: rgba(217, 209, 196, 0.88);
}

body[data-page="home"] .hero-console {
  width: min(100%, 520px);
  padding: 14px;
  border-color: rgba(246, 241, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.98), rgba(7, 9, 13, 0.98)),
    #0a0e14;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body[data-page="home"] .section-block {
  padding: 104px 0;
}

body[data-page="home"] .games-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr);
}

body[data-page="home"] .game-card,
body[data-page="home"] .pricing-card {
  box-shadow: none;
}

body[data-page="home"] .core-feature-grid {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
}

body[data-page="home"] .core-feature-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .core-feature-card:last-child {
  border-bottom: 1px solid rgba(246, 241, 232, 0.1);
}

body[data-page="home"] .core-feature-card p {
  margin: 0;
  max-width: 62ch;
}

@media (max-width: 980px) {
  body[data-page="home"] .hero-section {
    min-height: auto;
    padding: 72px 0;
  }

  body[data-page="home"] .hero-layout,
  body[data-page="home"] .games-grid,
  body[data-page="home"] .core-feature-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.7rem);
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .utility-bar {
    display: none;
  }

  body[data-page="home"] .hero-section,
  body[data-page="home"] .section-block {
    padding: 64px 0;
  }
}
