/* ==========================================================================
   VoiceAgents247 — main stylesheet
   Light, modern AI-SaaS landing page. No frameworks, no dependencies.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.18);
  --text: #0b0f19;
  --muted: #5a6478;
  --accent: #0a6cff;
  --accent-2: #5b5ff0;
  --grad: linear-gradient(135deg, #0a6cff 0%, #5b5ff0 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 30, 80, 0.05);
  --shadow: 0 18px 50px rgba(15, 30, 80, 0.12);
  --maxw: 1160px;
  --nav-h: 104px; /* header bar height: the hero paddings and menus are measured from it */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 2.25rem); }

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

img { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 2.5rem); }

::selection { background: rgba(10, 108, 255, 0.2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 108, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); background: #005ae6; box-shadow: 0 12px 30px rgba(10, 108, 255, 0.38); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(15, 23, 42, 0.32); background: var(--bg-alt); }

.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(4, 20, 70, 0.25); }

.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

.play-triangle { font-size: 0.72em; color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 30px rgba(15, 30, 80, 0.06); }

/* Wider than the page content, so the large logo and the menu fit on one row. */
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(1360px, 100% - 2.5rem); height: var(--nav-h); gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 19px; color: var(--text); font-weight: 500; }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.nav-cta-mobile { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Announcement bar (under the nav) --- */
.announce {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0.45rem 3rem;
  background: var(--accent); color: #fff;
  font-size: 0.88rem; font-style: italic; text-align: center;
}
.announce a:hover { text-decoration: underline; }
.announce-close {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  font-size: 0.85rem; font-style: normal; color: #fff;
}
.announce-close:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Hero (full-bleed background animation) ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 4.25rem) 0 2rem;
  overflow: hidden;
  background: #fff;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  pointer-events: none;
}
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 22%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; gap: 3rem; }
.hero-copy { margin-block: auto; text-align: center; }

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}

.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 500; color: #1f2737; max-width: 40rem; margin-inline: auto; line-height: 1.55; text-wrap: balance; }

.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-proof { max-width: 24rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(10, 108, 255, 0.22); background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 0.9rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #12b886;
  box-shadow: 0 0 8px rgba(18, 184, 134, 0.7);
  animation: statusBlink 1.8s infinite;
}

