:root {
  color-scheme: light;
  --background: #f6f1e8;
  --paper: #fffaf0;
  --ink: #213329;
  --muted: #5f6f65;
  --green: #39684f;
  --green-dark: #254b3a;
  --line: rgba(33, 51, 41, 0.14);
  --shadow: rgba(37, 75, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 250, 240, 0.96), transparent 46%),
    linear-gradient(135deg, #f8f4eb 0%, var(--background) 55%, #e5eee5 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.18em;
}

.shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px 20px;
}

.hero {
  width: min(100%, 680px);
  padding: clamp(32px, 8vw, 72px) clamp(24px, 7vw, 64px);
  text-align: center;
}

.logo {
  display: block;
  width: clamp(104px, 18vw, 160px);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 24%;
  box-shadow: 0 24px 64px var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(3.25rem, 12vw, 7.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.92;
}

.lede {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.note {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.6;
}

.site-footer {
  position: fixed;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.legal-brand img {
  width: 44px;
  height: 44px;
  border-radius: 24%;
}

.legal-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-nav a {
  color: inherit;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal-content {
  display: grid;
  gap: 28px;
  padding-bottom: 24px;
}

.legal-content h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
}

.legal-content .lead {
  max-width: 680px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.5;
}

.legal-section {
  max-width: 760px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section ul {
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 420px) {
  .shell {
    padding: 24px 16px;
  }

  .hero {
    padding-inline: 8px;
  }

  .site-footer {
    position: static;
    margin-top: -64px;
    padding-bottom: 24px;
  }

  .legal-header,
  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
