/* ===================================================================
   THE MED CAB — design tokens
   Palette rationale: sage green = natural/herbal, lavender = calm and
   is itself a real remedy plant, warm cream = apothecary label paper
   rather than clinical white.
=================================================================== */
:root {
  /* --- Color: 6 named values --- */
  --forest:      #2F4A3A;  /* deep green — headlines, nav */
  --sage:        #6B8F71;  /* primary green — links, buttons */
  --lavender:    #8D7EB5;  /* accent purple — category tag, hover */
  --plum:        #4B3B63;  /* deep purple — small emphasis, footer links */
  --paper:       #FBF7F0;  /* warm cream background */
  --ink:         #2A2926;  /* near-black text, warmer than pure black */

  --muted:       #7A7669;
  --border:      #E6DFD1;
  --card-bg:     #FFFFFF;

  --max-width: 900px;
  --content-width: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: var(--sage); }
a:hover { color: var(--plum); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Header ---------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-mark { font-size: 1.2rem; }
.logo-text span { color: var(--lavender); font-weight: 500; }
.site-nav a {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  margin-left: 22px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--forest); border-bottom-color: var(--lavender); }
.site-nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--sage); font-weight: 500; }

.content { padding: 0 0 60px; max-width: var(--max-width); }
.post { max-width: var(--content-width); margin: 0 auto; padding-top: 40px; }

h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 6px; }
h2 { font-size: 1.4rem; margin-top: 2.2em; }
h3 { font-size: 1.1rem; color: var(--ink); }

.post-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0;
}

/* ---------------- Disclaimer / product callouts ---------------- */
.article-disclaimer {
  background: #F1EEE4;
  border-left: 4px solid var(--lavender);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}

.product-callout {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 28px 0;
  background: var(--card-bg);
}
.product-callout h3 { margin-top: 0; }
.product-callout a {
  display: inline-block;
  margin-top: 8px;
  background: var(--sage);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.product-callout a:hover { background: var(--forest); }

/* ===================================================================
   HOMEPAGE — "the shelf" concept
   Articles are shown as labeled apothecary bottles sitting on a shelf,
   each with a colored cap indicating its topic category.
=================================================================== */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  border: 1px solid var(--lavender);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero h1 em {
  font-style: normal;
  color: var(--sage);
}
.hero p.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 28px;
}
.hero .cta {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero .cta:hover { background: var(--plum); }

/* The shelf */
.shelf-section { max-width: var(--max-width); margin: 20px auto 0; padding: 20px 24px 0; }
.shelf-section h2 {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 6px solid var(--forest);
  border-radius: 3px;
}

.bottle {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 4px 4px 10px 10px;
  padding: 0 0 20px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.bottle:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -12px rgba(47, 74, 58, 0.35);
}

/* the "cap" — colored strip that signals category, like a bottle lid */
.bottle .cap {
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: var(--sage);
}
.bottle.cat-immune .cap { background: var(--lavender); }
.bottle.cat-skin .cap { background: var(--sage); }
.bottle.cat-soon .cap { background: var(--border); }

.bottle .label {
  padding: 18px 20px 0;
}
.bottle .category-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lavender);
  font-weight: 600;
}
.bottle.cat-skin .category-tag { color: var(--sage); }
.bottle h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  margin: 6px 0 10px;
  line-height: 1.3;
}
.bottle p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.bottle.cat-soon {
  color: var(--muted);
  font-style: italic;
}
.bottle.cat-soon h3 { color: var(--muted); }

/* Trust strip */
.trust-strip {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 28px 24px;
  text-align: center;
}
.trust-strip p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 560px;
  margin: 0 auto;
}
.trust-strip a { color: var(--plum); font-weight: 500; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--plum); }

/* ---------------- Responsive ---------------- */
@media (max-width: 560px) {
  .hero h1 { font-size: 2rem; }
  .site-nav a { margin-left: 14px; font-size: 0.85rem; }
}
