/* mailsummary.to/menopause/ — Warm palette research library */
/* Isolated from main site. No shared nav or branding. */

:root {
  --bg: #faf5ef;
  --bg2: #f7f0e6;
  --text: #3a2a1a;
  --dim: #6b5a4a;
  --muted: #9a8a7a;
  --accent: #c1624a;
  --accent-hover: #a8503a;
  --warm-gold: #d4a35a;
  --warm-border: #e0d5c5;
  --warm-border-light: #ece3d6;
  --card-bg: #fcf8f2;
  --shadow: 0 4px 20px rgba(58,42,26,0.08), 0 0 0 1px rgba(193,98,74,0.06);
  --font: "Georgia", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--warm-border-light);
  text-align: center;
}

.site-header h1 {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.site-header .subtitle {
  font-size: 0.85rem;
  color: var(--dim);
  margin-top: 0.3rem;
}

/* Article styles */
.article { padding: 2rem 0; }

.article h1 {
  font-family: var(--font);
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 700;
}

.article h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--warm-border-light);
}

.article h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--dim);
}

.article p {
  margin: 1rem 0;
}

.article a {
  color: var(--accent);
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.article table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article th, .article td {
  border: 1px solid var(--warm-border);
  padding: 0.7rem;
  text-align: left;
}

.article th {
  background: var(--bg2);
  font-weight: 600;
  color: var(--text);
}

.article tr:nth-child(even) {
  background: var(--bg2);
}

.article blockquote {
  border-left: 3px solid var(--warm-gold);
  margin: 1rem 0;
  padding: 0.6rem 0 0.6rem 1.2rem;
  color: var(--dim);
  font-style: italic;
}

.article code {
  background: var(--bg2);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.article hr {
  border: none;
  border-top: 1px solid var(--warm-border-light);
  margin: 2.5rem 0;
}

.article ul, .article ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article li {
  margin: 0.5rem 0;
}

.article strong {
  color: var(--text);
}

/* Callout boxes */
.callout-warning {
  background: #fdf3ed;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
}

.callout-note {
  background: #f7f0e6;
  border-left: 4px solid var(--warm-gold);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
}

/* Index page */
.research-index {
  padding: 2rem 0;
}

.research-index h1 {
  font-family: var(--font);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.research-index .lead {
  color: var(--dim);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.research-index .article-card {
  background: var(--card-bg);
  border: 1px solid var(--warm-border-light);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.research-index .article-card:hover {
  border-color: var(--warm-gold);
}

.research-index .article-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.research-index .article-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.research-index .article-card h2 a:hover {
  color: var(--accent);
}

.research-index .article-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.research-index .article-card .excerpt {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.5;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--warm-border-light);
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.contact-line {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
  .article h1 { font-size: 1.5rem; }
  .research-index h1 { font-size: 1.4rem; }
  .site-header h1 { font-size: 1.3rem; }
}