/* Tooling Around — design system.
 * Shared by the Go app (/static/styles.css) and design/ mirror. */

:root {
  --paper: #f3f1ea;
  --ink: #17181c;
  --muted: #74777e;
  --line: rgba(23,24,28,.12);
  --accent: #00e87a;
  --card: #fffdf8;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,h2,h3,h4 { font-family: 'Archivo', sans-serif; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* ── Layout ── */
main { flex: 1; max-width: 1120px; margin: 0 auto; padding: 26px 24px 80px; width: 100%; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #17181c; color: #f3f1ea;
  border-bottom: 3px solid var(--accent);
}
.site-header .inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; color: #f3f1ea;
}
.brand-icon {
  display: block; width: 32px; height: 32px; flex-shrink: 0;
}
.brand-name {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 21px;
  letter-spacing: -.02em;
}
.site-nav { display: flex; gap: 20px; align-items: center; font-weight: 500; font-size: 14px; }
.site-nav a { text-decoration: none; color: #cfd0cf; transition: color .12s; }
.site-nav a:hover { color: #f3f1ea; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.locale-nav { display: flex; gap: 6px; }
.locale-nav a {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .04em;
  text-decoration: none; color: #9a9ca1; padding: 3px 6px; border-radius: 4px;
}
.locale-nav a.active { color: var(--accent); font-weight: 600; }
.locale-nav a:hover { color: #f3f1ea; }

/* ── Ad slots ── */
.ad-slot {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 5px; padding: 20px 0;
}
.ad-slot--leaderboard { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-slot--rect { margin-top: 16px; }
.ad-slot--sidebar { padding: 0; margin: 16px 0 8px; }
.ad-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 8.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: #aaa69b; align-self: flex-end; padding-right: 2px;
}
.ad-slot ins { display: block; max-width: 100%; }
/* Hatched placeholder — matches the design canvas style; disappears once AdSense fills the slot */
[data-ad-placeholder] {
  position: relative;
  border: 1px solid var(--line);
  background-image: repeating-linear-gradient(45deg, #eceadf 0 11px, #f4f1ea 11px 22px);
  border-radius: 9px; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
[data-ad-placeholder]::before {
  content: attr(data-label);
  position: absolute; top: 7px; left: 11px;
  font-family: 'IBM Plex Mono', monospace; font-size: 8.5px;
  letter-spacing: .16em; text-transform: uppercase; color: #aaa69b;
}
[data-ad-placeholder] .ph-inner-title {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: #9a968b;
}
[data-ad-placeholder] .ph-inner-sub {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: #b6b2a6;
}
[data-ad-placeholder].ph-leader { height: 96px; width: 100%; }
[data-ad-placeholder].ph-rect   { height: 250px; width: 100%; }
@media (max-width: 760px) { .ad-slot--leaderboard { padding: 14px 0; } }

/* ── Footer ── */
.site-footer {
  background: #17181c; color: #f3f1ea;
  margin-top: auto;
}
.footer-body {
  max-width: 1120px; margin: 0 auto;
  padding: 52px 24px 40px;
  display: grid; grid-template-columns: 1fr repeat(3, auto); gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-body { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-name {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 18px;
  letter-spacing: -.02em; line-height: 1.1; color: #f3f1ea;
}
.footer-tagline { font-size: 13.5px; color: #9a9ca1; line-height: 1.6; max-width: 26ch; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: #9a9ca1;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px; color: #cfd0cf; text-decoration: none; transition: color .12s;
}
.footer-col a:hover { color: #f3f1ea; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 100%; padding: 16px 24px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: #5a5d63; text-align: center;
}

/* ── Lift hover ── */
.lift { transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(23,24,28,.08); border-color: rgba(23,24,28,.25) !important; }

/* ── Breadcrumbs ── */
.crumbs {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--muted); margin-bottom: 16px;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { box-shadow: inset 0 -2px 0 var(--accent); }

/* ── Home: hero ── */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { max-width: 1120px; margin: 0 auto; padding: 64px 24px 52px; }
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.hero h1 { font-size: 56px; font-weight: 900; max-width: 14ch; margin-bottom: 22px; }
.hero p { font-size: 18px; color: #3c3e44; max-width: 54ch; margin: 0 0 30px; }
.hero-search {
  display: flex; max-width: 560px;
  border: 2px solid var(--ink); border-radius: 9px;
  overflow: hidden; background: #fff;
}
.hero-search input {
  flex: 1; border: 0; outline: none; padding: 14px 18px;
  font-size: 16px; background: transparent;
}
.hero-search button {
  border: 0; background: var(--accent); color: var(--ink);
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px;
  padding: 0 26px; letter-spacing: .01em;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; align-items: center; }
.hero-chips-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero-chip {
  font-size: 13.5px; font-weight: 500; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  text-decoration: none; color: inherit;
}
.hero-chip:hover { border-color: rgba(23,24,28,.4); }

/* ── Home: section layout ── */
.home-sections { max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; }
.home-section { padding-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 27px; font-weight: 800; }
.section-link {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  text-decoration: none;
}
.section-link:hover { box-shadow: inset 0 -2px 0 var(--accent); }

/* ── Category grid (home) ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 680px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.cat-card-img {
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e8e5dc;
}
.cat-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-body {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.cat-card-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16.5px; }

/* ── Head-to-head promo ── */
.h2h {
  background: #17181c; color: #f3f1ea; border-radius: 12px;
  padding: 34px 36px; display: grid;
  grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.h2h-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.h2h h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; max-width: 18ch; }
.h2h p { color: #b9bbc0; font-size: 14.5px; max-width: 46ch; margin: 0 0 20px; }
.h2h-btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--ink); border: 0; border-radius: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 14px;
  padding: 12px 22px;
}
.h2h-tools { display: flex; gap: 14px; align-items: center; }
.h2h-tool {
  width: 106px; height: 106px;
  background-image: repeating-linear-gradient(45deg, #26282e 0 11px, #2d2f36 11px 22px);
  border-radius: 9px; display: flex; align-items: flex-end;
  justify-content: center; padding-bottom: 10px;
}
.h2h-tool span { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .08em; color: #7e8189; }
.h2h-vs { font-family: 'Archivo', sans-serif; font-weight: 900; color: var(--accent); font-size: 18px; }

/* ── Browse page ── */
.browse-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
}
.browse-head h1 { font-size: 38px; font-weight: 900; margin-bottom: 6px; }
.browse-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--muted); }
.browse-sort-label { font-size: 13.5px; color: #3c3e44; display: flex; align-items: center; gap: 8px; }
.browse-sort-label select {
  border: 1px solid var(--ink); border-radius: 7px; padding: 8px 10px;
  background: #fff; font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.browse-layout { display: grid; grid-template-columns: 236px 1fr; gap: 26px; align-items: start; }
@media (max-width: 768px) { .browse-layout { grid-template-columns: 1fr; } }

/* ── Sidebar filters ── */
.sidebar {
  position: sticky; top: 84px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 18px 8px;
}
.sidebar-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.filter-group { border-top: 1px solid var(--line); padding: 14px 0; }
.filter-group-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.filter-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; padding: 4px 0; cursor: pointer;
}
.filter-check input { width: 15px; height: 15px; accent-color: var(--ink); }

/* ── Tool cards (listing) ── */
.tool-list { display: flex; flex-direction: column; gap: 14px; }
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; display: grid;
  grid-template-columns: auto 106px 1fr auto;
  gap: 16px; align-items: center;
}
.tool-card-cmp { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tool-card-cmp input { width: 17px; height: 17px; accent-color: var(--accent); }
.tool-card-cmp-lbl {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .08em; color: var(--muted);
}
.tool-card-img {
  display: flex; height: 86px;
  background-image: repeating-linear-gradient(45deg, #e8e5dc 0 10px, #efece4 10px 20px);
  border: 1px solid var(--line); border-radius: 7px;
  text-decoration: none;
  align-items: flex-end; justify-content: center; padding-bottom: 7px;
}
.tool-card-img span { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .06em; color: #a9a59a; }
.tool-card-info { display: block; text-decoration: none; color: inherit; }
.tool-card-brand-row { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.tool-card-brand { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tool-card-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tool-card-specs { display: flex; gap: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #5a5d63; flex-wrap: wrap; }
.tool-card-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.tool-card-price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 21px; }
.tool-card-btn {
  display: inline-block; text-decoration: none;
  background: #17181c; color: #f3f1ea; border: 0; border-radius: 7px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  padding: 9px 16px;
}
.tool-card-btn:hover { background: #2c2f36; }

/* ── Compare bar ── */
#cmpbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: #17181c; color: #f3f1ea;
  border-top: 3px solid var(--accent);
  display: none;
}
#cmpbar.visible { display: block; }
#cmpbar .inner {
  max-width: 1120px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 16px;
}
.cmpbar-count { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; white-space: nowrap; }
.cmpbar-count b { color: var(--accent); }
.cmpbar-names { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #b9bbc0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#cmpclear { cursor: pointer; font-size: 13px; color: #b9bbc0; white-space: nowrap; text-decoration: none; }
#cmpclear:hover { color: #f3f1ea; }
#cmpgo { background: var(--accent); color: var(--ink); border: 0; border-radius: 8px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 14px; padding: 11px 22px; white-space: nowrap; }
#cmpgo:disabled { opacity: .5; cursor: default; }

/* ── Model detail ── */
.model-layout { display: grid; grid-template-columns: 360px 1fr; gap: 38px; align-items: start; }
@media (max-width: 860px) { .model-layout { grid-template-columns: 1fr; } }
.model-sticky { position: sticky; top: 84px; }
.model-gallery {
  height: 290px;
  background-image: repeating-linear-gradient(45deg, #e8e5dc 0 12px, #efece4 12px 24px);
  border: 1px solid var(--line); border-radius: 11px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.model-gallery span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #a9a59a; }
.model-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.model-thumb {
  flex: 1; height: 54px;
  background-image: repeating-linear-gradient(45deg, #e8e5dc 0 8px, #efece4 8px 16px);
  border: 1px solid var(--line); border-radius: 6px;
}
.model-buy-box {
  margin-top: 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 11px; padding: 20px;
}
.model-buy-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.model-buy-price { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 36px; margin-bottom: 16px; }
.model-buy-btn {
  display: block; text-align: center;
  background: var(--accent); color: var(--ink); text-decoration: none;
  border-radius: 8px; font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 15px; padding: 14px;
}
.model-buy-btn:hover { background: #ffd61a; }
.model-buy-note { font-size: 11.5px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; margin-top: 14px; }
.model-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.model-brand { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.model-name { font-size: 36px; font-weight: 900; margin-bottom: 20px; }
.model-specs-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; margin-bottom: 30px;
}
.model-spec-row {
  display: grid; grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
.model-spec-row:last-child { border-bottom: 0; }
.model-spec-k { padding: 11px 16px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--muted); background: rgba(0,0,0,.02); }
.model-spec-v { padding: 11px 16px; font-size: 14.5px; font-weight: 500; }
.model-note { font-size: 11.5px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; margin-top: 14px; line-height: 1.6; }
.model-section-head { font-size: 22px; font-weight: 800; margin-bottom: 14px; }

/* ── Compare page ── */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.compare-table thead th {
  padding: 16px 16px 18px; text-align: left; vertical-align: top;
  border-left: 1px solid rgba(255,255,255,.08);
  background: #17181c; color: #f3f1ea; min-width: 200px;
}
.compare-table thead th:first-child {
  position: sticky; left: 0; z-index: 2;
  min-width: 140px; width: 150px; border-left: 0;
}
.col-brand { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.col-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.2; margin-bottom: 11px; text-decoration: none; color: #f3f1ea; display: block; }
.col-name:hover { color: var(--accent); }
.col-price { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 13px; background: var(--accent); color: var(--ink); padding: 3px 9px; border-radius: 5px; display: inline-block; }
.compare-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: #3c3e44;
}
.compare-table tbody td:first-child {
  padding: 14px 18px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  position: sticky; left: 0; background: var(--card); border-left: 0;
  white-space: nowrap;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-cta {
  display: block; text-align: center;
  background: #17181c; color: #f3f1ea; text-decoration: none;
  border-radius: 7px; font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 13px; padding: 11px;
}
.compare-cta:hover { background: #2c2f36; }
.compare-note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; margin-top: 16px; line-height: 1.6; }
.back-btn {
  display: inline-block; text-decoration: none; margin-top: 22px;
  background: #fff; border: 1px solid var(--ink); border-radius: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  padding: 11px 20px;
}
.back-btn:hover { background: var(--ink); color: #f3f1ea; }

/* ── Utility ── */
.empty { padding: 48px 24px; text-align: center; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 14px; }

/* ── Articles hub ── */
.articles-head { margin-bottom: 32px; }
.articles-head h1 { font-size: 48px; font-weight: 900; margin-bottom: 10px; }
.articles-dek { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0; }

.article-tabs {
  display: flex; gap: 4px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.article-tab {
  display: inline-block; padding: 8px 16px 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.article-tab:hover { color: var(--ink); }
.article-tab.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Article grid ── */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.article-grid--home { grid-template-columns: repeat(3, 1fr); }
.article-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  text-decoration: none; color: var(--ink); position: relative;
}
.article-card-img {
  height: 160px; background: repeating-linear-gradient(
    -45deg, var(--line) 0, var(--line) 1px, transparent 0, transparent 50%
  ) top left / 8px 8px, var(--paper);
  display: flex; align-items: flex-end; padding: 12px;
}
.article-type-badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  background: var(--accent); color: var(--ink); padding: 3px 8px; border-radius: 4px;
  letter-spacing: .04em; text-transform: uppercase;
}
.article-card-body { padding: 16px 16px 20px; flex: 1; }
.article-card-title { font-size: 17px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; }
.article-card-dek { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.article-card-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.article-meta-dot { color: var(--line); }
.article-card-score {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: var(--accent);
  font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 900;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}

/* ── Article detail ── */
.article-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start;
}
.article-kicker { margin-bottom: 14px; }
.article-title { font-size: 44px; font-weight: 900; margin-bottom: 14px; line-height: 1.06; }
.article-dek { font-size: 20px; color: var(--muted); margin: 0 0 16px; line-height: 1.45; }
.article-byline {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted);
  display: flex; gap: 8px; align-items: center; margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}

.article-score-bar {
  display: flex; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 24px; margin-bottom: 28px;
}
.article-score-num {
  font-family: 'Archivo', sans-serif; font-size: 52px; font-weight: 900;
  color: var(--ink); line-height: 1; flex-shrink: 0;
  background: var(--accent); width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
}
.article-score-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.article-score-track { height: 6px; background: var(--line); border-radius: 3px; }
.article-score-fill { height: 100%; background: var(--accent); border-radius: 3px; }

.article-proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px;
}
.article-pros, .article-cons {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px;
}
.proscons-head { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.article-pros ul, .article-cons ul { margin: 0; padding-left: 18px; }
.article-pros li, .article-cons li { font-size: 14px; margin-bottom: 6px; line-height: 1.4; }
.article-pros { border-top: 3px solid #22c55e; }
.article-cons { border-top: 3px solid #ef4444; }

.article-body { max-width: 700px; }
.article-body-h { font-size: 24px; font-weight: 800; margin: 32px 0 12px; }
.article-body-p { font-size: 16px; line-height: 1.7; margin: 0 0 18px; color: var(--ink); }
.article-body-quote {
  margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--accent);
  background: var(--card); font-size: 18px; font-weight: 600; line-height: 1.5;
  font-style: italic; color: var(--ink); border-radius: 0 8px 8px 0;
}

.article-verdict {
  background: var(--ink); color: #f3f1ea; border-radius: 10px; padding: 24px 28px; margin-top: 40px;
}
.verdict-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.article-verdict p { margin: 0; font-size: 16px; line-height: 1.65; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.article-sidebar-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px;
}
.sidebar-card-head { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sidebar-model-img { height: 120px; background: repeating-linear-gradient(-45deg, var(--line) 0, var(--line) 1px, transparent 0, transparent 50%) top left / 8px 8px, var(--paper); border-radius: 6px; margin-bottom: 10px; }
.sidebar-model-name { font-size: 14px; font-weight: 600; }
.sidebar-model-link { text-decoration: none; color: var(--ink); display: block; }
.sidebar-link { display: block; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.sidebar-link:hover { text-decoration: underline; }

/* ── Section head (shared) ── */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.section-head h3 { font-size: 22px; font-weight: 800; }
.section-more { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.section-more:hover { color: var(--ink); }

/* ── User nav ── */
.user-nav { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.user-nav-name { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
.user-nav-name:hover { text-decoration: underline; }
.user-nav-link { font-size: 14px; color: var(--muted); text-decoration: none; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.user-nav-link:hover { color: var(--ink); }
.user-nav-btn { font-size: 13px; font-weight: 600; background: var(--ink); color: var(--bg); border: none; border-radius: 6px; padding: 6px 14px; cursor: pointer; text-decoration: none; }
.user-nav-btn:hover { opacity: .85; }
.user-nav-logout { font-size: 14px; color: var(--muted); }

/* ── Auth pages ── */
.auth-page { display: flex; justify-content: center; padding: 64px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-title { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.auth-hint { font-weight: 400; color: var(--muted); }
.auth-input { font-family: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; box-sizing: border-box; }
.auth-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.auth-textarea { resize: vertical; }
.auth-btn { font-family: inherit; font-size: 15px; font-weight: 700; background: var(--ink); color: var(--bg); border: none; border-radius: 8px; padding: 12px; cursor: pointer; margin-top: 4px; }
.auth-btn:hover { opacity: .85; }
.auth-errors { background: #fee; border: 1px solid #fcc; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.auth-errors p { margin: 0; font-size: 14px; color: #c00; }
.auth-switch { margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-switch a { color: var(--ink); font-weight: 600; }

/* ── Profile page ── */
.profile-page { max-width: 720px; margin: 0 auto; padding: 48px 16px; }
.profile-header { display: flex; align-items: flex-start; gap: 24px; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; flex-shrink: 0; text-transform: uppercase; }
.profile-info { flex: 1; }
.profile-name { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.profile-username { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.profile-bio { font-size: 15px; margin: 0 0 8px; }
.profile-meta { font-size: 13px; color: var(--muted); }
.btn-secondary { font-family: inherit; font-size: 13px; font-weight: 600; border: 1.5px solid var(--border); border-radius: 6px; padding: 6px 14px; cursor: pointer; text-decoration: none; color: var(--ink); background: var(--bg); }
.btn-secondary:hover { background: var(--surface); }

/* ── Account page ── */
.account-page { max-width: 860px; margin: 0 auto; padding: 48px 16px; }
.account-title { font-size: 28px; font-weight: 800; margin-bottom: 32px; }
.account-banner { background: #e8fce8; border: 1px solid #8bc; border-radius: 8px; padding: 10px 16px; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: #060; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.account-section { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.account-section h2 { font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.account-section--full { grid-column: 1 / -1; }
.account-subs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-subs-table th { text-align: left; font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.account-subs-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.btn-danger-sm { font-family: inherit; font-size: 12px; font-weight: 600; background: none; border: 1px solid #fcc; border-radius: 4px; color: #c00; padding: 2px 8px; cursor: pointer; }
.btn-danger-sm:hover { background: #fee; }
.badge-verified { font-size: 12px; font-weight: 600; background: #e8fce8; color: #060; border-radius: 4px; padding: 2px 8px; margin-left: 8px; }
.badge-unverified { font-size: 12px; font-weight: 600; background: #fff8e0; color: #a60; border-radius: 4px; padding: 2px 8px; margin-left: 8px; }

/* ── Comments ── */
.comments-section { max-width: 720px; margin: 48px auto 0; padding: 0 16px 64px; }
.comments-inner { max-width: 720px; margin: 48px auto 0; padding: 0 16px 64px; }
.comments-title { font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.comments-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.comment { border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.comment-author { font-weight: 700; color: var(--ink); text-decoration: none; }
.comment-author:hover { text-decoration: underline; }
.comment-date { color: var(--muted); }
.comment-delete { font-family: inherit; font-size: 12px; background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; }
.comment-delete:hover { color: #c00; }
.comment-body { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.comment-input { font-family: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--ink); resize: vertical; }
.comment-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.comments-empty { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.comments-notice { font-size: 14px; color: var(--muted); margin-top: 16px; }
.comments-notice a { color: var(--ink); font-weight: 600; }

/* ── Vote bar ── */
.vote-bar { display: flex; align-items: center; gap: 16px; margin: 24px 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.vote-score-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.vote-btns { display: flex; gap: 8px; }
.vote-btn { font-family: inherit; font-size: 14px; font-weight: 700; border: 1.5px solid var(--border); border-radius: 6px; padding: 6px 14px; cursor: pointer; background: var(--bg); color: var(--ink); transition: background .1s; }
.vote-btn:hover { background: var(--surface); }
.vote-active.vote-up { background: #e8fce8; border-color: #4a4; color: #060; }
.vote-active.vote-down { background: #fee; border-color: #c88; color: #a00; }
.vote-hint { font-size: 13px; color: var(--muted); }
.vote-hint a { color: var(--ink); font-weight: 600; }

/* ── Subscribe box ── */
.subscribe-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.subscribe-label { font-size: 14px; color: var(--muted); flex: 1; min-width: 160px; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-input { font-family: inherit; font-size: 14px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--ink); }

/* ── Header search pill ── */
.header-search {
  display: flex; align-items: center; gap: 8px;
  background: #23252b; border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px; padding: 7px 11px; min-width: 210px; cursor: text;
  text-decoration: none;
}
.header-search-icon { color: #7e8189; font-size: 14px; flex-shrink: 0; }
.header-search-placeholder { color: #7e8189; font-size: 13px; flex: 1; }
.header-search-kbd {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: #7e8189;
  border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 1px 5px;
  flex-shrink: 0;
}
.header-search:hover { border-color: rgba(255,255,255,.2); }
.site-nav a { text-decoration: none; color: #cfd0cf; transition: color .12s; }
.site-nav a:hover { color: #f3f1ea; }

/* ── Score badge ── */
.model-score-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
}
.model-score-num {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 17px;
  background: #17181c; color: var(--accent); padding: 4px 10px; border-radius: 6px;
}
.model-score-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* ── Tool tag badge ── */
.tool-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: #17181c; padding: 2px 7px; border-radius: 3px;
}

/* ── Verdict panel (model page) ── */
.model-verdict {
  background: #17181c; color: #f3f1ea; border-radius: 11px;
  padding: 24px 26px; margin-bottom: 26px;
}
.model-verdict-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.model-verdict-text { font-size: 15.5px; color: #e4e5e6; margin: 0 0 18px; line-height: 1.6; }
.model-verdict-proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.model-verdict-col-head {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.model-verdict-col-head--pros { color: #7fcf8f; }
.model-verdict-col-head--cons { color: #e09090; }
.model-verdict-item { font-size: 13.5px; color: #cfd0cf; padding: 2px 0; }

/* ── News strip ── */
.news-strip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; margin-bottom: 12px;
}
.news-strip-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px; background: #17181c; color: #f3f1ea;
  border-bottom: 1px solid var(--line);
}
.news-strip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.news-strip-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.news-strip-all { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #b9bbc0; text-decoration: none; }
.news-strip-all:hover { color: #f3f1ea; }
.news-row {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 18px; align-items: center;
  padding: 13px 22px; border-bottom: 1px solid var(--line);
  cursor: pointer; text-decoration: none; color: inherit;
}
.news-row:last-child { border-bottom: 0; }
.news-row:hover { background: rgba(23,24,28,.03); }
.news-date { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); }
.news-headline { font-size: 15px; font-weight: 500; }
.news-source { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── Model related tools ── */
.model-related { margin-top: 42px; }
.model-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 680px) { .model-related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
  display: flex; gap: 13px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px; text-decoration: none; color: inherit;
}
.related-card-img {
  width: 64px; height: 64px; flex-shrink: 0;
  background-image: repeating-linear-gradient(45deg, #e8e5dc 0 9px, #efece4 9px 18px);
  border: 1px solid var(--line); border-radius: 7px;
}
.related-card-brand { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.related-card-name { font-weight: 700; font-size: 14.5px; margin: 3px 0 4px; }
.related-card-price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; }

/* ── Cat card count ── */
.cat-card-count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); }

/* ── Avatar user nav ── */
.header-write-btn { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: var(--accent); border: none; border-radius: 8px; padding: 9px 18px; text-decoration: none; white-space: nowrap; }
.header-write-btn:hover { opacity: .88; }
/* <details> reset */
.user-avatar-wrap { position: relative; list-style: none; }
.user-avatar-wrap::marker, .user-avatar-wrap::-webkit-details-marker { display: none; }
.user-avatar-summary { display: flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; user-select: none; }
.user-avatar-summary::-webkit-details-marker { display: none; }
.user-avatar-circle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 900; font-size: 16px; text-transform: uppercase; flex-shrink: 0; }
.user-avatar-chevron { font-size: 11px; color: #9a9ca1; }
/* Dropdown */
.user-avatar-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); background: #1a1c20; border: 1px solid #2e3035; border-radius: 14px; width: 300px; padding: 6px; z-index: 200; box-shadow: 0 16px 48px rgba(0,0,0,.55); }
.user-avatar-wrap[open] .user-avatar-menu { display: block; }
.user-menu-header { padding: 14px 16px 12px; }
.user-menu-name { font-size: 17px; font-weight: 700; color: #f3f1ea; margin-bottom: 3px; }
.user-menu-handle { font-size: 13px; color: #74777e; font-family: 'IBM Plex Mono', monospace; }
.user-menu-divider { height: 1px; background: #2e3035; margin: 4px 0; }
.user-menu-item { display: block; font-size: 15px; font-weight: 500; color: #cfd0cf; text-decoration: none; padding: 12px 16px; border-radius: 8px; }
.user-menu-item:hover { background: #22252a; color: #f3f1ea; }
.user-menu-signout { display: block; width: 100%; text-align: left; font-family: inherit; font-size: 15px; font-weight: 500; color: #e07b4a; background: none; border: none; padding: 12px 16px; border-radius: 8px; cursor: pointer; }
.user-menu-signout:hover { background: #22252a; }

/* ── Profile hero ── */
.profile-page { background: var(--bg); }
.profile-hero { background: var(--ink); color: var(--paper); padding: 48px 0 40px; }
.profile-hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: flex-start; gap: 28px; }
.profile-avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; flex-shrink: 0; text-transform: uppercase; }
.profile-identity { flex: 1; }
.profile-name-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.profile-name { font-size: 30px; font-weight: 900; margin: 0; color: var(--paper); }
.profile-badge { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.profile-badge--verified { background: var(--accent); color: var(--ink); }
.profile-handle { font-size: 14px; color: #9a9ca1; margin-bottom: 12px; }
.profile-bio { font-size: 15px; color: #cfd0cf; margin: 0 0 14px; max-width: 480px; line-height: 1.6; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tag { font-size: 13px; border: 1px solid #3a3c40; border-radius: 20px; padding: 4px 12px; color: #cfd0cf; }
.profile-stats { display: flex; gap: 32px; flex-shrink: 0; text-align: right; }
.profile-stat-n { font-size: 32px; font-weight: 900; color: var(--paper); line-height: 1; }
.profile-stat-l { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; color: #74777e; margin-top: 4px; }

/* ── Profile tabs ── */
.profile-tabs-bar { background: var(--ink); border-bottom: 1px solid #2a2c30; }
.profile-tabs-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.profile-tabs { display: flex; }
.profile-tab { display: block; font-size: 14px; font-weight: 600; color: #74777e; text-decoration: none; padding: 14px 18px; border-bottom: 2px solid transparent; transition: color .12s; }
.profile-tab:hover { color: #cfd0cf; }
.profile-tab--active { color: var(--paper); border-bottom-color: var(--accent); }
.profile-edit-btn { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #74777e; text-decoration: none; border: 1px solid #3a3c40; border-radius: 6px; padding: 6px 14px; }
.profile-edit-btn:hover { color: var(--paper); border-color: #74777e; }

/* ── Profile content ── */
.profile-content { max-width: 1080px; margin: 0 auto; padding: 32px 24px 64px; }
.profile-articles { display: flex; flex-direction: column; gap: 2px; }
.profile-article-card { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: var(--ink); margin-bottom: 8px; transition: border-color .12s; }
.profile-article-card:hover { border-color: var(--muted); }
.profile-article-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.profile-article-status { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; }
.profile-article-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.profile-article-meta { font-size: 13px; color: var(--muted); }
.profile-write-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: var(--accent); color: var(--ink); border-radius: 8px; padding: 10px 20px; text-decoration: none; }
.profile-write-btn:hover { opacity: .88; }
.profile-empty { color: var(--muted); font-size: 15px; padding: 24px 0; }
.profile-comment-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 8px; }
.profile-comment-target { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.profile-comment-target a { color: var(--ink); text-decoration: none; }
.profile-comment-body { margin: 0 0 8px; font-size: 15px; line-height: 1.6; }
.profile-comment-date { font-size: 12px; color: var(--muted); }
.profile-vote-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; }
.profile-vote-slug { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.profile-vote-slug:hover { text-decoration: underline; }
.profile-vote-up { font-size: 13px; font-weight: 700; color: #22a860; }
.profile-vote-down { font-size: 13px; font-weight: 700; color: #c0392b; }

/* ── Article type badges ── */
.article-type-badge--Review { background: #1a1f35; color: #7eb3ff; }
.article-type-badge--Community { background: #1a2e1a; color: var(--accent); }
.article-type-badge--Guide { background: #2a1f10; color: #f0a040; }
.article-type-badge--News { background: #2a1a2a; color: #d088f0; }

/* ── Newsletter section ── */
.newsletter-section { background: var(--ink); padding: 72px 24px; }
.newsletter-inner { max-width: 1080px; margin: 0 auto; display: flex; gap: 80px; align-items: flex-start; }
.newsletter-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.newsletter-headline { font-size: 40px; font-weight: 900; line-height: 1.1; color: var(--paper); margin: 0; }
.newsletter-form-wrap { flex-shrink: 0; width: 360px; padding-top: 8px; }
.newsletter-toggle { display: flex; gap: 0; background: #2a2c30; border-radius: 8px; padding: 4px; margin-bottom: 16px; }
.newsletter-toggle-btn { flex: 1; font-family: inherit; font-size: 13px; font-weight: 600; background: none; border: none; color: #74777e; padding: 8px 14px; border-radius: 6px; cursor: pointer; transition: all .12s; }
.newsletter-toggle-btn--active { background: var(--accent); color: var(--ink); }
.newsletter-form { display: flex; gap: 8px; margin-bottom: 10px; }
.newsletter-input { flex: 1; font-family: inherit; font-size: 15px; padding: 12px 14px; background: #2a2c30; border: 1px solid #3a3c40; border-radius: 8px; color: var(--paper); }
.newsletter-input::placeholder { color: #74777e; }
.newsletter-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.newsletter-submit { font-family: inherit; font-size: 15px; font-weight: 700; background: var(--accent); color: var(--ink); border: none; border-radius: 8px; padding: 12px 22px; cursor: pointer; white-space: nowrap; }
.newsletter-submit:hover { opacity: .88; }
.newsletter-sub { font-size: 13px; color: #74777e; }
@media (max-width: 720px) {
  .newsletter-inner { flex-direction: column; gap: 40px; }
  .newsletter-form-wrap { width: 100%; }
  .newsletter-headline { font-size: 28px; }
  .profile-hero-inner { flex-wrap: wrap; }
  .profile-stats { flex-direction: row; gap: 20px; text-align: left; }
}

/* ── Auth modal ── */
.auth-modal { border: none; padding: 0; border-radius: 18px; max-width: 500px; width: calc(100vw - 32px); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.35); }
.auth-modal::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.auth-modal-head { background: var(--ink); padding: 28px 28px 24px; position: relative; }
.auth-modal-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.auth-modal-brand-name { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: #f3f1ea; }
.auth-modal-close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: #74777e; font-size: 22px; cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.auth-modal-close:hover { color: #f3f1ea; background: #2a2c30; }
.auth-modal-title { font-size: 28px; font-weight: 900; color: #f3f1ea; margin: 0 0 8px; }
.auth-modal-sub { font-size: 15px; color: #74777e; margin: 0; }
.auth-modal-body { background: #fff; padding: 28px; }
.auth-modal-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.auth-modal-label { display: flex; flex-direction: column; gap: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #74777e; }
.auth-modal-input { font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; padding: 14px 16px; border: 1.5px solid #e0ddd6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.auth-modal-input::placeholder { color: #b0aca4; }
.auth-modal-input:focus { outline: none; border-color: var(--accent); }
.auth-modal-submit { font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; font-weight: 800; background: var(--accent); color: var(--ink); border: none; border-radius: 10px; padding: 16px; cursor: pointer; margin-top: 4px; letter-spacing: -.01em; }
.auth-modal-submit:hover { opacity: .88; }
.auth-modal-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-modal-switch { text-align: center; font-size: 15px; color: #74777e; margin: 0 0 10px; }
.auth-modal-switch a { color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.auth-modal-switch a:hover { text-decoration: underline; }
.auth-modal-terms { text-align: center; font-size: 12px; color: #b0aca4; margin: 0; }

/* ── Newsletter strip (site-wide, green band) ── */
.nl-strip { background: var(--accent); padding: 64px 24px; }
.nl-strip-inner { max-width: 1120px; margin: 0 auto; display: flex; gap: 80px; align-items: center; }
.nl-strip-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(0,0,0,.55); margin-bottom: 16px; }
.nl-strip-headline { font-family: 'Archivo', sans-serif; font-size: 42px; font-weight: 900; line-height: 1.05; color: var(--ink); margin: 0; max-width: 14ch; }
.nl-strip-form-wrap { flex-shrink: 0; width: 440px; }
.nl-strip-toggle { display: flex; gap: 0; margin-bottom: 16px; }
.nl-strip-toggle-btn { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: 10px 20px; cursor: pointer; transition: background .12s, color .12s; }
.nl-strip-toggle-btn:first-child { border-radius: 8px 0 0 8px; border-right-width: 1px; }
.nl-strip-toggle-btn:last-child  { border-radius: 0 8px 8px 0; border-left-width: 1px; }
.nl-strip-toggle-btn--active { background: var(--ink); color: var(--accent); }
.nl-strip-input-row { display: flex; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.nl-strip-input { flex: 1; font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; padding: 14px 18px; border: none; background: transparent; color: var(--ink); outline: none; }
.nl-strip-input::placeholder { color: #aaa; }
.nl-strip-submit { font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 800; background: var(--ink); color: var(--accent); border: none; padding: 14px 24px; cursor: pointer; white-space: nowrap; letter-spacing: -.01em; }
.nl-strip-submit:hover { opacity: .85; }
/* When logged in, submit stands alone */
.nl-strip-form:not(:has(.nl-strip-input-row)) .nl-strip-submit { display: block; width: 100%; border-radius: 10px; font-size: 16px; padding: 15px; border: 2px solid var(--ink); }
.nl-strip-sub { font-size: 13px; color: rgba(0,0,0,.5); margin: 10px 0 0; }
@media (max-width: 800px) {
  .nl-strip-inner { flex-direction: column; gap: 36px; }
  .nl-strip-form-wrap { width: 100%; }
  .nl-strip-headline { font-size: 30px; }
}

/* ── Article page (redesign) ── */
.article-page { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.article-crumbs { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #74777e; display: flex; align-items: center; gap: 8px; padding: 28px 0 24px; }
.article-crumbs a { color: #74777e; text-decoration: none; }
.article-crumbs a:hover { color: var(--ink); }
.article-crumb-sep { color: #c5c2bb; }
.article-crumb-cur { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }

.article-wrap { }

/* Header */
.article-type-pill { display: inline-block; background: var(--ink); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; }
.article-h1 { font-family: 'Archivo', sans-serif; font-size: 48px; font-weight: 900; line-height: 1.05; letter-spacing: -.03em; color: var(--ink); margin: 0 0 18px; }
.article-dek { font-family: 'IBM Plex Sans', sans-serif; font-size: 22px; font-weight: 400; line-height: 1.5; color: #74777e; margin: 0 0 24px; }
.article-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.article-byline-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 900; flex-shrink: 0; text-transform: uppercase; }
.article-byline-name { font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); }
.article-byline-dot { color: #c5c2bb; }
.article-byline-date { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; color: #74777e; }
.article-byline-read { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #74777e; }
.article-header-rule { border: none; border-top: 1.5px solid #e8e5de; margin: 0 0 32px; }

/* Hero image */
.article-hero-img { width: 100%; aspect-ratio: 16/9; background: repeating-linear-gradient(45deg, #e8e5de 0, #e8e5de 1px, #f3f1ea 0, #f3f1ea 50%) 0 0 / 20px 20px; border-radius: 12px; display: flex; align-items: flex-end; padding: 16px; margin-bottom: 32px; }
.article-hero-caption { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #74777e; letter-spacing: .06em; }

/* Verdict card */
.article-verdict-card { background: var(--ink); border-radius: 16px; padding: 28px 32px; margin-bottom: 36px; }
.article-verdict-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #74777e; margin-bottom: 16px; }
.article-verdict-row { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 20px; }
.article-verdict-score { font-family: 'Archivo', sans-serif; font-size: 80px; font-weight: 900; line-height: 1; color: var(--accent); letter-spacing: -.04em; flex-shrink: 0; }
.article-verdict-right { padding-top: 8px; }
.article-verdict-line { font-family: 'IBM Plex Sans', sans-serif; font-size: 18px; font-weight: 700; color: #f3f1ea; margin-bottom: 8px; }
.article-verdict-text { font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; color: #74777e; line-height: 1.6; margin: 0; }
.article-verdict-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #2a2c30; padding-top: 20px; margin-top: 4px; }
.article-verdict-pro-head, .article-verdict-con-head { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.article-verdict-pro-head { color: var(--accent); }
.article-verdict-con-head { color: #e05a5a; }
.article-verdict-pro-col ul, .article-verdict-con-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.article-verdict-pro-col li, .article-verdict-con-col li { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; line-height: 1.5; }
.article-verdict-pro-col li { color: #c5c2bb; }
.article-verdict-con-col li { color: #c5c2bb; }

/* Body */
.article-body { margin-bottom: 40px; }
.article-body-p { font-family: 'IBM Plex Sans', sans-serif; font-size: 18px; line-height: 1.75; color: #3a3830; margin: 0 0 24px; }
.article-body-h2 { font-family: 'Archivo', sans-serif; font-size: 28px; font-weight: 900; color: var(--ink); margin: 40px 0 16px; letter-spacing: -.02em; }
.article-body-blockquote { border-left: 4px solid var(--accent); margin: 32px 0; padding: 8px 0 8px 28px; }
.article-body-blockquote p, .article-body-blockquote { font-family: 'IBM Plex Sans', sans-serif; font-size: 22px; font-style: italic; font-weight: 500; line-height: 1.55; color: var(--ink); }

/* Filed under */
.article-filed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.article-filed-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #74777e; margin-right: 4px; }
.article-filed-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; background: #f0ede6; color: var(--ink); padding: 5px 14px; border-radius: 20px; text-decoration: none; text-transform: capitalize; }
.article-filed-tag:hover { background: var(--ink); color: var(--accent); }
.article-section-rule { border: none; border-top: 1.5px solid #e8e5de; margin: 0 0 40px; }

/* Comments */
.article-comments { }
.article-comments-title { font-family: 'Archivo', sans-serif; font-size: 24px; font-weight: 900; color: var(--ink); margin: 0 0 28px; letter-spacing: -.02em; }
.article-comments-count { color: #74777e; font-weight: 700; }

.article-comment-form { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
.article-comment-form-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 900; flex-shrink: 0; text-transform: uppercase; margin-top: 2px; }
.article-comment-form-right { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.article-comment-textarea { width: 100%; font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; padding: 14px 16px; border: 1.5px solid #e0ddd6; border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.article-comment-textarea:focus { outline: none; border-color: var(--ink); }
.article-comment-submit { align-self: flex-end; font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 800; background: var(--ink); color: var(--accent); border: none; border-radius: 8px; padding: 11px 22px; cursor: pointer; letter-spacing: -.01em; }
.article-comment-submit:hover { opacity: .85; }

.article-comments-notice { font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; color: #74777e; margin: 0 0 32px; }
.article-comments-notice a { color: var(--ink); font-weight: 700; text-decoration: none; }
.article-comments-notice a:hover { text-decoration: underline; }
.article-comments-empty { font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; color: #74777e; margin: 16px 0; }

.article-comments-list { display: flex; flex-direction: column; gap: 28px; }
.article-comment { display: flex; align-items: flex-start; gap: 14px; }
.article-comment-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 900; flex-shrink: 0; text-transform: uppercase; }
.article-comment-body-wrap { flex: 1; }
.article-comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.article-comment-name { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.article-comment-name:hover { text-decoration: underline; }
.article-comment-badge { font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 3px 7px; border-radius: 4px; }
.article-comment-time { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #b0aca4; margin-left: auto; }
.article-comment-del-form { display: inline; margin: 0; }
.article-comment-del { background: none; border: none; font-size: 12px; color: #c5c2bb; cursor: pointer; padding: 0 0 0 6px; font-family: 'IBM Plex Mono', monospace; }
.article-comment-del:hover { color: #e05a5a; }
.article-comment-text { font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; line-height: 1.65; color: #3a3830; margin: 0 0 10px; }
.article-comment-foot { display: flex; gap: 16px; }
.article-comment-helpful, .article-comment-reply { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #b0aca4; cursor: pointer; }
.article-comment-helpful:hover, .article-comment-reply:hover { color: var(--ink); }

@media (max-width: 600px) {
  .article-h1 { font-size: 32px; }
  .article-dek { font-size: 18px; }
  .article-verdict-score { font-size: 56px; }
  .article-verdict-proscons { grid-template-columns: 1fr; }
  .article-body-p { font-size: 17px; }
  .article-body-blockquote { font-size: 18px; }
}

/* ── Article rating ── */
.article-rating { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 0 8px; }
.article-rating-summary { display: flex; align-items: center; gap: 10px; }
.article-rating-stars-wrap { position: relative; display: inline-block; font-size: 22px; line-height: 1; }
.article-rating-stars-bg { color: #ddd; letter-spacing: 2px; }
.article-rating-stars-fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--accent); letter-spacing: 2px; }
.article-rating-avg { font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 900; color: var(--ink); }
.article-rating-count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #74777e; }
.article-rating-form { display: flex; align-items: center; gap: 12px; }
.article-rating-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #74777e; white-space: nowrap; }
.article-rating-btns { display: flex; gap: 2px; }
.article-rating-btn { background: none; border: none; font-size: 24px; color: #ddd; cursor: pointer; padding: 0 2px; line-height: 1; transition: color .1s, transform .1s; }
.article-rating-btn.on { color: var(--accent); }
.article-rating-btn:hover,
.article-rating-btns:hover .article-rating-btn { color: var(--accent); }
.article-rating-btns .article-rating-btn:hover ~ .article-rating-btn { color: #ddd; }
.article-rating-cta { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; color: #74777e; margin: 0; }
.article-rating-cta a { color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.article-rating-cta a:hover { text-decoration: underline; }
