:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --code: #1f2937;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
}

.site-header {
  background: var(--ink);
  color: #fff;
  padding: 32px 24px;
}

.site-header-inner,
.main,
.site-footer {
  max-width: 1040px;
  margin: 0 auto;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.site-brand a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  color: #d1d5db;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 10px 0 16px;
}

h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}

.hero p,
.lead {
  color: #d1d5db;
  font-size: 19px;
  margin: 0;
}

.main {
  padding: 32px 24px;
}

.section,
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.section {
  padding: 28px;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
}

.card h3 {
  margin-top: 0;
}

p,
li {
  color: var(--muted);
}

ul,
ol {
  padding-left: 22px;
}

code {
  background: #eef2ff;
  color: var(--brand-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Monaco, Menlo, "Courier New", monospace;
  font-size: 0.92em;
}

.code-block {
  background: var(--code);
  color: #f9fafb;
  border-radius: 8px;
  overflow-x: auto;
  padding: 18px;
  margin: 16px 0;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: Monaco, Menlo, "Courier New", monospace;
  font-size: 14px;
}

.note {
  background: var(--soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 6px 6px 0;
  padding: 16px;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--soft);
}

.site-footer {
  padding: 16px 24px 40px;
  color: #6b7280;
}

@media (max-width: 720px) {
  .site-brand {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .section {
    padding: 22px;
  }
}
