:root {
  --ink: #0f1b2d;
  --ink-soft: #4a5568;
  --bg: #ffffff;
  --bg-soft: #fafaf7;
  --card: #ffffff;
  --line: #e8e6df;
  --brand: #2d6a4f;
  --brand-soft: #d8f3dc;
  --brand-dark: #1b4332;
  --accent: #e76f51;
  --gold: #f4a261;
  --shadow: 0 1px 3px rgba(15, 27, 45, 0.06), 0 4px 12px rgba(15, 27, 45, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ====== HEADER ====== */
header.site {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.logo span { color: var(--brand); }
nav.primary a {
  margin-left: 24px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
nav.primary a:hover { color: var(--brand); }
nav.primary a.lang-switch {
  margin-left: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
nav.primary a.lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
}
@media (max-width: 700px) {
  nav.primary a { margin-left: 14px; font-size: 14px; }
  nav.primary a.lang-switch { margin-left: 10px; }
}

/* ====== BREADCRUMBS ====== */
.crumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* ====== HERO ====== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 16px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  font-weight: 800;
}
.meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 16px;
}
.meta .dot { color: var(--line); }

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ====== QUICK ANSWER ====== */
.quick {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0 0;
}
.quick h2 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  font-weight: 700;
}
.quick p { margin: 0; font-size: 17px; }

/* ====== AFFILIATE DISCLOSURE ====== */
.disclosure {
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 0 24px;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ====== MAIN GRID ====== */
main.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
main.solo {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
@media (max-width: 880px) {
  main.page { grid-template-columns: 1fr; }
}

article h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  font-weight: 700;
}
article > h2:first-child { margin-top: 0; }
article h3 { font-size: 19px; margin: 24px 0 8px; }
article p { margin: 0 0 14px; font-size: 16px; }
article ul, article ol { font-size: 16px; }

/* ====== COMPARISON TABLE ====== */
.vs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vs-table th,
.vs-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.vs-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vs-table tr:last-child td { border-bottom: none; }
.vs-table .feat { font-weight: 600; width: 32%; }
.check { color: var(--brand); font-weight: 700; }
.cross { color: var(--accent); font-weight: 700; }

/* ====== PROS/CONS CARDS ====== */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}
@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; }
}
.pc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.pc h4 {
  margin: 0 0 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.pc ul { margin: 0; padding-left: 18px; font-size: 14px; }
.pc li { margin-bottom: 6px; }
.pc.good h4 { color: var(--brand); }
.pc.bad h4 { color: var(--accent); }

/* ====== VERDICT ====== */
.verdict {
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: var(--shadow);
}
.verdict h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}
.verdict p { font-size: 17px; margin: 0 0 12px; }
.verdict strong { color: var(--ink); }

/* ====== CTA BUTTONS ====== */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 0;
}
@media (max-width: 600px) {
  .cta-row { grid-template-columns: 1fr; }
}
.cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.18);
}
.cta-primary {
  background: var(--brand);
  color: white;
}
.cta-secondary {
  background: white;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

/* ====== FAQ ====== */
details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
}
details.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  font-weight: 400;
}
details.faq[open] summary::after { content: "−"; }
details.faq[open] { box-shadow: var(--shadow); }
details.faq .faq-body {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ====== SIDEBAR ====== */
aside.side {
  position: sticky;
  top: 80px;
  align-self: start;
}
/* Reserved ad dimensions — prevents CLS when AdSense loads.
   Each variant matches a real AdSense unit size (label adds ~30px). */
.ad-slot {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-slot small {
  display: block;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.ad-slot.sidebar    { width: 300px; min-height: 280px; max-width: 100%; }
.ad-slot.in-article { width: 100%;  min-height: 280px; margin: 28px 0; }
.ad-slot.leaderboard { width: 100%; min-height: 120px; max-width: 728px; margin: 20px auto; }

/* Force explicit dimensions on every image to prevent CLS.
   If an image has no width/height attrs, give it an aspect ratio fallback. */
img { aspect-ratio: attr(width) / attr(height); }
img:not([width]):not([height]) { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.side-card h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.side-card ul { margin: 0; padding-left: 18px; font-size: 14px; }
.side-card li { margin-bottom: 8px; }
.side-card li a {
  color: var(--ink);
  text-decoration: none;
}
.side-card li a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ====== HOMEPAGE HERO ====== */
.home-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, white 100%);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.home-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
  font-weight: 800;
  line-height: 1.1;
}
.home-hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 28px;
}
.home-hero .cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0;
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.section-head {
  text-align: center;
  margin: 56px 0 24px;
}
.section-head h2 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}
.compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 27, 45, 0.08);
}
.compare-card h3 { margin: 0 0 6px; font-size: 18px; }
.compare-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ====== FOOTER ====== */
footer.site {
  background: #0f1b2d;
  color: #b4bcc8;
  padding: 40px 24px;
  font-size: 14px;
  margin-top: 64px;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 28px;
  padding: 0;
}
@media (max-width: 1000px) {
  footer.site .wrap { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
footer.site .logo { color: white; font-size: 17px; }
footer.site .logo span { color: #74c69d; }
footer.site h5 {
  color: white;
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
footer.site a {
  color: #b4bcc8;
  text-decoration: none;
  display: block;
  padding: 4px 0;
}
footer.site a:hover { color: white; }
footer.site .blurb {
  margin: 12px 0 0;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.5;
}
footer.site .legal {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #1f3047;
  font-size: 12px;
  color: #6b7689;
}

/* ====== UTILS ====== */
.notice {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
