/* ─── MEA THEME — MAIN STYLESHEET ───────────────────────────────── */
/* Fonts loaded via functions.php enqueue                             */

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

:root {
  --teal:        #3a7d70;
  --teal-light:  #4db8a6;
  --teal-dim:    #2a5c52;
  --teal-glow:   rgba(58,125,112,0.18);
  --gold:        #c9a84c;
  --gold-light:  #e8c87a;
  --ink:         #0b0f14;
  --surface:     #111820;
  --surface-2:   #19232e;
  --surface-3:   #1f2d3a;
  --border:      rgba(255,255,255,0.07);
  --border-teal: rgba(58,125,112,0.35);
  --text-1:      #e8eef4;
  --text-2:      #8fa3b1;
  --text-3:      #7a94a8;
  --white:       #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-teal:  0 0 40px rgba(58,125,112,0.2);
  --header-h:    64px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── SKIP LINK ─────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -999px; left: 8px;
  background: var(--teal); color: #fff;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 8px; }
.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;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--teal-dim); border-radius: 2px; }

/* ─── UTILITY ───────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-light); background: var(--teal-glow);
  border: 1px solid var(--border-teal);
  padding: 4px 12px; border-radius: 2px;
}
.section-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 16px; display: block;
}
.divider { height: 1px; background: var(--border); margin: 0; }

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-teal {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58,125,112,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(58,125,112,0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
}
.anim-fade-up  { animation: fadeUp 0.7s ease both; }
.anim-delay-1  { animation-delay: 0.1s; }
.anim-delay-2  { animation-delay: 0.22s; }
.anim-delay-3  { animation-delay: 0.36s; }
.anim-delay-4  { animation-delay: 0.5s; }

/* ─── FOCUS ─────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,15,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11,15,20,0.98);
  border-bottom-color: var(--border-teal);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 32px;
  max-width: 1380px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em; flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px; background: var(--teal);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: #fff; flex-shrink: 0;
}
.logo span { color: var(--teal-light); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 500;
  color: var(--text-2); border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap; background: none; border: none; cursor: pointer;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-item.is-open .nav-link { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-link svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-item.is-open .nav-link svg { transform: rotate(180deg); }

/* ── MEGA MENU ── */
.mega-menu {
  position: fixed; top: var(--header-h);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  transform: translateY(8px); z-index: 200; min-width: 560px;
}
.nav-item.is-open .mega-menu {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
}
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-menu-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-menu-col-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-light);
  padding: 4px 10px 8px; display: block;
}
.mega-link {
  display: block; padding: 7px 10px; border-radius: var(--radius);
  font-size: 13px; color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.mega-link:hover,
.mega-link:focus-visible { color: var(--white); background: rgba(58,125,112,0.12); outline: none; }

/* ── HEADER ACTIONS — only "Get Free Guide" CTA ── */
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; color: var(--white);
  background: var(--teal); border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--teal-light); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(58,125,112,0.4);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: transparent; border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s; font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--white); border-color: var(--teal); }
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text-1); padding: 6px; cursor: pointer; border-radius: var(--radius);
}
.mobile-toggle:focus-visible { outline: 2px solid var(--teal); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--ink); overflow-y: auto; z-index: 999;
  transform: translateX(100%); transition: transform 0.3s ease;
  padding: 24px 20px 40px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-nav-section { margin-bottom: 28px; }
.mobile-nav-heading {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-light);
  padding: 0 4px 10px; border-bottom: 1px solid var(--border);
  margin-bottom: 8px; display: block;
}
.mobile-nav-link {
  display: block; padding: 10px 4px; font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--border); transition: color 0.15s;
}
.mobile-nav-link:hover, .mobile-nav-link:focus-visible { color: var(--white); }
.mobile-drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.mobile-drawer-actions .btn-primary { width: 100%; justify-content: center; padding: 12px 18px; font-size: 14px; }

