:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #5f6c7b;
  --line: #d7dee8;
  --panel: #f7f9fb;
  --accent: #0f766e;
  --accent-strong: #0b5d56;
  --code: #101820;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-strong);
}

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

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  font-weight: 750;
  letter-spacing: 0;
}

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

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: center;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  background: #ffffff;
}

.button.primary {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.terminal {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--code);
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

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

.tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.tile h2,
.tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  color: #e8f1f2;
  background: var(--code);
}

.footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

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

  .nav .wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
}
