/* =============================================================
   AaronWise AI Info — main.css
   ============================================================= */

/* ── TOKENS — DARK (default) ────────────────────────────────── */
:root {
  --bg:          #090a0d;
  --bg-card:     #111318;
  --bg-sub:      #0d0f14;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(0,212,255,0.30);
  --text:        #e8e9ec;
  --text-muted:  #6b7280;
  --text-dim:    #9ca3af;
  --accent:      #00d4ff;
  --accent-glow: rgba(0,212,255,0.18);
  --btn-bg:      #00d4ff;
  --btn-text:    #000;
  --input-bg:    #111318;
  --input-border:#2a2d35;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --radius:      12px;
  --radius-sm:   8px;
  --font:        'Space Grotesk', sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --header-h:    64px;
  --toggle-bg:   #1e2028;
  --toggle-icon: "☀️";
  color-scheme: dark;
}

/* ── TOKENS — LIGHT ─────────────────────────────────────────── */
:root[data-theme="light"],
body.theme-light {
  --bg:          #f0eff5;
  --bg-card:     #ffffff;
  --bg-sub:      #e8e7ef;
  --border:      rgba(102,68,221,0.10);
  --border-hover:rgba(102,68,221,0.35);
  --text:        #18161f;
  --text-muted:  #6b6880;
  --text-dim:    #48455a;
  --accent:      #6644dd;
  --accent-glow: rgba(102,68,221,0.15);
  --btn-bg:      #6644dd;
  --btn-text:    #ffffff;
  --input-bg:    #ffffff;
  --input-border:#ccc9df;
  --shadow:      0 4px 24px rgba(102,68,221,0.08);
  --toggle-bg:   #e2e0ee;
  --toggle-icon: "🌙";
  color-scheme: light;
}

/* ── SYSTEM PREFERENCE (auto) ───────────────────────────────── */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:          #f0eff5;
    --bg-card:     #ffffff;
    --bg-sub:      #e8e7ef;
    --border:      rgba(102,68,221,0.10);
    --border-hover:rgba(102,68,221,0.35);
    --text:        #18161f;
    --text-muted:  #6b6880;
    --text-dim:    #48455a;
    --accent:      #6644dd;
    --accent-glow: rgba(102,68,221,0.15);
    --btn-bg:      #6644dd;
    --btn-text:    #ffffff;
    --input-bg:    #ffffff;
    --input-border:#ccc9df;
    --shadow:      0 4px 24px rgba(102,68,221,0.08);
    --toggle-bg:   #e2e0ee;
    color-scheme: light;
  }
}

/* ── THEME TRANSITION ───────────────────────────────────────── */
*, *::before, *::after {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.15s ease;
}
/* Don't transition layout properties */
.hero-title, .btn, .quiz-option, .filter-btn, .nav-link { transition: none; }

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.accent-text  { color: var(--accent); }
.muted-text   { color: var(--text-muted); }
.dim-text     { color: var(--text-dim); }
.mono         { font-family: var(--mono); }
.eyebrow      { font-size: 11px; letter-spacing: 2px; font-weight: 600; margin-bottom: 12px; }
.awai-wrap,
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}
.awai-wrap--narrow,
.container--narrow { max-width: 720px; }
.awai-wrap--article,
.container--article { max-width: 800px; }

/* ── WORDPRESS RESETS ────────────────────────────────────────── */
/* Prevent WP or plugin styles from breaking our layout */
.site-header, .news-ticker, .hero-section, .section,
.single-main, .archive-main, .page-main, .site-footer {
  float: none !important;
}
.awai-wrap,
.container { float: none !important; display: block !important; }
img { max-width: 100%; height: auto; }

