/* ============================================================
   Buzz Captions — Shared Stylesheet
   ============================================================ */

/* ── Tokens ── */
:root {
  --bg: #F8F9FB;
  --surface: #ffffff;
  --text: #0F1115;
  --text-muted: #6B7280;
  --text-xmuted: #9CA3AF;
  --border: #E5E7EB;
  --border-subtle: #EBEBED;
  --blue: #1870FF;
  --blue-hover: #1460E0;
  --blue-light: #EBF2FF;
  --blue-xlight: #F0F4FF;
  --green: #16A34A;
  --green-bg: #DCFCE7;
  --amber: #D97706;
  --amber-bg: #FEF3C7;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-blue: 0 4px 20px rgba(24,112,255,0.18);
  --max-width: 1100px;
  --nav-height: 60px;
  --transition: 0.18s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }

/* ── Base ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -1px; }
h2 { font-size: clamp(24px, 3.5vw, 36px); letter-spacing: -0.6px; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: 0; }
p { font-size: 15px; color: #374151; }
p + p { margin-top: 10px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 20px; }
li { font-size: 15px; color: #374151; margin-bottom: 5px; }
strong { color: var(--text); font-weight: 600; }
hr { border: none; border-top: 1px solid var(--border-subtle); margin: 32px 0; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 13px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* ── Section patterns ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-xlight);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 560px; }
.section-header.centered p { margin: 0 auto; }

/* ── Header / Nav ── */
.site-header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; height: 100%; gap: 32px; }
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { width: 28px; height: 28px; border-radius: 7px; }
.site-logo span { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; color: var(--text); }
.site-logo:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.site-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.site-nav a:hover { background: #F3F4F6; color: var(--text); text-decoration: none; }
.site-nav a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.nav-cta-group { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--blue); font-weight: 600; }
.nav-mobile .btn { display: block; text-align: center; margin-top: 16px; }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 220px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-xmuted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: var(--text-xmuted); }
.footer-bottom a { color: var(--text-xmuted); font-size: 13px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  border: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-blue); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--bg); color: var(--text); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-xlight); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #1a1e28; color: #fff; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--text);
  color: #fff;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
  text-decoration: none;
}
.store-badge:hover { background: #1a1e28; text-decoration: none; color: #fff; }
.store-badge svg { flex-shrink: 0; }

/* ── Badges & pills ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.2px;
}
.badge-blue { background: var(--blue-light); color: #1D4ED8; }
.badge-green { background: var(--green-bg); color: #166534; }
.badge-amber { background: var(--amber-bg); color: #92400E; }
.badge-instant { background: var(--green-bg); color: #166534; }
.badge-email   { background: #EDE9FE; color: #4C1D95; }
.badge-deepgram { background: #DBEAFE; color: #1D4ED8; }
.badge-gladia   { background: #D1FAE5; color: #065F46; }
.badge-sarvam   { background: #FEF3C7; color: #92400E; }
.badge-deepl    { background: #FFF7ED; color: #C2410C; }
.badge-google   { background: #F0FDF4; color: #15803D; }
.tag-del { color: var(--red); font-weight: 600; }
.tag-keep { color: var(--green); font-weight: 600; }
.pro-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1870FF, #7C3AED);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: #D1D5DB; box-shadow: var(--shadow); }
.card-hover:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(24,112,255,0.08); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #ffffff 0%, var(--blue-xlight) 60%, var(--bg) 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(24,112,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: #C7D2FE;
  box-shadow: 0 4px 16px rgba(24,112,255,0.07);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon svg { color: var(--blue); }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Use case cards ── */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.usecase-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(24,112,255,0.07);
  transform: translateY(-2px);
}
.usecase-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
.usecase-card h3 { font-size: 16px; margin-bottom: 8px; }
.usecase-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.usecase-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.usecase-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(24,112,255,0.06), var(--shadow-lg);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-plan { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pricing-headline { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.pricing-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); }
.pricing-limit { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); margin-bottom: 2px; }
.pricing-limit span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.pricing-limits { margin-bottom: 28px; }
.pricing-btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.pricing-features { list-style: none; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border-subtle); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.pricing-features .cross { color: var(--text-xmuted); flex-shrink: 0; margin-top: 1px; }
.pricing-features li strong { color: var(--text); }

