*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-inter: "Inter";
  --font-fraunces: "Fraunces";
  --white: #ffffff;
  --ink: #0a0a0f;
  --ink-80: #1a1a24;
  --ink-60: #3a3a50;
  --ink-40: #6a6a88;
  --ink-20: #a0a0c0;
  --ink-10: #e8e8f4;
  --ink-05: #f4f4fb;
  --accent: #5b4fe8;
  --accent-light: #7c6ef5;
  --accent-bg: #f0eeff;
  --teal: #0fb8a0;
  --teal-bg: #e6f9f6;
  --amber: #e8860f;
  --amber-bg: #fef3e2;
  --rose: #e84f5b;
  --rose-bg: #fdeef0;
  --sage: #3dab6e;
  --sage-bg: #ebf7f2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(10, 10, 30, 0.06), 0 1px 2px rgba(10, 10, 30, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 10, 30, 0.08), 0 2px 6px rgba(10, 10, 30, 0.04);
  --shadow-lg: 0 16px 48px rgba(10, 10, 30, 0.1), 0 4px 16px rgba(10, 10, 30, 0.06);
  --shadow-glow: 0 0 0 1px rgba(91, 79, 232, 0.15), 0 8px 32px rgba(91, 79, 232, 0.12);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

body {
  font-family: var(--font-inter), -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(10, 10, 30, 0.07);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 13.5px;
  color: var(--ink-60);
  font-weight: 450;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--ink-05);
}
.nav-cta {
  font-size: 13.5px;
  font-weight: 550;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.2px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(91, 79, 232, 0.3);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 79, 232, 0.4);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafe 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob-1 {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 79, 232, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-blob-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 100px;
  right: -100px;
  background: radial-gradient(circle, rgba(15, 184, 160, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-blob-3 {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 200px;
  left: -80px;
  background: radial-gradient(circle, rgba(232, 134, 15, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-40);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 550;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(91, 79, 232, 0.35);
  letter-spacing: -0.2px;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 79, 232, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-60);
  background: white;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--ink-10);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--ink-20);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}


/* ── STATS ── */
.stats-section {
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  background: var(--white);
  padding: 0 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid var(--ink-10);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-number span {
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: var(--ink-40);
  font-weight: 400;
}

/* ── SECTION COMMONS ── */
.section {
  padding: 100px 32px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.65;
  max-width: 520px;
}

/* ── CATEGORIES GRID ── */
.cat-section {
  background: var(--ink-05);
}
.cat-section .section-sub {
  margin-bottom: 56px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Show only the first 2 rows (8 cards) until the user expands */
.cat-grid:not(.expanded) .cat-card:nth-child(n + 9) {
  display: none;
}
.cat-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10);
  padding: 24px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(91, 79, 232, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.22s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 79, 232, 0.2);
}
.cat-card:hover::before {
  opacity: 1;
}
.cat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: transform 0.22s;
}
.cat-card:hover .cat-card-icon {
  transform: scale(1.08);
}
.cat-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 13px;
  color: var(--ink-40);
  line-height: 1.55;
}

/* "View all" / "Explore all" button — visible by default; the Categories
   context hides it on desktop (where all 20 cards already show) below. */
.cat-view-all {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  color: var(--accent);
  background: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(91, 79, 232, 0.25);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
/* On /blogs the button sits on the right edge of the grid */
.blog-grid-4 + .cat-view-all {
  margin-left: auto;
  margin-right: 0;
}
.cat-view-all:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 79, 232, 0.25);
}
.cat-view-all svg {
  transition: transform 0.2s;
}
.cat-view-all:hover svg {
  transform: translateY(2px);
}

/* icon color variants */
.ic-b {
  background: var(--accent-bg);
  color: var(--accent);
}
.ic-t {
  background: var(--teal-bg);
  color: var(--teal);
}
.ic-a {
  background: var(--amber-bg);
  color: var(--amber);
}
.ic-r {
  background: var(--rose-bg);
  color: var(--rose);
}
.ic-g {
  background: var(--sage-bg);
  color: var(--sage);
}
.ic-p {
  background: #f0e8ff;
  color: #8b5cf6;
}

/* ── FEATURED AREAS ── */
.featured-section {
  background: white;
}

