:root {
  --bg: #f4f0e8;
  --paper: rgba(255, 252, 246, 0.8);
  --paper-strong: #fffaf1;
  --text: #1f1a17;
  --muted: #63584e;
  --line: rgba(31, 26, 23, 0.1);
  --accent: #166534;
  --accent-soft: rgba(22, 101, 52, 0.08);
  --shadow: 0 24px 60px rgba(34, 26, 17, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(180, 83, 9, 0.12), transparent 26%),
    linear-gradient(180deg, #f8f4ec 0%, #f0e7db 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  margin-bottom: 48px;
  padding: 8px 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero,
.legal-page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: clamp(32px, 5vw, 72px);
}

.legal-page {
  padding: clamp(28px, 4vw, 48px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.1;
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 8vw, 5rem);
  max-width: 14ch;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.lead,
.meta {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  font-size: 1.12rem;
}

.meta {
  margin-top: -4px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-strong);
}

.card {
  padding: 22px;
}

.panel {
  padding: 24px;
  margin-top: 18px;
}

.panel.accent {
  background: linear-gradient(180deg, #f4fbf6 0%, #fbf8ef 100%);
}

ul {
  padding-left: 20px;
}

.site-footer {
  margin-top: 22px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}
