:root {
  --bg: #f7f4ef;
  --ink: #1a1a18;
  --muted: #5c5a55;
  --line: #d9d4cb;
  --accent: #0f4c3a;
  --card: #ffffff;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background:
    radial-gradient(circle at top left, rgba(15, 76, 58, 0.08), transparent 40%),
    linear-gradient(180deg, #fbf9f5 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: #0a3327;
}

.wrap {
  width: min(100% - 2rem, 56rem);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  margin: 0 0 3rem;
  max-width: 38rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.legal {
  padding: 2.5rem 0 4rem;
  max-width: var(--max);
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.meta {
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}