/* Reset WordPress block-library heading sizes */
.hero-section h1,
.hero-section h2,
.section h2,
.section h3,
.section h4,
.section-title,
.news-card__title,
.tool-card__name,
.service-card__name,
.article__title,
.quiz-intro__title,
.quiz-result-title,
.related-articles__title,
.footer-col-title,
.local-ai-callout h3,
.section-header h2 {
  font-size: revert;
  line-height: revert;
  margin: revert;
}
/* Then re-apply our sizes with high specificity */
body .hero-title             { font-size: clamp(48px, 7.5vw, 96px) !important; font-weight: 800 !important; line-height: 1.0 !important; letter-spacing: -3px !important; margin-bottom: 28px !important; color: var(--text) !important; }
body .section-title          { font-size: clamp(28px,3.5vw,40px) !important; font-weight: 700 !important; letter-spacing: -1.5px !important; line-height: 1.1 !important; margin-bottom: 10px !important; color: var(--text) !important; }
body .news-card__title       { font-size: 17px !important; font-weight: 600 !important; line-height: 1.35 !important; letter-spacing: -0.4px !important; margin-bottom: 10px !important; color: var(--text) !important; }
body .tool-card__name        { font-size: 15px !important; font-weight: 600 !important; letter-spacing: -0.3px !important; color: var(--text) !important; margin: 0 !important; }
body .service-card__name     { font-size: 18px !important; font-weight: 700 !important; letter-spacing: -0.4px !important; margin-bottom: 6px !important; color: var(--text) !important; }
body .service-card__price    { font-size: 24px !important; font-weight: 700 !important; letter-spacing: -0.8px !important; margin-bottom: 24px !important; }
body .quiz-intro__title      { font-size: 22px !important; font-weight: 700 !important; letter-spacing: -0.5px !important; margin-bottom: 12px !important; color: var(--text) !important; }
body .article__title         { font-size: clamp(28px,4vw,48px) !important; font-weight: 700 !important; letter-spacing: -1.5px !important; line-height: 1.15 !important; }
body .related-articles__title{ font-size: 22px !important; font-weight: 700 !important; letter-spacing: -0.5px !important; margin-bottom: 24px !important; }
body .local-ai-callout h3    { font-size: 18px !important; font-weight: 700 !important; letter-spacing: -0.4px !important; margin: 6px 0 !important; color: var(--text) !important; }

/* Reset WP paragraph margins inside cards */
body .news-card p,
body .tool-card p,
body .service-card p,
body .quiz-shell p { margin-bottom: 0 !important; }
body .news-card__excerpt,
body .tool-card__desc { margin-bottom: 16px !important; }

/* Reset WP ul/li inside service features */
body .service-features { margin: 0 0 28px !important; padding: 0 !important; }
body .service-features li { margin: 0 !important; padding: 0 !important; list-style: none !important; }

/* Remove WP image caption extra styles */
.wp-caption, .wp-caption-text { max-width: 100%; text-align: left; }

/* Disable WP's block editor global styles if present */
body { --wp--style--global--content-size: none; --wp--style--global--wide-size: none; }

