/* ============ TOKENS ============ */
:root{
  --sky-50:#f0f9ff; --sky-100:#e0f2fe; --sky-500:#0EA5E9; --sky-600:#0284c7; --sky-700:#0369a1;
  --emerald-50:#ecfdf5; --emerald-500:#10B981; --emerald-600:#059669;
  --bg:#ffffff;
  --bg-soft:#f8fafc;
  --bg-tint:#f1f5f9;
  --line:#e5e7eb;
  --line-soft:#eef2f7;
  --ink:#0b1220;
  --ink-2:#1f2937;
  --muted:#64748b;
  --muted-2:#94a3b8;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 10px -2px rgba(15,23,42,.06), 0 10px 24px -8px rgba(15,23,42,.08);
  --radius: 14px;
  --radius-lg: 20px;

  /* Override plugin dark palette so --pt-* render in light theme */
  --pt-bg:#f8fafc; --pt-card:#ffffff; --pt-card2:#f1f5f9;
  --pt-border:#e5e7eb; --pt-primary:#0EA5E9; --pt-primary-dk:#0284c7;
  --pt-accent:#6366f1; --pt-danger:#ef4444; --pt-warning:#f59e0b;
  --pt-text:#0b1220; --pt-muted:#64748b;
  --pt-radius:12px; --pt-shadow:0 2px 12px rgba(15,23,42,.08);
  --pt-font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --pt-mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
}

/* ============ BASE ============ */
*{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden}
body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:#0b1220;
  background:#ffffff;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:transparent;color:inherit}