/* Credit packs */
.credits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.credit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.credit-minutes { font-size: 28px; font-weight: 800; color: var(--text); }
.credit-label { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.credit-desc { font-size: 12px; color: var(--text-xmuted); }

/* ── Comparison table ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.compare-table th {
  text-align: left; padding: 12px 16px; font-weight: 700; font-size: 13px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.compare-table th.featured-col { background: var(--blue-light); color: var(--blue); }
.compare-table td { padding: 12px 16px; border: 1px solid var(--border); color: #374151; vertical-align: middle; }
.compare-table td.featured-col { background: rgba(24,112,255,0.02); }
.compare-table tr:hover td { background: var(--bg); }
.compare-table tr:hover td.featured-col { background: rgba(24,112,255,0.04); }
.compare-yes { color: var(--green); font-weight: 600; }
.compare-no { color: var(--text-xmuted); }

/* ── FAQ ── */
.faq-list { list-style: none; padding: 0; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--blue); }
.faq-chevron { flex-shrink: 0; transition: transform 0.2s; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }
.faq-a { display: none; padding: 0 0 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-a p + p { margin-top: 10px; }
.faq-a ul { margin-top: 8px; }
.faq-item.open .faq-a { display: block; }

/* ── Language filter ── */
.lang-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.lang-filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.lang-search {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition);
}
.lang-search:focus { border-color: var(--blue); }
.lang-search::placeholder { color: var(--text-xmuted); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lang-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color var(--transition);
}
.lang-card:hover { border-color: #C7D2FE; }
.lang-card.hidden { display: none; }
.lang-name { font-size: 14px; font-weight: 500; color: var(--text); }
.lang-native { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.lang-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-xmuted); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* ── Tables (legal/data pages) ── */
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
th {
  text-align: left; padding: 9px 12px;
  background: #F3F4F6; font-weight: 600; font-size: 13px;
  border: 1px solid var(--border); color: #374151;
}
td { padding: 9px 12px; border: 1px solid var(--border); color: #374151; vertical-align: top; }
td.native { color: var(--text-muted); }

/* ── Steps ── */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 14px; font-size: 15px; color: #374151;
}
.steps li::before {
  content: counter(step);
  min-width: 28px; height: 28px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* ── Option blocks & CTA boxes (legal pages) ── */
.option-block, .cta-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-top: 12px;
}
.option-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.cta-box p { margin-bottom: 14px; }
.email-link {
  display: inline-block; background: var(--blue); color: #fff !important;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none !important;
  font-weight: 600; font-size: 15px; margin-top: 14px; transition: background var(--transition);
}
.email-link:hover { background: var(--blue-hover); }

/* ── Stat strip ── */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── How it works ── */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-step { text-align: center; }
.how-num {
  width: 48px; height: 48px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; margin: 0 auto 20px;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--text-muted); }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1460E0 50%, #0E4FBF 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 32px; }
.cta-section .store-badge { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); }
.cta-section .store-badge:hover { background: rgba(255,255,255,0.25); }

/* ── Blog / Docs ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-body { padding: 24px; }
.post-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--blue); margin-bottom: 8px; }
.post-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.post-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.post-date { font-size: 12px; color: var(--text-xmuted); margin-top: 16px; }
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color var(--transition);
  text-decoration: none;
}
.doc-card:hover { border-color: var(--blue); text-decoration: none; }
.doc-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-xlight); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-card h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.doc-card p { font-size: 13px; color: var(--text-muted); }

/* ── Platform section ── */
.platform-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  text-align: center; flex: 1;
}
.platform-icon { font-size: 40px; margin-bottom: 16px; }
.platform-card h3 { margin-bottom: 8px; font-size: 20px; }
.platform-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ── Provider logos row ── */
.providers-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.provider-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text-muted);
  background: var(--surface);
}

/* ── Scroll animations ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Page intro ── */
.page-hero {
  background: linear-gradient(160deg, #ffffff 0%, var(--blue-xlight) 70%, var(--bg) 100%);
  padding: 64px 0 56px;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; }

/* ── Updated / last-modified ── */
.updated { font-size: 13px; color: var(--text-xmuted); margin-bottom: 36px; }

/* ── Legal sections ── */
section { margin-bottom: 32px; }
section h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); letter-spacing: -0.1px; }
section h4 { font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: #374151; }

/* ── Main content ── */
main { max-width: 740px; margin: 40px auto; padding: 0 24px 72px; }
main.full { max-width: none; margin: 0; padding: 0; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .nav-cta-group { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 56px 0 48px; }
  .hero-subtitle { font-size: 16px; }
  .section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 40px 24px; }
  .cta-section h2 { font-size: 26px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .lang-grid { grid-template-columns: 1fr 1fr; }
  nav a { font-size: 12px; padding: 4px 8px; }
  .header-title { font-size: 16px; }
  h2 { font-size: 22px; }
}