/* ── WORDPRESS ADMIN BAR COMPAT ─────────────────────────────── */
.admin-bar .site-header  { top: 32px; }
.admin-bar .news-ticker  { top: calc(32px + var(--header-h)); }
.admin-bar .hero-section {
  padding-top: calc(32px + var(--header-h) + 36px + 80px);
}
.admin-bar .single-main,
.admin-bar .archive-main,
.admin-bar .page-main {
  padding-top: calc(32px + var(--header-h) + 36px + 60px);
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .news-ticker { top: calc(46px + var(--header-h)); }
  .admin-bar .hero-section { padding-top: calc(46px + var(--header-h) + 36px + 80px); }
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow{ 0%,100%{box-shadow:0 0 20px var(--accent-glow);} 50%{box-shadow:0 0 40px rgba(0,212,255,0.35);} }

/* ── THEME TOGGLE BUTTON ─────────────────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--toggle-bg); border: 1px solid var(--border);
  cursor: pointer; font-size: 16px; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  position: relative; overflow: hidden;
}
.theme-toggle:hover { border-color: var(--accent); transform: scale(1.08); }
.theme-toggle .toggle-dark { display: block; }
.theme-toggle .toggle-light { display: none; }
[data-theme="light"] .theme-toggle .toggle-dark,
body.theme-light    .theme-toggle .toggle-dark { display: none; }
[data-theme="light"] .theme-toggle .toggle-light,
body.theme-light    .theme-toggle .toggle-light { display: block; }

/* ── INPUTS — ALL STATES ─────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
  background:   var(--input-bg);
  color:        var(--text);
  border:       1px solid var(--input-border);
  border-radius: var(--radius-sm);
  font-family:  var(--font);
  font-size:    14px;
  padding:      10px 14px;
  outline:      none;
  width:        100%;
  transition:   border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance:   none;
  -webkit-appearance: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow:   0 0 0 3px var(--accent-glow);
}
input::placeholder,
textarea::placeholder { color: var(--text-muted); opacity: 1; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
[data-theme="light"] select,
body.theme-light select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23444a55' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
  width: 16px; height: 16px; padding: 0;
  accent-color: var(--accent); cursor: pointer;
}
label { color: var(--text); font-size: 14px; cursor: pointer; }

/* ── LIGHT-THEME SPECIFIC OVERRIDES ──────────────────────────── */
[data-theme="light"] body,
body.theme-light {
  background: var(--bg);
  color: var(--text);
}
[data-theme="light"] .site-header.scrolled,
body.theme-light .site-header.scrolled {
  background: rgba(242,241,237,0.94);
  box-shadow: 0 1px 0 var(--border), var(--shadow);
}
[data-theme="light"] .hero-grid-bg,
body.theme-light .hero-grid-bg {
  opacity: 0.6;
}
[data-theme="light"] .news-card,
body.theme-light .news-card {
  box-shadow: 0 2px 12px rgba(102,68,221,0.06);
}
[data-theme="light"] .news-card:hover,
body.theme-light .news-card:hover {
  box-shadow: 0 6px 24px rgba(102,68,221,0.12);
}
[data-theme="light"] .models-table-row:hover,
body.theme-light .models-table-row:hover {
  background: rgba(102,68,221,0.04) !important;
}
[data-theme="light"] .tool-card,
body.theme-light .tool-card {
  box-shadow: 0 1px 8px rgba(102,68,221,0.05);
}
[data-theme="light"] .service-card,
body.theme-light .service-card {
  box-shadow: 0 2px 12px rgba(102,68,221,0.06);
}
[data-theme="light"] .service-card--featured,
body.theme-light .service-card--featured {
  background: rgba(102,68,221,0.06);
  border-color: #6644dd;
}
[data-theme="light"] .quiz-shell,
body.theme-light .quiz-shell {
  box-shadow: 0 2px 20px rgba(102,68,221,0.08);
}
[data-theme="light"] .news-ticker,
body.theme-light .news-ticker {
  background: rgba(102,68,221,0.06);
  border-color: rgba(102,68,221,0.12);
}
[data-theme="light"] ::-webkit-scrollbar-thumb,
body.theme-light ::-webkit-scrollbar-thumb {
  background: #ccc9df;
}
[data-theme="light"] .site-header.scrolled,
body.theme-light .site-header.scrolled {
  background: rgba(240,239,245,0.94);
  box-shadow: 0 1px 0 rgba(102,68,221,0.1), 0 4px 20px rgba(102,68,221,0.06);
}
[data-theme="light"] .hero-grid-bg,
body.theme-light .hero-grid-bg {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(102,68,221,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,68,221,0.08) 1px, transparent 1px);
}
/* news tag colors stay vivid in light */
[data-theme="light"] .news-tag,
body.theme-light .news-tag { filter: saturate(1.2); }

/* local AI callout border in light */
[data-theme="light"] .local-ai-callout,
body.theme-light .local-ai-callout { border-color: rgba(102,68,221,0.15); }

