:root {
  --ink: #1c2420;
  --body: #37413b;
  --muted: #66716a;
  --faint: #8a948d;
  --line: #e3e7e2;
  --line-soft: #edf0ec;
  --paper: #fdfdfc;
  --card: #ffffff;
  --accent: #2f6b3f;
  --accent-dark: #245431;
  --accent-soft: #eef4ef;
  --warn: #b4592c;
  --warn-soft: #fdf6f1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(28, 36, 32, 0.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--paper);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }

h2, h3 { scroll-margin-top: 1.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: 768px; margin-inline: auto; padding-inline: 1.25rem; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(253, 253, 252, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-block: 0.85rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-logo:hover { text-decoration: none; color: var(--accent); }
.site-logo svg { width: 22px; height: 22px; flex-shrink: 0; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.35rem; }
.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  padding-block: 0.25rem;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent); }

.hero {
  padding-block: 4rem 3.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  max-width: 21ch;
  margin-bottom: 1rem;
}
.hero .dek {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.path-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 2.75rem 0;
}
.path-step {
  background: var(--card);
  padding: 1.4rem 1.4rem 1.5rem;
}
.path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.path-step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.path-step p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.path-step a { font-size: 0.92rem; font-weight: 600; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 3.5rem 0 1.4rem;
}
.section-head h2 { font-size: 1.45rem; }
.section-head .more { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-body { padding: 2rem 2.1rem; display: flex; flex-direction: column; justify-content: center; }
.feature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.feature-body h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature-body h3 a { color: var(--ink); }
.feature-body h3 a:hover { color: var(--accent); text-decoration: none; }
.feature-body p { font-size: 0.96rem; color: var(--muted); margin-bottom: 1rem; }
.feature-link { font-weight: 600; font-size: 0.94rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card-body { padding: 1.05rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.02rem; line-height: 1.4; margin-bottom: 0.45rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--accent); text-decoration: none; }
.card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.editors-band {
  margin-block: 3.75rem;
  border-block: 1px solid var(--line);
  padding-block: 2.25rem;
}
.editors-band h2 { font-size: 1.3rem; margin-bottom: 1.4rem; }
.editors-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.editor-chip { display: flex; gap: 1rem; align-items: flex-start; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.editor-chip strong { display: block; color: var(--ink); font-size: 0.98rem; }
.editor-chip span { display: block; font-size: 0.87rem; color: var(--muted); line-height: 1.55; }
.editor-chip a { font-size: 0.86rem; font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fafbf9;
  margin-top: 4rem;
  padding-block: 2.75rem 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 0.6rem; }
.footer-logo {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  color: var(--muted);
  padding-block: 0.22rem;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-legal {
  padding-top: 1.5rem;
  color: var(--faint);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--faint);
  padding-top: 1.75rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumb-sep { margin: 0 0.45rem; color: var(--line); }
.breadcrumb-current { color: var(--muted); }

.post-header { padding-top: 1.5rem; }
.post-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.post-header h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  margin-bottom: 0.9rem;
}
.post-dek {
  font-size: 1.14rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 2rem;
}
.post-meta .avatar { width: 30px; height: 30px; font-size: 0.72rem; }
.post-meta strong { color: var(--ink); font-weight: 600; }
.post-meta .dot { color: var(--line); }

.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.2rem;
  margin-bottom: 2.25rem;
  background: var(--card);
}
.toc summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  font-size: 0.95rem;
}
.toc ul { margin: 0.7rem 0 0.3rem 1.2rem; }
.toc li { margin-bottom: 0.3rem; font-size: 0.93rem; }
.toc a { color: var(--body); }
.toc a:hover { color: var(--accent); }

.post > p { margin-bottom: 1.25rem; }
.post h2 {
  font-size: 1.42rem;
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.post h3 { font-size: 1.14rem; margin: 2.1rem 0 0.7rem; }
.post ul, .post ol { margin: 0 0 1.3rem 1.5rem; }
.post li { margin-bottom: 0.45rem; }

.article-figure { margin: 2.25rem 0; }
.article-figure img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  width: 100%;
  display: block;
}
.article-figure figcaption {
  font-size: 0.83rem;
  color: var(--faint);
  margin-top: 0.6rem;
  line-height: 1.55;
}

.table-wrap { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--card);
}
th, td { padding: 0.65rem 0.95rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #f7f9f6;
  border-bottom: 1px solid var(--line);
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #fbfcfa; }

.results-context { font-size: 0.84rem; color: var(--faint); font-style: italic; margin-top: -0.9rem; margin-bottom: 1.5rem; }

.safety-box {
  border-left: 4px solid var(--warn);
  background: var(--warn-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.35rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.inline-product-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #fbf7ee;
  border: 1px solid #eadfc8;
  border-radius: var(--radius-sm);
  margin: 1.75rem 0;
}
.inline-product-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: none;
  flex-shrink: 0;
}
.inline-product-info { flex: 1; }
.inline-product-info a { font-weight: 650; color: var(--ink); font-size: 0.97rem; }
.inline-product-info a:hover { color: var(--accent); }
.inline-product-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; margin-bottom: 0 !important; }

.ad-container {
  margin: 2.75rem 0;
  padding-block: 0.5rem;
  border-block: 1px solid var(--line-soft);
  text-align: center;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ad-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
}

blockquote {
  border-left: 4px solid #dde8de;
  padding: 0.9rem 1.25rem;
  margin: 1.75rem 0;
  color: var(--muted);
  background: #fafbf9;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: var(--accent-soft);
  border: 1px solid #dde8de;
  border-radius: var(--radius);
  margin: 3rem 0 0;
}
.author-details { flex: 1; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.author-name { font-weight: 700; color: var(--ink); display: block; font-size: 0.98rem; }
.author-credential { font-size: 0.84rem; color: var(--muted); display: block; margin-top: 0.1rem; }
.author-bio { font-size: 0.9rem; color: var(--body); margin-top: 0.5rem; margin-bottom: 0; line-height: 1.6; }

.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.sources h2 { font-size: 1.15rem; margin: 0 0 0.9rem; border: none; padding: 0; }
.sources ol { margin-left: 1.4rem; }
.sources li { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.45rem; }
.sources-note { font-size: 0.8rem; color: var(--faint); margin-top: 0.8rem; }

.related-articles { margin: 3.25rem 0 0; }
.related-articles h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem; margin-top: 0; list-style: none; }
.related-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; }
.related-card h4 { font-size: 0.94rem; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.4; }
.related-card:hover h4 { color: var(--accent); }
.related-card p { font-size: 0.82rem; color: var(--muted); margin-bottom: 0; line-height: 1.5; }

.page-body { padding-bottom: 1rem; }
.page-body h2 { font-size: 1.42rem; margin: 2.75rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-soft); }
.page-body h3 { font-size: 1.14rem; margin: 2rem 0 0.7rem; }
.page-body p { margin-bottom: 1.2rem; }
.page-body ul, .page-body ol { margin: 1rem 0 1.3rem 1.5rem; }
.page-body li { margin-bottom: 0.45rem; }

.prose-intro { font-size: 1.1rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card img { max-height: 300px; }
  .editors-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .path-strip { grid-template-columns: 1fr; }
  .hero { padding-block: 3rem 2.5rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { padding-block: 0.7rem; }
  .site-nav { gap: 0.15rem 1rem; }
  .post-header h1 { font-size: 1.65rem; }
  .post-dek { font-size: 1.04rem; }
  .card-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .inline-product-card { flex-direction: column; align-items: flex-start; }
  th, td { padding: 0.55rem 0.7rem; }
}
