:root {
  --primary: #4F46E5;
  --primary-dark: #1A5BBF;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --surface: #FAFBFE;
  --surface-warm: #F8F7F4;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --success: #10B981;
  --danger: #EF4444;
  --amber: #F59E0B;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: 'Bitcount';
  src: url('/fonts/bitcount.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

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

.gradient-text {
  background: linear-gradient(90deg, #4F46E5, #2E6FD4, #1A5BBF, #134A9E, #1A5BBF, #2E6FD4, #4F46E5);
  background-size: 300% 100%;
  animation: gradient-shift 10s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Site header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.site-header__inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: 'Bitcount', monospace;
  font-size: 28px;
  letter-spacing: 1px;
  line-height: 1;
}
.site-nav { display: none; gap: 28px; align-items: center; }
.site-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
@media (min-width: 768px) { .site-nav { display: flex; } }
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #4F46E5, #2E6FD4, #1A5BBF, #134A9E, #1A5BBF, #2E6FD4, #4F46E5);
  background-size: 300% 100%;
  animation: gradient-shift 10s ease infinite;
  color: white !important;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.btn--lg { font-size: 16px; padding: 14px 28px; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  padding: 20px 0 0;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--text-muted); }
.breadcrumbs span { margin: 0 8px; }

/* Hero */
.hero {
  padding: 60px 0 80px;
  text-align: left;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 880px;
}
.hero p.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 720px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text) !important;
  font-weight: 600;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary) !important; }

/* Sections */
.section { padding: 64px 0; }
.section--warm { background: var(--surface-warm); }
.section h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 8px;
}
.section p { margin: 0 0 16px; }
.section ul, .section ol { padding-left: 1.4em; margin: 0 0 16px; }
.section li { margin-bottom: 6px; }
.section .grid {
  display: grid; gap: 24px; margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: white; border: 1px solid var(--border-light);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border); }
.card h3 { margin-top: 0; font-size: 20px; }

/* Comparison table */
.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 15px;
}
.cmp th, .cmp td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th {
  background: var(--surface-warm);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.cmp thead th.cmp__us { color: var(--primary); }
.cmp tbody th { font-weight: 600; }
.cmp .yes { color: var(--success); font-weight: 600; }
.cmp .no { color: var(--danger); }
.cmp .partial { color: var(--amber); font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; }
.faq details {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 14px 0 0; color: var(--text-muted); }

/* CTA */
.cta-block {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(26,91,191,0.06));
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 48px;
  text-align: center;
  margin: 40px 0;
}
.cta-block h2 { margin: 0 0 12px; }
.cta-block p { color: var(--text-muted); margin: 0 auto 24px; max-width: 580px; }

/* Footer */
.site-footer {
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 32px;
}
.site-footer h4 { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }
.site-footer__bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* KPI / proof bar */
.kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 32px 0 8px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.kpi-bar > div {
  padding: 18px 22px;
  border-right: 1px solid var(--border-light);
}
.kpi-bar > div:last-child { border-right: 0; }
.kpi-bar .kpi-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #4F46E5, #2E6FD4, #1A5BBF, #134A9E, #1A5BBF, #2E6FD4, #4F46E5);
  background-size: 300% 100%;
  animation: gradient-shift 10s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.kpi-bar .kpi-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Verdict box */
.verdict {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(26,91,191,0.06));
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .verdict { grid-template-columns: 1fr 1fr; } }
.verdict h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.verdict__col p { margin: 0; font-size: 15px; line-height: 1.6; }
.verdict__col--us { border-left: 3px solid var(--primary); padding-left: 16px; }
.verdict__col--them { border-left: 3px solid var(--border); padding-left: 16px; color: var(--text-muted); }

/* Reason grid */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.reason {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 26px;
  transition: border-color 0.2s, transform 0.15s;
}
.reason:hover { border-color: var(--primary); transform: translateY(-2px); }
.reason__num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(90deg, #4F46E5, #1A5BBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.reason h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.reason p { color: var(--text-muted); font-size: 15px; margin: 0 0 12px; line-height: 1.55; }
.reason__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reason__cta::after { content: '→'; transition: transform 0.15s; }
.reason:hover .reason__cta::after { transform: translateX(3px); }

/* CTA bar (inline, between sections) */
.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--text);
  color: white;
  border-radius: 14px;
  padding: 18px 24px;
  margin: 28px 0;
}
.cta-bar p { color: white; margin: 0; font-weight: 500; }
.cta-bar .btn {
  background: white;
  color: var(--text) !important;
  animation: none;
  background-image: none;
}
.cta-bar .btn:hover { background: var(--surface-warm); }

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--primary);
  padding: 12px 0 12px 24px;
  margin: 28px 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
  font-style: italic;
}

/* Utilities */
.muted { color: var(--text-muted); }
.tag {
  display: inline-block;
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.locale-switch {
  font-size: 13px;
  color: var(--text-muted);
}
.locale-switch a { margin-left: 8px; }
