:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.5 "IBM Plex Sans", "Segoe UI", sans-serif;
  color: #1c1917;
  background: #f6f4ef;
}
.top, main, footer { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 8px; }
.brand { color: inherit; font-weight: 650; text-decoration: none; }
nav a { color: #57534e; margin-left: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1 { font-size: 1.8rem; letter-spacing: -0.03em; margin: 18px 0 6px; }
h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 22px 0 6px; }
.lede { color: #44403c; margin-top: 0; }
.panel {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0 28px;
}
label { display: block; font-size: 0.86rem; margin: 10px 0 4px; color: #44403c; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  background: #fff;
}
textarea { min-height: 88px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
button, .btn {
  margin-top: 12px;
  background: #1d4ed8;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
.out { margin-top: 14px; }
.out table { width: 100%; border-collapse: collapse; }
.out td, .out th { text-align: left; padding: 6px 4px; border-bottom: 1px solid #e7e5e4; font-variant-numeric: tabular-nums; }
.ok { color: #166534; }
.bad { color: #991b1b; }
.swatch { width: 100%; height: 72px; border-radius: 8px; border: 1px solid #e7e5e4; }
.cards { display: grid; gap: 10px; }
.cards a { display: block; background: #fff; border: 1px solid #e7e5e4; border-radius: 10px; padding: 12px 14px; color: inherit; text-decoration: none; }
.cards a span { display: block; color: #78716c; font-size: 0.86rem; }
.prose { margin: 0 0 28px; }
.prose p { color: #292524; max-width: 68ch; margin: 0 0 10px; }
.prose ul { margin: 6px 0 12px; padding-left: 20px; color: #292524; }
.prose li { margin: 2px 0; }
.prose a, footer a { color: #1d4ed8; }
.legal p { max-width: 68ch; }
.note { color: #78716c; font-size: 0.86rem; margin-top: 4px; }
footer { color: #78716c; font-size: 0.82rem; padding-bottom: 40px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
