﻿/* V1 light theme: cool paper + mid blue — see docs/theme-tokens-v1.md */
:root {
  --bg: #e8eef6;
  --paper: #f9fbfe;
  --ink: #142033;
  --muted: #4a5b73;
  --line: #d3dce8;
  --accent: #1a5aa8;
  --accent-soft: #d9e6f5;
  --link: #144a8c;
  --on-accent: #ffffff;
  --side: 15.5rem;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html {
  background: var(--bg);
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: clip;
}
.bar { height: 3px; background: var(--accent); }
.wrap {
  max-width: 86rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 1rem 2.5rem;
  overflow-x: clip;
}
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  min-width: 0;
}
.brand {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.brand a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.brand .site-logo,
.brand img.site-logo {
  width: auto;
  height: 32px;
  display: block;
  border-radius: 0;
}
.top-nav { display: flex; gap: 0.85rem; font-size: 0.85rem; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side);
  gap: 1rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.module {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.7rem 0.8rem;
}
.module h2 {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.module p, .module li { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.86rem; }
.module p:last-child, .module li:last-child { margin-bottom: 0; }
.module ul { margin: 0; padding-left: 1rem; }
.module a { color: var(--link); }
.tagline {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
h1.tagline { font-size: 1.35rem; font-weight: 750; color: var(--ink); }
.section-heading,
.table-heading {
  margin: 0.85rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}
.picks { margin-top: 0.35rem; }
.faq { margin: 1.25rem 0 0; }
.faq h2 { margin: 0 0 0.65rem; font-size: 1.15rem; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}
.faq details p {
  margin: 0.4rem 0 0.15rem;
  color: var(--muted);
}
.article-byline {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.article-byline a { color: inherit; }
.article-byline a:hover { color: var(--link); }
.lede { margin: 0 0 0.45rem; }
.lede-support { color: var(--muted); font-size: 0.92rem; }
.asof { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.86rem; }
.table-howto {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.table-howto li { margin: 0.12rem 0; }
.picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 0 0 0.75rem;
}
.pick {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 7px;
  padding: 0.6rem 0.7rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
@media (hover: hover) {
  .pick:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
}
.pick .label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.pick-sku { margin: 0.15rem 0 0.1rem; font-size: 0.95rem; font-weight: 700; }
.pick .price { font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pick .price-label {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pick p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.82rem; }
form.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
form.filters label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
form.filters select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.22rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: auto; }
th, td {
  padding: 0.38rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
@media (hover: hover) {
  #prices tbody tr:hover td {
    background: var(--accent-soft);
  }
}
th {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-soft);
  position: sticky;
  top: 0;
  white-space: nowrap;
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 1%; }
td.offline {
  max-width: 16rem;
  vertical-align: top;
  line-height: 1.35;
}
.offline-fold {
  margin: 0;
}
.offline-fold > summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 400;
}
.offline-fold > summary::-webkit-details-marker { display: none; }
.offline-fold > summary::after {
  content: " ▾";
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
}
.offline-fold[open] > summary::after { content: " ▴"; }
.offline-fold > p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  max-width: 22rem;
}
th.device, td.device {
  width: 16rem;
  max-width: 18rem;
  white-space: nowrap;
}
td.device a,
td.device .device-plain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
td.device a:hover { color: var(--link); text-decoration: underline; }
.brand-mark {
  width: 4.4rem;
  height: 1.980rem;
  flex: none;
  display: block;
  object-fit: fill;
  object-position: left center;
  background: transparent;
}
.pick-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 0.1rem;
}
.pick-logo {
  height: 22px;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  display: block;
  flex: none;
}
.pick-sku { margin: 0; font-size: 0.95rem; font-weight: 700; }
.pick-sku a { color: inherit; text-decoration: none; }
.pick-sku a:hover { color: var(--link); text-decoration: underline; }
.pick .price a { color: inherit; text-decoration: none; }
.pick .price a:hover { color: var(--link); }
.pick-buy { margin: 0.4rem 0 0; font-size: 0.82rem; }
a.link-store {
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
a.link-store:hover { color: var(--link); }
.buy-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
}
td.buy {
  vertical-align: middle;
  white-space: nowrap;
  width: 1%;
}
a.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.28rem 0.65rem;
  border-radius: 5px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(20, 32, 51, 0.08);
}
a.btn-amazon:hover,
a.btn-amazon:focus-visible {
  color: var(--on-accent);
  text-decoration: none;
  filter: brightness(1.08);
}
.pick-buy a.btn-amazon {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
}
th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
th.sortable:hover { color: var(--ink); }
th.sortable::after {
  content: " \2195";
  font-size: 0.85em;
  opacity: 0.4;
}
#prices .th-short { display: none; }
#prices .th-full { display: inline; }
th.sortable[aria-sort="ascending"]::after { content: " \2191"; opacity: 1; color: var(--accent); }
th.sortable[aria-sort="descending"]::after { content: " \2193"; opacity: 1; color: var(--accent); }
.from { font-weight: 650; }
.est { color: var(--muted); font-size: 0.85em; }
a { color: var(--link); }
.page { max-width: none; }
.layout > .page { min-width: 0; }
.page h1 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.page h2 { margin: 1.1rem 0 0.4rem; font-size: 1rem; }
.page p, .page li { color: var(--ink); }
.page > p:first-of-type { color: var(--muted); }
footer.site {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
}
footer.site p { margin: 0 0 0.35rem; max-width: 46rem; }
.layout > * { min-width: 0; }
.top-nav { flex-wrap: wrap; row-gap: 0.35rem; }

