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

:root {
  --bg: #f6f1e8;
  --bg-accent: #dcefe5;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-border: rgba(28, 45, 36, 0.12);
  --text: #18221d;
  --muted: #51635a;
  --accent: #157a6e;
  --accent-strong: #0f5c53;
  --accent-soft: #dff5f0;
  --shadow: 0 28px 70px rgba(24, 34, 29, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --content-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 122, 110, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(247, 170, 82, 0.22), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f7f4ee 42%, #eef6f2 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #157a6e 0%, #f59f45 100%);
  color: #fffdf9;
  box-shadow: 0 18px 35px rgba(21, 122, 110, 0.25);
}

.brand-text {
  font-size: 1.05rem;
}

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

.nav a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.active {
  text-decoration: none;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.56);
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero,
.legal-hero {
  padding: 52px clamp(22px, 4vw, 56px);
}

.hero h1,
.legal-hero h1 {
  margin: 12px 0 16px;
  max-width: 12ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(21, 122, 110, 0.1);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.button-primary {
  color: #f8fffd;
  background: linear-gradient(135deg, var(--accent) 0%, #f59f45 100%);
  box-shadow: 0 18px 40px rgba(21, 122, 110, 0.25);
}

.button-secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(21, 122, 110, 0.15);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.legal-panel,
.info-strip {
  padding: clamp(22px, 3vw, 32px);
}

.feature-card h2,
.info-strip h2,
.legal-panel h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.info-strip p,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.info-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.link-stack {
  display: grid;
  gap: 12px;
}

.link-stack a {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(223, 245, 240, 0.55);
  border: 1px solid rgba(21, 122, 110, 0.12);
  font-weight: 700;
}

.legal-layout {
  display: grid;
  gap: 20px;
}

.legal-panel ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 22px), var(--content-width));
    padding-top: 16px;
  }

  .topbar,
  .footer,
  .info-strip,
  .grid-two {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .legal-hero h1 {
    max-width: none;
  }

  .nav {
    width: 100%;
  }
}
