:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #101828;
  --muted: #475467;
  --line: #d0d5dd;
  --surface: #f8fafc;
  --brand: #0f172a;
  --brand-contrast: #ffffff;
}

* {
  box-sizing: border-box;
}

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

.container {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  padding: 5rem 0 3rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  max-width: 16ch;
  margin-top: 0.65rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  background: #fff;
}

.button-primary {
  background: var(--brand);
  color: var(--brand-contrast);
  border-color: var(--brand);
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

pre {
  margin: 1rem 0 0;
  background: #0b1220;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.95em;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}

.footer-content {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.site-footer a {
  color: inherit;
}

.section-intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.quickstart-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.quickstart-steps .card h3 {
  margin-bottom: 0.5rem;
}

.quickstart-steps .card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1080px, calc(100% - 2rem));
  }

  .footer-content {
    align-items: flex-start;
    gap: 0.5rem;
    flex-direction: column;
    padding: 1rem 0;
  }
}
