/* UI-1: Minimal Editorial (Wirecutter-inspired)
   Site 01 FlashSaves
   Palette: white bg, near-black text, deep navy accent, hairline dividers
   Type: Georgia serif headings, Inter body
   Layout: single column, max 720px content */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #fafafa;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #1a365d;
  --accent-soft: #eef2f7;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 720px;
  --maxw-wide: 1100px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; color: var(--text); }

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; }
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

/* Container */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 40px; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero .lead { font-size: 19px; color: var(--text-muted); margin: 0; }

/* Section heading */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 48px 0 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--text);
}
.section-head h2 { font-size: 26px; margin: 0; }
.section-head a { font-size: 14px; }

/* Article / product card list (editorial, no borders) */
.card-list { display: flex; flex-direction: column; }
.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.card-thumb { width: 180px; height: 180px; object-fit: contain; background: var(--surface-muted); border-radius: var(--radius); }
.card-body h3 { font-size: 21px; margin: 0 0 6px; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--accent); }
.card-body .card-meta { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; text-transform: capitalize; letter-spacing: 0.02em; }
.card-body p { margin: 0 0 12px; color: var(--text); }
.card-body .card-actions { display: flex; align-items: center; gap: 16px; }

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: italic;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

/* CTA */
.cta-button {
  display: inline-block;
  padding: 10px 22px;
  background: var(--text);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}
.cta-button:hover { background: var(--accent); text-decoration: none; }

/* Article page */
.article-page { padding: 40px 0 56px; }
.article-header { margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.article-header .category-tag { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }
.article-header h1 { font-size: 36px; margin: 0 0 12px; letter-spacing: -0.02em; }
.article-header .article-meta { font-size: 14px; color: var(--text-muted); }
.article-hero-img { width: 100%; margin: 24px 0; border-radius: var(--radius); }
.article-disclosure {
  background: var(--surface-muted);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-size: 14px;
  margin: 24px 0;
  color: var(--text);
}
.article-content { font-size: 18px; line-height: 1.75; }
.article-content h2 { font-size: 26px; margin: 36px 0 12px; }
.article-content h3 { font-size: 21px; margin: 28px 0 10px; }
.article-content p { margin: 0 0 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  font-style: italic;
  color: var(--text-muted);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-content th, .article-content td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
.article-content th { font-family: var(--font-sans); font-weight: 600; color: var(--text-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.pros-cons h3 { font-size: 16px; }
.scorecard { margin: 24px 0; }
.scorecard table { font-size: 15px; }
.scorecard td:last-child { text-align: right; font-weight: 600; }

/* Category page */
.category-page { padding: 40px 0 56px; }
.category-page h1 { font-size: 34px; margin: 0 0 8px; }
.category-page .lead { color: var(--text-muted); margin: 0 0 24px; }

/* Legal pages */
.legal-page { padding: 40px 0 56px; }
.legal-page h1 { font-size: 34px; margin: 0 0 16px; }
.legal-page h2 { font-size: 22px; margin: 32px 0 10px; }
.legal-page h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-page p, .legal-page ul, .legal-page ol { margin: 0 0 14px; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page .lead { font-size: 18px; color: var(--text-muted); }
.legal-page .contact-email { font-size: 20px; font-family: var(--font-serif); }
.legal-page .disclosure-callout {
  background: var(--accent-soft);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 20px 0;
}
.legal-revision { color: var(--text-muted); font-size: 13px; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--surface-muted); border-top: 1px solid var(--border); margin-top: 48px; padding: 40px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--maxw-wide); margin: 0 auto 24px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text); font-size: 14px; }
.footer-grid .affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.footer-bottom { max-width: var(--maxw-wide); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); text-align: center; }

.affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Responsive */
@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; gap: 14px; }
  .card-thumb { width: 100%; height: 220px; }
  .hero h1 { font-size: 30px; }
  .article-header h1 { font-size: 28px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
