:focus-visible { outline: 3px solid #00d4aa; outline-offset: 4px; }
.option-card { font: inherit; color: inherit; text-align: left; width: 100%; }
.pick-text, .selector-card, .tool-th, .verdict-card { min-width: 0; overflow-wrap: anywhere; }
.compare-wrap { max-width: 100%; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.tool-main, .tool-sidebar { min-width: 0; }
.reset-link { font: inherit; background: none; border: 0; cursor: pointer; }
.form-status { margin-top: 12px; line-height: 1.5; }
.score-unknown { color: var(--muted, #9999bb); font-size: 12px; }
@media (max-width: 520px) {
  .verdict-item { flex-direction: column; }
  .verdict-label { white-space: normal; max-width: 100%; }
  .verdict-text { min-width: 0; overflow-wrap: anywhere; }
  .verdict-box { padding: 24px 18px; }
  .presets-label { white-space: normal; text-align: center; min-width: 0; }
  .pick-row { flex-direction: column; }
  .pick-actions { flex-wrap: wrap; }
  .pick-actions a { max-width: 100%; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ── AdSense placeholder slots ─────────────────────────────────────────────
   Reserve labeled regions for Google AdSense units. After approval, drop the
   <ins class="adsbygoogle"> … </ins> + (adsbygoogle = window.adsbygoogle || []).push({});
   snippet inside .ad-slot__inner. Publisher ID already site-wide: ca-pub-3073001775422918
   (see ads.txt). Do not invent new unit slot IDs until AdSense console creates them.
*/

/* FORCE-HIDE empty AdSense placeholders (no live unit injected) */
aside.ad-slot:not(:has(ins.adsbygoogle)),
.ad-slot:not(:has(ins.adsbygoogle)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
.ad-slot:not(:has(ins.adsbygoogle)) .ad-slot__label,
.ad-slot:not(:has(ins.adsbygoogle)) .ad-slot__inner {
  display: none !important;
  min-height: 0 !important;
  border: none !important;
  background: transparent !important;
}

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1240px;
  margin: 28px auto;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center;
}
.ad-slot__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(153, 153, 187, 0.65);
  margin-bottom: 8px;
  line-height: 1;
}
.ad-slot__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 36, 0.55);
  border: 1px dashed rgba(153, 153, 187, 0.28);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.ad-slot__inner > * {
  max-width: 100%;
}
/* Collapse unfilled live AdSense units (Google sets data-ad-status="unfilled") */
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
/* Hide empty placeholders (no live AdSense <ins> yet) so layout has no dashed hole */
.ad-slot:not(:has(ins.adsbygoogle)) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
/* Optional: hide a slot completely by adding class="ad-slot--hidden" */
.ad-slot--hidden {
  display: none !important;
}

.ad-slot--banner .ad-slot__inner {
  min-height: 90px;
  max-width: 970px;
}
.ad-slot--sidebar {
  margin: 0 0 20px;
  padding: 0;
  max-width: 100%;
}
.ad-slot--sidebar .ad-slot__inner {
  min-height: 250px;
  max-width: 300px;
}
.ad-slot--infeed {
  margin: 32px auto;
}
.ad-slot--infeed .ad-slot__inner {
  min-height: 120px;
  max-width: 728px;
}
/* In-grid full-bleed for tools listing */
.tools-grid > .ad-slot--infeed {
  grid-column: 1 / -1;
  margin: 8px 0 12px;
  padding: 0;
}
@media (max-width: 768px) {
  .ad-slot { margin: 20px auto; padding: 0 16px; }
  .ad-slot--banner .ad-slot__inner { min-height: 70px; }
  .ad-slot--infeed .ad-slot__inner { min-height: 100px; }
  .ad-slot--sidebar .ad-slot__inner { min-height: 200px; max-width: 100%; }
}
@media (max-width: 480px) {
  .ad-slot--banner .ad-slot__inner { min-height: 60px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Premium visual upgrades (2026-09-20) — safe overrides after page <style>.
   Unifies tokens / type / cards / hero / nav / footer. Ad slots untouched above.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0B0C10;
  --bg2: #12141A;
  --card: #16181F;
  --card2: #1A1C24;
  --accent: #5E5CE6;
  --accent-dim: rgba(94, 92, 230, 0.14);
  --accent-glow: rgba(94, 92, 230, 0.28);
  --teal: #00D4AA;
  --teal-dim: rgba(0, 212, 170, 0.12);
  --lavender: #C2C1FF;
  --white: #E8E7ED;
  --muted: #9B99AB;
  --border: #2A2B35;
  --border2: #1F2028;
  --badge-free: #00D4AA;
  --badge-paid: #FF6B6B;
  --badge-freemium: #FFB347;
  --star: #FFD700;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-head: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
  --bg-primary: #0B0C10;
  --bg-secondary: #16181F;
  --bg-card: #12141A;
  --bg-card-hover: #1A1C24;
  --accent-purple: #5E5CE6;
  --accent-purple-dark: #332DBC;
  --accent-purple-glow: rgba(94, 92, 230, 0.2);
  --accent-cyan: #00D4AA;
  --text-primary: #E8E7ED;
  --text-secondary: #9B99AB;
  --text-muted: #6B697A;
  --border-default: #2A2B35;
  --radius-card: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 16px 40px rgba(94, 92, 230, 0.22);
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Type */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--lavender);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}
.section {
  padding: 72px 0;
}

/* Nav */
.navbar {
  height: var(--nav-h);
  background: rgba(11, 12, 16, 0.84);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border2);
}
.nav-inner {
  height: 100%;
  max-width: 1240px;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  gap: 10px;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5E5CE6 0%, #332DBC 100%);
  box-shadow: 0 2px 12px rgba(94, 92, 230, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--accent-dim);
}
.nav-cta {
  background: linear-gradient(180deg, #6B69F0 0%, #332DBC 100%) !important;
  box-shadow: 0 2px 12px rgba(94, 92, 230, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  color: #F8F6FF !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.mobile-menu {
  top: var(--nav-h);
  background: rgba(11, 12, 16, 0.98);
  padding: 20px 24px 28px;
}

/* Hero */
.hero {
  min-height: 600px;
  padding: 96px 0 72px;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(94, 92, 230, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(0, 212, 170, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 70%, rgba(94, 92, 230, 0.07) 0%, transparent 45%);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.65;
}
.editors-note {
  font-size: 14px !important;
  color: var(--lavender) !important;
  text-align: center;
  margin: 0 auto 28px !important;
  font-style: normal !important;
  font-weight: 500;
  max-width: 480px;
  letter-spacing: -0.01em;
}
.editors-note em {
  font-style: normal;
  color: inherit;
}
.hero-badge {
  margin-bottom: 24px;
  border-color: rgba(94, 92, 230, 0.35);
}
.hero-badge-dot {
  background: var(--teal);
}
.hero-cta-row {
  gap: 14px;
  margin: 24px 0 12px;
}
.hero-btn-primary {
  background: linear-gradient(180deg, #6B69F0 0%, #332DBC 100%);
  color: #F8F6FF;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 24px rgba(94, 92, 230, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero-btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(94, 92, 230, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(194, 193, 255, 0.35);
}
.hero-btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.search-bar {
  background: var(--card2);
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.18), 0 8px 32px rgba(0, 0, 0, 0.35);
}
.search-btn {
  background: linear-gradient(180deg, #6B69F0 0%, #332DBC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #F8F6FF;
  font-weight: 600;
}
.category-pills {
  margin-top: 24px;
  gap: 10px;
}
.pill {
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
}
.pill:hover,
.pill.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--white);
}

/* Stats + trust */
.stats-bar { padding: 32px 0; }
.stats-pill {
  gap: 10px 36px;
  padding: 18px 40px;
  background: rgba(22, 24, 31, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trust-strip { padding: 32px 0 16px; }
.trust-badge {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.trust-badge:hover {
  border-color: rgba(94, 92, 230, 0.4);
  background: var(--accent-dim);
}
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--lavender);
}
.trust-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trust-sub { font-size: 12px; color: var(--muted); }

/* Tool cards */
.tools-grid { gap: 20px; }
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.tool-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Circular logo consistency across pages */
.tool-logo {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #292A2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden;
}
.tool-logo img {
  padding: 10px !important;
  background: #F4F4F7 !important;
  border-radius: 50% !important;
  object-fit: contain;
}
.tool-card:hover .tool-logo {
  box-shadow: 0 0 0 2px rgba(94, 92, 230, 0.45), 0 4px 16px rgba(94, 92, 230, 0.25) !important;
}
.search-result-logo {
  border-radius: 50% !important;
  overflow: hidden;
}
.search-result-logo img {
  border-radius: 50% !important;
  background: #F4F4F7 !important;
}
.totw-logo {
  border-radius: 50% !important;
  overflow: hidden;
}
.totw-logo img {
  border-radius: 50% !important;
  background: #F4F4F7;
}
.tool-hero-logo {
  border-radius: 22px !important;
  overflow: hidden;
}
.tool-hero-logo img {
  background: #F4F4F7;
  border-radius: 18px;
}

.tool-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.tool-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.btn-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  background: linear-gradient(180deg, #6B69F0 0%, #332DBC 100%);
  border: none;
  color: #F8F6FF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(94, 92, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: auto;
}
.btn-visit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  background: linear-gradient(180deg, #7A78F5 0%, #3D36C8 100%);
  border-color: transparent;
  color: #F8F6FF;
  box-shadow: 0 6px 20px rgba(94, 92, 230, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Category cards */
.cat-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(94, 92, 230, 0.15);
}
.cat-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* Page headers */
.page-header {
  padding: 56px 0 40px;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.page-header p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

/* Filters */
.filter-bar {
  top: var(--nav-h);
  padding: 16px 0;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(12px);
}
.filter-input,
.filter-select {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
}
.filter-input:focus,
.filter-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 92, 230, 0.15);
}

/* Forms */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg2);
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 92, 230, 0.15);
  outline: none;
}

/* Quiz / banners */
.quiz-banner,
.quiz-cta-card {
  border-radius: 20px;
}
.btn-quiz-cta,
.btn-primary {
  box-shadow: 0 4px 20px rgba(94, 92, 230, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 64px 0 32px;
}
.footer-grid {
  gap: 32px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--white); }
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
}
.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 24px;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-affiliate {
  font-size: 12px;
  color: rgba(155, 153, 171, 0.55);
}

/* Misc */
.btn-outline,
.btn-load-more,
.btn-filter-clear,
.btn-secondary {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover,
.btn-load-more:hover,
.btn-filter-clear:hover,
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--white);
}
.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(94, 92, 230, 0.12);
}
.totw-card {
  border-radius: 20px;
  border-color: rgba(94, 92, 230, 0.35);
  box-shadow: 0 0 40px rgba(94, 92, 230, 0.14);
}
.similar-item {
  border-radius: 12px;
  border: 1px solid var(--border);
}
.similar-item:hover {
  border-color: var(--accent);
}

