:root {
  --bg: #f4f6f2;
  --ink: #13211b;
  --muted: #4c5f55;
  --brand: #0f5a3c;
  --brand-2: #1d8f5f;
  --accent: #b67b2a;
  --panel: #ffffff;
  --line: rgba(19, 33, 27, 0.11);
  --shadow: 0 16px 40px rgba(18, 42, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(182, 123, 42, 0.15), transparent 60%),
    radial-gradient(900px 500px at -10% 15%, rgba(29, 143, 95, 0.13), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.bg-blobs span {
  position: fixed;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.4;
  z-index: -1;
}

.bg-blobs span:nth-child(1) {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -90px;
  background: linear-gradient(135deg, #1d8f5f, #b67b2a);
}

.bg-blobs span:nth-child(2) {
  width: 320px;
  height: 320px;
  top: 35%;
  left: -120px;
  background: linear-gradient(135deg, #0f5a3c, #3fa372);
}

.bg-blobs span:nth-child(3) {
  width: 250px;
  height: 250px;
  bottom: -100px;
  right: 10%;
  background: linear-gradient(135deg, #b67b2a, #f0b867);
}

.site-header {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-header.compact {
  margin-top: 12px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

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

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--brand-2);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 44px;
}

.section {
  margin-top: 26px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--brand-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

h1, h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(249, 252, 249, 0.9));
  box-shadow: var(--shadow);
}

.hero p {
  max-width: 760px;
}

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

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.9rem;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.metrics strong {
  display: block;
  color: var(--brand);
  font-size: 1.45rem;
}

.section-head p {
  margin-top: 0;
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  gap: 14px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.roadmap {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap article {
  border-left: 3px solid var(--accent);
  padding: 12px 12px 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.site-footer {
  margin: 32px auto;
  max-width: 1100px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.visible {
  animation: rise 0.6s ease forwards;
}

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

@media (max-width: 900px) {
  .cards.two,
  .cards.three,
  .metrics,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
