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

:root {
  --bg: #f5f0e8;
  --surface: #ebe5da;
  --muted: #6b7a6e;
  --text: #1a2e22;
  --card: #fffdf8;
  --border: #d6d0c4;
  --accent: #31c178;
  --accent-2: #1e6b42;
  --accent-dark: #28a366;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
  --radius: 16px;
  --maxw: 1100px;
  --amber: #c4891a;
  --amber-soft: rgba(196, 137, 26, 0.1);
  --green-soft: rgba(49, 193, 120, 0.1);
}

html { scroll-behavior: smooth; }
article h2[id] { scroll-margin-top: 96px; }
body {
  font-family: 'Source Sans 3', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(10px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; text-decoration: none; color: var(--text); font-size: 16px;
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 999px;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  border-radius: 999px;
  font-family: 'Source Sans 3', sans-serif;
  transition: background 0.2s;
}
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 85%, white); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* HERO */
.post-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 20px 12px;
}
.post-kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 16px;
}
.post-hero .post-sub {
  font-size: 19px;
  color: color-mix(in oklab, var(--muted) 86%, white 14%);
  line-height: 1.5;
  margin-bottom: 20px;
}
.post-meta {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* LAYOUT WITH FLOATING TOC */
.layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 780px) 240px;
  gap: 56px;
  align-items: start;
  justify-content: center;
}
.layout article { max-width: none; margin: 0; padding: 0; }
.layout.layout-single { grid-template-columns: minmax(0, 780px); }
.toc {
  position: sticky;
  top: 105px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.toc strong { display: block; margin-bottom: 12px; font-size: 15px; }
.toc a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  padding: 7px 0;
  transition: color 0.15s;
}
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--accent-2); font-weight: 700; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* ARTICLE */
article h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  margin: 44px 0 14px;
}
article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin: 32px 0 10px;
}
article p { font-size: 17px; margin: 0 0 18px; }
article ul, article ol { margin: 0 0 18px 24px; font-size: 17px; }
article li { margin-bottom: 8px; }
article a { color: var(--accent-2); }
article strong { font-weight: 700; }

/* Verdict box */
.verdict {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px 20px;
  margin: 26px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.verdict::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: -24px -26px 20px;
}
.verdict h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.verdict p { font-size: 16.5px; margin-bottom: 12px; }
.verdict p:last-child { margin-bottom: 0; }

/* Comparison table */
.cmp-table-wrap {
  margin: 26px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
table.cmp th, table.cmp td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
table.cmp thead th {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
table.cmp thead th.wc-col { color: var(--accent-2); }
table.cmp tbody th {
  font-weight: 600;
  color: var(--text);
  width: 30%;
  font-size: 14.5px;
}
table.cmp td { color: var(--muted); }
table.cmp td strong { color: var(--text); }
table.cmp .yes { color: var(--accent-2); font-weight: 600; }
table.cmp .no { color: var(--muted); }

/* Callout */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 26px 0;
}
.callout h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.callout p, .callout li { font-size: 16px; }
.callout ul, .callout ol { margin-left: 22px; }

/* Pick cards: who should choose which */
.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
}
.pick-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.pick-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pick-card ul { margin: 0 0 0 20px; font-size: 15.5px; }
.pick-card li { margin-bottom: 7px; color: var(--muted); }
.pick-card li strong { color: var(--text); }
@media (max-width: 640px) { .pick-grid { grid-template-columns: 1fr; } }

/* Mid-article CTA */
.cta-band {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 40px 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}
.cta-band p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.cta-band .fine-print { font-size: 13px; color: var(--muted); opacity: 0.6; margin: 10px 0 0; }

/* Cluster nav */
.cluster-nav {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px 26px;
  margin-top: 48px;
  box-shadow: var(--shadow);
}
.cluster-nav h2 { margin: 0 0 6px; font-size: 24px; }
.cluster-nav .cluster-nav-lead { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }
.cluster-nav ul {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}
.cluster-nav li { margin: 0; font-size: 15.5px; }
.cluster-nav ul a { font-weight: 600; color: var(--accent-2); text-decoration: none; }
.cluster-nav ul a:hover { text-decoration: underline; }
@media (max-width: 560px) { .cluster-nav ul { grid-template-columns: 1fr; } }

/* Sources */
.sources {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
}
.sources h2 { margin-top: 0; }
.sources li { font-size: 15.5px; color: var(--muted); }
.sources p { font-size: 14.5px; color: var(--muted); }

/* FOOTER */
footer {
  padding: 32px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* Compare hub index */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
}
.hub-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.hub-card:hover { border-color: var(--accent-dark); }
.hub-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}
.hub-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }
