@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --font-display: 'Fraunces', serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --bg: #f7f6f2;
  --surface: #fffcf7;
  --text: #212924;
  --text-muted: #57635a;
  --brand: #0f7a63;
  --brand-deep: #085544;
  --brand-soft: #dff2eb;
  --line-soft: rgba(8, 85, 68, .18);
  --focus: #0f7a63;

  --radius-pill: 999px;
  --shadow-soft: 0 10px 32px rgba(23, 38, 32, .08);
  --shadow-lift: 0 18px 50px rgba(8, 85, 68, .18);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 56vw;
  height: 56vw;
  left: -16vw;
  top: -24vw;
  border-radius: 44% 56% 61% 39% / 46% 42% 58% 54%;
  background: radial-gradient(circle, rgba(15,122,99,.12) 0%, rgba(15,122,99,0) 68%);
}

body::after {
  width: 48vw;
  height: 48vw;
  right: -14vw;
  bottom: -18vw;
  border-radius: 57% 43% 38% 62% / 41% 64% 36% 59%;
  background: radial-gradient(circle, rgba(8,85,68,.11) 0%, rgba(8,85,68,0) 72%);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid rgba(8, 85, 68, .1);
  z-index: 50;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.36);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  border-radius: 999px;
}

.brand-mark::before {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  top: 8px;
  left: 8px;
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  right: 8px;
  top: 8px;
  background: #fff;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -.2px;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: .92rem;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a:hover { background: var(--brand-soft); color: var(--brand-deep); }

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
  padding: 26px 0 38px;
}

.site-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer small { color: var(--text-muted); }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .92rem;
}

.legal-links a:hover { color: var(--brand-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 10px 24px rgba(8, 85, 68, .24);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }

.btn-ghost {
  color: var(--brand-deep);
  border-color: var(--line-soft);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.btn-ghost:hover { background: var(--brand-soft); transform: translateY(-1px); }

@media (max-width: 860px) {
  .site-header { position: static; }
  .site-header-inner { min-height: 70px; padding: 8px 0; }
  .nav-links { display: none; }
}
