:root {
  --bg: #f4f6f3;
  --bg-elevated: #ffffff;
  --ink: #161c19;
  --muted: #5f6b64;
  --accent: #1f4a3a;
  --accent-soft: #dce8e1;
  --line: rgba(22, 28, 25, 0.10);
  --danger: #b42318;
  --ok: #1f6b45;
  --shadow: 0 1px 0 rgba(22, 28, 25, 0.04);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(31, 74, 58, 0.10), transparent 58%),
    radial-gradient(780px 460px at 100% 0%, rgba(120, 140, 128, 0.14), transparent 52%),
    linear-gradient(180deg, #eef2ee 0%, var(--bg) 42%, #f7f8f5 100%);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

.shell {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 11vh 1.5rem 3rem;
  position: relative;
}

.shell::before {
  content: "";
  position: absolute;
  inset: 4vh -1rem auto;
  height: 18rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(circle at 30% 40%, rgba(31, 74, 58, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.shell > * { position: relative; z-index: 1; }

.logo {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.15rem;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
}
.logo.small {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.85rem;
  margin-bottom: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  max-width: 18ch;
  color: var(--ink);
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 30rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #f7faf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.35rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  transition: background 160ms ease, transform 160ms ease;
}
.btn:hover { background: #183a2e; }
.btn:active { transform: translateY(1px); }

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.secondary:hover { background: rgba(255,255,255,0.65); }

.soon {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.35rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.75rem;
}
.links a, .brand a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.links a:hover, .brand a:hover { color: var(--ink); }

.narrow h1 { font-size: clamp(1.5rem, 4vw, 2rem); max-width: none; }
.prose { color: var(--muted); line-height: 1.65; }
.prose a { color: var(--accent); }

footer {
  padding: 1.25rem 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
