:root {
  --bg: #0e1116;
  --surface: #151a21;
  --surface-2: #1c2430;
  --text: #f5f7fa;
  --muted: #a8b3c2;
  --line: #2a3443;
  --blue: #4c8dff;
  --cyan: #6ee7f9;
  --coral: #ff936f;
  --light: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand,
nav,
.button-row,
.link-list,
footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

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

nav a,
.link-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover,
.link-list a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 30px 0 58px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.lead {
  margin-bottom: 28px;
  color: #d7e0ec;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  max-width: 19ch;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  background: var(--blue);
  color: #071120;
}

.secondary-button {
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.feature-art {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #dceefa;
}

.section-band,
.content-grid,
.link-panel,
.doc-shell {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading p,
.content-grid p,
.doc-shell p,
.doc-shell li,
footer {
  color: var(--muted);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 18px;
}

.screenshot-strip img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #05070b;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-grid article,
.link-panel,
.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.link-panel {
  margin-bottom: 56px;
}

.link-list a {
  min-height: 42px;
  align-items: center;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
}

footer {
  justify-content: space-between;
  min-height: 78px;
  border-top: 1px solid var(--line);
}

.doc-shell {
  max-width: 900px;
}

.doc-hero {
  margin-bottom: 24px;
}

.doc-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.doc-card + .doc-card {
  margin-top: 18px;
}

.doc-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.doc-card strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-art {
    order: -1;
  }

  .screenshot-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-strip img {
    min-width: 235px;
    scroll-snap-align: start;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  h1 {
    font-size: 3.25rem;
  }

  .lead {
    max-width: 100%;
  }

  .section-band,
  .content-grid,
  .link-panel,
  .doc-shell {
    padding: 34px 0;
  }
}
