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

:root {
  --green: #1d9e52;
  --green-dk: #145f34;
  --green-lt: #e8f5ee;
  --blue: #1565c0;
  --bg: #f5f7f5;
  --card: #ffffff;
  --border: #d4e0d4;
  --text: #1a2e1a;
  --muted: #5a7a5a;
  --section-x: clamp(1.25rem, 4vw, 2.5rem);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
}

nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--section-x);
  background: rgba(245,247,245,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { text-decoration: none; font-weight: 800; color: var(--text); font-size: 1.05rem; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 0.45rem 1rem; border-radius: 7px; font-weight: 600 !important;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem var(--section-x) 4rem; }
.wrap-wide { max-width: 960px; margin: 0 auto; padding: 2.5rem var(--section-x) 4rem; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--green); text-decoration: none; }

h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 1.125rem; margin-bottom: 2rem; }

article h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--text); }
article p { margin-bottom: 1rem; }
article ul, article ol { margin: 0 0 1rem 1.25rem; }
article li { margin-bottom: 0.35rem; }

.callout {
  background: var(--green-lt);
  border: 1px solid #c8e6d0;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.callout-warn {
  background: #fff8e8;
  border-color: #f0d080;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, border-color .2s;
}
.guide-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(29,158,82,.12);
}
.guide-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.guide-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.guide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--section-x);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--green); text-decoration: none; }

@media (max-width: 640px) {
  .nav-links { gap: 0.75rem; font-size: 0.8rem; }
}