@media (max-width: 900px) {
  .wrap { padding: 0.75rem 0.85rem 2rem; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .picks { grid-template-columns: 1fr; }
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }
  .top-nav {
    gap: 0.45rem 0.15rem;
    width: 100%;
  }
  .top-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.2rem 0.45rem;
  }
  .brand { font-size: 1.2rem; }
  .brand .site-logo { height: 28px; }
  th.device, td.device, td.device a { width: auto; max-width: none; }
  .brand-mark {
    width: 3.4rem;
    height: 1.53rem;
  }
  form.filters {
    gap: 0.55rem;
  }
  form.filters label { flex: 1 1 9rem; min-width: 0; }
  form.filters select {
    width: 100%;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0.35rem 0.45rem;
  }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0.65rem 0.75rem 1.75rem; }
  .lede, .asof { font-size: 0.92rem; }
  .pick { padding: 0.75rem 0.85rem; }
  .pick .price { font-size: 1.15rem; }

  form.filters {
    flex-direction: column;
    padding: 0.7rem 0.8rem;
  }
  form.filters label { flex: none; width: 100%; }

  /* Homepage price table only — do not strip overflow from other tables */
  .table-wrap:has(#prices) {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .table-wrap:has(#prices)::before {
    content: "Tap to sort";
    display: block;
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
  }
  #prices {
    display: block;
    width: 100%;
    font-size: 0.92rem;
  }
  #prices .th-full { display: none; }
  #prices .th-short { display: inline; }
  #prices thead {
    display: block;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 0 0.55rem;
  }
  #prices thead tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: 0 1px 0 rgba(26, 90, 168, 0.06);
  }
  #prices thead th {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    margin: 0;
    min-height: 2.35rem;
    padding: 0.4rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--accent-soft);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #prices thead th[aria-sort="ascending"],
  #prices thead th[aria-sort="descending"] {
    border-color: var(--accent);
    color: var(--ink);
    background: color-mix(in srgb, var(--accent-soft) 70%, #fff);
  }
  #prices thead th:not(.sortable) { display: none; }
  #prices thead th.sortable::after { content: none; }
  #prices thead th.sortable[aria-sort="ascending"]::after,
  #prices thead th.sortable[aria-sort="descending"]::after {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-left: 0;
    border-left: 0.26rem solid transparent;
    border-right: 0.26rem solid transparent;
  }
  #prices thead th.sortable[aria-sort="ascending"]::after {
    border-bottom: 0.32rem solid var(--accent);
  }
  #prices thead th.sortable[aria-sort="descending"]::after {
    border-top: 0.32rem solid var(--accent);
  }

  #prices tbody {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  #prices tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  #prices tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0;
    border: none;
    text-align: left;
    white-space: normal;
  }
  #prices tbody td::before {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  #prices tbody td.device {
    grid-column: 1 / -1;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.15rem;
  }
  #prices tbody td.device::before { content: none; }
  #prices tbody td.device a,
  #prices tbody td.device .device-plain {
    max-width: 100%;
    font-size: 1rem;
  }
  #prices tbody td.num {
    width: auto;
    text-align: left;
    font-weight: 650;
  }
  #prices tbody td:nth-child(2)::before { content: "Device"; }
  #prices tbody td:nth-child(3)::before { content: "Phone"; }
  #prices tbody td:nth-child(4)::before { content: "Offline"; }
  #prices tbody td:nth-child(5)::before { content: "Hardware"; }
  #prices tbody td:nth-child(6)::before { content: "First-year"; }
  #prices tbody td:nth-child(5),
  #prices tbody td:nth-child(6) {
    font-size: 1.05rem;
  }
  #prices tbody td.offline {
    grid-column: 1 / -1;
    max-width: none;
  }
  #prices tbody td.buy {
    grid-column: 1 / -1;
    width: auto;
    white-space: normal;
    padding-top: 0.45rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--line);
  }
  #prices tbody td.buy::before { content: "Buy"; }
  #prices tbody td.buy .buy-stack {
    width: 100%;
    gap: 0.4rem;
  }
  #prices tbody td.buy a.btn-amazon {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 6px;
  }
  #prices tbody td.buy a.link-store {
    font-size: 0.9rem;
  }

  .article h1 { font-size: 1.35rem; }
  .article p.dek { font-size: 1rem; }
  .article h2 { font-size: 1.05rem; }
  .page h1 { font-size: 1.25rem; }
}