/* ── NEWSLETTER INPUT (specific) ─────────────────────────────── */
.newsletter-input {
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text);
}
.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}


::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2d35; border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9,10,13,0.92);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.site-logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.site-name {
  font-size: 15px; font-weight: 700; color: var(--text);
  letter-spacing: -0.3px; display: flex; align-items: center; gap: 6px;
}
.site-badge {
  font-size: 10px; font-family: var(--mono); font-weight: 500;
  color: var(--accent); background: rgba(0,212,255,0.12);
  padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.primary-nav { display: flex; gap: 22px; margin-left: auto; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s; letter-spacing: -0.2px;
}
.nav-link:hover { color: var(--text); }
.header-cta {
  padding: 8px 18px; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-text);
  font-size: 13px; font-weight: 600; text-decoration: none;
  white-space: nowrap; transition: opacity 0.2s; letter-spacing: -0.2px;
  flex-shrink: 0;
}
.header-cta:hover { opacity: 0.85; }

/* Mobile burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 1px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(9,10,13,0.97);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 40px; font-size: 15px; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-link:hover { color: var(--accent); }
.mobile-cta {
  margin: 12px 40px 0; border: none; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-text);
  text-align: center; font-weight: 600; padding: 12px 40px;
}

/* ══════════════════════════════════════════════════════════════
   NEWS TICKER
══════════════════════════════════════════════════════════════ */
.news-ticker {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 199;
  background: rgba(0,212,255,0.06);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 8px 40px; height: 36px; overflow: hidden;
}
.ticker-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: var(--accent); white-space: nowrap; letter-spacing: 1px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-item  { font-size: 13px; color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════ */
.section      { padding: 80px 0; }
.section-dark { background: var(--bg); }
.section-sub  { background: var(--bg-sub); }

/* Reduce render cost for long, below-the-fold sections */
#news,
#models,
#radar,
#tools,
#guides,
#quiz,
#services,
#newsletter,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-header { margin-bottom: 44px; }
.section-title  {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; color: var(--text);
  letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 10px;
}
.section-copy {
  font-size: 15px; color: var(--text-muted);
  max-width: 540px; line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 90vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px + 80px) 40px 80px;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}
.hero-inner   { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero-sep     { color: var(--border); }
.hero-title   {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 800; color: var(--text);
  line-height: 1.0; letter-spacing: -3px;
  margin-bottom: 28px; max-width: 820px;
  animation: fadeUp 0.7s ease both;
}
.hero-sub {
  font-size: 18px; color: var(--text-dim);
  max-width: 540px; line-height: 1.7; margin-bottom: 40px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.7s 0.3s ease both;
}
.stat-num   { display: block; font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -1px; }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; font-family: var(--font);
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; letter-spacing: -0.3px; line-height: 1;
}
.btn-primary {
  background: var(--btn-bg); color: var(--btn-text);
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,212,255,0.4); }
.btn-outline {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent-outline {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-accent-outline:hover { background: var(--accent); color: var(--btn-text); }
.btn-glow { animation: pulseGlow 3s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════════════
   NEWS CARDS
══════════════════════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.news-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  cursor: pointer; transition: all 0.25s;
  animation: fadeUp 0.5s ease both;
}
.news-card:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.3); }
.news-card a { text-decoration: none; color: inherit; }

