:root {
  --bg: #faf7f4;
  --paper: #ffffff;
  --ink: #2a2522;
  --muted: #7a706a;
  --accent: #7b1f2b;
  --line: #e8e0da;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
header.site .inner, main, footer.site .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}
header.site .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; letter-spacing: .04em;
  color: var(--ink); text-decoration: none;
}
nav a { margin-left: 18px; font-size: 15px; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

main { padding-top: 40px; padding-bottom: 60px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; line-height: 1.25; }
h1 { font-size: 34px; margin: 0 0 6px; }
h2 { font-size: 22px; margin: 40px 0 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
p, li { margin: 0 0 10px; }
ol, ul { padding-left: 22px; }
.num { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin: 18px 0;
}
.card p:last-child { margin-bottom: 0; }
table.req { border-collapse: collapse; width: 100%; font-size: 16px; }
table.req td { padding: 6px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
table.req td:first-child { color: var(--muted); width: 40%; padding-right: 14px; }

/* головна */
.hero { text-align: center; padding: 30px 0 10px; }
.hero h1 { font-size: 40px; }
.hero p { color: var(--muted); max-width: 520px; margin: 10px auto 26px; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-size: 16px; letter-spacing: .02em;
}
.btn:hover { background: var(--accent); }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .inner { padding-top: 22px; padding-bottom: 30px; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  nav a { margin-left: 12px; font-size: 14px; }
  table.req td:first-child { width: 45%; }
}