/* Home page blog preview strip */
.home-blogs-section {
  background: var(--ink-05);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.featured-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--ink-10);
  position: relative;
  min-height: 280px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: all 0.25s ease;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.featured-card.tall {
  /* grid-row: span 2; */
}
.fc-bg {
  position: absolute;
  inset: 0;
}
.fc-shopping .fc-bg {
  background: linear-gradient(135deg, #f0eeff 0%, #e8e4ff 100%);
}
.fc-subscription .fc-bg {
  background: linear-gradient(135deg, #e6f9f6 0%, #d0f5ee 100%);
}
.fc-billing .fc-bg {
  background: linear-gradient(135deg, #fef3e2 0%, #fde8c0 100%);
}
.fc-digital .fc-bg {
  background: linear-gradient(135deg, #f0e8ff 0%, #e5d5ff 100%);
}
.fc-media .fc-bg {
  background: linear-gradient(135deg, #fff0e6 0%, #ffe5cc 100%);
}
.fc-electronics .fc-bg {
  background: linear-gradient(135deg, #ebf7f2 0%, #d5f0e8 100%);
}
.featured-card-content {
  position: relative;
  z-index: 1;
}
.fc-emoji {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}
.fc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.6;
}
.fc-title {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}
.fc-desc {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.55;
}

/* ── JOURNEY SECTION ── */
.journey-section {
  background: var(--ink);
  padding: 100px 32px;
  color: white;
}
.journey-section .section-eyebrow {
  color: rgba(91, 79, 232, 0.9);
}
.journey-section .section-eyebrow::before {
  background: var(--accent-light);
}
.journey-section .section-title {
  color: white;
}
.journey-section .section-sub {
  color: rgba(255, 255, 255, 0.5);
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.journey-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(10% + 22px);
  right: calc(10% + 22px);
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 79, 232, 0.4), rgba(91, 79, 232, 0.8), rgba(91, 79, 232, 0.4));
}
.journey-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.journey-step-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(91, 79, 232, 0.3);
  background: rgba(91, 79, 232, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.journey-step:hover .journey-step-icon {
  background: rgba(91, 79, 232, 0.25);
  border-color: var(--accent-light);
  transform: scale(1.06);
}
.journey-step-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 10px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.journey-step p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* ── RESOURCE DIRECTORY ── */
.directory-section {
  background: var(--ink-05);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.dir-column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink-10);
}
.dir-column-icon {
  font-size: 20px;
}
.dir-column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dir-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-10);
  font-size: 13px;
  color: var(--ink-60);
  cursor: pointer;
  transition: color 0.15s;
}
.dir-link:hover {
  color: var(--accent);
}
.dir-link-arrow {
  opacity: 0;
  transition: all 0.15s;
  transform: translateX(-4px);
}
.dir-link:hover .dir-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── FAQ ── */
.faq-section {
  background: white;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 56px;
}
.faq-categories {
  position: sticky;
  top: 88px;
  align-self: start;
}
.faq-categories-intro {
  font-size: 13px;
  color: var(--ink-40);
  margin-bottom: 16px;
  line-height: 1.6;
}
.faq-cat-btn {
  display: block;
  width: 100%;
  font-size: 13.5px;
  color: var(--ink-40);
  font-weight: 450;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.faq-cat-btn.active,
.faq-cat-btn:hover {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 500;
}
.faq-item {
  border-bottom: 1px solid var(--ink-10);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  font-family: inherit;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--ink-40);
}
.faq-item.open .faq-toggle {
  background: var(--accent-bg);
  border-color: var(--accent-bg);
  color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ── FINAL CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #7c6ef5 50%, #a78bfa 100%);
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: rgba(255, 255, 255, 0.05);
}
.cta-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -50px;
  background: rgba(255, 255, 255, 0.07);
}
.cta-section h2 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: white;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  position: relative;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 44px;
  position: relative;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: white;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  text-decoration: none;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 64px 32px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  color: white;
  line-height: 1.65;
  max-width: 220px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: white;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.footer-col a:hover {
  color: var(--accent-light);
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: white;
  line-height: 1.6;
  max-width: 640px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.footer-bottom-links a {
  font-size: 12px;
  color: white;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--accent-light);
}
.footer-copyright {
  font-size: 12px;
  color: white;
  text-align: center;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(91, 79, 232, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(91, 79, 232, 0.45);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ── INNER-PAGE HERO ── */
.page-hero {
  position: relative;
  padding: 96px 32px 64px;
  background: linear-gradient(180deg, #fafafe 0%, #ffffff 100%);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 79, 232, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 40px;
  font-weight: 550;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(91, 79, 232, 0.15);
}
.page-hero h1 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -1.4px;
  color: var(--ink);
  margin-bottom: 18px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-hero-sub {
  font-size: 17px;
  color: var(--ink-40);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 13px;
  color: var(--ink-40);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--ink-40);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  color: var(--ink-20);
}

/* ── BLOG GRID + CARD ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
/* 4-up variant used by the /blogs index */
.blog-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* Initial collapsed state: only the first row (4 cards) is visible */
.blog-grid-4:not(.expanded) .blog-card:nth-child(n + 5) {
  display: none;
}
.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 79, 232, 0.2);
}
.blog-card-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card h3 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--ink-40);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-40);
}
.blog-card-meta-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-card-arrow {
  font-weight: 500;
  color: var(--accent);
  transition: transform 0.2s;
}
.blog-card:hover .blog-card-arrow {
  transform: translateX(4px);
}

