/* magicmushroomspsychedelic.com — clean editorial style */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Linux Libertine', Georgia, 'Times New Roman', serif;
  color: #202122;
  background: #fff;
  line-height: 1.7;
  max-width: 100%;
}

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  padding: 1rem 2rem;
  border-bottom: 1px solid #a2a9b1;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-title {
  font-size: 1.35rem;
  color: #202122;
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 1.5rem;
}
.site-nav a {
  color: #3366cc;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { text-decoration: underline; }

/* ── Gate / Access page ──────────────────────────────────────────── */
.gate-page {
  max-width: 640px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.gate-page h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.15rem;
  color: #54595d;
  margin-bottom: 2rem;
}
.cta-button {
  display: inline-block;
  background: #3366cc;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 3px;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
}
.cta-button:hover { background: #2a4b8d; }
.cta-button:disabled { opacity: 0.6; cursor: not-allowed; }
.gate-note { margin-top: 1.5rem; color: #54595d; }
.gate-note a { color: #3366cc; }

/* ── Access form ─────────────────────────────────────────────────── */
.access-page {
  max-width: 480px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.access-page h1 { margin-bottom: 0.5rem; }
.access-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.access-form label {
  font-weight: bold;
  font-size: 0.95rem;
}
.access-form input {
  padding: 0.75rem;
  border: 1px solid #a2a9b1;
  border-radius: 3px;
  font-size: 1.1rem;
  width: 100%;
}
.access-form input:focus {
  outline: none;
  border-color: #3366cc;
}
.form-note { font-size: 0.9rem; color: #54595d; }
.form-note a { color: #3366cc; }
.access-note {
  font-size: 0.85rem;
  color: #72777d;
  margin-top: 2rem;
  border-top: 1px solid #eaecf0;
  padding-top: 1rem;
}
.status-message {
  padding: 0.75rem 1rem;
  border-radius: 3px;
  margin: 1rem 0;
}
.status-message.success {
  background: #d5fdf4;
  color: #096951;
}
.status-message.error {
  background: #fee7e6;
  color: #b32424;
}

/* ── Article ─────────────────────────────────────────────────────── */
.article-page {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
}
.article-page article { min-width: 0; }
.article-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.article-meta {
  color: #72777d;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.member-gated-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}
.member-gated-content p {
  margin-bottom: 1rem;
}
.member-gated-content ul, .member-gated-content ol {
  margin: 0 0 1rem 1.5rem;
}
.member-gated-content li {
  margin-bottom: 0.5rem;
}

/* ── Evidence tier badges ────────────────────────────────────────── */
.tier-badge {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-right: 4px;
}
.tier-badge.t1 { background: #d5fdf4; color: #096951; }
.tier-badge.t2 { background: #fef6e7; color: #945500; }
.tier-badge.t3 { background: #eaf3ff; color: #1b56a8; }
.tier-badge.t4 { background: #f8f9fa; color: #54595d; border: 1px solid #c8ccd1; }
.claim-tier {
  font-size: 0.9rem;
  color: #54595d;
  background: #f8f9fa;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid #a2a9b1;
  margin: 1rem 0;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.article-sidebar {
  font-size: 0.85rem;
  color: #54595d;
}
.evidence-key {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 3px;
}
.evidence-key h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #202122;
}
.evidence-key p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* ── Comparison table ────────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.comparison-table th, .comparison-table td {
  padding: 0.6rem 1rem;
  border: 1px solid #c8ccd1;
  text-align: left;
}
.comparison-table th {
  background: #f8f9fa;
  font-weight: bold;
}
.comparison-table tr:nth-child(even) td {
  background: #f8f9fa;
}

/* ── Sources ─────────────────────────────────────────────────────── */
.sources-list {
  font-size: 0.9rem;
  color: #54595d;
}
.sources-list li {
  margin-bottom: 0.5rem;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #eaecf0;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #72777d;
}
.site-footer p {
  max-width: 800px;
  margin: 0 auto 0.5rem;
}
.footer-meta {
  text-align: center;
  margin-top: 1rem;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .article-page {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    order: -1;
  }
  .site-header {
    padding: 1rem;
  }
}
