:root {
  --bg: #efeae2;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #ddd4c6;
  --card: #fffaf3;
  --accent: #8d3d24;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.top, .foot { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem 2rem;
  padding: 1.15rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.15rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
main { flex: 1; }
.hero, .pagehead { padding: 2.4rem 0 0.4rem; }
.kicker {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 { margin: 0 0 0.4rem; font-size: 1.45rem; font-weight: 560; letter-spacing: -0.02em; }
h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.lead { max-width: 38rem; font-size: 1.18rem; margin: 1rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; margin-top: 1.4rem; }
.button, button {
  display: inline-block;
  padding: 0.62rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.button:hover, button:hover { background: #322c26; }
.textlink { color: var(--accent); }
.section { padding: 2rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { margin-bottom: 0.9rem; }
.cards, .steps, .split { display: grid; gap: 0.8rem; }
.cards { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; }
.split { grid-template-columns: 1fr 1fr; }
.card, .steps li, .split section, .block, .note, .facts li {
  min-width: 0;
}
.card, .steps li, .split section, .block, .note {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.15rem;
}
.card { display: block; text-decoration: none; height: 100%; }
.card:hover, .steps li:hover { border-color: #c9bba8; }
.card p, .steps p, .split li, .block p, .note p { margin: 0; color: var(--muted); }
.card h2, .steps h3 { color: var(--ink); }
.num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.plain { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.plain li { margin: 0.25rem 0; }
.block { margin: 0 0 0.8rem; }
.block .more { display: inline-block; margin-top: 0.8rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.facts li { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.facts span { display: block; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.note { display: grid; gap: 0.85rem; max-width: 36rem; }
label { display: grid; gap: 0.28rem; font-family: "Segoe UI", sans-serif; font-size: 0.85rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.5rem 0.6rem;
}
textarea { min-height: 9rem; resize: vertical; }
.trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.banner {
  margin: 0 0 0.8rem;
  padding: 0.75rem 0.9rem;
  background: #f4e4dc;
  border: 1px solid #e2c7ba;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.7rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.85rem;
}
.foot strong { color: var(--ink); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.foot a { color: var(--muted); }
@media (max-width: 900px) {
  .cards, .steps, .facts { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { font-size: 16.5px; }
  body { padding: 0 1rem; }
  .top, .foot, .wrap { width: 100%; }
  .top { flex-direction: column; align-items: flex-start; }
  .cards, .steps, .facts { grid-template-columns: 1fr; }
  h1 { max-width: 12ch; font-size: 2.05rem; }
  .lead { font-size: 1.05rem; }
  .nav { gap: 0.4rem 0.7rem; }
  .actions { flex-direction: column; align-items: flex-start; }
}
