:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-soft: #555;
  --text-muted: #888;
  --accent: #3d5afe;
  --accent-soft: #e8eaff;
  --accent-dark: #1a3a8a;
  --teal: #0f6e56;
  --teal-soft: #e1f5ee;
  --border: #e8e8ee;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
  --max-width: 800px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #e8eaff 0%, #e1f5ee 100%);
  padding: 64px 24px;
  text-align: center;
}
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* Main content */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* Article cards */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.article-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.article-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.article-card .tag.teal {
  color: var(--teal);
  background: var(--teal-soft);
}
.article-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--accent); text-decoration: none; }
.article-card .excerpt {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 12px;
}
.article-card .meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

/* Section title */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Article page */
.article-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}
.article-header .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.article-header .meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.article-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-body p {
  margin-bottom: 20px;
  color: var(--text);
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

/* Affiliate callout */
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* Product card */
.product-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
  align-items: flex-start;
}
.product-card .rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.product-card .info h3 {
  margin-top: 0;
  font-size: 18px;
}
.product-card .info .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}
.product-card .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  text-decoration: none;
}
.product-card .btn:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}
.product-card .pros-cons {
  display: flex;
  gap: 32px;
  margin-top: 12px;
  font-size: 14px;
}
.product-card .pros-cons ul {
  margin: 4px 0 0 18px;
}

/* Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.comparison-table th {
  background: var(--bg-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 32px 24px;
  text-align: center;
}
.site-footer .wrap {
  max-width: 960px;
  margin: 0 auto;
}
.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.site-footer .disclosure {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .article-header h1 { font-size: 24px; }
  .product-card { flex-direction: column; }
  .product-card .pros-cons { flex-direction: column; gap: 12px; }
}

/* Newsletter */
.newsletter {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 48px auto;
  max-width: var(--max-width);
}
.newsletter h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.newsletter p {
  color: var(--text-soft);
  margin-bottom: 20px;
}
.newsletter input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  width: 240px;
  max-width: 100%;
}
.newsletter button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
}
.newsletter button:hover { background: var(--accent-dark); }

/* About page */
.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}
.about-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.about-content p {
  margin-bottom: 20px;
  color: var(--text-soft);
}