/* ─── TICKER ────────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 7px 0; overflow: hidden; margin-top: var(--header-h);
}
.ticker-wrap:hover .ticker-track,
.ticker-wrap:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 40s linear infinite;
  width: max-content; will-change: transform;
}
.ticker-item {
  display: flex; align-items: center; gap: 24px; padding: 0 32px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); white-space: nowrap;
}
.ticker-item strong { color: var(--teal-light); }
.ticker-sep { color: var(--border); }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 88vh; display: flex; flex-direction: column; justify-content: center;
  padding: 80px 32px 60px; position: relative; overflow: hidden; background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(58,125,112,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image: linear-gradient(var(--teal-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal-light) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-light);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal-light); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 20px;
}
.hero-headline em { font-style: italic; color: var(--teal-light); }
.hero-subheadline {
  font-size: 17px; font-weight: 300; color: var(--text-2);
  line-height: 1.65; max-width: 520px; margin-bottom: 36px;
}
.hero-cta-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; color: var(--white);
  background: var(--teal); border: none; cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  animation: pulse-teal 3s ease infinite;
}
.btn-hero:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(58,125,112,0.45); }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 20px; }
.hero-trust-text { font-size: 12px; color: var(--text-3); }
.hero-trust-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
  padding: 5px 12px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.08em;
}
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-teal);
  animation: float 6s ease-in-out infinite; will-change: transform;
}
.hero-card-header {
  background: var(--surface-2); padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.hero-card-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero-card-dot.red    { background: #ff5f57; }
.hero-card-dot.yellow { background: #febc2e; }
.hero-card-dot.green  { background: #28c840; }
.hero-card-title { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-left: 6px; }
.hero-card-body { padding: 20px; }
.platform-compare-mini { display: flex; flex-direction: column; gap: 10px; }
.pcm-row { display: grid; grid-template-columns: 130px 1fr 60px; align-items: center; gap: 12px; font-size: 13px; }
.pcm-name { color: var(--text-2); font-weight: 500; }
.pcm-bar-wrap { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.pcm-bar { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.pcm-score { font-family: var(--font-mono); font-size: 12px; color: var(--teal-light); text-align: right; }
.hero-card-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  font-size: 11px; color: var(--text-3);
  display: flex; align-items: center; justify-content: space-between;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #28c840;
  animation: pulse-dot 2s ease infinite;
  display: inline-block; margin-right: 5px; vertical-align: middle;
}

/* ─── STATS STRIP ───────────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item { padding: 0 32px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--teal-light); }
.stat-label { font-size: 12.5px; color: var(--text-3); }
/* Clickable stat items */
.stat-item--link {
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.2s; border-radius: var(--radius); padding: 16px 32px;
  border-right: 1px solid var(--border);
}
.stat-item--link:last-child { border-right: none; }
.stat-item--link:hover { transform: translateY(-2px); }
.stat-item--link:hover .stat-number { color: var(--teal-light); }
.stat-item--link:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 4px; }

/* ─── SECTION SHARED ────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-header { margin-bottom: 52px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--teal-light); }
.section-subtitle { font-size: 16px; color: var(--text-2); max-width: 520px; line-height: 1.65; }

/* ─── INTERACTIVE TOOLS ─────────────────────────────────────────── */
.tools-section { background: var(--surface); padding: 96px 0; }
.tools-tabs {
  display: flex; gap: 4px; margin-bottom: 32px;
  background: var(--surface-2); padding: 4px; border-radius: 8px;
  width: fit-content; max-width: 100%; overflow-x: auto;
  -webkit-overflow-scrolling: touch; flex-shrink: 0;
}
.tab-btn {
  padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 500;
  color: var(--text-2); background: transparent; border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s; white-space: nowrap; font-family: var(--font-body);
}
.tab-btn.active,
.tab-btn[aria-selected="true"] { background: var(--teal); color: var(--white); }
.tab-btn:hover:not(.active) { color: var(--white); background: rgba(255,255,255,0.05); }
.tab-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tool-panel { display: none; }
.tool-panel.active { display: block; }

