:root {
  --pine: #285742;
  --pine-deep: #1f4333;
  --sage: #edf4ef;
  --sage-border: #d2e0d7;
  --paper: #fbfaf7;
  --ink: #21262d;
  --muted: #5e665f;
  --panel: #ffffff;
  --line: #dde5df;
  --max: 1120px;
  --rail: 48rem;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
}
a { color: var(--pine); }
a:hover { color: var(--pine-deep); }
nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  text-decoration: none;
  color: var(--pine);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
}
.nav-badge {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--pine);
  font-size: 1rem;
}
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; padding: 0.35rem 0.15rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--pine); border-bottom-color: var(--pine); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--pine); }
.hero {
  padding: 4rem 1.25rem 2.8rem;
  background: linear-gradient(180deg, #f8fcf9, #eef5f0);
  border-bottom: 1px solid var(--line);
}
.hero-inner, .page-header-inner { max-width: var(--max); margin: 0 auto; }
.hero h1, .page-header h1 {
  margin: 0 0 0.9rem;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  color: var(--pine-deep);
  max-width: 14ch;
}
.hero p, .page-header p { margin: 0; max-width: 48rem; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.btn, .btn-outline, .product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn, .product-link { background: var(--pine); color: #fff; }
.btn:hover, .product-link:hover { background: var(--pine-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--pine); border: 1px solid var(--line); }
main, .container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4rem; }
.wrap, .article-wrap { max-width: var(--rail); margin: 2.75rem auto 0; padding: 0 1.25rem; }
.page-header { padding: 3rem 1.25rem 2.25rem; background: linear-gradient(180deg, #f8fcf9, #eef5f0); border-bottom: 1px solid var(--line); }
.breadcrumb, .article-meta, .hero-meta, .affiliate-note { color: var(--muted); font-size: 0.9rem; }
.lead, .intro-block { font-size: 1.08rem; color: var(--muted); max-width: 44rem; }
section { padding: 2.6rem 0 0.9rem; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.section-title, h2 {
  font-family: Georgia, Cambria, serif;
  color: var(--pine-deep);
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}
h3, h4 { color: var(--pine-deep); margin: 1.5rem 0 0.5rem; }
.card-grid, .article-grid, .topic-grid, .key-facts, .stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.article-card, .topic-item, .key-fact, .stat-card, .supplement-section, .product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
}
.article-card, .product-card { display: flex; flex-direction: column; }
.card-body { padding: 0; }
.card-tag, .tag, .evidence-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--sage);
  color: var(--pine);
  border: 1px solid var(--sage-border);
}
.card-title, .card-title-muted, .product-name { font-size: 1.05rem; line-height: 1.25; margin: 0 0 0.4rem; color: var(--pine-deep); }
.card-excerpt, .card-coming, .stat-label, .key-fact-text, .product-desc { color: var(--muted); }
.card-read-more { margin-top: auto; font-weight: 700; color: var(--pine); }
.callout, .guideline-box, .opinion-box, .disclaimer, .warn, .internal-links {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}
.callout strong, .guideline-box strong, .opinion-label { color: var(--pine); }
.table-wrap, .t-score-visual { overflow-x: auto; }
table, .province-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  font-size: 0.95rem;
}
th, .province-table th { background: var(--pine); color: #fff; text-align: left; padding: 0.9rem 1rem; }
td, .province-table td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
tr:nth-child(even) td, .province-table tr:nth-child(even) td { background: #fafcfb; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; }
.sidebar { position: sticky; top: 6rem; align-self: start; }
.site-footer {
  max-width: var(--max);
  margin: 3rem auto 2rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.site-footer p { margin: 0 0 0.5rem; color: var(--muted); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-links a { text-decoration: none; color: var(--pine); font-weight: 650; }
@media (max-width: 900px) {
  .card-grid, .article-grid, .topic-grid, .key-facts, .stat-grid, .content-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; right: 1rem; top: 64px; background: #fff; border: 1px solid var(--line); padding: 0.75rem; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); width: min(20rem, calc(100vw - 2rem)); }
  .nav-links.open { display: grid; }
  .hero h1, .page-header h1 { max-width: none; }
  .card-grid, .article-grid, .topic-grid, .key-facts, .stat-grid { grid-template-columns: 1fr; }
}