.wrap.article-wrap { max-width: 66rem; }
.crumb {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.crumb a { color: var(--link); }
.article { min-width: 0; line-height: 1.55; }
.article h1 {
  margin: 0 0 0.4rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.article p.dek {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
}
.article-hero {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article h2 {
  margin: 1.45rem 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.article p { margin: 0 0 0.85rem; }
.article ul, .article ol { margin: 0 0 0.85rem; padding-left: 1.2rem; }
.article li { margin: 0 0 0.35rem; }
.callout {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 7px;
}
.callout p { margin: 0; }
.table-wrap.article-table {
  margin: 0 0 1rem;
  max-width: 100%;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap.article-table::before { content: none !important; }
.table-wrap.article-table table {
  width: 100%;
  min-width: 0;
  font-size: 0.9rem;
  border-collapse: collapse;
  table-layout: fixed;
}
.table-wrap.article-table th,
.table-wrap.article-table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-wrap.article-table tr:last-child td { border-bottom: none; }
.table-wrap.article-table th {
  position: static;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--accent-soft);
  white-space: normal;
}
.table-wrap.article-table td strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .table-wrap.article-table {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .table-wrap.article-table table,
  .table-wrap.article-table thead,
  .table-wrap.article-table tbody,
  .table-wrap.article-table tr,
  .table-wrap.article-table th,
  .table-wrap.article-table td {
    display: block;
    width: 100%;
  }
  .table-wrap.article-table thead { display: none; }
  .table-wrap.article-table tr {
    margin: 0 0 0.65rem;
    padding: 0.65rem 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .table-wrap.article-table td {
    border: none;
    padding: 0.15rem 0;
  }
  .table-wrap.article-table td:first-child {
    font-weight: 700;
    margin-bottom: 0.2rem;
  }

  /* Brand lineup: card stack instead of wide horizontal table */
  .table-wrap.lineup-table {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .table-wrap.lineup-table .spec-table,
  .table-wrap.lineup-table thead,
  .table-wrap.lineup-table tbody,
  .table-wrap.lineup-table tr,
  .table-wrap.lineup-table th,
  .table-wrap.lineup-table td {
    display: block;
    width: 100%;
  }
  .table-wrap.lineup-table thead { display: none; }
  .table-wrap.lineup-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  .table-wrap.lineup-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .table-wrap.lineup-table td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    border: none;
    padding: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
  .table-wrap.lineup-table td::before {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .table-wrap.lineup-table td:nth-child(1) {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.1rem;
  }
  .table-wrap.lineup-table td:nth-child(1)::before { content: none; }
  .table-wrap.lineup-table td:nth-child(2)::before { content: "Variant"; }
  .table-wrap.lineup-table td:nth-child(3)::before { content: "Device"; }
  .table-wrap.lineup-table td:nth-child(4)::before { content: "Hardware"; }
  .table-wrap.lineup-table td:nth-child(5)::before { content: "First-year"; }
  .table-wrap.lineup-table td:nth-child(6) {
    grid-column: 1 / -1;
  }
  .table-wrap.lineup-table td:nth-child(6)::before { content: "Offline"; }
  .table-wrap.lineup-table td:nth-child(7),
  .table-wrap.lineup-table td.buy {
    grid-column: 1 / -1;
    width: auto;
    white-space: normal;
    padding-top: 0.45rem;
    margin-top: 0.1rem;
    border-top: 1px solid var(--line);
  }
  .table-wrap.lineup-table td:nth-child(7)::before,
  .table-wrap.lineup-table td.buy::before { content: "Buy"; }
  .table-wrap.lineup-table td.buy .buy-stack {
    width: 100%;
    gap: 0.4rem;
  }
  .table-wrap.lineup-table td.buy a.btn-amazon {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 6px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }
  .top-nav {
    max-width: 100%;
  }

  /* Product / compare tables: stack rows so no columns are clipped */
  .table-wrap.stack-table {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .table-wrap.stack-table .spec-table,
  .table-wrap.stack-table table,
  .table-wrap.stack-table thead,
  .table-wrap.stack-table tbody,
  .table-wrap.stack-table tr,
  .table-wrap.stack-table th,
  .table-wrap.stack-table td {
    display: block;
    width: 100%;
  }
  .table-wrap.stack-table thead { display: none; }
  .table-wrap.stack-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  .table-wrap.stack-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .table-wrap.stack-table td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    border: none;
    padding: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
  .table-wrap.stack-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .table-wrap.stack-table td[data-label="Variant"],
  .table-wrap.stack-table td[data-label="Model"] {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.1rem;
  }
  .table-wrap.stack-table td[data-label="Variant"]::before,
  .table-wrap.stack-table td[data-label="Model"]::before {
    content: none;
  }
  .table-wrap.stack-table td[data-label="Offline"],
  .table-wrap.stack-table td[data-label="Data term"],
  .table-wrap.stack-table td[data-label="Sold by"],
  .table-wrap.stack-table td[data-label="Link"],
  .table-wrap.stack-table td.buy,
  .table-wrap.stack-table td[data-label="Buy"] {
    grid-column: 1 / -1;
  }
  .table-wrap.stack-table td.buy,
  .table-wrap.stack-table td[data-label="Buy"] {
    width: auto;
    white-space: normal;
    padding-top: 0.45rem;
    margin-top: 0.1rem;
    border-top: 1px solid var(--line);
  }
  .table-wrap.stack-table td.buy .buy-stack {
    width: 100%;
    gap: 0.4rem;
  }
  .table-wrap.stack-table td.buy a.btn-amazon {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 6px;
  }
}
.also-read {
  margin-top: 1.7rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}
.also-read h2 { margin-top: 0; }
.also-read p { margin: 0 0 0.4rem; }
.also-read p:last-child { margin-bottom: 0; }
.plain-answer {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  line-height: 1.5;
}
.key-takeaways,
.audience-box,
.bottom-line {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.key-takeaways h2,
.audience-box h2,
.bottom-line h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}
.key-takeaways ul,
.audience-box ul {
  margin: 0;
  padding-left: 1.15rem;
}
.key-takeaways li,
.audience-box li {
  margin: 0 0 0.35rem;
  color: var(--ink);
  line-height: 1.45;
}
.key-takeaways li:last-child,
.audience-box li:last-child { margin-bottom: 0; }
.bottom-line p {
  margin: 0 0 0.45rem;
  line-height: 1.5;
}
.bottom-line p:last-child { margin-bottom: 0; }
.article p {
  max-width: 42rem;
  line-height: 1.55;
}
.article li {
  line-height: 1.5;
}
.article-toc {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
}
.article-toc h2 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}
.article-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}
.article-toc li {
  margin: 0 0 0.28rem;
  line-height: 1.4;
}
.article-toc a { color: var(--link); }
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.85rem 0 0;
}
a.guide-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.8rem 0.95rem;
  color: inherit;
  text-decoration: none;
}
a.guide-card:hover { border-color: var(--accent); }
a.guide-card h2,
a.guide-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
a.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.module ul.links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.module ul.links li { margin: 0 0 0.35rem; }
.module ul.links li:last-child { margin-bottom: 0; }

/* --- Brand & product pages (generated) --- */
.brand-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
  min-width: 0;
}
.brand-hero h1 {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand-hero-logo {
  height: 36px;
  width: auto;
  max-width: min(11rem, 100%);
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
.meta-line {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0 0 1rem;
}
.table-wrap.lineup-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap.lineup-table .spec-table {
  margin-bottom: 0;
}
.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  background: var(--paper);
  font-weight: 650;
  color: var(--muted);
}
.kit-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
}
.brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}
.brand-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.85rem 0.95rem;
  color: inherit;
  text-decoration: none;
}
.brand-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.brand-card > a:hover,
.brand-card > a:focus-visible {
  text-decoration: none;
}
.brand-card:hover { border-color: var(--accent); }
.brand-card img {
  display: block;
  width: 72px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.55rem;
}
.brand-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand-card > a:hover h2 {
  color: var(--link);
}
.brand-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.brand-card .card-links {
  margin: 0;
  font-size: 0.85rem;
  color: var(--link);
  text-decoration: none;
}
.brand-card > a .card-links {
  margin-top: 0.15rem;
}
.brand-card .card-links a {
  color: var(--link);
  text-decoration: none;
}
.brand-card .card-links a:hover {
  text-decoration: underline;
}
.sources-list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.sources-list li { margin: 0 0 0.35rem; }
.sources-list a { color: var(--link); word-break: break-word; }

/* Translator Prices additions */
.site-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.site-footer a { color: var(--link); }
.check-date { color: var(--muted); font-size: 0.92rem; }
.variant { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.muted { color: var(--muted); }
.muted-note { color: var(--muted); font-size: 0.82rem; }
.explain { margin-top: 1.5rem; }
.explain h2 { font-size: 1rem; margin: 1rem 0 0.35rem; }
.brand-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.table-wrap { overflow-x: auto; }
.crumb { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.75rem; }
.crumb a { color: var(--link); }
.meta-line { color: var(--muted); font-size: 0.9rem; }
.dek { font-size: 1.02rem; }
.article-byline { color: var(--muted); font-size: 0.88rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 0.45rem 0.55rem; text-align: left; vertical-align: top; }
.spec-table th[scope="row"] { width: 12rem; color: var(--muted); font-weight: 600; }
