@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@1,400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

:root {
  --bg:       #F7F6F3;
  --bg-alt:   #EEEDEA;
  --text:     #1D1F1C;
  --text-mid: #48504A;
  --text-muted: #67706A;
  --accent:   #3A6B3A;
  --accent-h: #2B5630;
  --border:   #D5D3CD;
  --card-bg:  #FFFFFF;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.nav-logo-text strong { font-weight: 700; }
.nav-logo-text span { font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  opacity: 1 !important;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-h); }

.article-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.article-meta {
  margin-bottom: 40px;
}
.article-meta time {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.reading-time {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.reading-time::before {
  content: "\00b7";
  margin: 0 8px;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.article-intro {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.article-hero {
  margin-bottom: 48px;
}
.article-hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.article-hero figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

.article-body a { color: var(--accent); }

.article-body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 56px;
  margin-bottom: 24px;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  font-weight: 600;
}

.callout {
  background: var(--card-bg);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 36px 0;
  border-radius: 0 8px 8px 0;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.65;
}
.callout p { margin-bottom: 0; }
.callout p + p { margin-top: 14px; }

.article-cta {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.article-cta p {
  color: var(--text-mid);
  margin-bottom: 20px;
}
.article-cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.article-cta a:hover { background: var(--accent-h); }

.site-footer {
  padding: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.site-footer a {
  text-decoration: none;
  color: var(--accent);
}

@media (max-width: 600px) {
  .nav-logo-text { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .article-wrapper { padding: 48px 20px 80px; }
  .article-intro { font-size: 18px; }
  .callout { padding: 20px 22px; }
}
