:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #b9c2d1;
  --panel: #151922;
  --line: #303744;
  --gold: #f1c75b;
  --cyan: #74d4df;
  --wine: #8d3f5c;
  --space: #080a10;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--space);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url("assets/hero-command-office.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.58);
}

.topbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-link {
  text-decoration: none;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.nav-link {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: auto auto 12vh;
  padding: 56px 0;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  max-width: 760px;
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--gold);
  color: #11131a;
}

.connection {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(245, 247, 251, 0.32);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  font-family: Consolas, Monaco, monospace;
  background: rgba(8, 10, 16, 0.55);
}

main {
  background: #10141c;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  transform: translateY(-32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.status-band > div {
  min-height: 112px;
  padding: 24px;
  background: var(--panel);
}

.status-band strong {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 44px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 92px;
  align-items: start;
}

h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

article p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.terminal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d12;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
}

code {
  color: #d9f8df;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.96rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .hero {
    min-height: 84vh;
    background-position: 58% center;
  }

  .hero-content {
    margin-bottom: 7vh;
    padding: 36px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .status-band,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .status-band {
    transform: translateY(-18px);
  }

  .content-grid {
    gap: 28px;
    padding-top: 34px;
  }
}
