/* StackSwitched base styles. Plain CSS, no build step. Keep it simple. */
:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #1d4ed8;
  --accent-soft: #eff6ff;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --line: #e5e5e5;
  --maxw: 44rem;
}

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  background: #fff;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.site-header .wrap,
.site-footer .wrap,
main.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

nav.main-nav { margin-top: 0.5rem; }
nav.main-nav a {
  margin-right: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--accent); text-decoration: underline; }

main.wrap { padding: 2rem 1.25rem 4rem; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }

p, li { font-size: 1.02rem; }

a { color: var(--accent); }

/* FTC disclosure box: must be visible, near the top, before affiliate links. */
.disclosure {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left-width: 4px;
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.disclosure p { margin: 0; font-size: 0.92rem; }

.draft-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.15rem 0.75rem;
  margin-bottom: 1rem;
}

.hero { margin: 1rem 0 2rem; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); }

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
}
.card h3 { margin-top: 0; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
table.compare th,
table.compare td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
table.compare th { background: #f8fafc; }

.todo {
  background: #fef2f2;
  border: 1px dashed #f87171;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: #7f1d1d;
}

/* Email capture */
.capture {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.capture h2 { margin-top: 0; }
.capture form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.capture input[type="email"] {
  flex: 1 1 16rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
}
.capture button,
.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.capture button:hover, .btn:hover { background: #1e40af; }
.capture .fine { font-size: 0.82rem; color: var(--muted); margin: 0.5rem 0 0; }

/* Verdict box on reviews. No star ratings until hands-on testing is done. */
.verdict {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.verdict .testing-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons ul { margin: 0.25rem 0 0; padding-left: 1.25rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer nav a { margin-right: 1rem; color: var(--muted); }