/* ── ARTICLE (blog detail) ── */
.article-section {
  padding: 64px 32px 100px;
  background: white;
}
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-40);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.article-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--ink-20);
  border-radius: 50%;
}
.article p {
  font-size: 17px;
  color: var(--ink-80);
  line-height: 1.75;
  margin-bottom: 24px;
}
.article p strong {
  color: var(--ink);
  font-weight: 600;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 32px;
  transition: transform 0.2s;
}
.article-back:hover {
  transform: translateX(-4px);
}

/* ── ABOUT page ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.about-card {
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.about-card h3 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  color: var(--ink-40);
  line-height: 1.65;
}
.about-values {
  margin-top: 80px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.about-values h2 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.about-values p {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.7;
}

/* ── CONTACT page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-top: 16px;
}
.contact-form {
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.contact-form h3 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 14px;
  color: var(--ink-40);
  margin-bottom: 24px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-60);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--ink-05);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: white;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(91, 79, 232, 0.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-card {
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 13px;
  color: var(--ink-40);
  line-height: 1.55;
}

/* nav-link active state */
.mobile-drawer-link.active,
.nav-link.active {
  color: var(--accent);
  font-weight: 900 !important;
}

/* tighten nav-link padding now that there are more of them */
.nav-link {
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-links {
  gap: 0;
}

/* hide category links on smaller laptops — page links remain visible */
@media (max-width: 1023px) {
  .nav-link-section {
    display: none;
  }
}

/* drawer section labels (group headers) */
.mobile-drawer-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-20);
  padding: 16px 16px 6px;
  opacity: 0;
  transform: translateX(20px);
}
.mobile-drawer.open .mobile-drawer-label {
  animation: drawerLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-drawer.open .mobile-drawer-label:nth-of-type(1) {
  animation-delay: 0s;
}
.mobile-drawer.open .mobile-drawer-label:nth-of-type(2) {
  animation-delay: 0.3s;
}

/* ── HAMBURGER (mobile nav trigger) ── */
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--ink-10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover {
  background: var(--ink-05);
  border-color: var(--ink-20);
}
.nav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.open {
  background: var(--ink-05);
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 30, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: white;
  padding: 88px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -16px 0 48px rgba(10, 10, 30, 0.12);
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}
.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-60);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  opacity: 0;
  transform: translateX(20px);
}
.mobile-drawer.open .mobile-drawer-link {
  animation: drawerLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes drawerLinkIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mobile-drawer.open .mobile-drawer-link:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(6) {
  animation-delay: 0.3s;
}
.mobile-drawer.open .mobile-drawer-link:nth-child(7) {
  animation-delay: 0.35s;
}
.mobile-drawer.open .mobile-drawer-cta {
  animation: drawerLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  background: var(--accent-bg);
  color: var(--accent);
  transform: translateX(4px);
}
.mobile-drawer-cta {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(91, 79, 232, 0.3);
  opacity: 0;
  transform: translateX(20px);
}

/* ── FOOTER ACCORDION ── */
.footer-col-toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  cursor: default;
  text-align: left;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.footer-col-toggle-icon {
  display: none;
}
.footer-col-links {
  display: block;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered grid reveals */
.cat-grid .cat-card.reveal:nth-child(4n + 2) {
  transition-delay: 80ms;
}
.cat-grid .cat-card.reveal:nth-child(4n + 3) {
  transition-delay: 160ms;
}
.cat-grid .cat-card.reveal:nth-child(4n + 4) {
  transition-delay: 240ms;
}
.featured-grid .featured-card.reveal:nth-child(2n) {
  transition-delay: 100ms;
}
.journey-steps .journey-step.reveal:nth-child(2) {
  transition-delay: 100ms;
}
.journey-steps .journey-step.reveal:nth-child(3) {
  transition-delay: 200ms;
}
.journey-steps .journey-step.reveal:nth-child(4) {
  transition-delay: 300ms;
}
.journey-steps .journey-step.reveal:nth-child(5) {
  transition-delay: 400ms;
}
.directory-grid .dir-column.reveal:nth-child(2) {
  transition-delay: 100ms;
}
.directory-grid .dir-column.reveal:nth-child(3) {
  transition-delay: 200ms;
}
.directory-grid .dir-column.reveal:nth-child(4) {
  transition-delay: 300ms;
}
.stats-grid .stat-item.reveal:nth-child(2) {
  transition-delay: 90ms;
}
.stats-grid .stat-item.reveal:nth-child(3) {
  transition-delay: 180ms;
}
.stats-grid .stat-item.reveal:nth-child(4) {
  transition-delay: 270ms;
}

/* ── HERO ENTRANCE ── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}
.hero-sub {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}
.hero-actions {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* Subtle blob drift */
@keyframes blobDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -15px) scale(1.05);
  }
}
.hero-blob-2 {
  animation: blobDrift 14s ease-in-out infinite;
}
.hero-blob-3 {
  animation: blobDrift 18s ease-in-out infinite reverse;
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav {
    padding: 0 24px;
  }
  .blog-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Categories: 3 cols × 2 rows = 6 cards capped at this width */
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cat-grid:not(.expanded) .cat-card:nth-child(n + 7) {
    display: none;
  }
  .hero {
    padding: 100px 28px 80px;
  }
  .page-hero {
    padding: 80px 28px 56px;
  }
  .article-section {
    padding: 56px 28px 80px;
  }
  .section {
    padding: 80px 28px;
  }
  .journey-section {
    padding: 80px 28px;
  }
  .cta-section {
    padding: 96px 28px;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .hero {
    padding: 80px 24px 64px;
  }
  .page-hero {
    padding: 72px 24px 48px;
  }
  .article-section {
    padding: 48px 24px 80px;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-section {
    padding: 0 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: 1px solid var(--ink-10);
  }
  .stat-item:nth-child(2n) {
    border-right: none;
  }
  .section {
    padding: 64px 24px;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Cap visible categories to 4 on mobile until the user expands */
  .cat-grid:not(.expanded) .cat-card:nth-child(n + 5) {
    display: none;
  }
  /* /blogs index — keep capped at 4 across all breakpoints */
  .blog-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-card.tall {
    grid-row: span 1;
  }
  .journey-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .journey-steps::before {
    display: none;
  }
  .directory-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-categories {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-brand {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-col-toggle {
    cursor: pointer;
    padding: 16px 0;
    margin-bottom: 0;
  }
  .footer-col-toggle-icon {
    display: flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    flex-shrink: 0;
    line-height: 1;
  }
  .footer-col.open .footer-col-toggle-icon {
    transform: rotate(45deg);
    background: rgba(91, 79, 232, 0.18);
    border-color: rgba(91, 79, 232, 0.4);
    color: var(--accent-light);
  }
  .footer-col-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-top: 0;
  }
  .footer-col.open .footer-col-links {
    max-height: 400px;
    padding-bottom: 14px;
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 64px 20px 56px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section,
  .journey-section {
    padding: 56px 20px;
  }
  .cta-section {
    padding: 80px 20px;
  }
  .stats-section {
    padding: 0 20px;
  }
  .stat-item {
    padding: 36px 16px;
  }
  .stat-number {
    font-size: 36px;
  }
  .faq-layout {
    gap: 24px;
  }
  .featured-card {
    min-height: 240px;
    padding: 32px 28px;
  }
  .cat-card {
    padding: 22px;
  }
  .page-hero {
    padding: 56px 20px 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid,
  .blog-grid-4 {
    grid-template-columns: 1fr;
  }
  .article p {
    font-size: 16px;
  }
  .contact-form {
    padding: 24px;
  }
  /* Prevent iOS Safari zoom-on-focus by ensuring inputs are >= 16px */
  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }
  .blog-card-cover {
    height: 120px;
    font-size: 48px;
  }
  .blog-card-body {
    padding: 20px 22px 22px;
  }
  .blog-card h3 {
    font-size: 18px;
  }
  .article-meta {
    gap: 10px;
    font-size: 12px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .journey-steps {
    grid-template-columns: 1fr;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
