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

:root {
  --primary: #2d6a4f;
  --primary-light: #e8f5ee;
  --primary-muted: #5a9e8f;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --border: #ececea;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-muted: #ababab;
  --radius: 12px;
  --max-width: 800px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Header / Nav ── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

nav a.active {
  color: var(--primary);
  font-weight: 500;
}

/* ── Main content ── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Page hero ── */
.page-hero {
  margin-bottom: 40px;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Cards / sections ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.card ul li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--primary);
  font-weight: 700;
}

/* ── Feature grid (index) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── CTA ── */
.cta-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  color: #fff;
}

.cta-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-block p {
  opacity: 0.8;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

/* ── Contact highlight ── */
.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .header-inner {
    padding: 0 16px;
  }

  main {
    padding: 32px 16px 60px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .card {
    padding: 20px;
  }

  nav a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }
}
