/* choice.marketing — Design System · Dark/light hybrid · Blue accent */

/* === 1. Tokens === */
:root {
  --color-dark: #0f172a;
  --color-dark-surface: #1e293b;
  --color-dark-border: #334155;
  --color-dark-text: #f8fafc;
  --color-dark-muted: #94a3b8;
  --color-dark-subtle: #64748b;
  --color-light: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-subtle: #94a3b8;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-accent-light: #60a5fa;
  --color-accent-bg: #eff6ff;
  --color-accent-border: #dbeafe;
  --color-accent-glow: rgba(59, 130, 246, 0.15);
  --color-success: #22c55e;
  --font-display: 'Funnel Display', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* === 2. Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--color-text); }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === 3. Zone System === */
.zone-dark {
  background: var(--color-dark);
  color: var(--color-dark-text);
  position: relative;
}
/* Subtle top-edge gradient on all dark zones */
.zone-dark > .container { position: relative; z-index: 1; }
.zone-dark h1, .zone-dark h2,
.zone-dark h3, .zone-dark h4 { color: var(--color-dark-text); }
.zone-dark a { color: var(--color-accent-light); }
.zone-dark .btn--primary { color: #fff; }
.zone-dark .btn--ghost { color: var(--color-dark-muted); }
.zone-dark .text-muted { color: var(--color-dark-muted); }
.zone-light { background: var(--color-light); color: var(--color-text); }

/* === 4. Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

.two-col { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.two-col--sidebar { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--sidebar { grid-template-columns: 1fr 320px; }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === 5. Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-dark-border);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.nav__logo img { height: 28px; width: auto; }
.nav__logo:hover { color: #fff; }
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  color: var(--color-dark-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.nav__links a:hover { color: #fff; }
.nav__toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-dark-muted);
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__mobile {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 100;
  flex-direction: column;
  padding: var(--space-6) var(--space-4);
}
.nav__mobile a {
  color: var(--color-dark-muted);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-dark-border);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: #fff; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* === 6. Hero === */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(59,130,246,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(96,165,250,0.05) 0%, transparent 40%),
    linear-gradient(160deg, rgba(15,23,42,1) 0%, rgba(30,41,59,0.95) 100%);
}
/* Grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 70%);
  pointer-events: none;
}
/* Floating accent orb */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(59,130,246,0.14) 0%, rgba(59,130,246,0.04) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: hero-orb 20s ease-in-out infinite alternate;
}
@keyframes hero-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}
/* Page-type abstract art decorations */
.hero__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__art-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: art-fade-in 1.2s ease-out forwards;
}
@keyframes art-fade-in {
  to { opacity: 1; }
}
/* SEO / Web Optimization: blue + cyan orbs */
.hero__art--seo .hero__art-shape:nth-child(1) { width: 300px; height: 300px; top: -80px; right: 10%; background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%); }
.hero__art--seo .hero__art-shape:nth-child(2) { width: 200px; height: 200px; bottom: -40px; left: 5%; background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%); animation-delay: 0.3s; }
.hero__art--seo .hero__art-shape:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 5%; background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%); animation-delay: 0.6s; }

/* Google Ads: amber + orange orbs */
.hero__art--ads .hero__art-shape:nth-child(1) { width: 350px; height: 350px; top: -100px; right: 5%; background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%); }
.hero__art--ads .hero__art-shape:nth-child(2) { width: 250px; height: 250px; bottom: -60px; left: 10%; background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%); animation-delay: 0.3s; }
.hero__art--ads .hero__art-shape:nth-child(3) { width: 180px; height: 180px; top: 20%; left: 30%; background: radial-gradient(circle, rgba(234,179,8,0.1), transparent 70%); animation-delay: 0.6s; }

/* Web Design: purple + pink orbs */
.hero__art--design .hero__art-shape:nth-child(1) { width: 320px; height: 320px; top: -60px; left: 15%; background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 70%); }
.hero__art--design .hero__art-shape:nth-child(2) { width: 240px; height: 240px; bottom: -80px; right: 10%; background: radial-gradient(circle, rgba(236,72,153,0.14), transparent 70%); animation-delay: 0.3s; }
.hero__art--design .hero__art-shape:nth-child(3) { width: 160px; height: 160px; top: 40%; right: 25%; background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 70%); animation-delay: 0.6s; }

