/*
Theme Name:  BestSD Registration
Theme URI:   https://bestservicedogregistration.com
Author:      BestSDRegistration Editorial Team
Author URI:  https://bestservicedogregistration.com/about
Description: Custom theme for bestservicedogregistration.com — service dog registry reviews, ADA guides, and comparison tools. SEO + E-E-A-T optimized.
Version:     1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     Private
Text Domain: bestsd
Tags:        one-column, custom-menu, featured-images, footer-widgets, blog
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --green:        #1A6B4A;
  --green-light:  #22896A;
  --green-pale:   #E8F5EE;
  --green-accent: #A8E6C9;
  --blue:         #2563EB;
  --blue-pale:    #EFF6FF;
  --gold:         #F59E0B;
  --gold-pale:    #FFFBEB;
  --red:          #DC2626;
  --red-pale:     #FEF2F2;

  --text:         #111827;
  --text-2:       #374151;
  --text-3:       #6B7280;
  --text-4:       #9CA3AF;
  --border:       #E5E7EB;
  --border-2:     #D1D5DB;
  --bg:           #FFFFFF;
  --bg-2:         #F9FAFB;
  --bg-3:         #F3F4F6;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow:       0 4px 16px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.12);

  --font:         'Inter', system-ui, sans-serif;
  --font-serif:   'Lora', Georgia, serif;

  --max-w:        1160px;
  --header-h:     68px;

  --transition:   0.2s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }
ul { list-style: none; }

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

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

/* ═══════════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════════ */
.skip-link {
  position: fixed; top: -100%; left: 16px;
  background: var(--green); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap; text-decoration: none; border: 2px solid transparent;
}
.btn-lg  { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-sm  { padding: 8px 18px; font-size: 14px; }
.btn:not(.btn-lg):not(.btn-sm) { padding: 11px 22px; }

.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 14px rgba(26,107,74,.30);
}
.btn-primary:hover {
  background: var(--green-light); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,107,74,.35);
}
.btn-secondary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.25); }
.btn-secondary:hover { background: #1d4ed8; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-3); color: var(--text); border-color: var(--border-2); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-text { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.3px; }
.logo-text strong { color: var(--green); }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 6px 12px; font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: var(--radius-sm); transition: all var(--transition);
}
.main-nav a:hover { background: var(--bg-3); color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* WordPress menu compat */
.main-nav .menu { display: flex; gap: 4px; padding: 0; margin: 0; list-style: none; }
.main-nav .menu-item a { display: block; padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--text-2); border-radius: var(--radius-sm); transition: all var(--transition); }
.main-nav .menu-item a:hover { background: var(--bg-3); color: var(--text); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; background: linear-gradient(160deg, #F0FAF5 0%, #FFFFFF 50%, #EFF6FF 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.hero-blob--1 { width: 600px; height: 600px; background: radial-gradient(circle, #A8E6C9 0%, transparent 70%); top: -200px; right: -100px; }
.hero-blob--2 { width: 400px; height: 400px; background: radial-gradient(circle, #BFDBFE 0%, transparent 70%); bottom: -100px; left: -50px; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: .4; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-3); box-shadow: var(--shadow-sm); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(26,107,74,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(26,107,74,.2); } 50% { box-shadow: 0 0 0 6px rgba(26,107,74,.1); } }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; color: var(--text); max-width: 800px; }
.hero h1 em { font-style: normal; color: var(--green); font-family: var(--font-serif); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 600px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust { display: flex; align-items: center; gap: 32px; margin-top: 8px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trust-item strong { font-size: 24px; font-weight: 800; color: var(--green); }
.trust-item span { font-size: 12px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.trust-divider { width: 1px; height: 36px; background: var(--border-2); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { width: 100%; display: block; }

/* ═══════════════════════════════════════════
   ADA ALERT
═══════════════════════════════════════════ */
.ada-alert { background: #FFF7ED; border-top: 3px solid #F59E0B; border-bottom: 1px solid #FDE68A; padding: 12px 0; }
.ada-alert-inner { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #92400E; }
.alert-icon { flex-shrink: 0; margin-top: 2px; color: #D97706; }
.ada-alert a { color: #B45309; font-weight: 600; }
.ada-alert a:hover { color: #92400E; }

/* ═══════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; background: var(--green-pale); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; border: 1px solid var(--green-accent); }
.section-header h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.3px; color: var(--text); margin-bottom: 12px; }
.section-intro { font-size: 17px; color: var(--text-2); max-width: 640px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   RANKINGS
═══════════════════════════════════════════ */
.rankings-section { background: var(--bg-2); }
.rankings-list { display: flex; flex-direction: column; gap: 24px; }
.rank-card { background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; display: flex; transition: box-shadow var(--transition), transform var(--transition); }
.rank-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rank-card--gold { border-color: #FDE68A; box-shadow: 0 4px 24px rgba(245,158,11,.15); }
.rank-card--gold:hover { box-shadow: 0 8px 40px rgba(245,158,11,.2); }
.rank-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 88px; flex-shrink: 0; padding: 20px 0; gap: 4px; }
.rank-badge--1 { background: linear-gradient(180deg, #FFFBEB, #FEF3C7); }
.rank-badge--2 { background: linear-gradient(180deg, #F1F5F9, #E2E8F0); }
.rank-badge--3 { background: linear-gradient(180deg, #FFF7ED, #FFEDD5); }
.rank-badge--4, .rank-badge--5 { background: var(--bg-2); }
.rank-num { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--text); }
.rank-badge--1 .rank-num { color: #B45309; }
.rank-badge--2 .rank-num { color: #475569; }
.rank-badge--3 .rank-num { color: #C2410C; }
.rank-label { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-3); text-align: center; line-height: 1.3; }
.rank-badge--1 .rank-label { color: #B45309; }
.rank-card-body { flex: 1; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.rank-card-header { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.rank-logo-wrap { flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; min-width: 168px; max-width: 200px; flex-shrink: 0; }
.brand-logo svg { flex-shrink: 0; border-radius: 50%; }
.brand-logo img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; display: block; }
.brand-logo span { font-size: 12px; color: var(--text-3); line-height: 1.3; white-space: nowrap; }
.brand-logo span strong { display: block; color: var(--text); font-weight: 700; font-size: 13px; }
.brand-logo--msa { border-color: #A8E6C9; background: #F0FAF5; }
.brand-logo--usa { border-color: #1d3a6e; background: #1d3a6e; }
.brand-logo--nsar { border-color: #BFDBFE; background: #EFF6FF; }
.brand-logo--sdc { border-color: #FED7AA; background: #FFF7ED; }
.brand-logo--ada { border-color: #DDD6FE; background: #F5F3FF; }
.brand-logo--sdt { border-color: #BAE6FD; background: #F0F9FF; }
.rank-title-group { flex: 1; }
.rank-name { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.rank-url { font-size: 13px; color: var(--text-3); font-weight: 400; }
.rank-url:hover { color: var(--green); }
.rank-score-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.rank-score { display: flex; align-items: baseline; gap: 2px; }
.score-num { font-size: 28px; font-weight: 800; color: var(--green); line-height: 1; }
.score-denom { font-size: 14px; color: var(--text-3); font-weight: 500; }
.star-row { color: #F59E0B; font-size: 14px; letter-spacing: 1px; }
.rank-summary { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.rank-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pros, .cons { background: var(--bg-2); padding: 14px 16px; border-radius: var(--radius-sm); }
.pros { border-left: 3px solid #22C55E; }
.cons { border-left: 3px solid #EF4444; }
.pros h4, .cons h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.pros h4 { color: #166534; }
.cons h4 { color: #991B1B; }
.pros ul li, .cons ul li { font-size: 13px; color: var(--text-2); padding-left: 16px; position: relative; margin-bottom: 4px; line-height: 1.4; }
.pros ul li::before { content: '✓'; position: absolute; left: 0; color: #22C55E; font-weight: 700; }
.cons ul li::before { content: '×'; position: absolute; left: 0; color: #EF4444; font-weight: 700; }
.rank-metrics { display: flex; flex-direction: column; gap: 8px; }
.metric { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 10px; }
.metric-label { font-size: 13px; color: var(--text-3); font-weight: 500; }
.metric-bar { height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.metric-fill { height: 100%; width: var(--pct); background: var(--green); border-radius: 999px; transition: width 1s cubic-bezier(.4,0,.2,1); }
.metric-val { font-size: 13px; font-weight: 700; color: var(--text-2); text-align: right; }
.rank-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.rank-review-link { font-size: 14px; color: var(--text-3); font-weight: 500; }
.rank-review-link:hover { color: var(--green); }
.rank-pricing { margin-left: auto; font-size: 14px; color: var(--text-3); }
.rank-pricing strong { color: var(--text); font-size: 16px; }
.rankings-disclaimer { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-3); background: var(--bg); border: 1px solid var(--border); padding: 12px 16px; border-radius: var(--radius-sm); margin-top: 24px; line-height: 1.5; }

/* ═══════════════════════════════════════════
   COMPARISON TABLE
═══════════════════════════════════════════ */
.comparison-section { background: var(--bg); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table caption { font-size: 0; }
.comparison-table thead { background: var(--text); color: #fff; }
.comparison-table th { padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-2); }
.table-row--best td { background: #FFFBEB; }
.table-row--best td:first-child { border-left: 3px solid var(--gold); }
.table-badge { display: inline-block; background: var(--gold-pale); color: #92400E; border: 1px solid #FDE68A; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.check { font-weight: 700; font-size: 15px; }
.check--yes  { color: #16A34A; }
.check--no   { color: #DC2626; }
.check--partial { color: #D97706; }
.table-provider { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.table-logo { width: 34px; height: 28px; flex-shrink: 0; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); }
.table-logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.table-logo:has(img[src*="logo-usa.png"]) { background: #1d3a6e; border-color: #1d3a6e; }
.score-highlight { color: var(--green); font-size: 15px; }
.table-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); margin-top: 12px; padding: 10px 14px; background: var(--bg-2); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.table-legend span { display: flex; align-items: center; gap: 5px; }

/* ═══════════════════════════════════════════
   METHODOLOGY
═══════════════════════════════════════════ */
.methodology-section { background: var(--bg-2); }
.methodology-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 56px; }
.methodology-text .section-tag { margin-bottom: 12px; }
.methodology-text h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--text); }
.methodology-text p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.methodology-steps { display: flex; flex-direction: column; gap: 20px; }
.method-step { display: flex; gap: 16px; align-items: flex-start; }
.method-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.method-step-body h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.method-step-body p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.team-section { margin-top: 48px; }
.team-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.team-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.team-info strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.team-info span { display: block; font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.team-info p { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ═══════════════════════════════════════════
   ADA GUIDE
═══════════════════════════════════════════ */
.ada-guide-section { background: var(--bg); }
.ada-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.ada-card { padding: 24px; border-radius: var(--radius); position: relative; }
.ada-card--myth { background: var(--red-pale); border: 1px solid #FECACA; }
.ada-card--fact { background: var(--green-pale); border: 1px solid var(--green-accent); }
.ada-card-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ada-card--myth .ada-card-icon { background: #FEE2E2; color: var(--red); }
.ada-card--fact .ada-card-icon { background: #D1FAE5; color: #16A34A; }
.ada-card h3 { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.ada-card--myth h3 { color: var(--red); }
.ada-card--fact h3 { color: #166534; }
.ada-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.ada-two-questions { background: linear-gradient(135deg, #F0FAF5, #EFF6FF); border: 1px solid var(--green-accent); border-radius: var(--radius-lg); padding: 36px; }
.ada-two-questions h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.two-q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.two-q-item { display: flex; align-items: flex-start; gap: 14px; background: #fff; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.two-q-num { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.two-q-item p { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; }
.two-q-source { font-size: 13px; color: var(--text-3); }
.two-q-source a { color: var(--green); font-weight: 600; }
cite { font-style: normal; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-section { background: var(--bg-2); }
.faq-container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--transition); }
.faq-item[open] { border-color: var(--green-accent); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text); list-style: none; user-select: none; transition: background var(--transition); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--text-3); flex-shrink: 0; transition: transform var(--transition), color var(--transition); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); color: var(--green); }
.faq-q:hover { background: var(--bg-2); }
.faq-a { padding: 0 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.faq-a p { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.faq-a a { font-weight: 600; }

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section { background: linear-gradient(135deg, var(--green) 0%, #145A3C 100%); padding: 80px 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta-text h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-text p { font-size: 17px; color: rgba(255,255,255,.8); }
.cta-form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 500px; }
.cta-form input[type="email"] { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--radius-sm); border: 2px solid transparent; font-size: 15px; font-family: var(--font); background: rgba(255,255,255,.95); color: var(--text); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.cta-form input[type="email"]:focus { border-color: var(--green-accent); box-shadow: 0 0 0 3px rgba(168,230,201,.3); }
.cta-form .btn-primary { background: white; color: var(--green); box-shadow: none; }
.cta-form .btn-primary:hover { background: var(--green-pale); color: var(--green); transform: translateY(-1px); }
.cta-note { font-size: 13px; color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer { background: var(--text); color: rgba(255,255,255,.75); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding: 64px 24px 48px; }
.logo--footer .logo-text { color: #fff; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.55); margin: 8px 0 16px; }
.footer-legal-note { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.6; background: rgba(255,255,255,.05); padding: 12px 14px; border-radius: var(--radius-sm); border-left: 3px solid rgba(255,255,255,.1); }
.footer-legal-note strong { color: rgba(255,255,255,.6); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col a:hover { color: var(--green-accent); }
.footer-bottom { background: rgba(0,0,0,.2); padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { font-size: 13px; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom nav a:hover { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════
   MOBILE NAV OPEN
═══════════════════════════════════════════ */
.nav--open { display: flex !important; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 12px 24px 20px; z-index: 99; }
.nav--open ul, .nav--open .menu { flex-direction: column; gap: 2px; width: 100%; }
.nav--open a, .nav--open .menu-item a { font-size: 16px; padding: 10px 14px; }
.header--scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .methodology-layout { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 64px; }
  .main-nav, .site-header .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .rank-card { flex-direction: column; }
  .rank-badge { flex-direction: row; width: 100%; padding: 12px 20px; gap: 10px; }
  .rank-pros-cons { grid-template-columns: 1fr; }
  .rank-card-header { flex-direction: column; }
  .rank-score-wrap { align-items: flex-start; margin-left: 0; margin-top: 4px; flex-direction: row; align-items: center; gap: 10px; }
  .ada-guide-grid { grid-template-columns: 1fr; }
  .two-q-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .trust-divider { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .rank-card-body { padding: 20px 16px; }
  .footer-nav { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input[type="email"] { min-width: unset; width: 100%; }
  .ada-two-questions { padding: 24px 20px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .rank-card { opacity: 0; transform: translateY(20px); animation: fadeUp .5s ease forwards; }
  .rank-card:nth-child(1) { animation-delay: .05s; }
  .rank-card:nth-child(2) { animation-delay: .15s; }
  .rank-card:nth-child(3) { animation-delay: .25s; }
  .rank-card:nth-child(4) { animation-delay: .35s; }
  .rank-card:nth-child(5) { animation-delay: .45s; }
  .rank-card:nth-child(6) { animation-delay: .55s; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
}

@media print {
  .site-header, .hero-bg, .cta-section, .site-footer { display: none; }
  .rank-card { break-inside: avoid; }
}

/* ═══════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════ */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 18px 24px 0; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span[aria-current] { color: var(--text-2); font-weight: 600; }

/* ═══════════════════════════════════════════
   ARTICLES ARCHIVE (/articles)
═══════════════════════════════════════════ */
.archive-hero { padding-top: 32px; padding-bottom: 8px; }
.archive-hero h1 { font-size: clamp(28px, 4vw, 40px); font-family: var(--font-serif); color: var(--text); margin: 10px 0 12px; line-height: 1.2; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 8px; }
.article-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); display: flex; flex-direction: column; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card-thumb { display: block; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; }
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-thumb--placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-4); background: var(--bg-2); }
.article-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.article-card-body h2 { font-size: 18px; line-height: 1.35; }
.article-card-body h2 a { color: var(--text); }
.article-card-body h2 a:hover { color: var(--green); }
.article-card-body p { font-size: 14px; color: var(--text-3); flex: 1; }
.article-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-4); margin-top: 4px; }
.article-card-badge { background: var(--green-pale); color: var(--green); font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 11px; }

.articles-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.articles-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; font-weight: 600; }
.articles-pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.articles-pagination .page-numbers:hover:not(.current) { border-color: var(--green); color: var(--green); }

/* ═══════════════════════════════════════════
   SINGLE ARTICLE PAGE
═══════════════════════════════════════════ */
.article-header { padding-top: 28px; max-width: 820px; margin: 0 auto; }
.article-header h1 { font-size: clamp(28px, 4vw, 42px); font-family: var(--font-serif); line-height: 1.2; margin: 12px 0 14px; color: var(--text); }
.article-deck { font-size: 18px; color: var(--text-3); margin-bottom: 20px; line-height: 1.5; }

.article-meta-row { display: flex; flex-wrap: wrap; gap: 22px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.meta-item { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.meta-item svg { flex-shrink: 0; color: var(--text-4); }
.meta-item > div { display: flex; flex-direction: column; line-height: 1.3; }
.meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-4); }
.meta-strong { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.meta-sub { font-size: 12px; color: var(--text-3); }
.meta-author img { border-radius: 50%; }

.fact-checked-box { display: flex; gap: 12px; align-items: flex-start; background: var(--green-pale); border: 1px solid var(--green-accent); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 24px; color: var(--green); }
.fact-checked-box svg { flex-shrink: 0; margin-top: 2px; }
.fact-checked-box strong { display: block; font-size: 14px; margin-bottom: 2px; }
.fact-checked-box p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.article-thumb { max-width: 820px; margin: 0 auto 32px; border-radius: var(--radius); overflow: hidden; }
.article-thumb img { width: 100%; height: auto; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 48px; max-width: 1160px; margin: 0 auto; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

/* Entry content typography */
.entry-content { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.entry-content h2 { font-size: 26px; color: var(--text); margin: 40px 0 16px; font-family: var(--font-serif); }
.entry-content h3 { font-size: 20px; color: var(--text); margin: 28px 0 12px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content blockquote { border-left: 3px solid var(--green); background: var(--bg-2); padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; color: var(--text-2); font-style: italic; }
.entry-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); overflow: hidden; }
.entry-content th { background: var(--bg-3); color: var(--text); font-weight: 700; text-align: left; padding: 10px 14px; border-bottom: 2px solid var(--border-2); }
.entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.entry-content tr:last-child td { border-bottom: none; }
.entry-content code { background: var(--bg-3); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.entry-content details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; background: var(--bg-2); }
.entry-content summary { font-weight: 700; cursor: pointer; color: var(--text); }

/* Aside / author box */
.article-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.author-box { display: flex; gap: 12px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.author-box p { font-size: 13px; color: var(--text-3); line-height: 1.5; margin-bottom: 8px; }
.author-box-link { font-size: 12.5px; font-weight: 700; }
.author-box--reviewer { background: var(--blue-pale); border-color: #BFDBFE; }
.author-box--reviewer .reviewer-icon { color: var(--blue); flex-shrink: 0; }

/* Shared content block rhythm (References / FAQ / Disclaimer) — flows under article text, left-aligned */
.article-main { max-width: 760px; }
.article-page .content-block { margin: 56px 0 0; }
.article-page .content-block h2 { font-size: 22px; margin-bottom: 18px; color: var(--text); }

/* References */
.references-list { list-style: decimal; margin-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.references-list a { font-size: 14.5px; word-break: break-word; }

/* Disclaimer */
.disclaimer-box { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-pale); border: 1px solid #FDE68A; border-radius: var(--radius-sm); color: #92400E; padding: 16px 18px; }
.disclaimer-box svg { flex-shrink: 0; margin-top: 2px; }
.disclaimer-box p { font-size: 13.5px; line-height: 1.6; }
.disclaimer-box a { color: #92400E; font-weight: 700; }

/* ═══════════════════════════════════════════
   REVIEW PAGES (/reviews/{slug}/)
═══════════════════════════════════════════ */
.review-hero-row { display: flex; align-items: center; gap: 20px; margin: 16px 0 4px; flex-wrap: wrap; }
.review-hero-score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.review-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 600px) { .review-cta-row .btn { flex: 1; justify-content: center; } }
