:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #111827;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --success: #059669;
  --warning: #d97706;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.wide-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 1.25rem; }
header h1 a { color: var(--primary); text-decoration: none; }
nav a { margin-left: 24px; color: var(--text-light); text-decoration: none; font-size: 0.9rem; }
nav a:hover { color: var(--primary); }

/* Affiliate disclosure banner */
.disclosure-banner {
  background: #fef3c7; border-bottom: 1px solid #f59e0b;
  padding: 8px 0; font-size: 0.8rem; color: #92400e; text-align: center;
}

/* Article */
article { padding: 40px 0; }
article h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 16px; }
article h2 { font-size: 1.5rem; margin: 32px 0 16px; padding-top: 16px; border-top: 1px solid var(--border); }
article h3 { font-size: 1.2rem; margin: 24px 0 12px; }
article p { margin-bottom: 16px; }
article ul, article ol { margin: 16px 0; padding-left: 24px; }
article li { margin-bottom: 8px; }
article img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* CTA buttons */
.cta-button {
  display: inline-block; background: var(--primary); color: white;
  padding: 12px 24px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; transition: background 0.2s;
}
.cta-button:hover { background: var(--primary-dark); }

/* Product cards */
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin: 16px 0; background: var(--bg-alt);
}
.product-card h3 { margin-top: 0; }
.product-card .price { font-size: 1.5rem; font-weight: 700; color: var(--success); }

/* Article list */
.article-list { list-style: none; padding: 0; }
.article-list li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.article-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.article-list a:hover { color: var(--primary); }
.article-list .meta { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 16px 0; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-alt); font-weight: 600; }

/* Footer */
footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 32px 0; margin-top: 60px; font-size: 0.85rem; color: var(--text-light);
}
footer .links a { margin-right: 16px; color: var(--text-light); text-decoration: none; }
footer .links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 640px) {
  article h1 { font-size: 1.5rem; }
  nav a { margin-left: 12px; font-size: 0.8rem; }
}