/*
Theme Name: AuthBuild Blog
Theme URI: https://authbuild.com/blog/
Author: AuthBuild
Description: Custom blog theme matching the authbuild.com design system.
Version: 1.0.0
*/

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

:root {
  --navy: #0d1b2e;
  --navy-mid: #132240;
  --navy-light: #1a3055;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --teal: #0d9488;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-grey: #f1f5f9;
  --mid-grey: #64748b;
  --dark-grey: #1e293b;
  --text-body: #334155;
  --green: #16a34a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13,27,46,0.12);
  --shadow-lg: 0 8px 40px rgba(13,27,46,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  color: var(--dark-grey);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav.ab-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}

.nav-logo-dot {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-grey);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-grey);
  padding: 8px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover { background: var(--light-grey); }

.btn-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-grey);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── BLOG HERO ── */
.blog-hero {
  background: var(--navy);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.35);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}

.blog-hero h1 .accent { color: var(--amber); }

.blog-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  max-width: 560px;
  line-height: 1.6;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-grey);
  pointer-events: none;
}

.search-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--dark-grey);
  background: var(--light-grey);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--blue); background: var(--white); }

.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  color: var(--mid-grey);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}

.cat-pill:hover { border-color: var(--blue); color: var(--blue); }
.cat-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── POST GRID ── */
.post-grid-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-grid.loading { opacity: 0.5; pointer-events: none; transition: opacity 0.2s; }

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.post-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.post-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--light-grey) 0%, #dde4ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.2;
}

.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.post-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-grey);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  font-size: 12px;
  color: var(--mid-grey);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--mid-grey);
  font-size: 15px;
}

/* ── SINGLE POST ── */
.post-hero {
  background: var(--navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.post-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }

.post-cat-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.35);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.post-hero h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.post-meta strong { color: rgba(255,255,255,0.8); font-weight: 500; }

/* ── ARTICLE BODY ── */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
}

.article-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-grey);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-grey);
  margin: 32px 0 12px;
}

.article-body p { margin-bottom: 20px; }

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  line-height: 1.75;
}

.article-body li { margin-bottom: 6px; }

.article-body blockquote {
  border-left: 3px solid var(--amber);
  background: #fffbeb;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--dark-grey);
  font-weight: 500;
  line-height: 1.6;
}

.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-light); }

.article-body img { border-radius: var(--radius-sm); margin: 28px auto; }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--navy);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.cta-block h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-block p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-amber {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: var(--amber);
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: inline-block;
}

.btn-amber:hover { background: var(--amber-light); transform: translateY(-1px); }

.btn-link-white {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  display: inline-block;
}

.btn-link-white:hover { color: var(--white); }

/* ── RELATED POSTS ── */
.related-posts {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.related-posts h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── ARCHIVE HERO ── */
.archive-hero {
  background: var(--navy);
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}

.archive-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.archive-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.archive-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.archive-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.archive-grid-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* ── PAGINATION ── */
.ab-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.ab-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-grey);
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.ab-pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.ab-pagination .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── FOOTER ── */
footer.ab-footer {
  background: var(--navy);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--amber);
}

