:root {
  color-scheme: light dark;
  --steel: #2e6b78;
  --steel-soft: color-mix(in srgb, var(--steel) 10%, transparent);
  --border: color-mix(in srgb, currentColor 16%, transparent);
  --muted: color-mix(in srgb, currentColor 68%, transparent);
  --surface: color-mix(in srgb, currentColor 4%, transparent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: CanvasText;
  background: Canvas;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

.brand {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

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

nav a,
.link {
  color: var(--steel);
  text-decoration: none;
}

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

h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 40px 0 10px;
  font-size: 1.25rem;
}

p,
li {
  font-size: 1.02rem;
}

.lede {
  max-width: 700px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.22rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--steel);
  background: var(--steel);
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--steel);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

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

.panel h2,
.panel h3 {
  margin-top: 0;
}

.note {
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--steel) 35%, transparent);
  border-radius: 8px;
  background: var(--steel-soft);
}

.meta {
  color: var(--muted);
}

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

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .page {
    padding: 28px 18px 44px;
  }
}
