:root {
  color-scheme: dark;
  --ink: #edf5ff;
  --muted: #b7c8dc;
  --blue: #1d4ed8;
  --green: #059669;
  --amber: #f59e0b;
  --surface: #0d1624;
  --line: #2a3a52;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #07111f;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-nav {
  align-items: center;
  background: rgba(7, 17, 31, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.44)),
    url("assets/merab-hero.png") center / cover no-repeat;
  display: flex;
  min-height: 74vh;
  padding: 7vh 6vw 8vh;
}

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

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

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

h1 {
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.9;
  margin-bottom: 22px;
}

.hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions a {
  align-items: center;
  border: 1px solid rgba(237, 245, 255, 0.28);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.actions a:first-child {
  background: var(--green);
  border-color: var(--green);
}

.band {
  padding: 64px 6vw;
}

.section-header {
  max-width: 840px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 28px;
}

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

.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 160px;
  padding: 24px;
}

.feature-grid h3 {
  color: var(--ink);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.command-band {
  background: var(--blue);
}

pre {
  background: #10151f;
  border: 1px solid rgba(237, 245, 255, 0.22);
  border-radius: 6px;
  color: #dbeafe;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.7;
  margin: 0;
  overflow-x: auto;
  padding: 24px;
}

@media (max-width: 760px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .hero {
    min-height: 68vh;
    padding-top: 6vh;
  }

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