:root {
  color-scheme: dark;
  --bg: #080b0f;
  --bg-soft: #111820;
  --text: #f4f7ef;
  --muted: #aeb8ae;
  --line: rgba(255, 255, 255, 0.14);
  --green: #7ee787;
  --amber: #f2b84b;
  --red: #ff6b57;
  --steel: #8ab4f8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(8, 11, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand span,
.nav-links a,
.header-action,
.primary-action,
.secondary-action {
  white-space: nowrap;
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  background: var(--green);
  color: #08100b;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  min-height: 92vh;
  padding: 138px clamp(18px, 6vw, 82px) 72px;
  overflow: hidden;
}

.hero-media,
.hero-bg,
.scan-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.95), rgba(8, 11, 15, 0.58) 52%, rgba(8, 11, 15, 0.82)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.scan-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(126, 231, 135, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 248, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(4.4rem, 12vw, 9.8rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: #dbe4d8;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.primary-action,
.secondary-action {
  padding: 0 24px;
}

.primary-action {
  background: var(--green);
  color: #07120b;
  box-shadow: 0 16px 38px rgba(126, 231, 135, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.threat-panel,
.feature-card,
.map-preview {
  border: 1px solid var(--line);
  background: rgba(17, 24, 32, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.threat-panel {
  align-self: center;
  border-radius: 8px;
  padding: 20px;
}

.panel-label,
.feature-kicker,
dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.threat-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 1.8rem;
  line-height: 1;
}

.threat-panel img {
  width: min(100%, 280px);
  margin: 10px auto 0;
}

.threat-panel dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 0;
}

.threat-panel div,
.zone {
  min-width: 0;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.section {
  padding: clamp(70px, 10vw, 124px) clamp(18px, 6vw, 82px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 86px);
  background: #0d1216;
}

.section-copy p,
.section-heading,
.loadout-section p,
.join-section p,
.feature-card p {
  color: var(--muted);
}

.section-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.map-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 360px;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(126, 231, 135, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(255, 107, 87, 0.12), transparent 38%),
    #111820;
}

.zone {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 15, 0.72);
}

.zone-large {
  grid-row: span 2;
}

.zone-wide {
  grid-column: span 2;
  min-height: 110px;
  border-color: rgba(242, 184, 75, 0.44);
}

.zone span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.zone strong {
  color: var(--amber);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.feature-section {
  background: #080b0f;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.feature-card {
  min-height: 236px;
  padding: 24px;
  border-radius: 8px;
}

.feature-card:nth-child(2) {
  border-color: rgba(138, 180, 248, 0.36);
}

.feature-card:nth-child(3) {
  border-color: rgba(255, 107, 87, 0.36);
}

.feature-card p {
  margin: 0;
}

.loadout-section {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 680px);
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 7vw, 90px);
  background:
    linear-gradient(90deg, rgba(242, 184, 75, 0.14), transparent 28%),
    #111820;
}

.hero-character {
  width: min(100%, 300px);
  justify-self: center;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.56));
}

.loadout-section p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.join-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 8vw, 86px) clamp(18px, 6vw, 82px);
  background: #f4f7ef;
  color: #101712;
}

.join-section .eyebrow {
  color: #28784a;
}

.join-section h2 {
  max-width: 820px;
}

.join-section .primary-action {
  background: #101712;
  color: #f4f7ef;
  box-shadow: none;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 6vw, 82px);
  color: var(--muted);
  background: #080b0f;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro-section,
  .loadout-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .threat-panel {
    max-width: 420px;
  }

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

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

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

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    max-width: 120px;
    white-space: normal;
    line-height: 1;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.5rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .map-preview {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .zone-large,
  .zone-wide {
    grid-column: auto;
    grid-row: auto;
  }

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