/* Owners Verdict — one hand-written stylesheet, no build step. */
:root {
  --ink: #16181d;
  --paper: #f7f4ee;
  --card: #ffffff;
  --rule: #ddd6ca;
  --muted: #5f6672;
  --accent: #b3261e;
  --on-accent: #ffffff;
  --good: #17663a;
  --bad: #a4262c;
  --buy: #ffc233;
  --highlight: #fff1c9;

  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  /* One width for masthead and content, so the site name and the article share a left edge and the nav and the table a right edge. */
  --shell-width: 62rem;
  --hard-shadow: 4px 4px 0 var(--ink);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  /* `anywhere`, not `break-word`: model output can hold unbreakable strings, and only `anywhere` shrinks min-content in grids and flex rows. */
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
}

p,
ul,
ol,
dl {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* The accent ring is only 2.7:1 against the footer's dark background, so footer links get a light one.
   The skip link keeps the accent ring: with the 3px offset three of its sides land on the white masthead. */
.site-footer :focus-visible {
  outline-color: var(--on-accent);
}

.table-scroll:focus-visible {
  outline-offset: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -4rem;
  z-index: 10;
  padding: var(--space-1) var(--space-2);
  background: var(--ink);
  color: var(--on-accent);
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-1);
}

.wrap {
  width: 100%;
  max-width: var(--shell-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Masthead */
.masthead {
  background: var(--card);
  border-top: 6px solid var(--accent);
  border-bottom: 2px solid var(--ink);
}

.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  padding-block: var(--space-2);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

/* Page frame */
.page {
  padding-block: var(--space-3) var(--space-5);
}

.stack > * + * {
  margin-top: var(--space-2);
}

.section {
  margin-top: var(--space-4);
}

.section-title {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding-top: var(--space-1);
  border-top: 4px solid var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  color: var(--muted);
  font-size: 1rem;
}

.breadcrumb li + li::before {
  content: "›";
  content: "›" / "";
  margin-right: 0.4rem;
}

.kicker {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.headline {
  margin-top: var(--space-1);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.dek {
  margin-top: var(--space-2);
  color: var(--muted);
}

.article-head {
  margin-top: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}

.disclosure {
  margin-top: var(--space-3);
  padding: var(--space-2);
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--ink);
}

/* Editor's research pages */
.provenance {
  margin-top: var(--space-2);
  color: var(--muted);
}

.sources .source {
  padding: var(--space-2) var(--space-3);
  background: var(--card);
  border: 1px solid var(--rule);
}

.embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  margin-bottom: var(--space-2);
  background: var(--ink);
}

/* Verdict box and labels */
.verdict {
  padding: var(--space-3);
  background: var(--highlight);
  border: 2px solid var(--ink);
  box-shadow: var(--hard-shadow);
}

.verdict h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

.verdict ul {
  margin-top: var(--space-2);
  padding: 0;
  list-style: none;
}

.verdict li + li {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--ink);
}

.tag {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.15rem 0.55rem;
  background: var(--ink);
  color: var(--on-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.pick {
  font-weight: 700;
}

/* Comparison table */
.table-scroll {
  overflow-x: auto;
  background: var(--card);
  border: 2px solid var(--ink);
}

.matrix {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  text-align: left;
}

.matrix th {
  padding: 0.75rem 0.9rem;
  background: var(--ink);
  color: var(--on-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix td {
  padding: 0.9rem;
  border-top: 1px solid var(--rule);
  vertical-align: top;
}

.matrix .model {
  font-weight: 700;
}

.matrix .action {
  text-align: right;
  white-space: nowrap;
}

.score {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 2px solid var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.btn-buy {
  background: var(--buy);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-buy:hover,
.btn-ghost:hover {
  background: var(--ink);
  color: var(--on-accent);
}

.btn-ghost {
  background: var(--card);
}

/* Product cards */
.product-card {
  padding: var(--space-3);
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--ink);
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.dealbreaker {
  margin-top: var(--space-1);
  padding-left: var(--space-2);
  border-left: 4px solid var(--bad);
  color: var(--bad);
}

.pros-cons {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.pros-cons h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pros h4 {
  color: var(--good);
}

.cons h4 {
  color: var(--bad);
}

.pros-cons ul {
  margin-top: 0.25rem;
  padding-left: 1.25rem;
}

.specs {
  display: grid;
  /* The label column is capped so a long label cannot push the value column off the card. */
  grid-template-columns: fit-content(45%) minmax(0, 1fr);
  gap: 0.25rem var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--rule);
}

.specs dt {
  font-weight: 700;
}

.specs dd {
  margin: 0;
}

.product-card .btn {
  margin-top: var(--space-2);
}

/* FAQ */
.faq-item {
  padding: var(--space-2) var(--space-3);
  background: var(--card);
  border: 1px solid var(--rule);
}

.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-item p {
  margin-top: 0.4rem;
}

.article-end {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 2px solid var(--ink);
}

/* Home */
.hero {
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--ink);
}

.hero .dek {
  max-width: 40rem;
  font-size: 1.2rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: 0;
  list-style: none;
}

.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-3);
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--accent);
}

.guide-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.guide-card p {
  margin-top: var(--space-1);
  color: var(--muted);
}

.guide-card .meta {
  margin-top: auto;
  padding-top: var(--space-2);
  color: var(--muted);
  font-size: 1rem;
}

.empty {
  margin-top: var(--space-3);
  color: var(--muted);
}

/* About */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: var(--space-4);
  padding-top: var(--space-1);
  border-top: 4px solid var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
}

.prose p,
.prose ul {
  margin-top: var(--space-2);
}

.prose ul {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  padding-block: var(--space-4);
  background: var(--ink);
  color: var(--on-accent);
}

.site-footer a {
  color: var(--on-accent);
}

.site-footer .brand {
  color: var(--on-accent);
  font-size: 1.4rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-2);
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding-block: 0.4rem;
}

.site-footer p {
  max-width: 44rem;
  margin-top: var(--space-2);
}

@media (min-width: 40rem) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .wrap {
    padding-inline: 2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .brand,
  .site-nav a {
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
  }
}
