:root {
  --bg: #f6f1e7;
  --surface: #efe7d8;
  --ink: #1f1a14;
  --muted: #6b6153;
  --line: #d9cfbd;
  --accent: #3f6b4a;
  --accent-ink: #f6f1e7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --surface: #1c1915;
    --ink: #efe8db;
    --muted: #a39886;
    --line: #2e2922;
    --accent: #8fbf98;
    --accent-ink: #14120f;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

/* ---------- One-screen landing ---------- */

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
  gap: 20px;
}

.mark {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}

.tagline {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta:hover {
  color: var(--accent-ink);
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer address {
  font-style: normal;
}

.footer nav {
  display: flex;
  gap: 20px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 36px 0 8px;
}

.legal p,
.legal ul {
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 20px;
}