.hero-points { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.98rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 0.55rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* --- Orb: tap to hear the agent (placeholder for real call audio) --- */
.orb-card {
  --orb: #0ea5e9;
  display: flex; align-items: center; gap: 1.8rem;
  padding: 1.1rem 1.2rem 1.1rem 1.4rem; border-radius: 20px;
  background: rgba(14, 165, 233, 0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 1rem; line-height: 1.4; text-align: left; color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}
.orb-card:hover { background: rgba(14, 165, 233, 0.17); transform: translateY(-2px); }

.orb {
  position: relative; flex: none;
  width: 76px; height: 76px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 58%, #7dd3fc 0%, var(--orb) 42%, #0369a1 78%, #0c3b66 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 26px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s ease;
}
.orb::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(14, 165, 233, 0.45);
  animation: orbPulse 2.4s ease-out infinite;
}
@keyframes orbPulse { from { transform: scale(0.92); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.orb-card:hover .orb { transform: scale(1.06); }

/* ---------- Inner page hero (About) ---------- */
.page-hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 88vh; min-height: 88svh;
  padding: calc(var(--nav-h) + 4.75rem) 0 4rem;
  overflow: hidden;
  background: #fff;
  text-align: center;
}
.page-hero-inner { position: relative; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 auto 1.6rem;
}
.page-hero-text { max-width: 44rem; margin-inline: auto; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: #1f2737; text-wrap: pretty; }

/* ---------- Trust marquee (bottom of hero) ---------- */
.trust { position: relative; padding-top: 2.6rem; }
.trust-label { text-align: center; font-size: 0.95rem; color: var(--muted); margin-bottom: 1.3rem; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee-group { display: flex; align-items: center; gap: 3.4rem; padding-right: 3.4rem; }
.m-logo {
  display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  opacity: 0.42; transition: opacity 0.2s ease;
}
.m-logo:hover { opacity: 0.9; }
.m-glyph { font-size: 1.05rem; color: var(--accent-2); opacity: 0.8; }
.m-logo.lg-thin { font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.92rem; }
.m-logo.lg-serif { font-weight: 600; font-style: italic; letter-spacing: 0.02em; }

/* ---------- Live demo ---------- */
.demo-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
.demo-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.demo-copy .section-sub { max-width: 32rem; margin-bottom: 2rem; }
.demo-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* --- Phone: live conversation demo --- */
.demo-phone { display: flex; justify-content: center; }

.phone {
  /* The device stays dark on the light page, so it carries its own tokens. */
  --text: #eaeefb;
  --muted: #9aa4c4;
  --line: rgba(255, 255, 255, 0.09);
  color: var(--text);
  width: 300px; border-radius: 46px; padding: 12px;
  background: linear-gradient(180deg, #141a33, #0b0f22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(15, 30, 80, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: floaty 6.5s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-12px); } }

.phone-notch {
  width: 104px; height: 20px; border-radius: 999px;
  background: #04060d; margin: 0 auto 10px;
}
.screen {
  background: #070a17; border-radius: 36px; padding: 16px 14px;
  display: flex; min-height: 520px;
}
.call-card { display: flex; flex-direction: column; flex: 1; gap: 12px; }

.call-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4fe3c1;
  box-shadow: 0 0 8px rgba(79, 227, 193, 0.9);
  animation: statusBlink 1.6s infinite;
}
.call-title { font-weight: 600; color: var(--text); }
.call-timer { margin-left: auto; font-variant-numeric: tabular-nums; }

.conv-wave {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 46px; border-block: 1px solid var(--line);
}
.conv-wave span { width: 3px; height: 6px; border-radius: 3px; background: var(--grad); opacity: 0.9; }
.conv-wave span.active { animation: waveBar 0.8s ease-in-out infinite; }
@keyframes waveBar { 50% { height: 34px; } }

.msgs { flex: 1; display: flex; flex-direction: column; gap: 0.6rem; justify-content: flex-end; overflow: hidden; padding-top: 8px; }
.msg {
  max-width: 86%; padding: 0.55rem 0.8rem; border-radius: 14px;
  font-size: 0.82rem; line-height: 1.45;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg .who {
  display: block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--muted); margin-bottom: 2px;
}
.msg.agent { align-self: flex-start; background: rgba(10, 108, 255, 0.2); border: 1px solid rgba(47, 139, 255, 0.45); border-bottom-left-radius: 4px; }
.msg.caller { align-self: flex-end; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-bottom-right-radius: 4px; }

.call-foot { min-height: 34px; display: flex; justify-content: center; }
.foot-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.74rem; font-weight: 600; color: #4fe3c1;
  background: rgba(79, 227, 193, 0.1); border: 1px solid rgba(79, 227, 193, 0.35);
  padding: 0.35rem 0.8rem; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: 0.35s ease;
}
.foot-chip.show { opacity: 1; transform: none; }

/* ---------- Stats band ---------- */
.stats { padding: 2.6rem 0; border-block: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.stat span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.2rem; }
.kicker { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.section-sub { color: var(--muted); margin-top: 0.9rem; font-size: 1.02rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(10, 108, 255, 0.28); box-shadow: var(--shadow); }

.card-icon { font-size: 1.6rem; margin-bottom: 0.9rem; }
.card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.92rem; }

.feature h3 { padding-top: 0.2rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; list-style: none; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Industries ---------- */
.link-btn { display: inline-block; margin-top: 0.9rem; font-size: 0.88rem; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link-btn:hover { filter: brightness(0.85); }

/* ---------- Integrations ---------- */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 52rem; margin: 0 auto; }
.chip {
  padding: 0.55rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.chip-more { background: var(--grad); color: #fff; border: 0; }

/* ---------- Case stats ---------- */
.case { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; }
.case-big { font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.case h3 { font-size: 0.98rem; margin: 0.2rem 0 0.6rem; }
.case p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: #f5a524; letter-spacing: 0.14em; font-size: 0.9rem; }
.quote blockquote { font-size: 0.96rem; color: var(--text); flex: 1; }
.quote figcaption { font-size: 0.85rem; color: var(--muted); }
.quote figcaption strong { color: var(--text); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.94rem; }
th, td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.th-us { color: var(--accent); background: rgba(10, 108, 255, 0.07); }
td.yes { color: #0e9f6e; font-weight: 600; }
td.mid { color: #b7791f; }
td.no { color: #e0435c; }
tbody td:first-child { color: var(--text); font-weight: 500; }
tbody td:not(:first-child) { text-align: center; }

/* ---------- Pricing ---------- */
.pricing-grid { align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: rgba(10, 108, 255, 0.5); background: linear-gradient(180deg, rgba(10, 108, 255, 0.06), #fff 60%); box-shadow: var(--shadow); }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.05rem; font-weight: 700; }
.price { margin: 0.8rem 0 0.2rem; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price sup { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.4rem; }
.price-card ul { display: flex; flex-direction: column; gap: 0.65rem; margin: 0 0 1.8rem; font-size: 0.92rem; color: var(--muted); flex: 1; }
.price-card li { display: flex; gap: 0.55rem; align-items: baseline; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.pricing-footnote { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1.6rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.8rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease; }
.faq details[open] { border-color: rgba(10, 108, 255, 0.45); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 600; font-size: 0.99rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- Final CTA ---------- */
.cta { padding: 5.5rem 0 6.5rem; }
.cta-box {
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(255, 255, 255, 0.28), transparent 70%),
    var(--grad);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  box-shadow: 0 24px 60px rgba(10, 108, 255, 0.28);
}
.cta-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.cta-box > p { color: rgba(255, 255, 255, 0.86); font-size: 1.05rem; max-width: 30rem; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.cta-note { font-size: 0.83rem !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 20rem; }
.footer-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem !important; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #12b886; box-shadow: 0 0 10px rgba(18, 184, 134, 0.6); animation: statusBlink 2.4s infinite; }
@keyframes statusBlink { 50% { opacity: 0.5; } }

.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text); margin-bottom: 0.35rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; }
}

/* ---------- Responsive ---------- */
/* Tighter nav spacing before it collapses into the burger menu */
@media (max-width: 1400px) {
  .nav-links { gap: 1.4rem; }
}
@media (max-width: 1300px) {
  .nav-links { gap: 1.1rem; }
}

/* Collapsed nav: drops down below the header (and the announcement bar, if shown) */
@media (max-width: 1260px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 30, 80, 0.1);
    padding: 1.4rem 1.6rem 1.8rem; gap: 1.1rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-cta-mobile { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero-bottom { flex-direction: column; align-items: center; text-align: center; }
  .hero-points { align-items: center; }
  .demo-inner { grid-template-columns: 1fr; text-align: center; }
  .demo-copy .section-sub { margin-inline: auto; }
  .demo-ctas { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .announce-extra { display: none; }
  .orb-card { gap: 1.2rem; }
  .phone { width: 272px; }
  .screen { min-height: 470px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Additions: hero animation, Industries menu, industry pages
   ========================================================================== */

/* ---------- Hero animation ---------- */
/* The <picture> adds no box of its own, so the image covers the hero the way the video did.
   White, then the poster frame (set inline, so it gets the versioned URL), until the animation loads. */
.hero-anim { display: contents; }
.hero-video { background: #fff 50% 50% / cover no-repeat; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mi { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Industries menu ---------- */
.nav-dropdown { display: flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 0.3rem; font: inherit; color: inherit; white-space: nowrap; cursor: pointer; }
.nav-trigger:hover,
.nav-trigger.is-current,
.nav-dropdown.open .nav-trigger { color: var(--accent); }
.nav-caret { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.mega-title { font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 0.7rem; }
.mega-list { list-style: none; display: grid; gap: 0.1rem; }
.mega-list a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.6rem; margin-inline: -0.6rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; line-height: 1.3; color: var(--text); white-space: normal;
  transition: background 0.15s ease, color 0.15s ease;
}
.mega-list a:hover,
.mega-list a[aria-current="page"] { background: var(--bg-alt); color: var(--accent); }
.mega-foot a { font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.mega-foot a:hover { text-decoration: underline; }
.mega:focus { outline: none; } /* focus target for taps inside the panel, never reached by Tab */

/* 1260.02px rather than 1261px so fractional viewport widths never fall between the two layouts. */
@media (min-width: 1260.02px) {
  .nav-links, .nav-dropdown { align-self: stretch; }
  .mega {
    position: absolute; left: 0; right: 0; top: var(--nav-h); z-index: 2;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(15, 30, 80, 0.12);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    /* A short delay before closing, so a diagonal mouse path to the far columns doesn't close it. */
    transition: opacity 0.18s ease 0.25s, transform 0.18s ease 0.25s, visibility 0s linear 0.43s;
  }
  .nav-dropdown.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; padding: 2rem 0 1.2rem; }
  .mega-foot { padding: 0.9rem 0 1.4rem; border-top: 1px solid var(--line); }
}
@media (min-width: 1260.02px) and (hover: hover) {
  .nav-dropdown:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-dropdown:hover .nav-trigger { color: var(--accent); }
  .nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
}
@media (max-width: 1260px) {
  /* Below the header bar and the announcement bar under it. */
  .nav-links { max-height: calc(100vh - var(--nav-h) - 42px); max-height: calc(100dvh - var(--nav-h) - 42px); overflow-y: auto; overscroll-behavior: contain; }
  /* Hidden, not just transparent, while closed so its links can't be reached with Tab. */
  .nav-links { visibility: hidden; transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s; }
  .nav-links.open { visibility: visible; transition-delay: 0s; }
  .nav-dropdown { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-trigger { justify-content: space-between; width: 100%; }
  .mega { display: none; padding-top: 0.9rem; }
  .nav-dropdown.open .mega { display: block; }
  .mega .container { width: auto; }
  .mega-inner { display: grid; gap: 1.3rem; }
  .mega-title { font-size: 0.82rem; margin-bottom: 0.4rem; }
  .mega-list a { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
  .mega-foot { padding-top: 1rem; }
}

/* ---------- Customer login button (phones and tablets) ---------- */
.login-btn { display: none; }
@media (max-width: 1260px) {
  .nav-actions { gap: 0.6rem; }
  .nav-links .nav-login { display: none; } /* shown as its own button instead */
  .login-btn,
  .nav-burger {
    height: 42px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: linear-gradient(180deg, #fff, #f2f4f7);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  }
  .login-btn {
    display: inline-flex; align-items: center; padding: 0 1rem;
    font-size: 0.92rem; font-weight: 500; color: var(--text); white-space: nowrap;
  }
  .login-btn:hover { color: var(--accent); }
  .nav-burger { width: 42px; padding: 0; align-items: center; justify-content: center; }
}
/* Phones: a smaller logo and a shorter header bar, so the logo, login button and menu button all fit. */
@media (max-width: 600px) {
  :root { --nav-h: 80px; }
  .nav .brand img { width: auto; height: 64px; }
}
@media (max-width: 480px) {
  :root { --nav-h: 72px; }
  .nav .nav-inner { width: calc(100% - 1.5rem); gap: 0.5rem; }
  .nav .brand img { height: 58px; }
  .nav-actions { gap: 0.4rem; }
  .login-btn, .nav-burger { height: 38px; }
  .login-btn { padding: 0 0.7rem; font-size: 0.85rem; }
  .nav-burger { width: 38px; }
}
@media (max-width: 352px) {
  :root { --nav-h: 68px; }
  .nav .brand img { height: 44px; }
}

/* ---------- Industry pages ---------- */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }

.sample-call {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: 1.6rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.call-line { max-width: 85%; padding: 0.75rem 1rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; }
.call-line .who { display: block; margin-bottom: 0.25rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.call-line.agent { align-self: flex-start; background: rgba(10, 108, 255, 0.07); border: 1px solid rgba(10, 108, 255, 0.22); border-bottom-left-radius: 4px; }
.call-line.agent .who { color: var(--accent); }
.call-line.caller { align-self: flex-end; background: var(--bg-alt); border: 1px solid var(--line); border-bottom-right-radius: 4px; }

.industry-card { display: flex; flex-direction: column; color: var(--text); }

/* ---------- Testimonials: centre a short last row ---------- */
.quote-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.quote-grid .quote { flex: 0 1 calc((100% - 2.4rem) / 3); }
@media (max-width: 860px) { .quote-grid .quote { flex-basis: calc((100% - 1.2rem) / 2); } }
@media (max-width: 620px) { .quote-grid .quote { flex-basis: 100%; } }

/* ---------- Pricing: two plans, centered ---------- */
.pricing-grid.grid-2 { max-width: 780px; margin-inline: auto; }

/* ---------- Homepage demo: iPhone with a white screen ---------- */
.phone {
  --text: #0b0f19;
  --muted: #5a6478;
  --line: rgba(15, 23, 42, 0.09);
  position: relative;
  width: 300px; padding: 11px; border: 0; border-radius: 56px;
  background: #141414; /* black bezel */
  box-shadow:
    0 0 0 2px #7d6c82,   /* titanium rim */
    0 0 0 3.5px #54465a,
    0 40px 80px rgba(15, 30, 80, 0.25);
}
.phone-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5a4b5f, #8d7c92); }
.phone-btn-action { left: -6px; top: 108px; height: 30px; }
.phone-btn-vol-up { left: -6px; top: 160px; height: 54px; }
.phone-btn-vol-down { left: -6px; top: 226px; height: 54px; }
.phone-btn-power { right: -6px; top: 186px; height: 86px; }

.screen {
  position: relative; display: flex; flex-direction: column;
  min-height: 560px; padding: 12px 16px 18px;
  background: #fff; border-radius: 45px; overflow: hidden;
}
.status-bar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 30px; padding: 0 8px 0 16px; margin-bottom: 18px;
  font-size: 0.85rem; font-weight: 600; color: #0b0f19;
}
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { fill: currentColor; }
.phone-notch { /* Dynamic Island */
  position: absolute; left: 50%; top: 1px; transform: translateX(-50%);
  width: 98px; height: 28px; margin: 0; border-radius: 999px; background: #0a0a0a;
}
.phone-notch::after { /* front camera */
  content: ""; position: absolute; right: 11px; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #34508f, #0b1430 65%);
}

.phone .call-title { font-weight: 700; }
.phone .msgs { justify-content: flex-start; padding-top: 14px; } /* a short greeting reads from the top */
.phone .msg.agent { background: rgba(10, 108, 255, 0.07); border-color: rgba(10, 108, 255, 0.24); color: var(--text); }
.phone .msg.agent .who { color: var(--accent); }
.phone .msg.caller { background: var(--bg-alt); border-color: var(--line); color: var(--text); }
.phone .foot-chip { color: #0f7a5c; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.35); }

@media (max-width: 620px) {
  .phone { width: 272px; }
  .screen { min-height: 500px; }
}
.industry-card .mi { width: 30px; height: 30px; margin-bottom: 1rem; color: var(--accent); }
.industry-card .link-btn { margin-top: auto; padding-top: 0.9rem; }

@media (max-width: 620px) {
  .sample-call { padding: 1.1rem; }
  .call-line { max-width: 95%; }
}

/* ---------- Industry pages: hero, copy and photos ---------- */
.industry-hero { padding: calc(var(--nav-h) + 5rem) 0 2rem; background: #fff; }
.industry-intro { padding-top: 2rem; } /* close to the hero: the photo and the copy read as one block */
.industry-page .kicker { font-size: 1rem; } /* 16px labels on the industry pages */
.industry-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.industry-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; margin-bottom: 1.5rem; }
.hero-lead { max-width: 36rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.btn-pill { padding: 1.05rem 2.6rem; border-radius: 999px; font-size: 1.05rem; }
.industry-hero.no-photo .industry-hero-inner { grid-template-columns: minmax(0, 46rem); justify-content: center; text-align: center; }
.industry-hero.no-photo .hero-lead { margin-inline: auto; }
.industry-hero.no-photo .hero-cta { justify-content: center; }

.hero-photo { margin: 0; border-radius: 32px; overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; }
.hero-photo.is-portrait img { aspect-ratio: 4 / 5; }

.intro-stack { max-width: 56rem; } /* the kicker and lead paragraph, then the rest of the copy, in one column */
.industry-copy .kicker { margin-bottom: 1.1rem; }
.industry-copy p { font-size: 1.02rem; line-height: 1.75; color: #2a3344; text-wrap: pretty; }
.industry-copy p + p { margin-top: 1.1rem; }
.industry-copy .lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; font-weight: 500; color: var(--text); letter-spacing: -0.012em; }
.industry-copy .lead + p { margin-top: 1.6rem; }

.industry-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.industry-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-photo.is-portrait img { aspect-ratio: 4 / 5; }
.industry-photo.is-square img { aspect-ratio: 1; }

.handles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.1rem; max-width: 62rem; margin-inline: auto; }
.handles-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.05rem 1.25rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-size: 0.98rem; line-height: 1.55;
}
.handles-list .mi { width: 26px; height: 26px; padding: 5px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 2.6; }

.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem 2rem; align-items: start;
  max-width: 62rem; margin-inline: auto;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 3.4vw, 3rem);
  border-radius: var(--radius-lg); border: 1px solid rgba(10, 108, 255, 0.18);
  background: linear-gradient(135deg, rgba(10, 108, 255, 0.07), rgba(91, 95, 240, 0.05));
}
.callout-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(10, 108, 255, 0.28); }
.callout-icon .mi { width: 28px; height: 28px; stroke-width: 1.8; }
.callout h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.8rem; }
.callout p { font-size: 1.02rem; line-height: 1.75; color: #2a3344; text-wrap: pretty; }

.call-story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.call-story.no-photo { grid-template-columns: minmax(0, 48rem); justify-content: center; }
.call-story.no-photo .story-copy { text-align: center; }
.story-copy .kicker { margin-bottom: 0.8rem; }
.story-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1.4rem; }
.story-card { padding: clamp(1.4rem, 2.6vw, 2.2rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: left; }
.story-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(10, 108, 255, 0.08); border: 1px solid rgba(10, 108, 255, 0.2);
}
.story-tag .live-dot { background: var(--accent); box-shadow: 0 0 8px rgba(10, 108, 255, 0.7); }
.story-card p { font-size: 1.02rem; line-height: 1.75; color: #2a3344; text-wrap: pretty; }

.results-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.results-split .kicker { margin-bottom: 0.8rem; }
.results-split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.results-split > p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: #2a3344; text-wrap: pretty; }

@media (max-width: 860px) {
  .industry-hero { padding: calc(var(--nav-h) + 4rem) 0 1.5rem; }
  .industry-hero-inner, .call-story, .results-split, .callout, .handles-list { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .btn-pill { width: 100%; }
}