img,svg{display:block;max-width:100%}
p{margin:0;color:#64748b}

.container{max-width:1200px;margin:0 auto;padding:0 32px}

/* Hard-coded heading colors - immune to plugin CSS variable overrides */
h1,h2,h3,h4,h5{margin:0;letter-spacing:-0.02em;color:#0b1220}
h1{font-size:clamp(36px,4.5vw,58px);font-weight:800;line-height:1.08;letter-spacing:-0.03em}
h2{font-size:clamp(22px,2.4vw,30px);font-weight:700;letter-spacing:-0.025em}
h3{font-size:17px;font-weight:600;line-height:1.3}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:11px 20px;border-radius:999px;font-weight:600;font-size:14px;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease,border-color .15s ease;
  white-space:nowrap;line-height:1;
}
.btn-lg{padding:14px 24px;font-size:15px}
.btn-sm{padding:8px 14px;font-size:13px}
.btn-primary{background:#0EA5E9;color:#fff!important;box-shadow:0 6px 18px -6px rgba(14,165,233,.55)}
.btn-primary:hover{background:#0284c7;transform:translateY(-1px);box-shadow:0 10px 24px -8px rgba(14,165,233,.6)}
.btn-ghost{background:#fff;color:#0b1220!important;border:1px solid #e5e7eb}
.btn-ghost:hover{background:#f8fafc;border-color:#cbd5e1}
.icon-btn{
  width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  color:#64748b;border:1px solid #e5e7eb;background:#fff;transition:all .15s ease;flex-shrink:0;
}
.icon-btn:hover{color:#0b1220;border-color:#cbd5e1}

/* Eyebrow label */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#0284c7;
}
.eyebrow-dot{
  width:6px;height:6px;border-radius:999px;flex-shrink:0;
  background:#0EA5E9;box-shadow:0 0 0 4px rgba(14,165,233,.15);
}
.eyebrow-dot.emerald{background:#10B981;box-shadow:0 0 0 4px rgba(16,185,129,.15)}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(160%) blur(16px);
  -webkit-backdrop-filter:saturate(160%) blur(16px);
  border-bottom:1px solid #eef2f7;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:20px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:17px;letter-spacing:-0.02em;color:#0b1220;flex-shrink:0}
.brand-mark{
  width:30px;height:30px;border-radius:9px;flex-shrink:0;
  background:linear-gradient(135deg,#0EA5E9,#0369a1);
  color:#fff;display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px -3px rgba(14,165,233,.5);
}
.brand-mark svg{width:15px;height:15px}
.brand-accent{color:#0EA5E9}
.primary-nav{display:flex;align-items:center;gap:24px;font-size:13.5px;color:#1f2937;font-weight:500}
.primary-nav a{display:inline-flex;align-items:center;gap:4px;transition:color .15s;color:#1f2937;padding:4px 0}
.primary-nav a:hover,.primary-nav a.is-active{color:#0EA5E9}

/* ============ MEGA MENU ============ */
.nav-mega-wrap{position:relative}
.nav-mega-btn{
  display:inline-flex;align-items:center;gap:4px;
  background:none;border:none;cursor:pointer;padding:4px 0;
  font-size:13.5px;font-weight:500;color:#1f2937;
  font-family:inherit;transition:color .15s;
}
.nav-mega-btn:hover,.nav-mega-btn.is-active{color:#0EA5E9}
.mega-chevron{transition:transform .2s ease;flex-shrink:0}
.nav-mega-btn[aria-expanded="true"] .mega-chevron{transform:rotate(180deg)}
.mega-panel{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);
  width:min(860px,92vw);
  background:#fff;border:1px solid #e5e7eb;border-radius:18px;
  box-shadow:0 12px 48px -8px rgba(15,23,42,.15),0 4px 16px -4px rgba(15,23,42,.08);
  padding:28px;z-index:200;
  animation:megaFadeIn .18s ease;
}
@keyframes megaFadeIn{from{opacity:0;transform:translateX(-50%) translateY(-8px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}
.mega-panel-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px 20px}
.mega-col{}
.mega-col-head{
  display:flex;align-items:center;gap:8px;
  font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  color:#94a3b8;margin-bottom:10px;padding-bottom:8px;
  border-bottom:1px solid #f1f5f9;transition:color .15s;
}
.mega-col-head:hover{color:#0EA5E9}
.mega-icon{font-size:15px;line-height:1}
.mega-tool-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}
.mega-tool-list li a{
  display:block;padding:6px 8px;border-radius:8px;
  font-size:13px;color:#374151;line-height:1.35;
  transition:background .12s,color .12s;
}
.mega-tool-list li a:hover{background:#f0f9ff;color:#0EA5E9}
.mega-footer{
  grid-column:1/-1;padding-top:18px;margin-top:4px;
  border-top:1px solid #f1f5f9;display:flex;align-items:center;
  justify-content:flex-end;
}
.btn-sm{font-size:13px;padding:9px 18px;border-radius:10px}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}

/* Hamburger */
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:36px;height:36px;border-radius:8px;border:1px solid #e5e7eb;
  background:#fff;padding:8px;cursor:pointer;flex-shrink:0;
}
.nav-toggle span{display:block;height:2px;background:#0b1220;border-radius:2px;transition:all .25s ease}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile nav drawer */
.mobile-nav{
  display:none;position:fixed;inset:68px 0 0 0;z-index:90;
  background:#fff;border-top:1px solid #eef2f7;overflow-y:auto;
  padding:16px 0 40px;
  transform:translateX(100%);transition:transform .28s ease;
}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav-section{padding:0 20px;margin-bottom:16px}
.mobile-nav-heading{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.15em;color:#94a3b8;padding:0 4px;margin-bottom:8px;display:block}
.mobile-nav-link{
  display:flex;align-items:center;gap:10px;
  padding:11px 14px;border-radius:10px;font-size:14px;color:#1f2937;
  transition:background .15s,color .15s;
}
.mobile-nav-link:hover{background:#f8fafc;color:#0b1220}
/* Mobile tools accordion */
.mobile-acc-toggle{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  background:none;border:none;cursor:pointer;font-family:inherit;
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.15em;
  color:#94a3b8;padding:0 4px;margin-bottom:8px;
}
.mobile-acc-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.mobile-acc-toggle svg{transition:transform .2s}
.mobile-acc-body{padding-top:4px}
.mobile-cat-group{margin-bottom:12px}
.mobile-cat-head{
  display:flex;align-items:center;gap:8px;
  padding:8px 14px 6px;font-size:12px;font-weight:700;
  color:#64748b;text-transform:uppercase;letter-spacing:.06em;
}
.mobile-cat-head:hover{color:#0EA5E9}
.mobile-tool-link{padding-left:28px!important;font-size:13.5px}

/* Admin bar offset */
.admin-bar .site-header{top:32px}
.admin-bar .filter-bar-wrap{top:100px}
@media screen and (max-width:782px){
  .admin-bar .site-header{top:46px}
  .admin-bar .filter-bar-wrap{top:114px}
}

/* ============ HERO ============ */
.hero{
  position:relative;overflow:hidden;padding:56px 0 64px;
  background:
    radial-gradient(800px 360px at 90% -5%, rgba(14,165,233,.08), transparent 60%),
    radial-gradient(600px 300px at -5% 35%, rgba(16,185,129,.05), transparent 60%),
    #ffffff;
}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:#eef2f7}
.breadcrumbs{
  display:flex;align-items:center;gap:6px;
  font-size:12.5px;color:#94a3b8;margin-bottom:32px;
}
.breadcrumbs a{color:#94a3b8;transition:color .15s}
.breadcrumbs a:hover{color:#0EA5E9}
.breadcrumbs span{color:#cbd5e1}

.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:56px;align-items:center}
.hero-copy h1{color:#0b1220;margin:14px 0 16px}
.hero-copy .lede{font-size:17px;color:#64748b;max-width:56ch;line-height:1.6}
.hero-ctas{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap;align-items:center}

.hero-stats{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1px;
  background:#e5e7eb;border:1px solid #e5e7eb;
  border-radius:20px;overflow:hidden;
  box-shadow:0 4px 10px -2px rgba(15,23,42,.06),0 10px 24px -8px rgba(15,23,42,.08);
}
.stat{background:#fff;padding:24px}
.stat-num{font-size:30px;font-weight:800;letter-spacing:-0.03em;color:#0EA5E9;line-height:1}
.stat-label{font-size:12px;color:#64748b;margin-top:5px;font-weight:500}

/* ============ FILTER BAR ============ */
.filter-bar-wrap{
  position:sticky;top:68px;z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid #eef2f7;
}
.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 14px;border-radius:999px;
  background:#fff;border:1px solid #e5e7eb;color:#1f2937;
  font-size:13px;font-weight:500;transition:all .15s ease;cursor:pointer;line-height:1;
}
.chip:hover{border-color:#cbd5e1;background:#f8fafc}
.chip.is-active{background:#0b1220;color:#fff;border-color:#0b1220;box-shadow:0 4px 12px -4px rgba(15,23,42,.45)}
.chip-count{
  font-size:11px;font-weight:600;padding:2px 6px;border-radius:999px;
  background:#f1f5f9;color:#64748b;line-height:1.2;
}
.chip.is-active .chip-count{background:rgba(255,255,255,.2);color:#fff}
.inline-search{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;
  color:#64748b;min-width:240px;flex-shrink:0;
}
.inline-search:focus-within{border-color:#0EA5E9;box-shadow:0 0 0 3px rgba(14,165,233,.1)}
.inline-search svg{flex-shrink:0;color:#94a3b8}
.inline-search input{border:0;outline:0;flex:1;font:inherit;font-size:13px;color:#0b1220;background:transparent;min-width:0}
.inline-search input::placeholder{color:#94a3b8}

/* ============ SECTIONS ============ */
.section{padding:56px 0}
.section-light{background:#f8fafc;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}
.section-head{
  display:flex;align-items:baseline;justify-content:space-between;
  margin-bottom:28px;gap:16px;
}
.section-head h2{color:#0b1220}
.section-head-center{flex-direction:column;align-items:center;text-align:center;margin-bottom:36px;gap:10px}
.muted-meta{color:#64748b;font-size:13px;white-space:nowrap}
.link{transition:color .15s}
.link:hover{color:#0EA5E9}

/* ============ TOOL CARDS ============ */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.tool-card{
  position:relative;overflow:hidden;
  background:#ffffff;border:1px solid #e5e7eb;border-radius:20px;
  padding:22px;display:flex;flex-direction:column;gap:12px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  color:#0b1220;
}
/* Gradient accent strip on hover */
.tool-card::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#0EA5E9,rgba(14,165,233,0) 65%);
  opacity:0;transition:opacity .2s ease;
}
.tool-card:hover{transform:translateY(-3px);border-color:#bae6fd;box-shadow:0 4px 10px -2px rgba(15,23,42,.06),0 10px 24px -8px rgba(15,23,42,.08)}
.tool-card:hover::before{opacity:1}
.tool-card:hover .arrow{color:#0EA5E9;transform:translateX(3px)}

.tool-card-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tool-icon{
  width:40px;height:40px;border-radius:10px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:#f0f9ff;border:1px solid #e0f2fe;
  font-size:19px;line-height:1;
}
.tool-icon.emerald{background:#ecfdf5;border-color:#d1fae5}

.category-tag{
  display:inline-flex;align-items:center;
  font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;
  padding:4px 10px;border-radius:6px;
  color:#0369a1;background:#f0f9ff;border:1px solid #e0f2fe;
  white-space:nowrap;
}
.category-tag.emerald{color:#059669;background:#ecfdf5;border-color:#d1fae5}

/* Hard-coded card heading color - not a var() so plugin CSS cannot override */
.tool-card h3{font-size:19px;font-weight:600;line-height:1.35;color:#0b1220;letter-spacing:-0.01em}
.tool-card p{font-size:13px;color:#64748b;line-height:1.6;flex:1}

.tool-card-foot{
  display:flex;align-items:center;justify-content:flex-end;
  padding-top:12px;border-top:1px solid #f1f5f9;margin-top:auto;
}
.arrow{font-size:13px;font-weight:600;color:#64748b;transition:color .15s,transform .15s ease;white-space:nowrap}

/* Empty state */
.tools-empty{
  grid-column:1/-1;padding:64px 24px;text-align:center;
}
.tools-empty svg{width:44px;height:44px;margin:0 auto 14px;color:#94a3b8;display:block}
.tools-empty p{font-size:14px;color:#64748b}

/* ============ INFO BANNER ============ */
.quiz-cta{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  padding:32px 40px;border-radius:20px;
  background:linear-gradient(135deg,#eff6ff 0%,#f0fdf4 100%);
  border:1px solid #dbeafe;
}
.quiz-cta h3{font-size:20px;margin:6px 0 6px;color:#0b1220}
.quiz-cta p{color:#64748b;font-size:14px;max-width:52ch;line-height:1.6}

/* ============ FOOTER ============ */
.site-footer{background:#0b1220;color:#cbd5e1;padding:64px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:48px}
.footer-brand p{color:#94a3b8;font-size:13px;margin-top:14px;line-height:1.7;max-width:36ch}
.footer-brand .disclaimer{
  font-size:11.5px;color:#475569;border:1px solid #1e293b;
  padding:10px 14px;border-radius:10px;margin-top:16px;line-height:1.6;
}
.site-footer h5{color:#e2e8f0;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:700;margin-bottom:16px}
.site-footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.site-footer a{color:#94a3b8;font-size:13px;transition:color .15s}
.site-footer a:hover{color:#fff}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;color:#475569;padding-top:24px;margin-top:40px;border-top:1px solid #1e293b;
}
.footer-bottom p{margin:0;color:#475569}
.footer-bottom div{display:flex;gap:20px}
.footer-bottom a{color:#475569;font-size:12px;transition:color .15s}
.footer-bottom a:hover{color:#94a3b8}

/* ============ TOOL DETAIL PAGE ============ */
.tool-header{
  padding:40px 0 36px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border-bottom:1px solid #eef2f7;
}
.tool-header-grid{display:grid;grid-template-columns:1fr auto;align-items:end;gap:32px;margin-top:20px}
.tool-header h1{font-size:clamp(26px,3.2vw,40px);color:#0b1220;margin:12px 0 10px;line-height:1.1}
.tool-header .lede{font-size:15px;color:#64748b;max-width:58ch;line-height:1.65}
.meta-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.meta-pill{
  display:inline-flex;align-items:center;gap:6px;
  background:#fff;border:1px solid #e5e7eb;padding:5px 10px;border-radius:999px;
  font-size:11.5px;color:#64748b;
}
.start-here{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 20px;border-radius:999px;white-space:nowrap;
  background:#0b1220;color:#fff;font-size:13px;font-weight:600;
  box-shadow:0 8px 18px -6px rgba(15,23,42,.4);
}
.start-here-arrow{animation:bob 1.6s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}

/* Calc layout */
.calc-section{padding:40px 0 72px}
.calc-grid{display:grid;grid-template-columns:1fr 290px;gap:24px;align-items:start}

.calc-shell{
  background:#fff;border:1px solid #e5e7eb;border-radius:20px;
  box-shadow:0 4px 10px -2px rgba(15,23,42,.05),0 10px 24px -8px rgba(15,23,42,.07);
  overflow:hidden;
}
.calc-shell-header{
  display:flex;align-items:center;
  padding:14px 24px;border-bottom:1px solid #f1f5f9;
  background:linear-gradient(180deg,#fafcff,#fff);
}
.calc-shell-body{padding:24px}

/* Strip plugin dark background / shadow from inside shell */
.calc-shell .pt-tool{background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important}

/* Sidebar */
.tool-sidebar{display:flex;flex-direction:column;gap:14px;position:sticky;top:110px}
.sidebar-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}
.sidebar-card h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.1em;color:#0b1220;margin-bottom:14px;font-weight:700}
.how-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.how-list li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#1f2937}
.how-list .step-dot{
  flex:none;width:20px;height:20px;border-radius:999px;
  background:#f0f9ff;color:#0284c7;
  font-size:10.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-top:1px;
}
.side-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}
.side-links a{display:flex;flex-direction:column;padding:9px 12px;border-radius:10px;transition:background .15s;gap:2px}
.side-links a:hover{background:#f8fafc}
.side-links strong{font-size:13px;color:#0b1220;font-weight:500}
.side-links span{font-size:11.5px;color:#64748b}
.sidebar-note{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:14px;display:flex;gap:12px}
.sidebar-note p{font-size:12px;color:#78350f;line-height:1.6;margin:0}
.sidebar-note svg{flex:none;width:16px;height:16px;color:#b45309;margin-top:2px}

/* Plugin form overrides - light theme */
.pt-tool{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:none!important;color:#0b1220!important}
.pt-title{color:#0b1220!important}
.pt-subtitle,.pt-label,.pt-hint{color:#64748b!important}
.pt-input,.pt-select{background:#fff!important;border-color:#e5e7eb!important;color:#0b1220!important}
.pt-input:focus,.pt-select:focus{border-color:#0EA5E9!important;box-shadow:0 0 0 3px rgba(14,165,233,.1)!important}
.pt-unit{background:#f1f5f9!important;border-color:#e5e7eb!important;color:#64748b!important}
.pt-btn{background:linear-gradient(135deg,#0EA5E9,#0284c7)!important;color:#fff!important}
.pt-badge{color:#0284c7!important;background:#f0f9ff!important;border-color:#e0f2fe!important}
.pt-warning-box{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important}
.pt-warning-box strong{color:#b91c1c!important}
.pt-warning-box::before{color:#dc2626!important}
.pt-info-box{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1e40af!important}
.pt-info-box strong{color:#1d4ed8!important}
.pt-info-box::before{color:#2563eb!important}

/* ============ FAQ ============ */
.faq-section{padding:48px 0 64px}
.faq-wrap{max-width:760px;margin:0 auto}
.faq{display:flex;flex-direction:column;gap:10px}
.faq details{
  background:#fff;border:1px solid #e5e7eb;border-radius:14px;
  transition:border-color .2s,box-shadow .2s;overflow:hidden;
}
.faq details[open]{border-color:#bae6fd;box-shadow:0 1px 2px rgba(15,23,42,.04),0 1px 3px rgba(15,23,42,.06)}
.faq summary{
  list-style:none;cursor:pointer;
  padding:16px 20px;display:flex;align-items:center;gap:12px;
  font-weight:600;color:#0b1220;font-size:14.5px;
  user-select:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq-num{
  font-size:11px;font-family:'JetBrains Mono',monospace;
  color:#0284c7;background:#f0f9ff;
  padding:3px 8px;border-radius:6px;font-weight:700;flex-shrink:0;
}
.faq-toggle{
  margin-left:auto;width:22px;height:22px;border-radius:999px;
  background:#f1f5f9;position:relative;flex:none;transition:background .2s;
}
.faq-toggle::before,.faq-toggle::after{
  content:"";position:absolute;top:50%;left:50%;background:#475569;
  transition:transform .25s ease;
}
.faq-toggle::before{width:10px;height:2px;transform:translate(-50%,-50%)}
.faq-toggle::after{width:2px;height:10px;transform:translate(-50%,-50%)}
.faq details[open] .faq-toggle{background:#0EA5E9}
.faq details[open] .faq-toggle::before,.faq details[open] .faq-toggle::after{background:#fff}
.faq details[open] .faq-toggle::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq-body{padding:0 20px 18px 20px;color:#64748b;font-size:13.5px;line-height:1.7;animation:fd .22s ease}
.faq-body p{color:#64748b;margin:0 0 8px}
.faq-body p:last-child{margin-bottom:0}
@keyframes fd{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* Kill any leftover old-style plugin FAQ elements */
.pt-faq-chevron{display:none!important}
.pt-faq-q::after{content:none!important;background-image:none!important}

/* Page content from WP editor */
.page-content{font-size:15px;line-height:1.75;color:#64748b}
.page-content h2,.page-content h3{color:#0b1220;margin:28px 0 10px}
.page-content p{color:#64748b;margin:0 0 14px}
.page-content ul,.page-content ol{margin:0 0 14px;padding-left:20px;color:#64748b}

/* ============ RESPONSIVE - DESKTOP FIRST ============ */

/* Tablet: 1024px and below */
@media (max-width:1024px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  .hero-grid{gap:40px}
}

/* Small laptop / large tablet: 900px */
@media (max-width:900px){
  .primary-nav{display:none}
  .nav-toggle{display:flex}
  .mobile-nav{display:block}
  .header-actions .btn-primary{display:none}
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .hero-stats{grid-template-columns:repeat(4,1fr)}
  .tool-header-grid{grid-template-columns:1fr}
  .start-here{display:none}
  .calc-grid{grid-template-columns:1fr}
  .tool-sidebar{position:static}
  .cards{grid-template-columns:repeat(2,1fr)}
  .filter-bar{gap:12px}
}

/* Tablet portrait / large phone: 640px */
@media (max-width:640px){
  .container{padding:0 18px}
  .filter-bar{flex-direction:column;align-items:stretch;padding:12px 18px;gap:10px}
  .filter-bar-wrap{top:68px}
  .filters{
    overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;
    margin:0 -18px;padding:0 18px 4px;
  }
  .filters::-webkit-scrollbar{display:none}
  .chip{flex:none}
  .inline-search{min-width:0;width:100%}
  .hero{padding:36px 0 44px}
  .hero-copy h1{font-size:30px}
  .hero-copy .lede{font-size:15px}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
  .stat{padding:18px}
  .stat-num{font-size:26px}
  .cards{grid-template-columns:1fr}
  .section{padding:40px 0}
  .quiz-cta{flex-direction:column;align-items:stretch;padding:24px;gap:20px}
  .quiz-cta h3{font-size:18px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center}
  .footer-bottom div{justify-content:center}
  .tool-header{padding:24px 0 24px}
  .tool-header h1{font-size:24px}
  .faq summary{font-size:14px;padding:14px 16px}
  .faq-body{padding:0 16px 16px}
  .faq-section{padding:36px 0 48px}
  .calc-shell-body{padding:16px}
}

/* ============ BLOG LISTING ============ */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.blog-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;transition:border-color .2s,box-shadow .2s;display:flex;flex-direction:column}
.blog-card:hover{border-color:#bae6fd;box-shadow:0 4px 20px -4px rgba(14,165,233,.12)}
.blog-card-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#f1f5f9}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.blog-card:hover .blog-card-img img{transform:scale(1.04)}
.blog-card-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0f9ff,#e0f2fe)}
.blog-card-img-placeholder svg{width:36px;height:36px;color:#7dd3fc}
.blog-card-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-cat-tag{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#0284c7;background:#f0f9ff;border:1px solid #e0f2fe;border-radius:6px;padding:3px 10px;width:fit-content}
.blog-cat-tag:hover{background:#e0f2fe}
.blog-card-title{font-size:17px;font-weight:700;line-height:1.35;color:#0b1220;margin:0}
.blog-card-title a{color:#0b1220}
.blog-card-title a:hover{color:#0EA5E9}
.blog-card-excerpt{font-size:13.5px;color:#64748b;line-height:1.6;margin:0;flex:1}
.blog-card-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:#94a3b8;margin-top:auto;padding-top:10px;border-top:1px solid #f1f5f9}
.blog-read-time::before{content:"·";margin-right:12px}
.blog-pagination{margin-top:48px;display:flex;justify-content:center}
.blog-pagination .page-numbers{display:flex;list-style:none;gap:6px;padding:0;margin:0}
.blog-pagination .page-numbers li a,.blog-pagination .page-numbers li span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 12px;border-radius:10px;font-size:14px;font-weight:500;
  border:1px solid #e5e7eb;color:#374151;transition:all .15s;
}
.blog-pagination .page-numbers li a:hover{border-color:#0EA5E9;color:#0EA5E9;background:#f0f9ff}
.blog-pagination .page-numbers li .current{background:#0b1220;border-color:#0b1220;color:#fff}

/* ============ ARTICLE HERO ============ */
.article-hero{background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);padding:36px 0 40px;border-bottom:1px solid #f1f5f9}
.article-title{font-size:clamp(26px,3.5vw,40px);font-weight:800;color:#0b1220;line-height:1.2;letter-spacing:-0.03em;margin:14px 0 16px}
.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:18px;font-size:13px;color:#64748b}
.article-meta span{display:inline-flex;align-items:center;gap:5px}
.article-hero-img{margin-top:28px;border-radius:18px;overflow:hidden;aspect-ratio:16/6;max-height:400px}
.article-hero-img img{width:100%;height:100%;object-fit:cover}

/* ============ ARTICLE LAYOUT ============ */
.article-section{padding-top:48px}
.article-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}
.article-content{min-width:0}
.article-content h2{font-size:22px;font-weight:700;color:#0b1220;margin:36px 0 14px;line-height:1.3}
.article-content h3{font-size:18px;font-weight:600;color:#0b1220;margin:28px 0 10px;line-height:1.35}
.article-content p{font-size:16px;color:#374151;line-height:1.75;margin:0 0 18px}
.article-content ul,.article-content ol{padding-left:24px;margin:0 0 18px;color:#374151;font-size:16px;line-height:1.75}
.article-content li{margin-bottom:6px}
.article-content strong{color:#0b1220}
.article-content a{color:#0284c7;text-decoration:underline;text-decoration-color:#bfdbfe}
.article-content a:hover{color:#0EA5E9}
.article-content blockquote{border-left:4px solid #0EA5E9;margin:24px 0;padding:12px 20px;background:#f0f9ff;border-radius:0 10px 10px 0;color:#1e40af;font-style:italic}
.article-content hr{border:none;border-top:1px solid #e5e7eb;margin:36px 0}
.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:36px;padding-top:24px;border-top:1px solid #e5e7eb}
.article-tag{font-size:12px;font-weight:500;color:#64748b;background:#f8fafc;border:1px solid #e5e7eb;border-radius:20px;padding:4px 12px;transition:all .15s}
.article-tag:hover{border-color:#0EA5E9;color:#0EA5E9;background:#f0f9ff}
.article-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:40px;padding-top:28px;border-top:1px solid #e5e7eb}
.article-nav-item{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;transition:border-color .15s,background .15s}
.article-nav-item:hover{border-color:#bae6fd;background:#f0f9ff}
.article-nav-item.next{text-align:right;align-items:flex-end}
.article-nav-label{font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}
.article-nav-title{font-size:14px;font-weight:600;color:#0b1220;line-height:1.4}

/* Article sidebar - reuse .sidebar-card but add extras */
.article-sidebar{position:sticky;top:90px;display:flex;flex-direction:column;gap:20px}
.sidebar-post-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.sidebar-post-list li a{display:flex;gap:10px;align-items:flex-start;transition:opacity .15s}
.sidebar-post-list li a:hover{opacity:.8}
.spl-thumb{flex-shrink:0;width:56px;height:56px;border-radius:8px;overflow:hidden;background:#f1f5f9}
.spl-thumb img{width:100%;height:100%;object-fit:cover}
.spl-thumb-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0f9ff,#e0f2fe)}
.spl-thumb-placeholder svg{width:22px;height:22px;color:#7dd3fc}
.spl-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.spl-cat{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#0284c7}
.spl-title{font-size:13px;font-weight:600;color:#0b1220;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spl-date{font-size:11px;color:#94a3b8}
.sidebar-more-link{display:inline-block;margin-top:12px;font-size:13px;font-weight:600;color:#0284c7}
.sidebar-more-link:hover{color:#0EA5E9}

/* ============ RESPONSIVE - BLOG ============ */
@media (max-width:1024px){
  .mega-panel{width:min(680px,92vw)}
  .mega-panel-inner{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .primary-nav .nav-mega-wrap{display:none}
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .article-nav{grid-template-columns:1fr}
}
@media (max-width:640px){
  .blog-grid{grid-template-columns:1fr}
  .article-title{font-size:26px}
  .article-meta{gap:12px;font-size:12px}
  .article-hero{padding:24px 0 28px}
  .article-nav{grid-template-columns:1fr}
}

/* ============ CATEGORY FILTER ROW (blog archive) ============ */
.cat-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.cat-filter-row .chip{font-size:13px}