/* ─── ROI CALCULATOR ────────────────────────────────────────────── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.calc-inputs {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.calc-inputs h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom: 7px; letter-spacing: 0.02em; }
.form-input, .form-select {
  width: 100%; padding: 10px 14px;
  background: var(--surface-3); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-1); font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.2s; appearance: none;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--teal); }
.range-wrap { position: relative; margin-top: 4px; }
.form-range {
  width: 100%; height: 4px; appearance: none;
  background: var(--surface-3); border-radius: 2px; outline: none; display: block;
  position: relative; z-index: 1;
}
.form-range::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-light); cursor: pointer;
  border: 2px solid var(--surface-2);
  box-shadow: 0 0 0 2px rgba(77,184,166,0.3); transition: box-shadow 0.2s;
}
.form-range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 5px rgba(77,184,166,0.25); }
.form-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-light); cursor: pointer;
  border: 2px solid var(--surface-2); box-sizing: border-box;
}
.form-range:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.range-display { text-align: right; font-family: var(--font-mono); font-size: 12px; color: var(--teal-light); margin-top: 5px; }
.calc-btn {
  width: 100%; padding: 12px; background: var(--teal); color: var(--white);
  border: none; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: background 0.2s; margin-top: 8px;
}
.calc-btn:hover { background: var(--teal-light); }
.calc-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.calc-results {
  background: var(--surface-2); border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.result-headline { font-family: var(--font-display); font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.result-value { font-family: var(--font-mono); font-size: 32px; font-weight: 500; color: var(--teal-light); line-height: 1; }
.result-subtext { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.result-card { background: var(--surface-3); border-radius: var(--radius); padding: 16px 18px; }
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 13px; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.result-row:last-child { border-bottom: none; }
.result-row strong { color: var(--text-1); font-family: var(--font-mono); }
.migration-tool { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.migration-form, .migration-timeline {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.timeline-phases { display: flex; flex-direction: column; gap: 0; }
.timeline-phase {
  display: flex; gap: 16px; padding: 16px 0;
  border-left: 2px solid var(--border); margin-left: 16px; position: relative;
}
.timeline-phase::before {
  content: ''; position: absolute; left: -7px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--surface-2);
}
.phase-content { padding-left: 12px; }
.phase-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.phase-duration { font-family: var(--font-mono); font-size: 11px; color: var(--teal-light); margin-bottom: 5px; }
.phase-desc { font-size: 12.5px; color: var(--text-3); }
.compare-header {
  display: grid; grid-template-columns: 200px repeat(4, 1fr); gap: 0;
  background: var(--surface-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border); border-bottom: none;
}
.compare-col-head { padding: 16px 14px; text-align: center; border-left: 1px solid var(--border); }
.compare-col-head:first-child { border-left: none; }
.compare-platform-name { font-size: 13px; font-weight: 600; color: var(--white); }
.compare-platform-tier { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.compare-body { border: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 200px repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-row:nth-child(even) { background: rgba(255,255,255,0.02); }
.compare-cell {
  padding: 13px 14px; font-size: 13px; color: var(--text-2);
  border-left: 1px solid var(--border);
  text-align: center; display: flex; align-items: center; justify-content: center;
}
.compare-cell:first-child { text-align: left; justify-content: flex-start; color: var(--text-1); font-size: 12.5px; border-left: none; }
.check-y { color: var(--teal-light); font-size: 15px; }
.check-n { color: var(--text-3); font-size: 15px; }
.check-p { color: var(--gold-light); font-size: 12px; }
.compare-scroll-hint { display: none; font-size: 11px; color: var(--text-3); font-family: var(--font-mono); text-align: center; padding: 8px 0 0; }

/* ─── PLATFORMS ─────────────────────────────────────────────────── */
.platforms-section { padding: 96px 0; }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden; display: block; color: inherit;
}
.platform-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--teal); opacity: 0; transition: opacity 0.25s;
}
.platform-card:hover { border-color: var(--border-teal); transform: translateY(-3px); box-shadow: var(--shadow-teal); }
.platform-card:hover::before { opacity: 1; }
.platform-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.platform-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 2px; background: var(--teal-glow); border: 1px solid var(--border-teal); color: var(--teal-light); text-transform: uppercase; }
.platform-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.platform-stats { display: flex; gap: 20px; margin-bottom: 20px; }
.pstat-val { font-family: var(--font-mono); font-size: 16px; color: var(--white); }
.pstat-key { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.platform-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ptag { font-size: 11px; padding: 3px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; color: var(--text-3); }
.platform-link { font-size: 13px; font-weight: 600; color: var(--teal-light); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.platform-link:hover { gap: 9px; }
.platform-card.featured { grid-column: span 2; background: linear-gradient(135deg, var(--surface) 0%, rgba(58,125,112,0.08) 100%); border-color: var(--border-teal); }
.platform-card.featured::before { opacity: 1; }

/* ─── INDUSTRIES ────────────────────────────────────────────────── */
.industries-section { background: var(--surface); padding: 96px 0; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: border-color 0.25s, background 0.25s; position: relative;
}
.industry-card:hover { border-color: var(--border-teal); background: var(--surface-3); }
.industry-icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--teal-glow); border: 1px solid var(--border-teal); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.industry-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.industry-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin-bottom: 14px; }
.guide-count-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 11px; color: var(--teal-light);
  background: var(--teal-glow); border: 1px solid var(--border-teal);
  border-radius: var(--radius); padding: 4px 10px;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.guide-count-btn:hover { background: rgba(58,125,112,0.3); color: var(--white); }
