:root {
  --bg: #f6f3ec;
  --surface: #fffdf8;
  --text: #17203a;
  --muted: #4b5266;
  --accent: #1d2b4f;
  --accent-text: #fbf6e8;
  --gold: #8a6a1f;
  --border: #d9d1bf;
  --focus: #2c63c7;
  --shadow: 0 1px 2px rgba(23, 32, 58, 0.06), 0 6px 18px rgba(23, 32, 58, 0.07);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141b2d;
    --surface: #1d2640;
    --text: #eef0f5;
    --muted: #b9bfcf;
    --accent: #e6cf8f;
    --accent-text: #141b2d;
    --gold: #e6cf8f;
    --border: #344061;
    --focus: #9cc0ff;
    --shadow: none;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
h1,
h2,
.brand {
  font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
}
a {
  color: var(--accent);
}
a:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.bar,
main,
.foot {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
.link {
  font-weight: 600;
}
.hero {
  padding: 44px 0 36px;
  max-width: 780px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}
h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  margin: 0 0 20px;
}
.lead {
  font-size: 21px;
  color: var(--muted);
  margin: 0 0 24px;
}
.muted {
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding-bottom: 48px;
}
.card,
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.card h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.records {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
  padding-bottom: 56px;
}
.records h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.records-text a {
  overflow-wrap: anywhere;
}
.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 4px;
  font-weight: 600;
}
.form label .muted {
  font-weight: 400;
}
input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}
textarea {
  resize: vertical;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.button {
  display: inline-block;
  justify-self: start;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.foot a {
  overflow-wrap: anywhere;
}
