/* The Review Desk — editorial stylesheet.
   No external fonts or assets: every byte is same-origin so the page paints fast
   on mobile, which is where the paid traffic lands. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1a1a19;
  --ink-soft: #55534e;
  --ink-faint: #85827a;
  --rule: #e3e0d8;
  --accent: #7a4b2a;
  --accent-soft: #f3ece4;
  --good: #2f6b4f;
  --warn: #8a6414;
  --radius: 10px;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171614;
    --surface: #201f1c;
    --ink: #ecebe6;
    --ink-soft: #b3b0a7;
    --ink-faint: #86837b;
    --rule: #35332e;
    --accent: #d9a173;
    --accent-soft: #2b2621;
    --good: #7fc0a0;
    --warn: #d9b45f;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Disclosure banner ----------
   Sits above everything, before any content. Both the FTC and the vendor's
   affiliate terms require this to be visible without scrolling; the .org TLD
   makes that doubly important, since it reads as impartial by default. */
.disclosure {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem 0;
}
.disclosure strong { color: var(--ink); }

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.masthead .wrap {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: baseline; justify-content: space-between;
}
.wordmark {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.9rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Type ---------- */
main { padding: 2.5rem 0 1rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.4rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
p, li { max-width: var(--measure); }
a { color: var(--accent); }

.dek { font-size: 1.1rem; color: var(--ink-soft); max-width: var(--measure); margin: 0 0 1.25rem; }
.byline { font-size: 0.875rem; color: var(--ink-faint); border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 1.75rem; }

/* ---------- Verdict card ---------- */
.verdict {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
}
.verdict h2 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.verdict p:last-child { margin-bottom: 0; }

/* ---------- Fact table ---------- */
.facts { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem; }
.facts th, .facts td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.facts th { width: 40%; font-weight: 600; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

/* ---------- Pros / cons ---------- */
.split { display: grid; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 40rem) { .split { grid-template-columns: 1fr 1fr; } }
.split > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.2rem; }
.split h3 { margin-top: 0; }
.split ul { margin: 0; padding-left: 1.1rem; }
.split li { margin-bottom: 0.4rem; }
.split li::marker { color: var(--ink-faint); }
.good h3 { color: var(--good); }
.warn h3 { color: var(--warn); }

/* ---------- Call to action ---------- */
.cta { margin: 2rem 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.cta p { margin-top: 0; }
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 0.85rem 1.6rem; border-radius: 6px;
  font-weight: 600; text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.cta .fineprint { font-size: 0.85rem; color: var(--ink-faint); margin: 0.75rem 0 0; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--rule); padding: 0.85rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 0.6rem 0 0; color: var(--ink-soft); }

/* ---------- Cards on the index ---------- */
.cards { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 42rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem; }
.card h3 { margin: 0 0 0.35rem; }
.card h3 a { text-decoration: none; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 0.5rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem; padding: 1.75rem 0 2.5rem;
  font-size: 0.875rem; color: var(--ink-faint);
}
footer a { color: var(--ink-soft); }
footer .nav { margin-bottom: 0.9rem; }