/* ── PAGE (fallback) ── */
.page-wrap {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .post-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .post-grid, .related-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-ctas { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid rgba(0,0,0,0.06); gap: 16px; z-index: 99; }
  .nav-ctas.open { display: flex; }
  .nav-toggle { display: flex; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: unset; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-buttons { flex-direction: column; }
}


/* ═══════════════════════════════════════════
   FRONT PAGE (front-page.php) STYLES
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.fp-hero {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 0 0 0;
}
.fp-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 56px;
  text-align: center;
}
.fp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(241,176,65,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.fp-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.fp-accent { color: var(--amber); }
.fp-subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mid-grey);
  max-width: 560px;
  margin: 0 auto 36px;
}
.fp-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fp-btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fp-btn-primary:hover { opacity: 0.88; }
.fp-btn-large { padding: 18px 36px; font-size: 16px; }
.fp-btn-ghost {
  background: transparent;
  color: var(--light-grey);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: border-color 0.2s;
}
.fp-btn-ghost:hover { border-color: rgba(255,255,255,0.35); }
.fp-hero-proof {
  font-size: 13px;
  color: var(--mid-grey);
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fp-dot { opacity: 0.4; }

/* Stat bar */
.fp-hero-stat-bar {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.fp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
  gap: 4px;
}
.fp-stat:last-child { border-right: none; }
.fp-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.fp-stat-label {
  font-size: 12px;
  color: var(--mid-grey);
  text-align: center;
  line-height: 1.4;
}

/* ── Section scaffolding ── */
.fp-posts-section,
.fp-tools-section {
  padding: 64px 0;
  background: var(--navy);
}
.fp-posts-section { background: #0a1628; }
.fp-section-inner { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.fp-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}
.fp-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.fp-see-all {
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.fp-see-all:hover { opacity: 1; }

/* ── Post grid ── */
.fp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fp-post-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.fp-post-card:hover {
  border-color: rgba(241,176,65,0.3);
  transform: translateY(-2px);
}
.fp-post-card--featured {
  grid-column: span 2;
}
.fp-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-light);
}
.fp-post-card--featured .fp-card-img { height: 240px; }
.fp-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-card-img--placeholder svg { width: 48px; height: 48px; }
.fp-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fp-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.fp-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.fp-card-time {
  font-size: 11px;
  color: var(--mid-grey);
}
.fp-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}
.fp-post-card--featured .fp-card-title { font-size: 20px; }
.fp-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.fp-card-title a:hover { color: var(--amber); }
.fp-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid-grey);
  margin-bottom: 14px;
}
.fp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fp-card-date { font-size: 12px; color: var(--mid-grey); }
.fp-card-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.fp-card-read:hover { opacity: 1; }
.fp-no-posts { color: var(--mid-grey); grid-column: 1/-1; text-align: center; padding: 40px 0; }

/* ── Tools strip ── */
.fp-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fp-tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.fp-tool-card:hover {
  border-color: rgba(241,176,65,0.35);
  transform: translateY(-1px);
}
.fp-tool-icon { font-size: 24px; flex-shrink: 0; }
.fp-tool-body { flex: 1; }
.fp-tool-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.fp-tool-desc { font-size: 13px; color: var(--mid-grey); line-height: 1.4; }
.fp-tool-arrow { color: var(--amber); font-size: 18px; flex-shrink: 0; opacity: 0.7; }

/* ── CTA band ── */
.fp-cta-band {
  background: var(--amber);
  padding: 72px 32px;
  text-align: center;
}
.fp-cta-inner { max-width: 640px; margin: 0 auto; }
.fp-cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 16px;
}
.fp-cta-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.fp-cta-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.75;
  margin-bottom: 32px;
}
.fp-cta-band .fp-btn-primary {
  background: var(--navy);
  color: var(--amber);
  display: inline-block;
  margin-bottom: 16px;
}
.fp-cta-band .fp-btn-primary:hover { opacity: 0.9; }
.fp-cta-reassure { font-size: 13px; color: var(--navy); opacity: 0.55; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .fp-post-grid { grid-template-columns: 1fr 1fr; }
  .fp-post-card--featured { grid-column: span 2; }
  .fp-tools-grid { grid-template-columns: 1fr; }
  .fp-hero-stat-bar { flex-wrap: wrap; }
  .fp-stat { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 600px) {
  .fp-post-grid { grid-template-columns: 1fr; }
  .fp-post-card--featured { grid-column: span 1; }
  .fp-hero-inner { padding: 56px 20px 40px; }
  .fp-section-inner { padding: 0 20px; }
  .fp-stat { flex: 0 0 100%; }
  .fp-hero-ctas { flex-direction: column; align-items: center; }
}
