/* Jungle Mornings — shared blog stylesheet.
   Palette + type mirror site/index.html (warm-spice, "plants only" green rule). */

:root {
  --cream: #F3E4CB;
  --sand: #DCC7A0;
  --espresso: #2A201A;
  --honey: #E4A52E;
  --turmeric: #CE9A3A;
  --terracotta: #C75B3B;
  --paprika: #C9551E;
  --brick: #8A3520;
  --canopy: #2E4B3C; /* plants-only accent — foliage/leaf only, never bands/type */
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: 0; }

a { color: var(--brick); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--paprika); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1120px; margin: 0 auto; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.02em; color: var(--espresso); text-decoration: none; text-transform: uppercase; }
.wordmark span { color: var(--paprika); }
.nav-mark { width: 36px; height: 36px; border-radius: 50%; display: block; }

.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 700; font-size: 0.95rem;
  background: var(--paprika); color: var(--cream);
  padding: 12px 24px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--brick); color: var(--cream); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- blog hub ---------- */
.blog-hero { padding: 56px 0 24px; text-align: center; }
.blog-hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brick);
  background: color-mix(in srgb, var(--honey) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--brick) 25%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.blog-hero p { font-size: 1.1rem; max-width: 40em; margin: 0 auto; color: color-mix(in srgb, var(--espresso) 80%, transparent); }

.pillars-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 28px 0 8px; }
.pillars-nav a {
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  padding: 8px 16px; border-radius: 999px;
  background: #fffdf8; border: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent);
  color: var(--espresso);
}
.pillars-nav a:hover { border-color: var(--paprika); color: var(--paprika); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 0 64px; }
.card {
  background: #fffdf8;
  border: 1px solid color-mix(in srgb, var(--espresso) 8%, transparent);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 12px 32px -20px color-mix(in srgb, var(--brick) 30%, transparent);
  display: flex; flex-direction: column;
}
.card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brick); margin-bottom: 10px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card h3 a { color: var(--espresso); text-decoration: none; }
.card h3 a:hover { color: var(--paprika); }
.card p { font-size: 0.92rem; color: color-mix(in srgb, var(--espresso) 75%, transparent); margin-bottom: 16px; }
.card .read { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--paprika); text-decoration: none; }

/* ---------- article ---------- */
article { padding: 40px 0 24px; }
.breadcrumb { font-size: 0.82rem; color: color-mix(in srgb, var(--espresso) 60%, transparent); margin-bottom: 20px; }
.breadcrumb a { color: color-mix(in srgb, var(--espresso) 60%, transparent); }
.article-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brick); margin-bottom: 14px; }
article h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 0.85rem; color: color-mix(in srgb, var(--espresso) 62%, transparent); margin-bottom: 8px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); }
.byline .reviewed { color: var(--canopy); font-weight: 600; }

article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
article h3 { font-size: 1.2rem; margin: 28px 0 10px; }
article p { margin-bottom: 18px; }
article ul, article ol { margin: 0 0 20px 1.2em; }
article li { margin-bottom: 8px; }

.answer {
  background: color-mix(in srgb, var(--honey) 18%, transparent);
  border-left: 4px solid var(--turmeric);
  border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 8px 0 28px;
  font-size: 1.08rem;
}
.tldr {
  background: #fffdf8; border: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
  border-radius: 16px; padding: 22px 26px; margin: 28px 0;
}
.tldr strong { display: block; font-family: var(--display); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brick); margin-bottom: 10px; }
.tldr ul { margin: 0 0 0 1.2em; }
.tldr li { margin-bottom: 6px; }

.table-scroll { overflow-x: auto; margin: 0 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; min-width: 440px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); vertical-align: top; }
th { font-family: var(--display); font-size: 0.85rem; background: color-mix(in srgb, var(--sand) 40%, transparent); }

.faq { margin-top: 44px; padding-top: 8px; }
.faq h2 { margin-bottom: 20px; }
.faq details { background: #fffdf8; border: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { font-family: var(--display); font-weight: 800; font-size: 1.05rem; padding: 14px 0; cursor: pointer; }
.faq details p { margin: 4px 0 16px; }

.disclaimer { font-size: 0.82rem; color: color-mix(in srgb, var(--espresso) 55%, transparent); border-top: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); padding-top: 20px; margin-top: 40px; }

.sources { font-size: 0.85rem; margin-top: 28px; }
.sources h2 { font-size: 1.2rem; }
.sources ol { margin-left: 1.2em; }
.sources li { color: color-mix(in srgb, var(--espresso) 70%, transparent); }

/* ---------- inline waitlist CTA ---------- */
.cta-inline {
  background: var(--espresso); color: var(--cream);
  border-radius: 20px; padding: 32px; text-align: center; margin: 48px 0 8px;
}
.cta-inline h3 { font-size: 1.5rem; margin-bottom: 10px; }
.cta-inline h3 em { font-style: normal; color: var(--honey); }
.cta-inline p { color: color-mix(in srgb, var(--cream) 80%, transparent); margin-bottom: 20px; }
.cta-inline .btn { background: var(--honey); color: var(--espresso); }
.cta-inline .btn:hover { background: var(--turmeric); color: var(--espresso); }

/* ---------- footer ---------- */
footer { background: var(--espresso); color: color-mix(in srgb, var(--cream) 55%, transparent); padding: 28px 0 40px; font-size: 0.85rem; border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
footer a { color: color-mix(in srgb, var(--cream) 70%, transparent); }

@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
}