.guide-count-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.guide-count-btn .btn-arrow { transition: transform 0.25s; display: inline-block; font-style: normal; }
.industry-card.guides-open .guide-count-btn .btn-arrow { transform: rotate(180deg); }
.guide-list-panel { display: none; margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.industry-card.guides-open .guide-list-panel { display: block; }
.guide-list-panel a {
  display: block; padding: 7px 0; font-size: 12.5px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.15s;
}
.guide-list-panel a:last-child { border-bottom: none; }
.guide-list-panel a:hover { color: var(--teal-light); }
.guide-list-panel a::before { content: '→ '; font-family: var(--font-mono); font-size: 10px; color: var(--teal); margin-right: 4px; }

/* ─── CONTENT HUB ───────────────────────────────────────────────── */
.content-section { padding: 96px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.featured-article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.25s; display: block; color: inherit; }
.featured-article:hover { border-color: var(--border-teal); }
.article-img-placeholder { height: 220px; background: linear-gradient(135deg, var(--surface-2), rgba(58,125,112,0.15)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.article-img-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(58,125,112,0.04) 20px, rgba(58,125,112,0.04) 21px); }
.article-img-text { font-family: var(--font-display); font-size: 13px; color: var(--text-3); position: relative; z-index: 1; }
.article-body { padding: 24px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-date { font-size: 12px; color: var(--text-3); }
.article-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.01em; }
.article-excerpt { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.article-read-more { font-size: 13px; font-weight: 600; color: var(--teal-light); display: flex; align-items: center; gap: 5px; }
.articles-list { display: flex; flex-direction: column; gap: 14px; }
.article-list-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; transition: border-color 0.2s; display: block; color: inherit; }
.article-list-item:hover { border-color: var(--border-teal); }
.ali-tag { margin-bottom: 8px; }
.ali-title { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.35; margin-bottom: 6px; }
.ali-meta { font-size: 11.5px; color: var(--text-3); }

/* ─── TESTIMONIALS ──────────────────────────────────────────────── */
.testimonials-section { background: var(--surface); padding: 96px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.testimonial-card::before { content: '"'; font-family: var(--font-display); font-size: 80px; color: var(--teal); opacity: 0.15; line-height: 0.8; position: absolute; top: 20px; left: 22px; }
.testimonial-stars { color: var(--gold-light); font-size: 13px; margin-bottom: 14px; }
.testimonial-text { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-dim); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.author-name { font-size: 13.5px; font-weight: 600; color: var(--white); }
.author-title { font-size: 12px; color: var(--text-3); }

/* ─── RESOURCES ─────────────────────────────────────────────────── */
.resources-section { padding: 96px 0; }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.resource-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color 0.25s, transform 0.25s; display: block; color: inherit; }
.resource-card:hover { border-color: var(--border-teal); transform: translateY(-2px); }
.resource-type { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.resource-type.guide    { color: var(--teal-light); }
.resource-type.standard { color: var(--gold-light); }
.resource-type.template { color: #a78bfa; }
.resource-type.tool     { color: #67e8f9; }
.resource-title { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 10px; }
.resource-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin-bottom: 16px; }
.resource-link { font-size: 12.5px; font-weight: 600; color: var(--teal-light); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.resource-link:hover { gap: 9px; }

/* ─── CTA BAND ──────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-dim) 0%, rgba(58,125,112,0.4) 100%);
  border-top: 1px solid var(--border-teal); border-bottom: 1px solid var(--border-teal);
  position: relative; overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; padding: 0 32px; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-cta-white {
  display: inline-flex; align-items: center;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--teal-dim);
  background: var(--white); border: none;
  transition: transform 0.2s, box-shadow 0.2s; font-family: var(--font-body);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-cta-outline {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--white);
  background: transparent; border: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s; font-family: var(--font-body);
}
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 280px repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; display: inline-flex; }
.footer-brand-desc { font-size: 13px; color: var(--text-3); line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 14px; transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--teal); color: var(--teal-light); }
.social-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-1); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 13px; color: var(--text-3); transition: color 0.15s; }
.footer-link:hover { color: var(--teal-light); }
.footer-newsletter {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.newsletter-text h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.newsletter-text p { font-size: 13px; color: var(--text-3); }
.newsletter-form { display: flex; gap: 8px; align-items: flex-start; flex-direction: column; min-width: 320px; }
.newsletter-row { display: flex; gap: 8px; width: 100%; }
.newsletter-input {
  padding: 9px 16px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-1); font-family: var(--font-body); font-size: 13.5px;
  flex: 1 1 220px; min-width: 0; transition: border-color 0.2s;
}
.newsletter-input:focus { outline: none; border-color: var(--teal); }
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input.input-error { border-color: #e05757; }
.newsletter-btn {
  padding: 9px 20px; border-radius: var(--radius);
  background: var(--teal); color: var(--white);
  font-size: 13.5px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--font-body); transition: background 0.2s; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--teal-light); }
.newsletter-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.newsletter-msg { font-size: 12px; margin-top: 4px; min-height: 16px; display: none; }
.newsletter-msg.success { color: var(--teal-light); display: block; }
.newsletter-msg.error   { color: #e05757; display: block; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1380px; margin: 0 auto; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: 12.5px; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--text-3); transition: color 0.15s; }
.footer-legal a:hover { color: var(--teal-light); }

/* ─── INNER PAGE CONTENT ────────────────────────────────────────── */
.page-hero {
  padding: 120px 32px 64px;
  background: var(--ink); border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-light);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--white); margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--teal-light); }
.page-hero-desc { font-size: 17px; color: var(--text-2); line-height: 1.65; max-width: 640px; }
.page-content-wrap {
  max-width: 860px; margin: 0 auto; padding: 64px 32px;
}
.page-content-wrap h2 {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: var(--white); line-height: 1.2;
  letter-spacing: -0.02em; margin: 48px 0 16px;
}
.page-content-wrap h2:first-child { margin-top: 0; }
.page-content-wrap h3 {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: var(--white); margin: 32px 0 12px;
}
.page-content-wrap p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.page-content-wrap ul, .page-content-wrap ol { color: var(--text-2); font-size: 15px; line-height: 1.7; padding-left: 24px; margin-bottom: 20px; }
.page-content-wrap li { margin-bottom: 8px; }
.page-content-wrap a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; }
.page-content-wrap a:hover { color: var(--white); }
.page-content-wrap table {
  width: 100%; border-collapse: collapse; margin-bottom: 28px;
  font-size: 14px; color: var(--text-2);
}
.page-content-wrap th {
  text-align: left; padding: 12px 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-1);
}
.page-content-wrap td { padding: 12px 16px; border: 1px solid var(--border); }
.page-content-wrap tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.page-content-wrap blockquote {
  border-left: 3px solid var(--teal); padding: 16px 24px;
  background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; color: var(--text-1); font-size: 16px; font-style: italic; line-height: 1.7;
}
.page-content-wrap code {
  font-family: var(--font-mono); font-size: 13px;
  background: var(--surface-2); padding: 2px 8px; border-radius: 4px; color: var(--teal-light);
}
.page-content-wrap pre {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; overflow-x: auto; margin-bottom: 24px;
}
.page-content-wrap pre code { background: none; padding: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3); margin-bottom: 20px;
  font-family: var(--font-mono); letter-spacing: 0.03em;
}
.breadcrumb a { color: var(--text-3); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb-sep { color: var(--border-teal); }
.breadcrumb-current { color: var(--teal-light); }

/* Post meta */
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.post-meta-item { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); }