.news-card__meta  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.news-tag         {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--accent); background: rgba(0,212,255,0.1);
  padding: 3px 8px; border-radius: 4px; font-family: var(--mono);
  text-transform: uppercase;
}
/* Tag color variants */
.news-card--tools    .news-tag { color:#a78bfa; background:rgba(167,139,250,0.12); }
.news-card--business .news-tag { color:#34d399; background:rgba(52,211,153,0.12); }
.news-card--local-ai .news-tag { color:#fb923c; background:rgba(251,146,60,0.12); }
.news-card--agents   .news-tag { color:#f472b6; background:rgba(244,114,182,0.12); }
.news-card--research .news-tag { color:#60a5fa; background:rgba(96,165,250,0.12); }

.news-read         { font-size: 12px; color: var(--text-muted); }
.news-card__title  { font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.4px; }
.news-card__title a:hover { color: var(--accent); }
.news-card__excerpt{ font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-card__footer { display: flex; justify-content: space-between; align-items: center; }

.load-more-wrap { text-align: center; margin-top: 8px; }

.latest-post {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 24px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(0,212,255,0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
}
.latest-post__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.latest-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.latest-post__read {
  font-size: 12px;
  color: var(--text-muted);
}
.latest-post__eyebrow {
  font-size: 11px;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.latest-post__title {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.latest-post__title a {
  text-decoration: none;
}
.latest-post__title a:hover {
  color: var(--accent);
}
.latest-post__excerpt {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 60ch;
}
.latest-post__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.latest-post__media {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--border);
}
.latest-post__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════════════
   MODELS TABLE
══════════════════════════════════════════════════════════════ */
.models-table-wrap {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.models-table-head,
.models-table-row  {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr 0.8fr 0.8fr 1.4fr 0.6fr;
  padding: 14px 20px; align-items: center;
}
.models-table-head {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.models-table-head span {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 1px; font-family: var(--mono);
}
.models-table-row {
  cursor: pointer; transition: background 0.2s;
  border-bottom: 1px solid var(--border);
}
.models-table-row:last-child { border-bottom: none; }
.models-table-row:hover   { background: rgba(0,212,255,0.05) !important; }
.row-odd                  { background: rgba(255,255,255,0.015); }
.row-even                 { background: transparent; }

.model-name   { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
.model-name a { text-decoration: none; color: inherit; }
.model-name a:hover { color: var(--accent); }
.model-maker  { font-size: 13px; color: var(--text-dim); }
.model-date   { font-size: 12px; color: var(--text-muted); }
.model-params { font-size: 12px; color: var(--text-dim); }
.model-ctx    { font-size: 13px; font-weight: 500; }
.model-notable{ font-size: 12px; color: var(--text-muted); }

.model-badge   {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  font-family: var(--mono); padding: 2px 7px; border-radius: 4px;
  justify-self: start;
}
.badge--hot  { color: #ff4444; background: rgba(255,68,68,0.15); }
.badge--new  { color: var(--accent); background: rgba(0,212,255,0.12); }
.badge--open { color: #34d399; background: rgba(52,211,153,0.12); }

/* ══════════════════════════════════════════════════════════════
   TOOLS
══════════════════════════════════════════════════════════════ */
.tools-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.filter-btn {
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); cursor: pointer;
  font-family: var(--font); transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--btn-bg); color: var(--btn-text);
  border-color: var(--btn-bg);
}
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.tool-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: all 0.25s; animation: fadeUp 0.4s ease both;
}
.tool-card:hover  { border-color: rgba(0,212,255,0.4); transform: translateY(-2px); }
.tool-card--hidden{ display: none; }

.tool-card__head  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 8px; }
.tool-card__name  { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
.tool-cat-tag     {
  font-size: 11px; color: var(--accent); background: rgba(0,212,255,0.1);
  padding: 2px 7px; border-radius: 4px; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
}
.tool-card__desc  { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.tool-link        { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; }
.tool-link:hover  { text-decoration: underline; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.stack-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.stack-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.stack-card__status {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--mono);
}
.stack-card__title {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
  color: var(--text);
}
.stack-card__date {
  font-size: 12px;
  margin-bottom: 14px;
}
.stack-card__summary,
.stack-card__why {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.stack-card__summary { margin-bottom: 14px; }
.stack-card__footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.guide-card__label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,212,255,0.1);
  color: var(--accent);
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.guide-card__title {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
}
.guide-card__summary {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.guide-list-block {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.guide-list-title {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.guide-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}
.guide-list--muted li { color: var(--text-dim); }
.guide-list--muted li::before { content: "-"; }

.playbook-main {
  padding-top: calc(var(--header-h) + 36px + 60px);
  padding-bottom: 80px;
}
.playbook-hero { margin-bottom: 40px; }
.playbook-hero__eyebrow { margin-bottom: 16px; }
.playbook-hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--text);
}
.playbook-hero__sub {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}
.playbook-note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0,212,255,0.05);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   QUIZ
══════════════════════════════════════════════════════════════ */
.quiz-shell {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.quiz-intro {
  padding: 52px 48px; text-align: center;
}
.quiz-icon { font-size: 48px; margin-bottom: 20px; }
.quiz-intro__title { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; margin-bottom: 12px; }
.quiz-intro__sub   { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 400px; margin: 0 auto 32px; }

.quiz-body    { padding: 40px; }
.quiz-progress-bar-wrap { height: 3px; background: var(--border); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz-progress-bar      { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.4s ease; }
.quiz-progress-labels   { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--text-muted); margin-bottom: 8px; }
.quiz-question { font-size: 20px; font-weight: 600; color: var(--text); line-height: 1.4; letter-spacing: -0.4px; margin-bottom: 28px; }
.quiz-options  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.quiz-option   {
  padding: 14px 20px; border-radius: var(--radius); text-align: left;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  font-family: var(--font); cursor: pointer; transition: all 0.2s;
}
.quiz-option:hover   { border-color: var(--accent); color: var(--text); }
.quiz-option.selected{ border-color: var(--accent); background: rgba(0,212,255,0.1); color: var(--text); }
.quiz-nav    { display: flex; justify-content: space-between; align-items: center; }
.quiz-btn-back{
  padding: 10px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-size: 14px; cursor: pointer; font-family: var(--font);
}
.quiz-btn-next{
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font); cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  transition: all 0.2s;
}
.quiz-btn-next.ready{
  background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg);
}

/* Results */
.quiz-results { padding: 48px; text-align: center; }
.quiz-score-ring { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; }
.quiz-score-ring svg { width: 120px; height: 120px; }
.quiz-score-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.quiz-score-num  { font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -1px; }
.quiz-tier-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px; font-family: var(--mono); margin-bottom: 16px;
}
.quiz-result-title  { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; margin-bottom: 10px; }
.quiz-result-msg    { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 420px; margin: 0 auto 24px; }
.quiz-fit {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 auto 20px;
  max-width: 560px;
  text-align: left;
}
.quiz-fit__label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.quiz-fit__items {
  display: grid;
  gap: 10px;
}
.quiz-fit__item {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.quiz-fit__item::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.6em;
}
.quiz-recommendation{
  background: var(--bg-sub); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 28px;
}
.quiz-rec-label { font-size: 11px; color: var(--text-muted); font-family: var(--mono); margin-bottom: 4px; letter-spacing: 0.5px; }
.quiz-rec-name  { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; margin-bottom: 4px; }
.quiz-rec-price { font-size: 14px; font-weight: 600; }
.quiz-contact-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: underline;
}
.quiz-retake    {
  display: block; margin-top: 14px; background: none; border: none;
  color: var(--text-muted); font-size: 13px; cursor: pointer;
  text-decoration: underline; font-family: var(--font);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-bottom: 28px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  position: relative; transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card--featured {
  background: rgba(0,212,255,0.07); border-color: var(--accent);
}
.service-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--btn-bg); color: var(--btn-text);
  font-size: 11px; font-weight: 700; padding: 3px 12px;
  border-radius: 20px; letter-spacing: 0.5px; font-family: var(--mono);
  white-space: nowrap;
}
.service-card__sub   { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.service-card__name  { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; margin-bottom: 6px; }
.service-card__price { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.8px; margin-bottom: 24px; }
.service-card--featured .service-card__price { color: var(--accent); }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim);
}
.service-features li::before { content: "✓"; color: var(--accent); font-size: 14px; }
.service-btn { display: block; text-align: center; padding: 12px; }

.local-ai-callout {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.local-ai-callout__text h3 { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; margin: 6px 0; }
.local-ai-callout__text p  { font-size: 14px; color: var(--text-muted); max-width: 500px; }

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════════════════ */
.newsletter-section { padding: 80px 0; }
.newsletter-form    { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-input   {
  flex: 1; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color 0.2s;
}
.newsletter-input:focus   { border-color: var(--accent); }
.newsletter-status { margin-top: 12px; font-size: 14px; color: var(--accent); min-height: 20px; }

/* ══════════════════════════════════════════════════════════════
   SINGLE ARTICLE
══════════════════════════════════════════════════════════════ */
.single-main   { padding-top: calc(var(--header-h) + 36px + 48px); padding-bottom: 80px; }
.breadcrumb    { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a  { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.article__header  { margin-bottom: 32px; }
.article__meta    { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.article__read-time{ font-size: 12px; color: var(--text-muted); }
.article__date    { font-size: 12px; }
.article__title   { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--text); letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 16px; }
.article__lede    { font-size: 18px; color: var(--text-dim); line-height: 1.7; }
.article__thumb   { margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; }
.article__thumb img { width: 100%; height: 360px; object-fit: cover; }
.article__body    {
  font-size: 16px; color: var(--text-dim); line-height: 1.8;
  margin-bottom: 40px;
}
.article__body h2  { font-size: 22px; font-weight: 700; color: var(--text); margin: 32px 0 12px; letter-spacing: -0.5px; }
.article__body h3  { font-size: 18px; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
.article__body h4,
.article__body h5,
.article__body h6 { color: var(--text); margin: 20px 0 10px; }
.article__body p   { margin-bottom: 20px; }
.article__body a   { color: var(--accent); text-decoration: underline; }
.article__body ul, .article__body ol { margin: 16px 0 20px 24px; }
.article__body li  { margin-bottom: 8px; }
.article__body strong { color: var(--text); }
.article__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.article__body pre {
  overflow-x: auto;
  background: #0b0d12;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 22px 0;
}
.article__body code {
  font-family: var(--mono);
  font-size: 0.95em;
}
.article__body :not(pre) > code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}
.article__body pre code {
  display: block;
  color: #d7e3f4;
  white-space: pre;
}
.article__body img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.article__body figure {
  margin: 24px 0;
}
.article__body figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.article__body blockquote {
  border-left: 3px solid var(--accent); padding-left: 20px;
  margin: 24px 0; color: var(--text-dim); font-style: italic;
}
.article__body .article-card {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--accent) !important;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
}
.article__body .article-card + .article-card {
  margin-top: 12px;
}
.article__body .article-card strong,
.article__body .article-card b,
.article__body .article-card h2,
.article__body .article-card h3,
.article__body .article-card h4,
.article__body .article-card h5,
.article__body .article-card h6 {
  color: var(--text) !important;
}
.article__body .article-card p,
.article__body .article-card li,
.article__body .article-card span {
  color: var(--text-dim) !important;
}
.article__body .article-card a {
  color: var(--accent) !important;
}
.article__body > div[style],
.article__body > section[style],
.article__body > article[style],
.article__body .ai-card,
.article__body .news-item-card {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--accent) !important;
  border-radius: 12px;
  box-shadow: none !important;
}
.article__body > div[style] *,
.article__body > section[style] *,
.article__body > article[style] *,
.article__body .ai-card *,
.article__body .news-item-card * {
  color: inherit;
}
.article__body > div[style] strong,
.article__body > section[style] strong,
.article__body > article[style] strong,
.article__body .ai-card strong,
.article__body .news-item-card strong {
  color: var(--text) !important;
}
.article__body > div[style] p,
.article__body > section[style] p,
.article__body > article[style] p,
.article__body .ai-card p,
.article__body .news-item-card p,
.article__body > div[style] li,
.article__body > section[style] li,
.article__body > article[style] li {
  color: var(--text-dim) !important;
}
.article__body > div[style] a,
.article__body > section[style] a,
.article__body > article[style] a,
.article__body .ai-card a,
.article__body .news-item-card a {
  color: var(--accent) !important;
}
.article__body [style*="background:#f8fafc"],
.article__body [style*="background: #f8fafc"],
.article__body [style*="background-color:#f8fafc"],
.article__body [style*="background-color: #f8fafc"] {
  background: var(--bg-card) !important;
  color: var(--text) !important;
}
.article__body [style*="color:#FFFFFF"],
.article__body [style*="color: #FFFFFF"],
.article__body [style*="color:#F3F4F6"],
.article__body [style*="color: #F3F4F6"],
.article__body [style*="color:#E5E7EB"],
.article__body [style*="color: #E5E7EB"],
.article__body [style*="color:#C7CDD6"],
.article__body [style*="color: #C7CDD6"] {
  color: var(--text) !important;
}
.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.article__body th,
.article__body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.article__body th {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.article__body td {
  color: var(--text-dim);
}
[data-theme="light"] .article__body > div[style],
[data-theme="light"] .article__body > section[style],
[data-theme="light"] .article__body > article[style],
body.theme-light .article__body > div[style],
body.theme-light .article__body > section[style],
body.theme-light .article__body > article[style] {
  box-shadow: 0 2px 16px rgba(102,68,221,0.08) !important;
}
.article__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

.inline-cta {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; margin-bottom: 60px;
}
.inline-cta__text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-muted); }
.inline-cta__text strong { color: var(--text); font-size: 16px; }
.related-articles__title { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════════════
   ARCHIVE
══════════════════════════════════════════════════════════════ */
.archive-main   { padding-top: calc(var(--header-h) + 36px + 60px); padding-bottom: 80px; }
.archive-header { margin-bottom: 44px; }
.no-results     { text-align: center; padding: 60px 0; font-size: 16px; }
.pagination     { margin-top: 40px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); color: var(--text-muted);
  text-decoration: none; font-size: 14px; transition: all 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer  { background: var(--bg-sub); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-grid  {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer-logo-link img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.footer-site-name { font-size: 15px; font-weight: 700; color: var(--text); }
.footer-tagline   { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer-social    { display: flex; gap: 10px; }
.social-link      {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; transition: all 0.2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-col-title {
  font-size: 11px; font-weight: 600; color: var(--text-dim);
  letter-spacing: 1px; margin-bottom: 16px; font-family: var(--mono);
}
.footer-col nav   { display: flex; flex-direction: column; gap: 10px; }
.footer-link      { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-link:hover{ color: var(--accent); }
.footer-bottom    {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .models-table-head,
  .models-table-row { grid-template-columns: 1.4fr 0.8fr 0.7fr 1.2fr 0.5fr; }
  .models-table-row span:nth-child(4),
  .models-table-row span:nth-child(5),
  .models-table-head span:nth-child(4),
  .models-table-head span:nth-child(5) { display: none; }
}
@media (max-width: 600px) {
  .awai-wrap,
  .container { padding: 0 20px; }
  .hero-section { padding-left: 20px; padding-right: 20px; }
  .hero-title { letter-spacing: -2px; }
  .hero-stats { gap: 28px; }
  .latest-post {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .news-grid  { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .local-ai-callout { flex-direction: column; }
  .models-table-head,
  .models-table-row { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.5fr; }
  .models-table-row span:nth-child(3),
  .models-table-head span:nth-child(3) { display: none; }
  .newsletter-form { flex-direction: column; }
  .inline-cta { flex-direction: column; }
  .quiz-intro, .quiz-body, .quiz-results { padding: 28px 20px; }
}
