/* SealedTo public site, draft 1 (2026-10-04). No scripts, no third-party requests.
   Fonts: add the self-hosted woff2 files under /fonts and uncomment the @font-face rules; until then the system stack renders. */

/*
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/SourceSerif4-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
*/

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height);
}
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
h1, h2, h3 { font-family: var(--font-display); line-height: var(--line-height-tight); margin: 0; text-wrap: balance; }
h1 { font-size: var(--font-size-2xl); font-weight: var(--font-weight-bold); }
h2 { font-size: var(--font-size-xl); font-weight: var(--font-weight-bold); }
h3 { font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold); }
p, li { max-width: 65ch; }
p { margin: 0; }
ul, ol { margin: 0; padding-inline-start: 1.25rem; display: flex; flex-direction: column; gap: var(--space-2); }

.wrap { width: min(100% - 2rem, 60rem); margin-inline: auto; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.wordmark { font-family: var(--font-display); font-weight: var(--font-weight-bold); font-size: var(--font-size-xl); color: var(--color-text); text-decoration: none; letter-spacing: -0.01em; }
.top nav { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.top nav a { color: var(--color-text-muted); text-decoration: none; min-height: var(--tap-min); display: inline-flex; align-items: center; font-weight: var(--font-weight-semibold); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--color-text); }

main { display: flex; flex-direction: column; gap: var(--space-6); padding-block: var(--space-6) calc(var(--space-6) * 2); }
.hero { display: flex; flex-direction: column; gap: var(--space-4); padding-block: var(--space-5) var(--space-4); }
.hero p { font-size: var(--font-size-lg); }
.lede { color: var(--color-text-muted); }

section { display: flex; flex-direction: column; gap: var(--space-4); }
.steps { list-style: none; padding: 0; gap: var(--space-3); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: var(--space-3); align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--radius-pill);
  background: var(--color-neutral-tint); color: var(--color-text); font-weight: var(--font-weight-semibold); font-size: var(--font-size-sm);
}
.steps strong { display: block; font-weight: var(--font-weight-bold); }

.table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); }
.table th { color: var(--color-text-muted); font-weight: var(--font-weight-semibold); }
.table-wrap { overflow-x: auto; }

.notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-neutral-tint); }
.notice.warn { background: var(--color-warning-tint); color: var(--color-on-warning-tint); }
.card { padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-surface-raised); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--space-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-4); }
dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); }
dl dt { color: var(--color-text-muted); }
dl dd { margin: 0; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.92em; }

footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  display: flex; flex-direction: column; gap: var(--space-2);
}
footer nav { display: flex; gap: var(--space-4); flex-wrap: wrap; }
footer a { color: var(--color-text-muted); }

@media (max-width: 480px) {
  dl { grid-template-columns: 1fr; }
  dl dt { margin-top: var(--space-2); }
}
