/* ============================================================
   NeedohGuide.com — Design System
   Adapted from CGR Affiliate Engine
   Aesthetic: Soft, playful, sensory-forward. Warm off-white base,
   hot coral CTAs, squish-gradient brand accent.
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:        #fdfaf6;    /* warm off-white page background */
  --surface:   #ffffff;    /* card / component background */
  --surface2:  #f3ede6;    /* elevated surface / section bg */
  --border:    #e8ddd2;    /* soft warm border */

  /* Brand Accent Colors */
  --accent:        #FF1493;   /* hot pink — primary CTA, links */
  --accent-2:      #a78bfa;   /* soft violet — badges, secondary UI */
  --accent-3:      #34d399;   /* mint green — pros, Must Squeeze ring */
  --accent-warm:   #fb923c;   /* orange — Worth It score ring, warmth */

  /* Text */
  --text-1:         #1a1a2e;  /* primary text — deep navy-black */
  --text-secondary: #6b7280;  /* secondary / meta text */
  --text-muted:     #9ca3af;  /* placeholder, disabled states */

  /* Squish Score Ring Colors */
  --score-high:  #34d399;   /* ≥ 85 — Must Squeeze (mint) */
  --score-mid:   #fb923c;   /* 70–84 — Worth It (orange) */
  --score-low:   #f87171;   /* < 70 — Skip It (red) */

  /* Semantic */
  --success:  #34d399;
  --warning:  #fb923c;
  --danger:   #f87171;

  /* Brand Gradient */
  --squish-gradient: linear-gradient(135deg, #FF1493, #a78bfa, #34d399);

  /* Layout */
  --max-width:     1200px;
  --nav-height:    60px;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --gap:           24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md:  0 4px 16px rgba(26, 26, 46, 0.08);
  --shadow-lg:  0 8px 32px rgba(26, 26, 46, 0.12);
}

/* ============================================================
   2. 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 {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
}

/* ============================================================
   3. TYPOGRAPHY
   Nunito: display / headlines (playful, rounded)
   DM Sans: body (readable, modern)
   JetBrains Mono: scores, prices, data
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-1);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
  margin-bottom: 1rem;
  color: var(--text-1);
}

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

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: 64px 0;
}

.section--alt {
  background-color: var(--surface2);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ============================================================
   5. NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  /* Squish blob shape using border-radius trick */
  width: 36px;
  height: 36px;
  background: var(--squish-gradient);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-1);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-1);
  background: var(--surface2);
  text-decoration: none;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Hamburger — mobile only */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-1);
}

/* ============================================================
   6. HERO SECTION
   Light, warm, playful — contrast to CGR's dark grid-paper hero.
   Uses a subtle dot-grid texture and squish-gradient accent bar.
   ============================================================ */

.hero {
  padding: 80px 0 64px;
  background-color: var(--bg);
  /* Soft dot-grid texture */
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* Squish gradient top bar */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--squish-gradient);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 900;
  color: var(--text-1);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
}

.stat-card .stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.3);
}

.btn-primary:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: rgba(255, 20, 147, 0.06);
}

.btn-ghost {
  background: var(--surface2);
  color: var(--text-1);
  border-color: var(--border);
}

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

/* Affiliate buy button */
.affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(255, 20, 147, 0.25);
}

.affiliate-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ============================================================
   8. CARDS
   ============================================================ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================================
   9. SQUISH SCORE RING
   Mirrors CGR Score Ring — adapted for NeeDoh palette.
   Usage: <div class="score-ring" data-score="88" data-tier="high">
   ============================================================ */

.score-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Ring tiers — applied via JS using data-tier attribute */
.score-ring[data-tier="high"] {
  background: conic-gradient(var(--score-high) 0% var(--score-pct, 85%), var(--surface2) var(--score-pct, 85%) 100%);
}
.score-ring[data-tier="mid"] {
  background: conic-gradient(var(--score-mid) 0% var(--score-pct, 75%), var(--surface2) var(--score-pct, 75%) 100%);
}
.score-ring[data-tier="low"] {
  background: conic-gradient(var(--score-low) 0% var(--score-pct, 60%), var(--surface2) var(--score-pct, 60%) 100%);
}

