:root {
  --bg: #f7f4ed;
  --paper: #fffdf8;
  --ink: #1f2923;
  --muted: #5d655f;
  --brand: #254f3d;
  --brand-soft: #cfe2d2;
  --accent: #d38b36;
  --line: #d8d2c4;
  --radius: 14px;
  --shadow: 0 20px 45px rgba(20, 32, 25, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(160deg, #f5f0e3 0%, var(--bg) 40%, #f0f4ee 100%);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.brand-mark {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 600;
}

.nav-links a.active {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.32em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 79, 61, 0.25);
}

.button-primary:hover {
  color: #fff;
}

.button-secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

main {
  padding: 2.5rem 0 3rem;
}

.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 3vw, 3.2rem);
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Iowan Old Style", "Book Antiqua", Garamond, serif;
  line-height: 1.2;
}

h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 64ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem 0 0.2rem;
}

.section {
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.card p {
  margin-bottom: 0;
}

.meta {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.rule-list {
  margin: 0;
  padding-left: 1.15rem;
}

.rule-list li {
  margin-bottom: 0.45rem;
}

.banner-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.2rem 0 2.3rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-note {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.kit-list {
  margin: 0;
  padding-left: 1.15rem;
}

.kit-list li {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.65rem 1rem;
  }
}
