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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f9f9f9;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 1.75;
}

/* ── Layout ── */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── Header ── */
.site-header {
  background: #fff;
  border-top: 4px solid #0ea5e9;
  padding: 20px 0 16px;
  margin-bottom: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header .page-wrap {
  padding-bottom: 0;
}
.site-header .brand {
  font-size: 15px;
  font-weight: 700;
  color: #0ea5e9;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #0ea5e9;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #aaa; }

/* ── Article card ── */
.article-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 40px 48px 48px;
}

/* ── Typography ── */
h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  color: #111;
  margin-bottom: 20px;
  font-weight: 800;
}
h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0ea5e9;
  margin: 36px 0 12px;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0284c7;
  margin: 28px 0 8px;
}
p { margin-bottom: 18px; }
a { color: #0ea5e9; }
a:hover { color: #0284c7; }

ul, ol {
  margin: 0 0 18px 24px;
}
ul li, ol li { margin-bottom: 6px; }

/* ── Pro Tip callout ── */
.pro-tip {
  border-left: 4px solid #0ea5e9;
  background: #f0f9ff;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 16px;
}
.pro-tip strong {
  display: block;
  color: #0284c7;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* ── Comparison table ── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th {
  background: #0ea5e9;
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #f0f9ff; }

/* ── Key Takeaways ── */
.key-takeaways {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 36px 0 0;
}
.key-takeaways h2 {
  color: #16a34a;
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.key-takeaways ul {
  margin-bottom: 0;
}

/* ── Related Articles ── */
.related {
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
  padding-top: 28px;
}
.related h2 {
  color: #374151;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}
.related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related ul li::before { content: none; }
.related ul a {
  font-size: 16px;
  color: #0ea5e9;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.related ul a::before {
  content: "→";
  flex-shrink: 0;
  color: #0ea5e9;
}
.related ul a:hover { text-decoration: underline; }

/* ── Index page ── */
.index-hero {
  text-align: center;
  padding: 48px 0 36px;
}
.index-hero h1 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.index-hero p {
  font-size: 17px;
  color: #444;
  max-width: 560px;
  margin: 0 auto;
}
.cluster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.cluster-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px 28px 24px;
  border-top: 3px solid #0ea5e9;
}
.cluster-card h2 {
  font-size: 1rem;
  color: #0ea5e9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.cluster-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cluster-card ul li::before { content: none; }
.cluster-card ul a {
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
}
.cluster-card ul a:hover { color: #0ea5e9; text-decoration: underline; }

/* ── Product Banner CTA ── */
.product-banner-card {
  background: linear-gradient(135deg, #0c1a2e 0%, #0a1628 100%);
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0 0;
}
.product-banner-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.product-banner-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}
.product-banner-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 20px;
}
.btn-accent {
  display: inline-block;
  background: #0ea5e9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-accent:hover { background: #0284c7; color: #fff; }

/* ── Mobile ── */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .article-card { padding: 24px 20px 32px; }
  h1 { font-size: 1.5rem; }
  .cluster-grid { grid-template-columns: 1fr; }
  .index-hero h1 { font-size: 1.5rem; }
}
