:root {
  --bg: #faf7f2;
  --fg: #1f1b16;
  --muted: #6b6258;
  --accent: #8a2b1c;
  --rule: #d9d0c3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140f;
    --fg: #ece5d8;
    --muted: #a09584;
    --accent: #e0805f;
    --rule: #3a342b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  hyphens: auto;
  font-feature-settings: "kern", "liga", "onum";
}
main {
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 12vh 1.5rem 3rem;
}
main.page { padding-top: 6vh; }
a { color: var(--accent); }
.mark {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}
.mark a { color: var(--accent); text-decoration: none; }
h1 {
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
h1 em { color: var(--accent); }
.page h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
h2 { font-size: 1.2rem; font-weight: 600; margin: 2.2rem 0 0.4rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.4rem 0 0.2rem; }
h2 + p, h3 + p { margin-top: 0; }
.lang { margin-top: 3rem; font-size: 0.9rem; color: var(--muted); }
.lede { color: var(--muted); margin: 0 0 3rem; text-wrap: pretty; }
.page .lede { margin-bottom: 2rem; }
ul.points {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  border-top: 1px solid var(--rule);
}
ul.points li { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.soon { margin: 0; font-style: italic; }
address { font-style: normal; }
.nowrap { white-space: nowrap; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: 0.25rem; font-size: 0.95rem; }
input, textarea {
  font: inherit;
  padding: 0.6rem 0.8rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
textarea { min-height: 9rem; resize: vertical; }
label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
label.check input { margin-top: 0.35rem; }
.hp { position: absolute; left: -9999px; }
button {
  font: inherit;
  justify-self: start;
  padding: 0.6rem 1.4rem;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--muted); margin: 0 0.5rem; }
