:root {
  --bg0: #f6f4ef;
  --bg1: #e8efe9;
  --ink: #1d2321;
  --muted: #6b7671;
  --accent: #3f7d6e;
  --accent-deep: #2f5f54;
  --line: #e2ddd3;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 70% 10%, rgba(63, 125, 110, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(232, 214, 180, 0.45), transparent 50%),
    linear-gradient(165deg, #f6f4ef 0%, #eef3ef 45%, #e4ebe6 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav { display: flex; gap: 1.25rem; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover { color: var(--accent-deep); }

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 40rem;
  margin: 0 auto;
  animation: rise 0.9s ease-out both;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: var(--accent-deep);
  animation: rise 1s 0.08s ease-out both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.15rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  animation: rise 1s 0.16s ease-out both;
}
.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 28rem;
  animation: rise 1s 0.24s ease-out both;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.32s ease-out both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover { background: var(--accent-deep); }
.btn.ghost {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid var(--line);
}

.after {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}
.after h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.after p { margin: 0; color: var(--muted); }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 72rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.legal .meta { color: var(--muted); margin-bottom: 2rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  nav { gap: 0.85rem; font-size: 0.85rem; }
  .hero { min-height: calc(100svh - 4.5rem); }
}
