:root {
  --ink: #000;
  --accent: #8a1b2b;
  --rule: #111;
  --soft: #555;
}

* { box-sizing: border-box; }

html {
  background: #fff;
  color: var(--ink);
}

body {
  margin: 0;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover { color: var(--ink); }

img { max-width: 100%; }

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

.masthead {
  border-bottom: 3px solid var(--rule);
  padding: 1.1rem 0 0.75rem;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.tagline {
  display: block;
  margin: 0.3rem 0 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.hero-grid,
.newsgrid,
.register,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 2rem;
}

.newsgrid,
.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.column,
.hero-grid > *,
.newsgrid > *,
.register > *,
.split > * { min-width: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.65rem);
  letter-spacing: -0.025em;
}

h2 {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede {
  max-width: 62ch;
  font-size: 1.14rem;
}

.kicker {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.note {
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  padding: 1rem;
}

.note h3 { margin-bottom: 0.45rem; }

.section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

.section-tight { padding-top: 1.25rem; }

.stack > * + * { margin-top: 1rem; }

.list {
  margin: 0;
  padding-left: 1.2rem;
}

.list li { margin-bottom: 0.45rem; }
.list li:last-child { margin-bottom: 0; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.steps li:last-child { margin-bottom: 0; }

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.table-scroll {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

caption {
  padding: 0.7rem 0.75rem;
  border-bottom: 2px solid var(--rule);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

th, td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #aaa;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }

.state {
  font-weight: 700;
  white-space: nowrap;
}

.state-open { color: var(--accent); }
.state-held { color: var(--soft); }

.definition {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  margin: 0;
}

.definition dt,
.definition dd {
  padding-top: 0.5rem;
  border-top: 2px solid var(--rule);
}

.definition dt {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.definition dd { margin: 0; }

.sample {
  min-width: 0;
  border: 1px solid var(--rule);
  padding: 1rem;
  overflow-x: auto;
}

.sample pre {
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.quote {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.button {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #fff;
  color: var(--accent);
}

.button-ghost {
  background: #fff;
  color: var(--accent);
}

.button-ghost:hover {
  background: var(--accent);
  color: #fff;
}

.footer {
  border-top: 3px solid var(--rule);
  padding: 1.2rem 0 2rem;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.footer p { margin: 0; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.5rem, 1120px); }
  .hero-grid,
  .newsgrid,
  .register,
  .split { grid-template-columns: minmax(0, 1fr); }
  .definition { grid-template-columns: minmax(0, 1fr); }
  .definition dd { margin-bottom: 0.75rem; }
  .brand-name { font-size: 1.55rem; }
}

@media (max-width: 400px) {
  .wrap { width: calc(100% - 1.25rem); }
  .masthead-inner { align-items: flex-start; }
  .tagline { letter-spacing: 0.08em; }
  .nav { gap: 0.2rem 0.75rem; }
  .nav a { font-size: 0.82rem; }
  h1 { font-size: 2rem; }
  table { min-width: 548px; }
}
