:root {
  color-scheme: dark;
  --background: #151913;
  --panel: #23291f;
  --ink: #f3eee1;
  --muted: #bdbfae;
  --accent: #e2ad61;
  --line: #454b3d;
  --mono: ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #171b15; border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; gap: 9px; align-items: center; font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.brand b { color: var(--accent); }
.header-inner a, .footer a { text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 38px); color: var(--muted); font-size: .9rem; }
nav a:last-child, nav a:hover, .footer a:hover { color: var(--accent); }
.hero {
  background: linear-gradient(90deg, #171c15 12%, #20261bd9 48%, #29302220),
              url("/terrain.svg") right center / auto 100% no-repeat, #292f23;
  padding-block: clamp(64px, 10vw, 124px) 32px;
  border-bottom: 1px solid var(--line);
}
.eyebrow, .label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700; }
.eyebrow { color: var(--accent); margin: 0 0 18px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.divider { color: var(--muted); margin-inline: 6px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(4rem, 12vw, 9rem); font-weight: 900; letter-spacing: -.085em; line-height: .85; }
h1 span { color: var(--accent); }
.intro { max-width: 490px; margin: 26px 0; font-size: clamp(1rem, 2vw, 1.22rem); color: var(--muted); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 10px 16px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { color: #1d2018; background: var(--accent); border: 1px solid var(--accent); }
.primary:hover { background: #f2c781; }
.server-strip { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; margin-top: clamp(48px, 8vw, 88px); padding: 18px 24px; background: #191e17; border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.label { display: block; color: var(--muted); margin-bottom: 4px; }
code { font-family: var(--mono); color: var(--accent); font-size: .95em; }
.copy { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.copy:hover { border-color: var(--accent); }
.copy-status { display: block; max-width: 240px; font-size: .8rem; color: var(--muted); }
.section { padding-block: clamp(54px, 8vw, 92px); }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.045em; }
.section-intro { margin-block: 20px 28px; max-width: 600px; color: var(--muted); }
.section-intro strong { color: var(--ink); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mission-grid article { background: var(--panel); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.mission-grid .label { color: var(--accent); }
h3 { margin: 12px 0 6px; font-size: 1.3rem; line-height: 1.2; }
.mission-grid p, .steps { color: var(--muted); }
.connect { background: var(--panel); border-block: 1px solid var(--line); }
.connect-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.text-link { display: inline-block; margin-top: 20px; color: var(--accent); text-underline-offset: 4px; }
.steps { margin: 0; padding: 0 0 0 1.8rem; }
.steps li { padding: 0 0 14px 5px; }
.steps li::marker { color: var(--accent); font: 700 .9rem var(--mono); }
.footer { min-height: 72px; color: var(--muted); font: .8rem var(--mono); letter-spacing: .05em; }

@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .server-strip { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .copy-group { grid-column: 1 / -1; }
  .mission-grid, .connect-inner { grid-template-columns: 1fr; }
}
@media (max-width: 395px) {
  .brand img { width: 29px; height: 29px; }
  .brand { gap: 5px; font-size: .85rem; }
  nav { font-size: .8rem; }
  h1 { font-size: clamp(3.45rem, 16vw, 4rem); }
  .server-strip { grid-template-columns: 1fr; }
}