/* Local SEO: green + teal orbs */
.hero__art--local .hero__art-shape:nth-child(1) { width: 280px; height: 280px; top: -50px; right: 15%; background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%); }
.hero__art--local .hero__art-shape:nth-child(2) { width: 220px; height: 220px; bottom: -50px; left: 8%; background: radial-gradient(circle, rgba(20,184,166,0.14), transparent 70%); animation-delay: 0.3s; }
.hero__art--local .hero__art-shape:nth-child(3) { width: 170px; height: 170px; top: 25%; left: 40%; background: radial-gradient(circle, rgba(34,197,94,0.1), transparent 70%); animation-delay: 0.6s; }

/* Geo pages: indigo + blue orbs */
.hero__art--geo .hero__art-shape:nth-child(1) { width: 340px; height: 340px; top: -90px; left: 5%; background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%); }
.hero__art--geo .hero__art-shape:nth-child(2) { width: 260px; height: 260px; bottom: -70px; right: 15%; background: radial-gradient(circle, rgba(59,130,246,0.14), transparent 70%); animation-delay: 0.3s; }
.hero__art--geo .hero__art-shape:nth-child(3) { width: 180px; height: 180px; top: 35%; right: 35%; background: radial-gradient(circle, rgba(129,140,248,0.1), transparent 70%); animation-delay: 0.6s; }

/* Industry pages: rose + red orbs */
.hero__art--industry .hero__art-shape:nth-child(1) { width: 310px; height: 310px; top: -70px; right: 8%; background: radial-gradient(circle, rgba(244,63,94,0.16), transparent 70%); }
.hero__art--industry .hero__art-shape:nth-child(2) { width: 230px; height: 230px; bottom: -40px; left: 12%; background: radial-gradient(circle, rgba(251,113,133,0.12), transparent 70%); animation-delay: 0.3s; }
.hero__art--industry .hero__art-shape:nth-child(3) { width: 160px; height: 160px; top: 30%; left: 25%; background: radial-gradient(circle, rgba(236,72,153,0.1), transparent 70%); animation-delay: 0.6s; }

/* Services overview: multi-color orbs */
.hero__art--services .hero__art-shape:nth-child(1) { width: 300px; height: 300px; top: -80px; right: 5%; background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 70%); }
.hero__art--services .hero__art-shape:nth-child(2) { width: 250px; height: 250px; bottom: -60px; left: 5%; background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%); animation-delay: 0.3s; }
.hero__art--services .hero__art-shape:nth-child(3) { width: 200px; height: 200px; top: 20%; left: 50%; background: radial-gradient(circle, rgba(168,85,247,0.1), transparent 70%); animation-delay: 0.5s; }

.hero .container { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  padding: 0.25rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-dark-muted);
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-dark-subtle);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__stats { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1rem; }
.hero__stats > div:not(.hero__stat-divider) { text-align: center; }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.hero__stat-label { font-size: 0.875rem; color: var(--color-dark-subtle); }
.hero__stat-divider { width: 1px; height: 2.5rem; background: var(--color-dark-border); }
.hero--compact { padding: 3.5rem 0 2.5rem; }

/* Hero split layout (text + dashboard) */
.hero__split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
/* Mobile: center hero content */
.hero__content { text-align: center; }
.hero__content .hero__actions { justify-content: center; }
.hero__content .hero__stats { justify-content: space-between; }
.hero__content .hero__subtitle { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .hero__split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero__content { text-align: left; }
  .hero__content .hero__actions { justify-content: flex-start; }
  .hero__content .hero__stats { justify-content: flex-start; gap: 2rem; }
  .hero__content .hero__subtitle { margin-left: 0; margin-right: 0; }
}

