/* DATA-SITE. Catalog of records, not a login console, not peel marketing. */
:root {
  --paper: #eef3f6;
  --ink: #12202b;
  --ink-soft: #3d5362;
  --rule: #c5d2db;
  --rule-strong: #7e93a2;
  --mark: #0b6e6b;
  --mark-ink: #f4fbfa;
  --panel: #f8fbfc;
  --focus: #1c4f8a;
  --mono: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fafc 0%, var(--paper) 22%, #e6eef3 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
a { color: var(--mark); text-underline-offset: 0.18em; }
a:hover { color: #085754; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  z-index: 20;
}
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.mast {
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.mast-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.brand strong {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.brand span { color: var(--ink-soft); font-size: 0.92rem; }
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
}
nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
nav a:hover { background: rgba(18, 32, 43, 0.06); }
nav a[aria-current="page"]:hover { background: var(--ink); color: var(--paper); }
main { padding: 2.2rem 0 3.2rem; }
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
  margin: 0 0 0.7rem;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); margin: 0 0 0.8rem; max-width: 20ch; }
h2 { font-size: 1.55rem; margin: 2.2rem 0 0.7rem; }
h3 { font-size: 1.18rem; margin: 1.4rem 0 0.45rem; }
.lede { font-size: 1.2rem; max-width: 46rem; color: var(--ink-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 0;
}
.card, .callout, pre, table {
  background: var(--panel);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(18, 32, 43, 0.04);
}
.card { padding: 1.05rem 1.1rem 1.15rem; }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.callout { padding: 0.95rem 1.05rem; margin: 1.2rem 0; }
.callout strong { color: var(--mark); }
.facts {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
.facts li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.8rem;
  border-top: 1px solid var(--rule);
  padding: 0.7rem 0 0.35rem;
}
.facts span { font-family: var(--mono); font-size: 0.86rem; color: var(--ink-soft); }
pre, code { font-family: var(--mono); }
pre {
  padding: 1rem 1.05rem;
  overflow: auto;
  font-size: 0.88rem;
  line-height: 1.45;
}
code { font-size: 0.92em; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--rule); }
th {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.4rem 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}
.btn.secondary { background: transparent; color: var(--ink); }
.btn:hover { filter: brightness(1.08); }
.note { color: var(--ink-soft); font-size: 0.95rem; }
footer {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 2.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
footer p { max-width: 52rem; }
.stamp {
  display: inline-block;
  border: 2px solid var(--mark);
  color: var(--mark);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  transform: rotate(-2deg);
  margin-bottom: 0.8rem;
}
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: 0.55rem 0; }
@media (max-width: 40rem) {
  .facts li { grid-template-columns: 1fr; gap: 0.15rem; }
  h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}
