:root {
  color-scheme: light;
  --ink: #1c1915;
  --muted: #4a453e;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #d9d2c5;
  --link: #0a3d66;
  --focus: #0a3d66;
  --verified: #0e4d32;
  --expected: #6a4200;
  --conflict: #7a1c16;
  --unconfirmed: #3f3c38;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  background: var(--card);
  padding: 0.4rem 0.6rem;
  transform: translateY(-150%);
}

.skip:focus { transform: none; }

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

.site-header,
.site-footer {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-footer { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 2.5rem; }

.site-header .wrap,
.site-footer .wrap { padding-block: 0.9rem; }

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0;
}

.nav-list a { text-decoration: none; }

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

h1 { font-size: 1.8rem; line-height: 1.2; margin: 1.2rem 0 0.4rem; }

h2 { font-size: 1.25rem; line-height: 1.3; margin: 1.4rem 0 0.4rem; }

.lede { color: var(--muted); margin-top: 0; }

.card,
.rule,
.change,
.sponsor-slot,
.signup {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  margin: 0.9rem 0;
}

.badge {
  display: inline-block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border: 1px solid currentColor;
}

.badge-VERIFIED { color: var(--verified); }
.badge-EXPECTED { color: var(--expected); }
.badge-CONFLICT { color: var(--conflict); background: #fdeceb; }
.badge-UNCONFIRMED { color: var(--unconfirmed); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.6rem;
}

.chip {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.1rem 0.4rem;
}

.meta { color: var(--muted); font-size: 0.95rem; }

.sources { padding-left: 1.1rem; }

.last-checked { font-weight: 700; }

.site-footer p { margin: 0.3rem 0; }

.site-footer a { margin-right: 0.8rem; }

.button,
button {
  display: inline-block;
  font: inherit;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border: 0;
}

.button:hover,
button:hover { background: var(--link); }

label { display: block; font-weight: 700; margin-bottom: 0.3rem; }

input[type="email"],
select {
  width: 100%;
  font: inherit;
  padding: 0.55rem;
  border: 1px solid var(--ink);
  background: #fff;
}

fieldset {
  border: 0;
  margin: 0.9rem 0 0;
  padding: 0;
}

legend { font-weight: 700; }

.quiet { font-weight: 400; margin-top: 0.35rem; }

.checks {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
  margin: 0.25rem 0;
}

.signup-row { display: flex; flex-direction: column; gap: 0.6rem; }

@media (min-width: 40rem) {
  .signup-row { flex-direction: row; align-items: end; }
  input[type="email"] { flex: 1; }
}

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

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

.sponsor-label { font-weight: 700; margin: 0; }