/* Inner circle mask */
.score-ring::after {
  content: '';
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface);
}

.score-number {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1;
}

.score-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

/* Score pills (used in comparison tables) */
.score-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
}

.score-pill.high { background: var(--score-high); }
.score-pill.mid  { background: var(--score-mid);  }
.score-pill.low  { background: var(--score-low);  }

/* ============================================================
   10. VERDICT BOX
   Used on homepage + top of every review page.
   Layout: 3 columns — score ring | content | CTA
   ============================================================ */

.verdict-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Squish gradient top accent */
.verdict-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--squish-gradient);
}

.verdict-box--featured {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12), var(--shadow-md);
}

.verdict-content .product-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.verdict-content .headline-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
}

.verdict-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verdict-checklist li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
}

.verdict-checklist .buy  { color: var(--accent-3); font-weight: 700; }
.verdict-checklist .skip { color: var(--danger);   font-weight: 700; }

.verdict-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.verdict-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-1);
}

.tested-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ============================================================
   11. PRODUCT CARDS (gear.html / quiz results)
   ============================================================ */

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card__img {
  aspect-ratio: 1 / 1;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}

.product-card__verdict {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}

.product-card__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card__footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-1);
}

/* ============================================================
   12. PILLS & BADGES
   ============================================================ */

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill--sensory  { background: rgba(167, 139, 250, 0.15); color: #7c3aed; }
.pill--kids     { background: rgba(255, 20, 147, 0.12);  color: #dc2626; }
.pill--desk     { background: rgba(52, 211, 153, 0.12);  color: #059669; }
.pill--gift     { background: rgba(251, 146, 60, 0.12);  color: #c2410c; }
.pill--collector{ background: rgba(167, 139, 250, 0.12); color: #7c3aed; }
.pill--fill     { background: var(--surface2); color: var(--text-secondary); border: 1px solid var(--border); }

.pick-badge {
  background: var(--squish-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 999px;
}

.deal-badge {
  display: none; /* shown via JS when dealActive = true */
  background: var(--warning);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  animation: pulse 1.5s infinite;
}

/* Color Random Warning */
.color-random-warning {
  font-size: 0.78rem;
  color: var(--warning);
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   13. COMPARISON TABLE
   ============================================================ */

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--surface2);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr.winner {
  background: rgba(255, 20, 147, 0.04);
}

.compare-table tr:hover {
  background: var(--surface2);
}

.buy-link {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.buy-link:hover { opacity: 0.85; }

/* ============================================================
   14. FAQ SECTION
   Plain HTML — no JS accordion. Static for crawlability.
   ============================================================ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 28px;
  text-align: center;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-1);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================================
   15. BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* ============================================================
   16. POST META
   ============================================================ */

.post-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================================
   17. AFFILIATE DISCLOSURE
   ============================================================ */

.affiliate-disclosure {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin: 24px 0;
  line-height: 1.5;
}

.affiliate-disclosure a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ============================================================
   18. QUIZ CTA BANNER
   ============================================================ */

.quiz-banner {
  background: var(--surface2);
  border: 2px solid var(--accent-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.quiz-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.quiz-banner p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================================
   19. FOOTER
   ============================================================ */

.footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 40px var(--gap);
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   20. SUPPLEMENTAL HOMEPAGE COMPONENTS
   ============================================================ */

/* Section headings / label rows */
.section-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-1);
  margin-bottom: 0;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  margin-top: 8px;
}

.section-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.section-see-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.section-see-all:hover { text-decoration: underline; }

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Guide cards */
.card--guide,
.card--take {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card--guide:hover,
.card--take:hover {
  text-decoration: none;
  color: inherit;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 4px;
  line-height: 1;
}

.card-icon--sm { font-size: 1.4rem; }

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}

.card-read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* Score tier badge (below ring) */
.score-tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 2px 10px;
  color: #fff;
}
.score-tier-badge.must-squeeze { background: var(--score-high); }
.score-tier-badge.worth-it     { background: var(--score-mid);  }
.score-tier-badge.skip-it      { background: var(--score-low);  }

/* Verdict pills row */
.verdict-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

/* Full review link inside verdict box */
.verdict-full-review {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}
.verdict-full-review:hover { color: var(--accent); text-decoration: underline; }

/* Product card badge overlay */
.product-card { position: relative; }
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.product-card--featured {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(167,139,250,0.2), var(--shadow-sm);
}

/* Product placeholder icon (used until real images are added) */
.product-placeholder-icon {
  font-size: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
}

.score-label-sm {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quiz banner */
.quiz-banner__emoji {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.about-strip__text h2 { margin-bottom: 12px; }
.about-strip__text p  { color: var(--text-secondary); margin-bottom: 20px; }

.about-strip__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  white-space: nowrap;
}

.trust-badge__icon { font-size: 1.25rem; }

.trust-badge__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Footer logo */
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img { margin: 0 auto; }

/* Nav logo image */
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   21. ABOUT PAGE COMPONENTS
   ============================================================ */

.page-hero {
  padding: 48px 0 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin: 12px 0 8px; }

.about-page { max-width: 760px; }

.about-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.about-block:last-child { border-bottom: none; }
.about-block h2 { margin-bottom: 16px; }
.about-block p  { color: var(--text-secondary); margin-bottom: 14px; }

/* Score breakdown */
.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.score-dim {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 14px 16px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.score-dim__label { font-weight: 700; font-size: 0.95rem; color: var(--text-1); }
.score-dim__weight {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  grid-row: span 2;
  align-self: center;
  white-space: nowrap;
}
.score-dim__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  grid-column: 1;
  margin: 0;
}

.score-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.score-tier-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Fill type cards */
.fill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.fill-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.fill-card__icon { font-size: 1.75rem; margin-bottom: 8px; }
.fill-card h3    { font-size: 1rem; margin-bottom: 8px; }
.fill-card p     { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* Disclosure box */
.disclosure-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.disclosure-box p { font-size: 0.9rem; }

/* ============================================================
   20. ARTICLE HERO IMAGE
   ============================================================ */

.article-hero-wrap {
  margin-bottom: var(--sp-8, 32px);
}

.article-hero-image {
  width: 100%;
  max-width: 720px;
  max-height: 480px;
  margin-inline: auto;
  display: block;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border);
  object-fit: contain;
  background: var(--surface2);
}

/* ============================================================
   21. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .verdict-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .verdict-cta {
    align-items: center;
  }

  .hero { padding: 48px 0 40px; }

  .section { padding: 40px 0; }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .btn { padding: 10px 18px; font-size: 0.875rem; }
  .quiz-banner { padding: 24px; }
}

/* ============================================================
   22. SECTION INDEX PAGES (reviews/, guides/, takes/)
   ============================================================ */

/* Offset page content below fixed nav */
.page-offset {
  padding-top: var(--nav-height, 60px);
}

/* Page header (eyebrow + title + desc) */
.page-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-header__title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-1);
  margin-bottom: 8px;
}

.page-header__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ============================================================
   23. REVIEW / GUIDE CARD GRID (hp-review-card)
   ============================================================ */

.hp-reviews__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.hp-section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
}

.section-header__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
}

.section-header__link:hover {
  text-decoration: underline;
}

.hp-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.hp-review-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.hp-review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.hp-review-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface2);
  padding: 16px;
}

.hp-review-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-review-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.hp-review-card__name {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.3;
  margin: 0;
}

.hp-review-card__verdict {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.hp-review-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.hp-review-card__tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.hp-review-card__cta {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Score ring inner number alias — build-indexes uses score-ring__number */
.score-ring__number {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1;
}

@media (max-width: 640px) {
  .hp-reviews__grid {
    grid-template-columns: 1fr;
  }
}
