/* VoiceToRevenue website — single hand-written stylesheet, no build step.
   Design tokens from the VoiceToRevenue design (claude.ai/design):
   Inter · white surfaces · light slate borders · blue #3B82F6 → violet #8B5CF6 */

:root {
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --violet: #8b5cf6;
  --ink: #1e2433;
  --ink-strong: #111827;
  --muted: #64748b;
  --muted-soft: #94a3b8;
  --border: #e7e9ef;
  --surface: #f8fafc;
  --grad: linear-gradient(135deg, var(--blue), var(--violet));
  --grad-cta: linear-gradient(135deg, var(--blue), var(--blue-deep));
  --shadow-card: 0 20px 40px -20px rgba(15, 23, 42, 0.18);
  --shadow-cta: 0 8px 24px -8px rgba(59, 130, 246, 0.6);
  --radius: 18px;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-deep);
}

/* ── Brand mark ─────────────────────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.logo {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo i {
  display: block;
  border-radius: 999px;
}
.logo .r1 {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(139, 92, 246, 0.3);
}
.logo .r2 {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(59, 130, 246, 0.5);
}
.logo .dot {
  width: 11px;
  height: 11px;
  background: var(--grad);
}
.logo-sm {
  width: 26px;
  height: 26px;
}
.logo-sm .r1 {
  width: 26px;
  height: 26px;
}
.logo-sm .r2 {
  width: 17px;
  height: 17px;
}
.logo-sm .dot {
  width: 9px;
  height: 9px;
}
.wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.wordmark-sm {
  font-size: 16px;
}

/* ── Nav ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a,
.nav-login {
  color: #475569;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-login:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.btn-dark {
  background: var(--ink-strong);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.btn-dark:hover {
  background: var(--blue);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 40px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f6f4fe;
  border: 1px solid #e4defa;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  animation: fadeUp 0.6s ease both;
}
.badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--grad);
  animation: pulseDot 1.6s infinite;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 26px 0 22px;
  animation: fadeUp 0.6s ease 0.05s both;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 680px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--muted);
  animation: fadeUp 0.6s ease 0.1s both;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.15s both;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff !important;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.btn-primary:hover {
  box-shadow: 0 12px 28px -6px rgba(59, 130, 246, 0.75);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  color: var(--ink) !important;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid #dde1e9;
}
.btn-secondary:hover {
  border-color: #b6bdc9;
  background: var(--surface);
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 32px 20px;
}
.section-narrow {
  max-width: 800px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
}

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card {
  background: #fcfcfd;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #dbdfe7;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: block;
}
.tint-blue {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
}
.tint-blue i {
  background: var(--blue);
}
.tint-red {
  background: #fee2e2;
}
.tint-red i {
  background: #ef4444;
}
.tint-amber {
  background: #fef3c7;
}
.tint-amber i {
  background: #f59e0b;
}
.tint-green {
  background: #d1fae5;
}
.tint-green i {
  background: #10b981;
}
.tint-violet {
  background: #ede9fe;
}
.tint-violet i {
  background: var(--violet);
}

/* ── Integrations ───────────────────────────────────────────────────────── */

.integration-tile {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.integration-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 20px -12px rgba(59, 130, 246, 0.4);
}
.integration-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq-list {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item {
  background: #fff;
  padding: 0 26px;
}
.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  padding: 22px 0;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  color: var(--muted-soft);
  font-size: 20px;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ── CTA panel ──────────────────────────────────────────────────────────── */

.cta-panel {
  background: linear-gradient(135deg, #111827, #1e1b3a);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.35), transparent 60%);
}
.cta-panel > * {
  position: relative;
}
.cta-panel h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cta-panel p {
  font-size: 16.5px;
  color: #c3c8d4;
  max-width: 520px;
  margin: 0 auto 32px;
}
.btn-light {
  background: #fff;
  color: var(--ink-strong) !important;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
}
.btn-light:hover {
  background: #e2e8f0;
}
.btn-outline {
  background: transparent;
  color: #fff !important;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Inner pages ────────────────────────────────────────────────────────── */

.page {
  padding-top: 72px;
  padding-bottom: 40px;
  min-height: 45vh;
}
.page h1 {
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.muted {
  color: var(--muted-soft);
  font-size: 14px;
}
.lede-left {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}
.contact-card {
  margin-top: 24px;
  background: #fff;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 40px 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 240px;
  margin-top: 14px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 11px;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted-soft);
  text-align: center;
}
