@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;650&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --ink: #12110f;
  --muted: #5f5a53;
  --accent: #0f7a5b;
  --accent-strong: #0b5d45;
  --card: #ffffff;
  --line: rgba(18, 17, 15, 0.08);
  --shadow: 0 20px 60px rgba(12, 12, 10, 0.08);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 0.4em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  inset: -30vmax;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 122, 91, 0.2), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 189, 122, 0.18), transparent 40%);
  z-index: -1;
}

.site-header {
  padding: 28px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 0.2s ease, border 0.2s ease;
}

.nav a:hover {
  background: rgba(15, 122, 91, 0.08);
  border-color: rgba(15, 122, 91, 0.25);
}

.hero {
  padding: 56px 0 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 16px 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: rgba(15, 122, 91, 0.25);
  transform: translateY(-1px);
}

.section {
  padding: 28px 0;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 24px 0 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.callout {
  margin: 36px 0 80px;
  padding: 28px 32px;
  background: rgba(15, 122, 91, 0.08);
  border: 1px solid rgba(15, 122, 91, 0.2);
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 12px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  padding: 36px 0 60px;
}

.legal-hero {
  padding-bottom: 16px;
}

.legal-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.8s ease forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 32px;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
