/* LongevityTech Lab — Core Stylesheet
   Minimalist, modern, mobile-first, dark-mode aware.
   Single file to keep requests low. */

/* ---------- CSS Reset (minimal) ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand: #0F766E;          /* longevity teal */
  --brand-dark: #0c5d56;
  --brand-light: #14b8a6;
  --accent: #f59e0b;         /* warm amber for CTAs */
  --accent-dark: #d97706;

  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --link: #0F766E;
  --link-hover: #0c5d56;
  --code-bg: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing & layout */
  --max-w: 1200px;
  --max-w-prose: 760px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 180ms ease;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --bg-soft: #131c30;
  --bg-card: #111a2c;
  --border: #1f2a40;
  --text: #e8edf6;
  --text-muted: #aab4c5;
  --text-soft: #8290a8;
  --link: #2dd4bf;
  --link-hover: #5eead4;
  --code-bg: #131c30;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
h4 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); text-decoration: underline; }

ul, ol { margin: 0 0 1.1rem 1.4rem; }
li { margin: 0.35rem 0; }

img { height: auto; border-radius: var(--radius); }

code { font-family: var(--font-mono); background: var(--code-bg); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.92em; }

strong { font-weight: 700; color: var(--text); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.prose { max-width: var(--max-w-prose); margin: 0 auto; }
.prose-wide { max-width: 940px; margin: 0 auto; }

section { padding: 4rem 0; }
section.alt { background: var(--bg-alt); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { white-space: nowrap; }
.brand-text small { display: block; font-size: 0.66rem; font-weight: 500; color: var(--text-soft); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover {
  background: var(--bg-soft);
  color: var(--text);
  text-decoration: none;
}

.theme-toggle {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    gap: 0.15rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 50%),
    radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--brand-light);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-light) 25%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero-stats .stat { text-align: left; }
.hero-stats .stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #1a1206; }
.btn-accent:hover { background: var(--accent-dark); color: #1a1206; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-amazon {
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
}
.btn-amazon:hover { background: var(--accent-dark); color: #1a1206; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.card-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 1rem; }
.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand);
  font-size: 0.92rem;
}

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

/* ---------- Article body ---------- */
.article-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 0.45rem; opacity: 0.6; }

.article-body { padding: 2rem 0 4rem; }
.article-body p, .article-body li { color: var(--text-muted); }
.article-body h2, .article-body h3, .article-body h4 { color: var(--text); }
.article-body h2 { padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 3rem; }
.article-body h2:first-of-type { border-top: none; padding-top: 0; }
.article-body blockquote {
  border-left: 3px solid var(--brand);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body ul, .article-body ol { padding-left: 1.3rem; }

/* Affiliate disclosure callout */
.affiliate-disclosure {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
}
.affiliate-disclosure strong { color: var(--text); }

/* Medical disclaimer callout */
.medical-disclaimer {
  background: color-mix(in srgb, #f59e0b 8%, var(--bg-alt));
  border: 1px solid color-mix(in srgb, #f59e0b 30%, var(--border));
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 2rem 0;
}
.medical-disclaimer strong { color: var(--text); }

/* ---------- Product card ---------- */
.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.product h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.product .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product .badge.best { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-dark); }
.product .badge.budget { background: color-mix(in srgb, #3b82f6 14%, transparent); color: #2563eb; }
[data-theme="dark"] .product .badge.budget { color: #60a5fa; }
.product .pros, .product .cons {
  margin: 0.5rem 0;
  font-size: 0.93rem;
}
.product .pros strong, .product .cons strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.product .pros strong { color: #16a34a; }
[data-theme="dark"] .product .pros strong { color: #4ade80; }
.product .cons strong { color: #dc2626; }
[data-theme="dark"] .product .cons strong { color: #f87171; }
.product .pros li, .product .cons li { color: var(--text-muted); margin: 0.2rem 0; }
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-cta .price-hint { font-size: 0.85rem; color: var(--text-soft); }

/* ---------- Comparison table ---------- */
.compare-table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 540px;
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-alt); }
.compare-table .check { color: #16a34a; font-weight: 700; }
[data-theme="dark"] .compare-table .check { color: #4ade80; }
.compare-table .cross { color: #dc2626; }
[data-theme="dark"] .compare-table .cross { color: #f87171; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--max-w-prose); margin: 2rem auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 1.2rem 1.1rem; color: var(--text-muted); }

/* ---------- TOC ---------- */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2.5rem;
}
.toc h4 { margin: 0 0 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; }
.toc ol li { margin: 0.3rem 0; }

/* ---------- Pillar card ---------- */
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pillar h3 { margin: 0; font-size: 1.3rem; }
.pillar p { color: var(--text-muted); margin: 0; }
.pillar .pillar-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 0.5rem;
}

/* ---------- Inline list ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.chip:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }

/* ---------- Inline ad slot (for AdSense / Mediavine) ---------- */
.ad-slot {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2rem 0;
  min-height: 100px;
  display: grid;
  place-items: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 1.5rem; }
.cta-band .btn { background: #fff; color: var(--brand-dark); }
.cta-band .btn:hover { background: var(--bg-alt); color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.75rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 0.85rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; }
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.45rem 0; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Misc ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.tag {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.divider { height: 1px; background: var(--border); margin: 2rem 0; border: none; }
.muted { color: var(--text-muted); }
.small { font-size: 0.88rem; }
.center { text-align: center; }

.callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}
.callout.tip { border-left: 3px solid var(--brand); }
.callout.warn { border-left: 3px solid var(--accent); }

/* Print friendliness */
@media print {
  .site-header, .site-footer, .nav-toggle, .theme-toggle, .ad-slot, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
