/*
Theme Name: RankVerdict
Theme URI: https://rankverdict.com
Author: RankVerdict Team
Author URI: https://rankverdict.com
Description: A premium AI tool review theme with honest verdicts, comparison tables, and affiliate-optimized layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rankverdict
Tags: blog, reviews, affiliate, ai-tools
*/

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --ink:        #0f1117;
  --ink-2:      #3a3f4d;
  --ink-3:      #6b7280;
  --surface:    #ffffff;
  --surface-2:  #f7f7f8;
  --surface-3:  #eef0f4;
  --navy:       #1a2540;
  --navy-deep:  #111827;
  --accent:     #2d5be3;
  --accent-dim: #e8eefb;
  --accent-mid: #4b72ed;
  --gold:       #c9862b;
  --gold-bg:    #fdf3e3;
  --green:      #1a7a4b;
  --green-bg:   #e6f4ed;
  --border:     #e4e7ed;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.07);
  --font-body:  'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --max-w:      1200px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* ─── LAYOUT HELPERS ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 80px; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 540px;
  line-height: 1.6;
}

/* ─── STARS ──────────────────────────────────────────── */
.stars { display: flex; align-items: center; gap: 3px; }
.stars svg { width: 14px; height: 14px; }
.star-full  { fill: #f5a524; }
.star-empty { fill: #dde1ea; }
.stars-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-left: 6px;
}
.stars-count {
  font-size: 12px;
  color: var(--ink-3);
}

/* ─── BADGE ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-gold  { background: var(--gold-bg);  color: var(--gold);  }
.badge-blue  { background: var(--accent-dim); color: var(--accent); }
.badge-green { background: var(--green-bg);  color: var(--green); }
.badge-slate { background: var(--surface-3); color: var(--ink-2); }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-mid); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
}
.btn-ghost:hover { color: var(--accent-mid); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ══════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════ */
.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 16px; height: 16px; fill: #fff; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.site-nav a {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.active,
.site-nav .current-menu-item a,
.site-nav .current_page_item a { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-actions .btn-primary {
  font-size: 13px;
  padding: 9px 18px;
}
.hamburger { display: none; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  background: var(--navy-deep);
  padding-top: 80px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 60% 50%, rgba(45,91,227,.18) 0%, transparent 65%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(45,91,227,.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 20px;
  height: 20px;
  border-radius: 100px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-eyebrow-dot svg { width: 11px; height: 11px; fill: #fff; }
.hero-eyebrow span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .02em;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: italic;
  color: rgba(255,255,255,.75);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 16px;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 500px;
  transition: border-color .15s;
}
.hero-search:focus-within { border-color: rgba(255,255,255,.32); }
.hero-search svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .45; }
.hero-search svg path { stroke: #fff; }
.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
}
.hero-search input::placeholder { color: rgba(255,255,255,.35); }
.hero-search .btn-primary { border-radius: 8px; font-size: 14px; padding: 10px 18px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: all .15s;
}
.pill:hover { background: rgba(255,255,255,.11); color: #fff; }
.pill svg { width: 14px; height: 14px; opacity: .75; }

/* Hero visual panel */
.hero-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.hero-visual-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.mini-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .15s;
}
.mini-card:hover { background: rgba(255,255,255,.09); }
.mini-card:last-child { margin-bottom: 0; }
.mini-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card-icon svg { width: 20px; height: 20px; }
.mini-card-body { flex: 1; min-width: 0; }
.mini-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.mini-card-meta {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.mini-card-score {
  font-size: 16px;
  font-weight: 700;
  color: #f5a524;
  flex-shrink: 0;
}

/* stat strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  padding: 14px 16px;
  text-align: center;
}
.hero-stat-n {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-l {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
}

/* ══════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding-block: 16px;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   FEATURED REVIEW
══════════════════════════════════════════════════════ */
.featured-section { background: var(--surface); }
.featured-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 380px;
  box-shadow: var(--shadow-lg);
}
.featured-main {
  padding: 48px 52px;
  border-right: 1.5px solid var(--border);
}
.featured-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.featured-tool-name {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 8px;
  color: var(--ink);
}
.featured-category {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.featured-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.featured-rating-big {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.featured-rating-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verdict-line {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 28px;
  font-style: italic;
}
.verdict-line strong { font-style: normal; color: var(--ink); }

.pros-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.pros-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pros-icon {
  width: 20px;
  height: 20px;
  border-radius: 100px;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pros-icon svg { width: 11px; height: 11px; stroke: var(--green); }
.cons-icon {
  width: 20px;
  height: 20px;
  border-radius: 100px;
  background: #fde8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cons-icon svg { width: 11px; height: 11px; stroke: #dc2626; }

.featured-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.featured-cta-row .btn-lg {
  padding: 14px 32px;
}
.cta-note {
  font-size: 12px;
  color: var(--ink-3);
}

/* sidebar */
.featured-side {
  padding: 40px 36px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.side-block-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.score-row:last-child { margin-bottom: 0; }
.score-label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.score-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 99px;
  margin-inline: 12px;
  overflow: hidden;
}
.score-bar { height: 100%; background: var(--accent); border-radius: 99px; }
.score-val { font-size: 13px; font-weight: 700; color: var(--ink); min-width: 28px; text-align: right; }

.quick-facts { display: flex; flex-direction: column; gap: 8px; }
.quick-fact {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.quick-fact:last-child { border-bottom: none; padding-bottom: 0; }
.qf-key { color: var(--ink-3); }
.qf-val { font-weight: 600; color: var(--ink); }

/* ══════════════════════════════════════════════════════
   REVIEW GRID
══════════════════════════════════════════════════════ */
.grid-section { background: var(--surface-2); }
.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(45,91,227,.25);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-wrap svg { width: 24px; height: 24px; }
.card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.card-verdict {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.card-cta {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════════════════════════ */
.comparison-section { background: var(--surface); }
.comp-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
table.rv-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.rv-comparison thead tr {
  background: var(--navy-deep);
}
table.rv-comparison thead th {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-align: left;
  white-space: nowrap;
}
table.rv-comparison tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
table.rv-comparison tbody tr:last-child { border-bottom: none; }
table.rv-comparison tbody tr:hover { background: var(--accent-dim); }
table.rv-comparison tbody tr.top-pick { background: var(--accent-dim); }
table.rv-comparison tbody td {
  padding: 16px 20px;
  color: var(--ink-2);
  vertical-align: middle;
}
.td-tool {
  display: flex;
  align-items: center;
  gap: 12px;
}
.td-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.td-tool-icon svg { width: 18px; height: 18px; }
.td-tool-name { font-weight: 700; color: var(--ink); font-size: 14px; }
.td-tool-sub  { font-size: 11px; color: var(--ink-3); }
.td-rating { display: flex; align-items: center; gap: 6px; }
.td-rating-n { font-weight: 700; color: var(--ink); }
.td-link { color: var(--accent); font-weight: 600; font-size: 13px; }
.td-link:hover { text-decoration: underline; }
.td-price { font-weight: 600; color: var(--ink); }
.top-badge {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════════════════
   ARTICLE LAYOUT
══════════════════════════════════════════════════════ */
.article-section { background: var(--surface-2); }
.article-shell {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-header {
  padding: 40px 48px 32px;
  border-bottom: 1px solid var(--border);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.article-date { font-size: 12px; color: var(--ink-3); }
.article-read { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.article-h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent) 0%, #7b9ef8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.byline-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.byline-role { font-size: 12px; color: var(--ink-3); }
.article-body-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}
.article-toc {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  position: sticky;
  top: 80px;
  align-self: start;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.toc-list { display: flex; flex-direction: column; gap: 0; }
.toc-item {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--ink-3);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all .15s;
  line-height: 1.4;
}
.toc-item:hover { color: var(--accent); background: var(--accent-dim); }
.toc-item.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-dim); font-weight: 600; }
.toc-sub { padding-left: 20px; font-size: 12px; }

.article-content {
  padding: 40px 48px;
}
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.article-content strong { color: var(--ink); font-weight: 600; }

/* inline rating widget */
.inline-rating {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ir-tool-name { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ir-tool-desc { font-size: 13px; color: var(--ink-3); }
.ir-right { display: flex; align-items: center; gap: 24px; }
.ir-score-n { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; }
.ir-score-l { font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 2px; }
.ir-verdict .badge-gold { font-size: 12px; padding: 5px 14px; }
.ir-cta { background: var(--accent); color: #fff; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-block; }
.ir-cta:hover { background: var(--accent-mid); }

/* ══════════════════════════════════════════════════════
   NEWSLETTER / CTA BAND
══════════════════════════════════════════════════════ */
.cta-band {
  background: var(--navy-deep);
  padding-block: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 50%, rgba(45,91,227,.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  position: relative;
}
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin-inline: auto;
  position: relative;
}
.cta-form input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.cta-form input::placeholder { color: rgba(255,255,255,.35); }
.cta-form input:focus { border-color: rgba(255,255,255,.3); }
.cta-form .btn-primary { padding: 13px 24px; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 56px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  cursor: pointer;
}
.social-btn:hover { background: rgba(255,255,255,.14); }
.social-btn svg { width: 15px; height: 15px; fill: rgba(255,255,255,.6); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.7;
  max-width: 680px;
}
.footer-disclaimer a { color: rgba(255,255,255,.5); text-decoration: underline; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   ARCHIVE / SEARCH / 404
══════════════════════════════════════════════════════ */
.archive-header {
  background: var(--navy-deep);
  padding: 60px 0 48px;
  text-align: center;
}
.archive-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}
.archive-header p {
  font-size: 16px;
  color: rgba(255,255,255,.55);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 60px;
}
.no-results {
  text-align: center;
  padding: 80px 24px;
}
.no-results h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 12px;
}
.no-results p {
  color: var(--ink-3);
  font-size: 16px;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-side { border-right: none; border-top: 1.5px solid var(--border); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding-block: 56px; }
  .review-grid,
  .archive-grid { grid-template-columns: 1fr; }
  .article-body-wrap { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .featured-main { padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 52px; padding-bottom: 64px; }
  .comp-table-wrap { font-size: 13px; }
  .article-content { padding: 28px 24px; }
  .article-header { padding: 28px 24px 20px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 16px; }
  .container { padding-inline: 16px; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .featured-card { border-radius: var(--radius-md); }
  .featured-tool-name { font-size: 36px; }
  .grid-section .grid-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
