:root {
  color-scheme: only light;
  --fog: #e4e8ee;
  --ink: #1c2329;
  --proof: #c23b22;
  --card: #f7f8fb;
  --line: #c5ccd6;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
html { background-color: #e4e8ee; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { max-width: 980px; margin: 0 auto; padding: 28px 20px 80px; position: relative; }
header.top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; }
.brand { font-family: "Newsreader", Georgia, serif; font-size: 30px; letter-spacing: -.03em; font-weight: 600; }
.rule { height: 8px; width: 40px; background: var(--proof); margin: 10px 0 18px; }
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 600; line-height: 1.15; }
a { color: var(--ink); }
nav a { margin-right: 14px; text-decoration: none; border-bottom: 1px solid transparent; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
nav a:hover { border-bottom-color: var(--proof); }
.card { background: var(--card); border: 1px solid var(--line); padding: 18px 18px 16px; margin: 0 0 16px; box-shadow: 0 1px 0 rgba(28,35,41,.04); }
label { display: block; font-size: 14px; margin: 10px 0 4px; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 160px; }
form select,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 2.85rem 0.8rem 0.95rem;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%231c2329' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
}
select::-ms-expand { display: none; }
button, .btn {
  appearance: none;
  border: 0;
  background: var(--proof);
  color: #f7f8fb;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  margin-top: 12px;
}
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.muted { color: #5a6570; font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.flash { background: #dbe3ee; padding: 10px 12px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { font-size: 32px; font-family: "Newsreader", Georgia, serif; }
@media (max-width: 640px) {
  .brand { font-size: 24px; }
  header.top { flex-direction: column; }
}