/* Mobile */
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero {
    min-height: auto;
    padding: 64px 0 40px;
  }
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -0.03em;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .editors-note {
    font-size: 13px !important;
    margin-bottom: 22px !important;
    padding: 0 8px;
  }
  .stats-pill {
    padding: 16px 20px;
    gap: 8px 20px;
    border-radius: 20px;
  }
  .trust-strip { padding: 24px 0 8px; }
  .tool-card { padding: 18px; gap: 12px; }
  .tool-logo {
    width: 48px !important;
    height: 48px !important;
  }
  .page-header { padding: 40px 0 28px; }
  .tools-main { padding: 20px 0 56px; }
  .form-card { padding: 24px 18px; }
  .footer { padding: 48px 0 28px; }
  .footer-grid { gap: 28px; margin-bottom: 36px; }
  .quiz-banner { padding: 36px 22px; }
  .nav-inner { padding: 0 16px; }
  .search-btn-text { display: none; }
  .search-btn { padding: 0 18px; min-width: 54px; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 32px; }
  .section-sub { margin-bottom: 28px; }
  .tool-card { padding: 16px; }
}


/* Aliases for markup variants */
.footer-affiliate,
.footer-copy .affiliate,
.footer-bottom .affiliate-note {
  font-size: 12px;
  color: rgba(155, 153, 171, 0.55);
}
.section-label,
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 8px;
}
.pill,
.category-pills .pill,
.cat-pill {
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Design Pass 2 (2026-09-20) — deeper premium polish
   Hero hierarchy · card depth · trust weight · type · mobile
   .ad-slot* rules above remain untouched.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: clamp(24px, 3vw, 32px);
  --text-3xl: clamp(32px, 4vw, 44px);
  --text-display: clamp(40px, 6.2vw, 68px);
  --space-section: 80px;
  --space-section-sm: 48px;
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-card: 0 6px 28px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(255, 255, 255, 0.045) inset;
  --shadow-card-hover: 0 20px 48px rgba(94, 92, 230, 0.28), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* Stronger type hierarchy */
h1, h2, h3, .section-title, .tool-name, .page-header h1,
.question-title, .results-header h2, .nav-logo-text {
  font-family: var(--font-head);
}

.section {
  padding: var(--space-section) 0;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 14px;
}
.section-head-sub {
  font-size: var(--text-md);
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  max-width: 420px;
}
.section-head-link {
  color: var(--lavender);
  font-size: var(--text-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s, gap 0.2s;
}
.section-head-link:hover {
  color: var(--white);
  gap: 10px;
}

/* ── Hero Pass 2: clearer vertical rhythm ── */
.hero {
  min-height: 620px;
  padding: 104px 0 80px;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  background: rgba(94, 92, 230, 0.1);
  border: 1px solid rgba(94, 92, 230, 0.38);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lavender);
  box-shadow: 0 0 24px rgba(94, 92, 230, 0.12);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.22);
  animation: trustPulse 2.4s ease-in-out infinite;
}
@keyframes trustPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.08); }
}
.hero h1 {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero h1 span {
  background: linear-gradient(135deg, #7A78F5 0%, #C2C1FF 55%, #00D4AA 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 14px;
  line-height: 1.65;
  font-weight: 400;
}
.editors-note {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px !important;
  color: var(--lavender) !important;
  background: rgba(194, 193, 255, 0.06);
  border: 1px solid rgba(194, 193, 255, 0.16);
  border-radius: 9999px;
  padding: 8px 16px !important;
  margin: 0 auto 32px !important;
  font-style: normal !important;
  font-weight: 500;
  max-width: none;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.editors-note::before {
  content: "✦";
  color: var(--teal);
  font-size: 11px;
  flex-shrink: 0;
}
.editors-note em {
  font-style: normal;
  color: inherit;
}

.search-wrap {
  max-width: 640px;
  margin: 0 auto 8px;
  width: 100%;
}
.search-bar {
  background: linear-gradient(180deg, #1C1E27 0%, #16181F 100%);
  border: 1.5px solid rgba(42, 43, 53, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  min-height: 58px;
}
.search-bar:focus-within {
  border-color: rgba(94, 92, 230, 0.75);
  box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.18), 0 12px 40px rgba(0, 0, 0, 0.4);
}
.search-btn {
  border-radius: 10px;
  padding: 0 22px;
  min-height: 42px;
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}

.hero-cta-row {
  gap: 12px;
  margin: 28px 0 8px;
}
.hero-btn-primary {
  min-height: 52px;
  padding: 15px 32px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(94, 92, 230, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero-btn-secondary {
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1.5px solid rgba(194, 193, 255, 0.42);
  background: rgba(255, 255, 255, 0.035);
}
.category-pills {
  margin-top: 28px;
  gap: 8px;
  justify-content: center;
}
.pill {
  padding: 9px 16px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

/* Stats bar — slightly more presence */
.stats-bar { padding: 28px 0 8px; }
.stats-pill {
  gap: 12px 40px;
  padding: 18px 44px;
  background: rgba(22, 24, 31, 0.72);
  border: 1px solid rgba(42, 43, 53, 0.9);
  border-radius: 9999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.stat-icon { color: var(--lavender); opacity: 0.9; }
.stat-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ── Trust strip — visual weight ── */
.trust-strip {
  padding: 40px 0 24px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-badge {
  background: linear-gradient(165deg, rgba(26, 28, 36, 0.95) 0%, rgba(18, 20, 26, 0.9) 100%);
  border: 1px solid rgba(42, 43, 53, 0.95);
  border-radius: 16px;
  padding: 22px 24px;
  gap: 16px;
  box-shadow: var(--shadow-elevated);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.trust-badge:hover {
  border-color: rgba(94, 92, 230, 0.5);
  background: linear-gradient(165deg, rgba(30, 32, 44, 0.98) 0%, rgba(22, 24, 34, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(94, 92, 230, 0.16), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(94, 92, 230, 0.16);
  color: var(--lavender);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(94, 92, 230, 0.22), 0 4px 14px rgba(0, 0, 0, 0.25);
}
.trust-icon--verify {
  background: rgba(0, 212, 170, 0.14);
  color: var(--teal);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.28), 0 4px 14px rgba(0, 0, 0, 0.25);
}
.trust-icon--update {
  background: rgba(94, 92, 230, 0.16);
  color: var(--lavender);
}
.trust-icon--independent {
  background: rgba(255, 107, 107, 0.12);
  color: #FF8A8A;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.22), 0 4px 14px rgba(0, 0, 0, 0.25);
}
.trust-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 4px;
}
.trust-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Premium tool cards ── */
.tools-grid {
  gap: 22px;
}
.tool-card {
  background: linear-gradient(165deg, #1A1C24 0%, #14161D 100%);
  border: 1px solid rgba(42, 43, 53, 0.95);
  border-radius: 16px;
  padding: 24px;
  gap: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}
.tool-card:hover {
  border-color: rgba(94, 92, 230, 0.75);
  background: linear-gradient(165deg, #1E2030 0%, #181A24 100%);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.tool-logo {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #F4F4F7 !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.tool-logo img {
  padding: 9px !important;
  background: #F4F4F7 !important;
  border-radius: 50% !important;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.tool-card:hover .tool-logo {
  box-shadow: 0 0 0 3px rgba(94, 92, 230, 0.4), 0 6px 18px rgba(94, 92, 230, 0.28) !important;
  border-color: rgba(194, 193, 255, 0.35) !important;
}

.tool-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
}
.tool-tagline {
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tool-rating {
  font-size: 13px;
}
.rating-number {
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}
.btn-visit {
  margin-top: auto;
  min-height: 44px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow: 0 4px 18px rgba(94, 92, 230, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Circular logos on quiz results + search */
.result-logo {
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #F4F4F7 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}
.result-logo img {
  border-radius: 50% !important;
  background: #F4F4F7 !important;
  object-fit: contain;
  padding: 8px;
}
.result-card {
  border-radius: 16px !important;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s !important;
}
.result-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-card-hover) !important;
}

/* Quiz option cards — soft depth without touching JS hooks */
.option-card {
  border-radius: 14px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(94, 92, 230, 0.12);
}
.quiz-page {
  padding: 64px 0 88px;
}
.question-title {
  letter-spacing: -0.03em;
  line-height: 1.22;
}
.btn-next,
.btn-visit-res {
  box-shadow: 0 4px 18px rgba(94, 92, 230, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
}

/* Submit / how cards */
.how-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s;
}
.how-card:hover {
  border-color: rgba(94, 92, 230, 0.45);
  transform: translateY(-2px);
}
.how-num {
  font-family: var(--font-head);
  color: var(--lavender);
}
.how-title {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}
.form-card {
  border-radius: 18px;
  padding: 44px;
  background: linear-gradient(165deg, #1A1C24 0%, #14161D 100%);
  box-shadow: var(--shadow-elevated);
}
.form-card h2 {
  font-family: var(--font-head);
  letter-spacing: -0.025em;
}
.page-header .tag,
.tools-count-badge {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

.page-header {
  padding: 60px 0 44px;
}
.page-header h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.032em;
  margin-bottom: 10px;
}
.page-header p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 540px;
}
.page-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0;
}

/* Mobile Pass 2 */
@media (max-width: 768px) {
  .section { padding: var(--space-section-sm) 0; }
  .hero {
    min-height: auto;
    padding: 72px 0 48px;
    align-items: flex-start;
  }
  .hero h1 {
    max-width: none;
    margin-bottom: 16px;
  }
  .hero-badge {
    margin-bottom: 20px;
    font-size: 11px;
    padding: 7px 14px 7px 10px;
  }
  .editors-note {
    font-size: 12.5px !important;
    padding: 7px 12px !important;
    margin-bottom: 24px !important;
    text-align: left;
    max-width: 100%;
  }
  .search-wrap { max-width: 100%; }
  .search-bar { min-height: 52px; border-radius: 12px; }
  .hero-cta-row { margin-top: 22px; }
  .hero-btn-primary,
  .hero-btn-secondary {
    min-height: 48px;
    width: 100%;
  }
  .category-pills {
    margin-top: 22px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .stats-pill {
    padding: 14px 18px;
    border-radius: 18px;
    gap: 10px 16px;
    justify-content: center;
  }
  .trust-strip { padding: 28px 0 12px; }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-badge {
    padding: 18px 18px;
    border-radius: 14px;
  }
  .trust-icon {
    width: 42px;
    height: 42px;
  }
  .tool-card {
    padding: 18px;
    border-radius: 14px;
  }
  .tool-logo {
    width: 48px !important;
    height: 48px !important;
  }
  .section-head { margin-bottom: 24px; }
  .page-header { padding: 44px 0 28px; }
  .page-header p { font-size: 15px; }
  .form-card { padding: 28px 20px; border-radius: 16px; }
  .quiz-page { padding: 40px 0 64px; }
  .option-card:hover { transform: none; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 36px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 40px); }
  .editors-note { flex-wrap: wrap; justify-content: flex-start; }
  .stats-bar { padding: 20px 0 4px; }
  .tool-card { padding: 16px; gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-dot { animation: none; }
}

/* ── Enrichment polish 2026-09 */
.tool-hero {
  position: relative;
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(108,99,255,.18), transparent 55%),
    radial-gradient(900px 380px at 90% 0%, rgba(0,212,170,.10), transparent 50%),
    linear-gradient(180deg, rgba(19,19,26,.92), rgba(10,10,15,0));
  border-bottom: 1px solid rgba(42,42,61,.85);
  padding: 36px 0 28px;
}
.tool-hero-inner {
  display: flex;
  gap: 22px;
  align-items: center;
}
.tool-hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  flex-shrink: 0;
}
.tool-hero-logo img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}
.tool-hero-logo span[data-l] {
  display: none;
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 28px;
}
.tool-hero-logo img[style*="display: none"] ~ span[data-l],
.tool-hero-logo span[data-l][style*="visibility: visible"] {
  display: inline;
}
.tool-hero-name {
  letter-spacing: -0.02em;
}
.tool-hero-tagline {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.55;
  max-width: 46rem;
}
.section-card {
  background: linear-gradient(180deg, rgba(26,26,36,.92), rgba(19,19,26,.96));
  border: 1px solid rgba(42,42,61,.95);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section-card:hover {
  border-color: rgba(108,99,255,.35);
  box-shadow: 0 10px 34px rgba(108,99,255,.08);
}
.section-card h2 {
  letter-spacing: -0.015em;
}
.section-card p {
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
  line-height: 1.8;
}
.aipikr-score-card {
  background: linear-gradient(160deg, rgba(108,99,255,.16), rgba(0,212,170,.06) 45%, rgba(19,19,26,.95));
  border: 1px solid rgba(108,99,255,.28);
  box-shadow: 0 12px 36px rgba(108,99,255,.12);
}
.rating-bar, .score-bar-fill {
  background: linear-gradient(90deg, #6C63FF, #00D4AA);
  border-radius: 999px;
}
.rating-bar-wrap, .score-bar-track {
  background: rgba(42,42,61,.9);
  border-radius: 999px;
  overflow: hidden;
}
.btn-primary {
  box-shadow: 0 8px 22px rgba(108,99,255,.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .tool-hero { padding: 26px 0 20px; }
  .tool-hero-inner { flex-direction: row; align-items: flex-start; gap: 14px; }
  .tool-hero-logo { width: 64px; height: 64px; border-radius: 14px; }
  .tool-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .section-card { padding: 20px; border-radius: 14px; }
  .section-card p { font-size: 15px; }
}