/* Archive grid */
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color 0.25s, transform 0.2s; display: block; color: inherit;
}
.archive-card:hover { border-color: var(--border-teal); transform: translateY(-2px); }
.archive-card-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px; }
.archive-card-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 10px; }
.archive-card-excerpt { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 14px; }
.archive-card-link { font-size: 12.5px; font-weight: 600; color: var(--teal-light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-numbers {
  padding: 8px 14px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); transition: border-color 0.2s, color 0.2s;
}
.page-numbers.current, .page-numbers:hover { border-color: var(--teal); color: var(--white); background: var(--teal-glow); }

/* Sidebar */
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 64px 32px; }
.sidebar-widget { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-widget-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px; }
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-link { font-size: 13px; color: var(--text-2); transition: color 0.15s; padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--teal-light); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item, .stat-item--link { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; }
  .stat-item:nth-child(odd), .stat-item--link:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item--link:last-child,
  .stat-item:nth-last-child(2):nth-child(odd), .stat-item--link:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .calc-grid, .migration-tool { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .platform-card.featured { grid-column: span 1; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-scroll-hint { display: block; }
  .compare-widget { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-header { min-width: 600px; }
  .compare-body { min-width: 600px; }
  .compare-header, .compare-row { grid-template-columns: 140px repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .tools-section .section-header { margin-bottom: 28px; }
  .tools-section .section-title { font-size: clamp(22px, 5vw, 32px); }
  .tools-section .section-subtitle { font-size: 14px; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 20px 40px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-cta-white,
  .cta-actions .btn-cta-outline { width: 100%; justify-content: center; }
  .newsletter-row { flex-wrap: wrap; }
  .newsletter-input { flex-basis: 100%; }
  .newsletter-btn { flex-basis: 100%; text-align: center; }
  .footer-newsletter { flex-direction: column; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .hero-inner { gap: 32px; }
  .tools-section .section-header h2,
  .tools-section .section-header p { max-width: 100%; }
  .tools-tabs { width: 100%; }
  .tab-btn { padding: 9px 14px; font-size: 12px; }
  .page-content-wrap { padding: 40px 20px; }
  .page-hero { padding: 100px 20px 48px; }
}

/* ─── GUIDES SECTION ────────────────────────────────────────────── */
.guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.guide-featured-box {
  background: var(--surface-2); border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.guide-featured-text { padding: 28px; }
.guide-featured-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--white); line-height: 1.2; margin: 8px 0 12px;
}
.guide-featured-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.guide-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: border-color 0.2s, transform 0.2s; display: block; color: inherit;
}
.guide-card:hover { border-color: var(--border-teal); transform: translateY(-2px); }
.guide-card-type {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 10px;
}
.guide-card-type.guide    { color: var(--teal-light); }
.guide-card-type.standard { color: var(--gold-light); }
.guide-card-type.template { color: #a78bfa; }
.guide-card-type.tool     { color: #67e8f9; }
.guide-card-title { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.35; margin-bottom: 8px; }
.guide-card-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin-bottom: 12px; }
.guide-card-link { font-size: 12.5px; font-weight: 600; color: var(--teal-light); }

/* ─── ANIMATED CONSOLIDATION DASHBOARD ─────────────────────────── */
@keyframes ganimFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ganimFill {
  from { width: 0; }
}
@keyframes ganimPulseStep {
  0%,100% { background: var(--teal-glow); color: var(--teal-light); }
  50%      { background: rgba(58,125,112,0.4); color: var(--white); }
}
@keyframes ganimCounter {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}
@keyframes ganimOverlay {
  0%   { opacity: 0; transform: translateY(4px) scale(0.95); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0.6; }
}

.guide-anim-dashboard {
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}
.ganim-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.ganim-dots { display: flex; gap: 6px; }
.ganim-dot { width: 10px; height: 10px; border-radius: 50%; }
.ganim-dot.red    { background: #ff5f57; }
.ganim-dot.yellow { background: #febc2e; }
.ganim-dot.green  { background: #28c840; }
.ganim-title { font-size: 11px; color: var(--text-3); flex: 1; }
.ganim-badge {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(40,200,64,0.15); color: #28c840;
  border: 1px solid rgba(40,200,64,0.3); border-radius: 3px; padding: 2px 8px;
  animation: pulse-dot 2s ease infinite;
}

.ganim-body {
  padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px;
  align-items: center; min-height: 160px;
}

/* Entity bars */
.ganim-entities { display: flex; flex-direction: column; gap: 8px; }
.ganim-entity {
  display: grid; grid-template-columns: 90px 1fr 48px; gap: 8px; align-items: center;
  animation: ganimFadeIn 0.5s ease both;
}
.ganim-entity-name { font-size: 10px; color: var(--text-3); white-space: nowrap; }
.ganim-entity-bar {
  height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden;
}
.ganim-entity-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  animation: ganimFill 1.2s ease both;
}
.ganim-entity-val { font-size: 10px; color: var(--teal-light); text-align: right; }

/* Process steps arrow */
.ganim-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ganim-arrow-line { width: 1px; height: 20px; background: var(--border-teal); }
.ganim-steps { display: flex; flex-direction: column; gap: 3px; }
.ganim-step {
  font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  background: var(--teal-glow); color: var(--text-3);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.ganim-step--active {
  background: rgba(58,125,112,0.3); color: var(--teal-light);
  border-color: var(--border-teal);
  animation: ganimPulseStep 2s ease infinite;
}

/* Consolidated result */
.ganim-result { text-align: right; }
.ganim-result-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.ganim-result-value {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 3px;
  animation: ganimCounter 1.5s ease infinite alternate;
}
.ganim-result-sub { font-size: 9px; color: var(--text-3); margin-bottom: 8px; }
.ganim-overlays { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.ganim-overlay {
  font-size: 9px; padding: 2px 7px; border-radius: 3px;
  background: var(--teal-glow); color: var(--teal-light);
  border: 1px solid var(--border-teal);
  animation: ganimOverlay 3s ease infinite;
}
.ganim-overlay:nth-child(2) { animation-delay: 1s; }
.ganim-overlay:nth-child(3) { animation-delay: 2s; }

/* Footer progress bar */
.ganim-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 18px; border-top: 1px solid var(--border);
  background: var(--surface-2); font-size: 10px; color: var(--text-3);
}
.ganim-status { display: flex; align-items: center; gap: 6px; }
.ganim-progress-wrap { display: flex; align-items: center; gap: 8px; }
.ganim-progress-bar {
  width: 80px; height: 4px; background: var(--surface-3);
  border-radius: 2px; overflow: hidden;
}
.ganim-progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  animation: ganimFill 2s ease;
}
.ganim-progress-pct { color: var(--teal-light); }

/* Responsive guides */
@media (max-width: 1000px) {
  .guides-grid { grid-template-columns: 1fr; }
  .ganim-body { grid-template-columns: 1fr; gap: 16px; }
  .ganim-arrow { flex-direction: row; }
  .ganim-arrow-line { width: 20px; height: 1px; }
  .ganim-steps { flex-direction: row; flex-wrap: wrap; }
  .ganim-result { text-align: left; }
  .ganim-overlays { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .guide-cards-grid { grid-template-columns: 1fr; }
}