/* Dashboard mockup */
.dashboard {
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.dashboard__dots {
  display: flex;
  gap: 6px;
}
.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dashboard__title {
  font-size: 0.6875rem;
  color: var(--color-dark-subtle);
}
.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dashboard__metric {
  background: rgba(30,41,59,0.5);
  border-radius: var(--radius-sm);
  padding: 0.625rem;
}
.dashboard__metric-label {
  font-size: 0.625rem;
  color: var(--color-dark-subtle);
  margin-bottom: 0.125rem;
}
.dashboard__metric-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.dashboard__metric-change {
  font-size: 0.625rem;
  color: var(--color-success);
}
.dashboard__chart {
  background: rgba(30,41,59,0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.dashboard__bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-accent), var(--color-accent-light));
  border-radius: 2px 2px 0 0;
  min-height: 4px;
}
.dashboard__live {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.75rem;
  width: fit-content;
  margin-left: auto;
}
.dashboard__live-icon {
  width: 28px;
  height: 28px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-text {
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Credentials bar */
.credentials {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.credentials__label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 1.25rem;
}
.credentials__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.credentials__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}
.credentials__item svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 767px) {
  .credentials__grid { gap: 0.5rem; }
  .credentials__item { font-size: 0.6875rem; padding: 0.375rem 0.625rem; gap: 0.375rem; }
  .credentials__item svg { width: 14px; height: 14px; }
}

/* === 7. Cards === */
.card {
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.zone-light .card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.zone-light .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-glow);
}
.zone-dark .card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--color-dark-border);
}
.zone-dark .card:hover { border-color: rgba(59, 130, 246, 0.3); }
.card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}
.card__icon svg, .card__icon img { width: 22px; height: 22px; color: #fff; filter: brightness(0) invert(1); }

.metric-card { text-align: center; padding: 1.5rem; }
.metric-card__number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}
.zone-light .metric-card__number { color: var(--color-text); }
.zone-dark .metric-card__number { color: #fff; }
.metric-card__label { font-size: 0.8125rem; color: var(--color-muted); margin-top: 0.5rem; }

.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); }
.post-card__img-link { display: block; overflow: hidden; }
.post-card__img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.post-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0.5rem 0;
}
.post-card__title:hover { color: var(--color-accent); }
.post-card__excerpt { font-size: 0.875rem; color: var(--color-muted); flex: 1; line-height: 1.6; }
.post-card__date {
  font-size: 0.8125rem;
  color: var(--color-subtle);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.study-card { padding: 1.75rem; display: flex; flex-direction: column; }
.study-card__industry {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.study-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.study-card__title:hover { color: var(--color-accent); }
.study-card__client { font-size: 0.875rem; color: var(--color-muted); margin-bottom: 0.75rem; }

/* === 8. Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}
.btn--primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,0.15); }
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn--ghost { background: transparent; color: var(--color-dark-muted); border-color: var(--color-dark-border); }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-border); }
.btn--outline:hover { background: var(--color-accent-bg); border-color: var(--color-accent); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--lg { padding: 0.75rem 2rem; font-size: 1rem; }

/* === 9. Proof Section === */
.proof-grid { display: grid; gap: 1.5rem; }

/* === 10. Content / Page Content === */
.page-content { padding: var(--space-8) 0; }
.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.page-content p { margin-bottom: 1rem; line-height: 1.7; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content ul, .card ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li, .card li { margin-bottom: 0.5rem; line-height: 1.6; }
.card ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.page-content a { color: var(--color-accent); font-weight: 500; }
.page-content a:hover { text-decoration: underline; }
.page-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--color-accent-bg);
}
.page-content pre {
  background: var(--color-dark);
  color: #e8e8f0;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.page-content code {
  font-family: 'Fira Code', monospace;
  background: var(--color-light);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.875em;
}
.page-content pre code { background: none; padding: 0; }
.page-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  min-width: 480px;
}
.page-content th, .page-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.page-content th {
  font-weight: 600;
  color: var(--color-text);
  background: #f1f5f9;
  border-bottom: 2px solid var(--color-border);
}
.page-content tbody tr:hover {
  background: #f8fafc;
}
.page-content dl { margin-bottom: 1.5rem; }
.page-content dt { font-weight: 600; margin-top: 1rem; }
.page-content dd { margin-left: 0; margin-bottom: 0.5rem; color: var(--color-muted); }
.tldr {
  background: var(--color-accent-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.claim {
  background: var(--color-surface);
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.claim strong { color: var(--color-accent); font-size: 1.5rem; display: block; margin-bottom: 0.25rem; font-family: var(--font-display); }
.claim span { display: block; color: var(--color-muted); font-size: 0.875rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; padding: 1.5rem 1rem; }
.team-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--color-accent-border); }
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 600; }
.team-card .team-card__title { color: var(--color-accent); font-size: 0.8125rem; font-weight: 500; display: block; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.8125rem; color: var(--color-muted); line-height: 1.5; }
.team-card--open { border: 2px dashed var(--color-accent-border); background: transparent; }
.team-card__placeholder { width: 160px; height: 160px; border-radius: 50%; background: var(--color-light-surface); border: 3px dashed var(--color-accent-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--color-accent); }

