:root {
  --bg: #040915;
  --panel: rgba(10, 18, 32, 0.88);
  --line: rgba(132, 176, 255, 0.18);
  --text: #eef4ff;
  --muted: #9aa9c2;
  --blue: #7cb8ff;
  --green: #8ae8be;
  --red: #ff8d8d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 184, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 123, 192, 0.18), transparent 22%),
    linear-gradient(180deg, #091120 0%, #03060d 100%);
}

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

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.topbar,
.brand,
.cta-row,
.row {
  display: flex;
}

.topbar,
.row {
  justify-content: space-between;
}

.topbar,
.brand,
.cta-row {
  align-items: center;
}

.topbar {
  gap: 16px;
  margin-bottom: 42px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #06101d;
  font-weight: 700;
  background: linear-gradient(135deg, #7cb8ff, #8ae8be);
}

.eyebrow,
.mono,
.ghost-link {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
dt,
figure {
  margin: 0;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.02;
}

h3 {
  font-size: 26px;
  line-height: 1.1;
}

p {
  color: #d7e1f0;
  line-height: 1.7;
}

.lead {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 18px;
}

.hero-grid,
.split,
.shot-grid {
  display: grid;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  padding-top: 24px;
}

.hero-card,
.panel,
.shot-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-card,
.panel {
  padding: 24px;
}

.card-header,
.pill,
.metric-grid {
  display: flex;
}

.card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.pill {
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.danger {
  color: var(--red);
  background: rgba(255, 141, 141, 0.12);
}

.mono {
  color: var(--muted);
  font-size: 12px;
}

.rows {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.row span {
  color: var(--muted);
}

.danger-text {
  color: var(--red);
}

.cta-row {
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
}

.button.primary {
  color: #06101d;
  background: linear-gradient(135deg, #7cb8ff, #8ae8be);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.metric-grid {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-grid > div {
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

dd {
  font-size: 15px;
}

.section {
  margin-top: 72px;
}

.section > h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 5vw, 42px);
}

.diagram {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.diagram div {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  line-height: 1.5;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.shot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.shot-card {
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  background: #02050c;
}

.shot-card figcaption {
  padding: 16px 18px 20px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .shot-grid,
  .diagram {
    grid-template-columns: 1fr;
  }

  .shell {
    padding-inline: 16px;
  }

  h2 {
    font-size: 38px;
  }

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