/* ============================================================
   DARKNET REVIEW — main.css
   Dark editorial publication theme
   Mobile-first, 8px grid, Sora + DM Sans + Fira Code
   ============================================================ */

/* ---------- Design Tokens ---------------------------------- */
:root {
  --bg:           #0a0907;
  --surface:      #131110;
  --surface-2:    #1a1814;
  --border:       #242018;
  --border-light: #2e2a22;
  --accent:       #f5a623;
  --accent-dim:   #c4831a;
  --accent-glow:  rgba(245, 166, 35, 0.12);
  --text:         #e8e4dc;
  --text-sub:     #7d7567;
  --text-muted:   #4a4540;
  --text-inv:     #0a0907;
  --highlight:    #1a1814;
  --danger:       #e05252;
  --success:      #52a869;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.4);
  --shadow:       0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.8);
  --header-h:     64px;
  --font-head:    'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'Fira Code', 'JetBrains Mono', monospace;
  --transition:   0.2s ease;
}

/* ---------- Reset & Base ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffc04d; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---------- Typography ------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 600; }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; max-width: 72ch; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ----------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- Header ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 7, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--text-inv);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-accent { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.site-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 999;
  overflow-y: auto;
}

.site-nav.open {
  display: block !important;
}

.nav-list {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 48px;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface);
}

.nav-link.active { color: var(--accent); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 98;
}
.nav-overlay.open { display: block; }

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle { display: none !important; }

  .site-nav {
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    border: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    padding: 0;
    gap: 0;
    align-items: center;
  }

  .nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
  }

  .nav-overlay { display: none !important; }
}

/* ---------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inv);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: #ffc04d;
  color: var(--text-inv);
  border-color: #ffc04d;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8125rem;
}

/* ---------- Tags / Badges ---------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-head);
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.market-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Stars ------------------------------------------ */
.star {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.star.filled { color: var(--accent); }
.star.partial { color: var(--accent); opacity: 0.5; }

@keyframes star-shimmer {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}

.star-row .star.filled,
.summary-stars .star.filled,
.card-stars .star.filled,
.verdict-stars .star.filled,
.ranking-stars .star.filled {
  animation: star-shimmer 1.6s ease-in-out var(--i, 0s) 1;
}

.star-row .star:nth-child(1) { --i: 0s; }
.star-row .star:nth-child(2) { --i: 0.1s; }
.star-row .star:nth-child(3) { --i: 0.2s; }
.star-row .star:nth-child(4) { --i: 0.3s; }
.star-row .star:nth-child(5) { --i: 0.4s; }

/* ---------- Score Bars ------------------------------------- */
.score-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.score-bar-item.large {
  margin-bottom: 24px;
}

.score-bar-label {
  font-size: 0.8125rem;
  color: var(--text-sub);
  font-family: var(--font-head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
  width: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-bar-fill.accent { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }

.score-bar-val {
  font-size: 0.8125rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.overall-bar .score-bar-label { color: var(--text); font-weight: 600; }
.overall-bar .score-bar-track { height: 8px; }
.overall-bar .score-bar-val { color: var(--accent); }

/* ---------- Reveal animation ------------------------------- */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.reveal-hidden.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Breadcrumb ------------------------------------- */
.breadcrumb {
  padding: 20px 0 8px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--text-sub);
}
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: '/'; color: var(--text-muted); }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Section Labels / Headers ----------------------- */
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-header {
  margin-bottom: 32px;
}
.section-title {
  margin-bottom: 8px;
}
.section-sub {
  color: var(--text-sub);
  max-width: 60ch;
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.eyebrow-tag {
  display: inline-flex;
  padding: 3px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-sep { color: var(--text-muted); }

.eyebrow-text {
  font-size: 0.8125rem;
  color: var(--text-sub);
  font-family: var(--font-head);
}

.hero-title {
  margin-bottom: 20px;
  max-width: 16ch;
}

.accent-text { color: var(--accent); }

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-sub);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  font-family: var(--font-head);
}

/* ============================================================
   FEATURED REVIEW
   ============================================================ */
.featured-review {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.featured-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: box-shadow var(--transition);
}
.featured-card:hover {
  box-shadow: 0 8px 40px rgba(245,166,35,0.06), var(--shadow-lg);
}

.featured-card-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .featured-card-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.featured-badge { margin-bottom: 12px; }

.featured-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.featured-verdict {
  color: var(--text-sub);
  font-size: 0.9375rem;
  max-width: 52ch;
  margin: 0;
}

.featured-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.score-circle {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 12px;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.score-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.score-denom {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text-sub);
}

.featured-scores {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

@media (min-width: 640px) {
  .featured-scores {
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
  }
}

/* ============================================================
   REVIEW GRID
   ============================================================ */
.review-grid-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.review-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .review-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .review-grid .review-card:nth-child(1) {
    grid-column: span 2;
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.review-card-top {
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.1);
}
.review-card-top:hover {
  border-color: rgba(245,166,35,0.5);
  box-shadow: 0 4px 24px rgba(245,166,35,0.12);
}
.review-card-top .card-rank {
  background: rgba(245,166,35,0.2);
  color: #f5a623;
  border-color: rgba(245,166,35,0.35);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.card-rank {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-info { flex: 1; min-width: 0; }

.card-name {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-head);
}

.card-verdict {
  font-size: 0.8125rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.4;
}

.card-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.card-score-num {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.card-stars { display: flex; gap: 2px; }
.card-stars .star { font-size: 0.875rem; color: var(--text-sub); }
.card-stars .star.filled { color: #f5a623; }
.card-stars .star.partial { color: #f5a623; opacity: 0.55; }

/* Mobile card-header fix */
@media (max-width: 639px) {
  .card-header {
    flex-wrap: wrap;
  }
  .card-rank {
    order: 0;
  }
  .card-info {
    order: 1;
    flex: 1 1 calc(100% - 60px);
  }
  .card-score {
    order: 2;
    flex-shrink: 0;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }
  .card-score-num {
    font-size: 1.5rem;
  }
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-cta {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
}
.card-cta:hover { color: #ffc04d; }

/* ============================================================
   EDITORIAL NOTE
   ============================================================ */
.editorial-note {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-inner {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.editorial-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  padding-top: 2px;
  color: var(--accent);
}

.editorial-text h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.editorial-text p {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin: 0;
  max-width: 72ch;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  padding: 48px 0;
}

.cta-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

@media (min-width: 640px) {
  .cta-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-text h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.cta-text p {
  font-size: 0.9375rem;
  color: var(--text-sub);
  margin: 0;
}

/* ============================================================
   REVIEW PAGE
   ============================================================ */
.review-page { padding-bottom: 64px; }

.review-header {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.review-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-tag {
  display: inline-flex;
  padding: 3px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-date {
  font-size: 0.8125rem;
  color: var(--text-sub);
  font-family: var(--font-head);
}

.review-title { margin-bottom: 12px; }

.review-subtitle {
  font-size: 1.0625rem;
  color: var(--text-sub);
  max-width: 60ch;
  margin-bottom: 24px;
}

.review-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
}

.summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.summary-score-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.summary-score-label {
  font-size: 0.75rem;
  font-family: var(--font-head);
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.summary-stars { display: flex; gap: 2px; }

.summary-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-label {
  font-size: 0.6875rem;
  font-family: var(--font-head);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-val {
  font-size: 0.875rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}

/* Review Layout */
.review-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .review-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.review-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.review-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.section-score-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.review-section p { color: var(--text-sub); font-size: 0.9375rem; }
.review-section h3 { margin: 20px 0 12px; }

.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  max-width: 72ch;
}

.content-list li {
  padding-left: 20px;
  position: relative;
  color: var(--text-sub);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.content-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.content-list.spaced li { padding-bottom: 8px; }

/* Verdict */
.verdict-section { border-bottom: none !important; }

.verdict-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.verdict-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.verdict-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.verdict-score-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.verdict-score-label {
  font-size: 0.6875rem;
  font-family: var(--font-head);
  color: var(--text-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict-stars { display: flex; gap: 3px; }
.verdict-stars .star { font-size: 1.125rem; }

.verdict-label-block { margin-left: auto; }

.verdict-label {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict-label.recommended {
  background: rgba(82, 168, 105, 0.15);
  border: 1px solid rgba(82, 168, 105, 0.3);
  color: var(--success);
}

.verdict-text { color: var(--text-sub); font-size: 0.9375rem; }
.verdict-text + .verdict-text { margin-top: 12px; }

/* Pros / Cons */
.pros-cons-section h2 { margin-bottom: 20px; }

.pros-cons-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .pros-cons-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.pros-block, .cons-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pros-header, .cons-header {
  font-size: 0.875rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pros-header { color: var(--success); border-color: rgba(82,168,105,0.2); }
.cons-header { color: var(--danger); border-color: rgba(224,82,82,0.2); }

.pros-cons-list { display: flex; flex-direction: column; gap: 8px; }

.pros-cons-list li {
  font-size: 0.875rem;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pros-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.cons-list li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* Address block */
.address-section h2 { margin-bottom: 16px; }
.address-section p { color: var(--text-sub); font-size: 0.9375rem; }

.address-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}

.onion-address {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  display: block;
  word-break: break-all;
  margin-bottom: 12px;
}

.address-note {
  font-size: 0.8125rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* Sidebar */
.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 960px) {
  .review-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-card h3 {
  font-size: 0.8125rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-scores { display: flex; flex-direction: column; gap: 8px; }

.sidebar-scores .score-bar-item {
  grid-template-columns: 72px 1fr 32px;
  gap: 8px;
}

.sidebar-scores .score-bar-label { font-size: 0.75rem; }
.sidebar-scores .score-bar-val { font-size: 0.75rem; }

.facts-table { width: 100%; border-collapse: collapse; }
.facts-table td {
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.facts-table tr:last-child td { border-bottom: none; }
.facts-table td:first-child { color: var(--text-sub); width: 44%; }
.facts-table td:last-child { color: var(--text); font-weight: 500; font-family: var(--font-head); }

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color var(--transition);
}
.related-link:last-child { border-bottom: none; }

.related-name {
  font-size: 0.875rem;
  color: var(--text-sub);
  transition: color var(--transition);
}
.related-link:hover .related-name { color: var(--accent); }

.related-score {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.related-arrow { color: var(--text-sub); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page { padding-bottom: 64px; }

.article-header {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.article-title { margin-bottom: 12px; }

.article-subtitle {
  font-size: 1.0625rem;
  color: var(--text-sub);
  max-width: 60ch;
  margin: 0;
}

.article-intro {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-intro p { font-size: 0.9375rem; color: var(--text-sub); }

/* ============================================================
   RANKINGS PAGE
   ============================================================ */
.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.ranking-item {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.ranking-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-light);
}

.ranking-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 20px;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  min-width: 80px;
  gap: 8px;
  flex-shrink: 0;
}

.rank-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.rank-label {
  font-size: 0.65rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.ranking-content {
  padding: 24px 28px;
  flex: 1;
}

.ranking-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ranking-name {
  font-size: 1.25rem;
  font-family: var(--font-head);
}

.ranking-score-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ranking-score {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.ranking-stars { display: flex; gap: 2px; }
.ranking-stars .star { font-size: 0.875rem; }

.ranking-lead {
  color: var(--text-sub);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  max-width: 72ch;
}

.ranking-scores-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mini-score { display: flex; flex-direction: column; gap: 2px; }

.mini-label {
  font-size: 0.6875rem;
  font-family: var(--font-head);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-val {
  font-size: 0.9375rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
}

.ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.methodology-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 8px;
}

.methodology-section h2 { margin-bottom: 16px; }
.methodology-section p { color: var(--text-sub); font-size: 0.9375rem; }

/* ============================================================
   SECURITY GUIDE PAGE
   ============================================================ */
.guide-warning-banner {
  margin-bottom: 32px;
}

.warning-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.warning-icon { color: var(--danger); font-size: 1.125rem; flex-shrink: 0; }

.warning-text {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.warning-text strong { color: var(--text); }

.guide-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  max-width: 480px;
}

.toc-title {
  font-size: 0.875rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: decimal;
  padding-left: 20px;
}

.toc-list li { list-style: decimal; }
.toc-list a {
  font-size: 0.9375rem;
  color: var(--text-sub);
  text-decoration: none;
}
.toc-list a:hover { color: var(--accent); }

.guide-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.guide-section:last-child { border-bottom: none; margin-bottom: 0; }

.guide-section h2 {
  margin-bottom: 20px;
  padding-top: 8px;
}

.guide-section h3 {
  margin: 24px 0 10px;
  color: var(--text);
  font-size: 1.0625rem;
}

.guide-section p { color: var(--text-sub); font-size: 0.9375rem; }

.code-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 12px 0;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  white-space: pre;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo { display: inline-flex; margin-bottom: 12px; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 40ch;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-sub);
  font-family: var(--font-head);
  margin: 0;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 80ch;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 0;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.error-message {
  color: var(--text-sub);
  margin-bottom: 32px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