/* === 11. Breadcrumbs === */
.breadcrumbs { display: flex; gap: 0.25rem; font-size: 0.875rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--color-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs__sep { color: var(--color-dark-border); user-select: none; }

/* === 12. FAQ === */
.faq-section { padding: var(--space-8) 0; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.faq-item p { color: var(--color-muted); line-height: 1.7; }

/* === 13. CTA Band === */
.cta-band {
  background: var(--color-dark);
  background-image:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(59,130,246,0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(96,165,250,0.04) 0%, transparent 35%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Grid pattern fade */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 10%, transparent 70%);
  pointer-events: none;
}
/* Off-center accent orb */
.cta-band::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: 10%;
  background: rgba(59,130,246,0.06);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-band p { color: var(--color-dark-subtle); max-width: 560px; margin: 0 auto 1.5rem; }

/* === 14. Footer === */
.footer {
  padding: var(--space-8) 0 var(--space-5);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a {
  color: var(--color-dark-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer a:hover { color: #fff; }
.footer__brand p {
  color: var(--color-dark-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

/* === 15. Forms === */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* === 15b. Contact Page === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.contact-layout__form { order: 1; }
.contact-layout__info { order: 2; }
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 320px;
  }
  .contact-layout__form { order: 1; }
  .contact-layout__info { order: 2; }
  .contact-layout__form .card {
    position: sticky;
    top: 5rem;
  }
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 340px;
  }
}
.contact-directory {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.contact-directory__section {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-directory__section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-directory__section:first-child {
  padding-top: 0;
}
.contact-directory__section h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 0.375rem;
}
.contact-directory__section p {
  font-size: 0.9375rem;
  line-height: 1.3;
}
.contact-directory__section a {
  color: var(--color-accent);
}
@media (max-width: 767px) {
  .contact-layout__form .card div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* === 16. Tags === */
.tag-pill {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: var(--radius-pill);
  background: var(--color-accent-bg);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.tag-pill:hover { background: var(--color-accent); color: #fff; }

/* === 17. Article === */
.article__hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.article__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}
.article__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* === 18. Utilities === */
.text-muted  { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }
.text-white  { color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

/* === 19. Responsive === */

/* Mobile — compact but multi-column where content allows */
@media (max-width: 767px) {
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero--compact { padding: 2.5rem 0 1.5rem; }

  /* Hero stats — space-between stretches to content edges */
  .hero__stats { justify-content: space-between; }
  .hero__stat-value { font-size: 1.25rem; }
  .hero__stat-label { font-size: 0.6875rem; }
  .hero__stat-divider { height: 2rem; }

  /* Metric cards: 3 across on mobile — numbers are compact */
  .grid--3.proof-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .metric-card { padding: 0.75rem 0.25rem; }
  .metric-card__number { font-size: 1.25rem; }
  .metric-card__label { font-size: 0.625rem; }

  /* Metric cards: handle 4th orphan — show all 4 across when grid--4 */
  .grid--4.proof-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }

  /* Service/feature cards: single column on mobile for readability */
  .grid--3:not(.proof-grid) { grid-template-columns: 1fr; gap: 0.75rem; }
  .grid--4:not(.proof-grid) { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Blog/study card grids: single column on mobile */
  .grid--2 { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Smaller card padding + font on mobile */
  .grid--2 .card,
  .grid--3:not(.proof-grid) .card,
  .grid--4:not(.proof-grid) .card { padding: 1rem; }
  .card h3 { font-size: 0.875rem; }
  .card p, .card li { font-size: 0.75rem; line-height: 1.5; }
  .card__icon { width: 38px; height: 38px; margin-bottom: 0.75rem; border-radius: 10px; }
  .card__icon svg, .card__icon img { width: 20px; height: 20px; }
  .post-card__body { padding: 1rem; }
  .post-card__title { font-size: 0.9375rem; }
  .post-card__excerpt { font-size: 0.8125rem; }
  .post-card__date { font-size: 0.75rem; }
  .study-card { padding: 1rem; }
  .study-card__title { font-size: 1rem; }

  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--sidebar { grid-template-columns: 1fr 320px; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
