:root {
  --bg: #f6f1e4;
  --bg2: #ece3cb;
  --card: rgba(255, 255, 255, .55);
  --ink: #22301f;
  --muted: #5d6b55;
  --accent: #355e3b;
  --wheat: #c9962b;
  --line: rgba(34, 48, 31, .14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a12;
    --bg2: #1c2519;
    --card: rgba(255, 255, 255, .04);
    --ink: #eee8d6;
    --muted: #a9b39c;
    --accent: #8fbf7f;
    --wheat: #e9c46a;
    --line: rgba(238, 232, 214, .14);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 80% at 50% 0%, var(--bg) 40%, var(--bg2) 100%) fixed;
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.top {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.brand svg { width: 34px; height: 34px; }
nav { display: flex; gap: 6px; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
}
nav a:hover { color: var(--accent); }
nav a.on { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 16px 32px;
}
.hero { text-align: center; }
.kind {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(32px, 6.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1 span { color: var(--accent); }
.rule {
  width: 72px;
  height: 2px;
  background: var(--wheat);
  margin: 28px auto;
  border-radius: 2px;
}
.rule.left { margin-left: 0; }
.lead {
  font-size: clamp(17px, 2.3vw, 20px);
  max-width: 36em;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.cards article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 24px;
}
.cards svg { width: 40px; height: 40px; margin-bottom: 10px; }
.cards h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 21px;
  margin-bottom: 6px;
}
.cards p { font-size: 15px; color: var(--muted); }

.note {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.article { max-width: 720px; }
.article .lead { margin: 0; }
.article h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 25px;
  margin: 40px 0 10px;
  color: var(--accent);
}
.article p { font-size: 17px; margin-bottom: 12px; }
.article blockquote {
  margin: 40px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--wheat);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}
.article .note { text-align: left; }

.field { width: 100%; height: 90px; display: block; margin-top: 24px; }
footer {
  border-top: 1px solid var(--line);
  padding: 18px 16px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}
