/* ReviewAffix — editorial content styles */

:root{
  --bg:#faf9f6;
  --surface:#ffffff;
  --text:#26302b;
  --muted:#5b655f;
  --border:#e2e0d8;
  --accent:#4b7c5b;
  --accent-dark:#3a6248;
  --accent-tint:#eef3ec;
  --warn-bg:#fbf3e8;
  --warn-border:#e7c98f;
  --link:#3a6248;
  --focus:#1b4d2e;
  --max:800px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  background:var(--bg);
  color:var(--text);
  font-family:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,serif;
  font-size:18px;
  line-height:1.65;
  margin:0;
  -webkit-font-smoothing:antialiased;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  background:var(--accent-dark);
  color:#fff;
  padding:10px 16px;
  border-radius:4px;
  z-index:1000;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:15px;
  text-decoration:none;
}
.skip-link:focus{
  left:12px;
  top:12px;
}

a{color:var(--link);text-underline-offset:2px}
a:hover{color:var(--accent-dark)}

:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
  border-radius:2px;
}

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

.site-header{
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.site-header .wrap{
  padding:18px 20px 16px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 16px;
}
.logo{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:1.4em;
  font-weight:800;
  color:var(--text);
  text-decoration:none;
  letter-spacing:-0.01em;
}
.logo:hover{color:var(--accent-dark)}
.tagline{
  color:var(--muted);
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.85em;
  margin:0;
}
.site-nav{
  width:100%;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.85em;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:4px;
}
.site-nav a{color:var(--muted);text-decoration:none}
.site-nav a:hover{color:var(--accent-dark);text-decoration:underline}

.breadcrumbs{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.82em;
  color:var(--muted);
  margin:18px 0 0;
}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--accent-dark)}
.breadcrumbs .sep{margin:0 6px;color:var(--border)}

main.article{
  max-width:var(--max);
  margin:0 auto;
  padding:20px 20px 70px;
}

h1{font-size:1.85em;line-height:1.25;margin:0.4em 0 0.3em;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:800;letter-spacing:-0.01em}
h2{font-size:1.4em;margin-top:1.7em;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:700;border-top:1px solid var(--border);padding-top:0.7em}
h3{font-size:1.12em;margin-top:1.4em;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:700}
p{margin:0.95em 0}
ul,ol{margin:0.9em 0;padding-left:1.4em}
li{margin:0.35em 0}

.subhead{
  font-size:1.12em;
  color:var(--muted);
  margin:0 0 1em;
}

.meta-line{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.82em;
  color:var(--muted);
  margin:0.4em 0 1.4em;
}

.disclosure-banner{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.8em;
  font-style:italic;
  color:var(--muted);
  margin:10px 0 26px;
  line-height:1.5;
}
.disclosure-banner a{color:var(--muted);text-decoration:underline}

.medical-notice{
  background:var(--warn-bg);
  border:1px solid var(--warn-border);
  padding:14px 16px;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.85em;
  color:var(--text);
  margin:0 0 28px;
  border-radius:4px;
  line-height:1.55;
}
.medical-notice strong{display:block;margin-bottom:4px}

.toc{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  padding:16px 20px;
  margin:24px 0 32px;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.92em;
}
.toc h2{margin:0 0 8px;font-size:1em;border-top:none;padding-top:0}
.toc ol{margin:0;padding-left:1.2em}
.toc li{margin:0.3em 0}
.toc a{text-decoration:none}
.toc a:hover{text-decoration:underline}

/* Images */
.figure{margin:28px 0;text-align:center}
.figure img{max-width:100%;height:auto;border-radius:8px;border:1px solid var(--border);display:block;margin:0 auto}
.figure.bottle img{max-width:280px}
.figure.label img{max-width:100%}
.figure figcaption{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.8em;
  color:var(--muted);
  margin-top:8px;
}

/* Tables */
.table-wrap{overflow-x:auto;margin:20px 0}
table{
  width:100%;
  border-collapse:collapse;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.88em;
}
table caption{
  text-align:left;
  font-size:0.85em;
  color:var(--muted);
  margin-bottom:8px;
}
th,td{
  border:1px solid var(--border);
  padding:9px 12px;
  text-align:left;
  vertical-align:top;
}
th{background:var(--accent-tint);font-weight:700}
tbody tr:nth-child(even){background:rgba(0,0,0,0.015)}

/* Evidence grading */
.evidence-grade{
  display:inline-block;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.72em;
  font-weight:700;
  letter-spacing:0.03em;
  text-transform:uppercase;
  padding:2px 8px;
  border-radius:999px;
  white-space:nowrap;
}
.grade-label{background:#dfeee2;color:#1f5c33}
.grade-claim{background:#fbe9d7;color:#8a4b0f}
.grade-ingredient{background:#e3ecf7;color:#294d80}
.grade-unestablished{background:#f3e2e2;color:#8a2f2f}

/* Pros / limitations */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}
.pros,.cons{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px 18px}
.pros h3,.cons h3{margin-top:0}

/* CTA */
.cta-box{
  background:var(--accent-tint);
  border:1px solid var(--border);
  border-radius:10px;
  padding:24px;
  text-align:center;
  margin:32px 0;
}
.cta-box h2{margin-top:0;border-top:none;padding-top:0}
.cta-box p{margin-top:0}
.cta{
  display:inline-block;
  background:var(--accent-dark);
  color:#fff !important;
  padding:14px 26px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.95em;
}
.cta:hover{background:var(--focus)}
.cta-inline{text-align:center;margin:26px 0}
.cta-inline .cta-sub{
  display:block;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.78em;
  color:var(--muted);
  margin-top:8px;
}

.guarantee-box{
  border:1px dashed var(--accent);
  border-radius:8px;
  padding:16px 18px;
  margin:24px 0;
  background:var(--surface);
}
.guarantee-box h3{margin-top:0}

/* Review card / index */
.review-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  border:1px solid var(--border);
  border-radius:10px;
  padding:18px;
  margin-top:20px;
  background:var(--surface);
}
.card-thumb{width:80px;height:auto;border-radius:6px}
.review-card h2{margin-top:0;font-size:1.15em;border-top:none;padding-top:0}

/* FAQ */
.faq-item{border-bottom:1px solid var(--border);padding:16px 0}
.faq-item:last-child{border-bottom:none}
.faq-item h3{margin-top:0}

/* References */
.references{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:0.82em;color:var(--muted)}
.references ol{padding-left:1.4em}
.references li{margin:0.6em 0}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background:var(--surface);
  margin-top:50px;
}
.site-footer .wrap{
  padding:24px 20px 32px;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:0.82em;
  color:var(--muted);
}
.footer-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:12px}
.site-footer a{color:var(--muted)}
.site-footer a:hover{color:var(--accent-dark)}
.footer-fine{line-height:1.6}

@media (max-width:600px){
  body{font-size:16.5px}
  .pros-cons{grid-template-columns:1fr}
  h1{font-size:1.55em}
  h2{font-size:1.25em}
  main.article{padding:16px 16px 60px}
}
