@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;
  --accent: #3b82f6;
  --bg: #f8fafc;
  --card: rgba(255,255,255,0.82);
  --card-solid: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --border: rgba(148,163,184,0.22);
  --shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.2);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.13), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(236,72,153,0.1), transparent 26%),
    radial-gradient(circle at 50% 90%, rgba(59,130,246,0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links .nav-cta {
  color: #fff;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--primary-dark);
}

.nav-links .nav-cta:hover {
  color: #fff;
}

.nav-cta,
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.nav-cta,
.btn {
  padding: 14px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 35px -16px rgba(139,92,246,0.7);
}

.btn:hover,
.nav-cta:hover,
.btn-secondary:hover,
.card:hover,
.feature-card:hover,
.kpi:hover,
.example-card:hover,
.step:hover,
.faq-card:hover,
.audience-card:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 14px 22px;
  color: var(--text);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(148,163,184,0.22);
}

.hero {
  padding: 72px 0 34px;
}

.hero h1 {
  max-width: 11ch;
  margin: 14px 0 20px;
}

.home-page .hero h1 {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 38%, var(--secondary) 72%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(148,163,184,0.22);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

h1, h2, h3, h4 {
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  color: var(--primary-dark);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--text);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--text);
}

.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--text-soft);
  max-width: 760px;
  margin: 0;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-proof {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card,
.feature-card,
.kpi,
.example-card,
.step,
.faq-card,
.audience-card,
.cta-panel,
.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card,
.cta-panel,
.content-card { padding: 28px; }
.feature-card,
.kpi,
.example-card,
.step,
.faq-card,
.audience-card { padding: 24px; }

.hero-visual {
  display: grid;
  gap: 18px;
}

.kpi-grid,
.feature-grid,
.example-grid,
.audience-grid,
.link-grid,
.footer-grid,
.step-grid {
  display: grid;
  gap: 18px;
}

.kpi-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.example-grid { grid-template-columns: repeat(3, 1fr); }
.audience-grid { grid-template-columns: repeat(3, 1fr); }
.link-grid { grid-template-columns: repeat(2, 1fr); }
.step-grid { grid-template-columns: repeat(2, 1fr); }

.kpi strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 14ch;
  margin-bottom: 14px;
}

.section-head p,
.content-card p,
.content-card li,
.feature-card p,
.step p,
.example-card p,
.audience-card p,
.faq-card p {
  color: var(--text-soft);
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.content-card > h2:first-child,
.card > h2:first-child,
.card > h3:first-child,
.feature-card h3,
.example-card h3,
.audience-card h3,
.step h3,
.faq-card h3 {
  margin-bottom: 12px;
}

.content-card > *:last-child,
.card > *:last-child,
.feature-card > *:last-child,
.example-card > *:last-child,
.audience-card > *:last-child,
.step > *:last-child,
.faq-card > *:last-child,
.kpi > *:last-child {
  margin-bottom: 0;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.example-card {
  display: flex;
  flex-direction: column;
}

.example-card img,
.phone-shot,
.article-image {
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,0.85);
}

.example-card img {
  margin-bottom: 18px;
}

.phone-shot {
  background: #fff;
  padding: 12px;
}

.list,
.content-card ul,
.content-card ol {
  padding-left: 1.1rem;
}

.list li,
.content-card li {
  margin-bottom: 8px;
}

.page-header {
  padding: 64px 0 30px;
}

.page-header .container {
  max-width: 920px;
}

.page-header h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-header .lead {
  max-width: 820px;
}

.breadcrumbs {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.compact-hero {
  padding: 44px 0 18px;
}

.quote {
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.cta-panel {
  margin-top: 20px;
}

.footer {
  padding: 38px 0 56px;
  margin-top: 28px;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.small { font-size: 0.94rem; color: var(--text-muted); }
.text-link { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.divider { height: 1px; background: rgba(226,232,240,0.9); margin: 18px 0; }

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .footer-grid,
  .feature-grid,
  .example-grid,
  .audience-grid,
  .kpi-grid,
  .link-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .hero { padding-top: 44px; }
  .hero h1,
  .page-header h1,
  .section-head h2 { max-width: none; }
  .page-header, .compact-hero { padding-top: 38px; }
  .card, .cta-panel, .content-card, .feature-card, .kpi, .example-card, .step, .faq-card, .audience-card { padding: 20px; }
}
