:root {
  color-scheme: light;
  --cream: #f7f1e8;
  --cream-2: #fffaf1;
  --ink: #12211f;
  --muted: #62716d;
  --line: #e7dccd;
  --green: #54c85a;
  --green-deep: #1f7b3a;
  --mint: #dff5d9;
  --amber: #f8c66d;
  --coral: #f48b72;
  --white: #fffefb;
  --shadow: 0 24px 70px rgba(18, 33, 31, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(84, 200, 90, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--cream), #fffaf3 38%, #f7f1e8);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(231, 220, 205, 0.8);
  background: rgba(247, 241, 232, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(18, 33, 31, 0.18);
}

.brand-mark::before {
  content: "";
  width: 20px;
  height: 18px;
  display: block;
  background: var(--green);
  border-radius: 70% 20% 70% 30%;
  transform: rotate(-22deg);
  box-shadow: 7px -6px 0 -4px var(--amber);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 800;
  font-size: 0.94rem;
}

.nav-links a {
  color: #33433f;
  text-decoration: none;
}

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(18, 33, 31, 0.21);
}

.btn-green {
  background: var(--green);
  color: #092414;
  box-shadow: 0 18px 34px rgba(84, 200, 90, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.78);
  color: var(--ink);
}

.hero {
  padding: 72px 0 44px;
}

.pill,
.category {
  display: inline-flex;
  border: 1px solid rgba(84, 200, 90, 0.35);
  background: rgba(223, 245, 217, 0.72);
  color: #235c34;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
  font-size: 0.84rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 18px;
  max-width: 890px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

h2 {
  margin-top: 38px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.lead {
  color: #42534f;
  font-size: 1.15rem;
  max-width: 760px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 0 72px;
}

.guide-card,
.article-card,
.sources,
.cta-band {
  background: rgba(255, 254, 251, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(18, 33, 31, 0.07);
}

.guide-card {
  padding: 22px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.guide-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(84, 200, 90, 0.22), rgba(248, 198, 109, 0.18));
  display: grid;
  place-items: center;
  font-weight: 950;
  color: var(--green-deep);
}

.guide-card p,
article p,
article li {
  color: #42534f;
}

.read-meta {
  color: var(--muted);
  font-weight: 780;
  font-size: 0.9rem;
}

article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.article-card {
  padding: clamp(22px, 5vw, 46px);
}

article ul,
article ol {
  padding-left: 1.25rem;
}

article a {
  color: var(--green-deep);
  font-weight: 850;
}

.note {
  border-left: 4px solid var(--coral);
  background: rgba(255, 254, 251, 0.74);
  border-radius: 0 18px 18px 0;
  padding: 14px 16px;
  color: #52615d;
}

.sources,
.cta-band {
  margin-top: 28px;
  padding: 24px;
}

.sources h2,
.cta-band h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.sources ul {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  padding: 36px 0;
  background: var(--ink);
  color: white;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  article {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 42px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .nav-links {
    font-size: 0.9rem;
  }
}
