/* ReviveLead.ai — brand stylesheet */

:root {
  --navy: #0f172a;
  --navy-soft: #16203a;
  --teal: #0d9488;
  --teal-dark: #0b8075;
  --teal-tint: rgba(13, 148, 136, 0.1);
  --off: #f8fafc;
  --white: #ffffff;
  --ink: #0f172a;
  --soft: #475569;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 22px 48px -34px rgba(15, 23, 42, 0.45);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
summary { cursor: pointer; }

/* ---------- App shell ---------- */

.app-shell { display: block; min-height: 100vh; background: var(--off); }

.side {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.side-brand { display: inline-flex; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: #5eead4;
  display: grid;
  place-items: center;
  flex: none;
}

.brand-word {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.side-nav { display: flex; gap: 6px; flex-wrap: wrap; }

.side-link {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
  text-decoration: none;
  white-space: nowrap;
}

.side-link:hover { background: var(--off); color: var(--ink); }

.side-link.is-active {
  background: var(--teal-tint);
  color: #0f766e;
  font-weight: 600;
}

.main { padding: 16px 16px 56px; }

.topbar { display: flex; justify-content: flex-end; margin-bottom: 10px; }

.account { position: relative; }
.account-summary { list-style: none; display: inline-flex; }
.account-summary::-webkit-details-marker { display: none; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 240px;
  padding: 14px;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.account-name { font-size: 14px; font-weight: 600; }
.account-mail { font-size: 12.5px; color: var(--muted); margin: 2px 0 12px; word-break: break-all; }

.page-title {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

/* ---------- Cards and content blocks ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.card h2 { font-size: 16.5px; margin-bottom: 10px; }

.card-line { font-size: 14px; color: var(--soft); line-height: 1.6; margin-bottom: 8px; }

.connect-card { display: grid; gap: 18px; }
.connect-copy h2 { margin-bottom: 8px; }
.connect-form { display: grid; gap: 8px; }
.connect-list { display: grid; gap: 8px; }

.connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--off);
  font-size: 13.5px;
  color: var(--soft);
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-row h2 { font-size: 16px; }

.inline-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  flex: none;
}

.inline-link:hover { text-decoration: underline; }

.empty {
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 13.5px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover { color: var(--ink); }

/* ---------- Forms ---------- */

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--soft); }
.field-half { grid-column: span 1; }

.input {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16); }

.textarea { min-height: 112px; resize: vertical; line-height: 1.55; }

.field-error { margin: 6px 0; font-size: 13px; color: #b91c1c; }

.form-grid { display: grid; }
.form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.form-meta { font-size: 12.5px; color: var(--muted); }

.check-row { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 10px; font-size: 13.5px; color: var(--soft); }
.checkbox { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--teal); }

.profile-form { display: grid; }

.choices, .pick-set { border: 0; padding: 0; margin: 0 0 14px; }
.choices { display: grid; gap: 8px; }

.choices-legend, .pick-set legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--soft);
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.choice-card input { margin-top: 3px; accent-color: var(--teal); flex: none; }
.choice-body { display: grid; gap: 2px; }
.choice-title { font-size: 14px; font-weight: 600; }
.choice-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pick-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  color: var(--soft);
  cursor: pointer;
}

.pick-chip input { margin: 0; accent-color: var(--teal); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 12px 26px -18px rgba(13, 148, 136, 0.9);
}

.btn-primary:hover { background: var(--teal-dark); }

.btn-quiet { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: rgba(15, 23, 42, 0.32); }

.btn-outline { background: transparent; color: var(--teal); border-color: rgba(13, 148, 136, 0.4); }
.btn-outline:hover { background: var(--teal-tint); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 22px; font-size: 15.5px; }

/* ---------- Plans and prices ---------- */

.pricing-inline { margin-bottom: 18px; }
.pricing-inline h2 { font-size: 17px; margin-bottom: 10px; }

.price-grid { display: grid; gap: 12px; }

.price-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.price-card h3 { font-size: 14.5px; color: var(--soft); }
.price-value { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.price-billing { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.price-list { display: grid; gap: 6px; margin-bottom: 12px; }

.price-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.55);
}

.price-card-custom { border-style: dashed; }

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan-head h2, .plan-head h3 { font-size: 15.5px; }
.plan-runs { font-size: 13px; color: var(--muted); }
.plan-current { border-color: rgba(13, 148, 136, 0.45); background: rgba(13, 148, 136, 0.05); }

.buy-list { display: grid; gap: 10px; }

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.buy-name { font-size: 13.5px; font-weight: 600; }
.buy-price { font-size: 13px; color: var(--muted); }

/* ---------- Runs ---------- */

.recent { margin-bottom: 14px; }
.run-list, .run-list-page { display: grid; gap: 8px; }

.run-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.run-link { display: grid; gap: 2px; min-width: 0; text-decoration: none; }
.run-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.run-date { font-size: 12px; color: var(--muted); }
.recent-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.run-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.run-head h1 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); letter-spacing: -0.03em; }
.run-summary { margin-bottom: 14px; font-size: 14px; line-height: 1.6; color: var(--soft); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  flex: none;
}

.badge-run { background: rgba(13, 148, 136, 0.12); color: #0f766e; }
.badge-done { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.badge-failed { background: rgba(185, 28, 28, 0.1); color: #b91c1c; }
.badge-idle { background: rgba(15, 23, 42, 0.07); color: var(--soft); }

/* ---------- Live steps ---------- */

.steps { display: grid; gap: 2px; margin: 0 0 12px; }
.step { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.step-dot { width: 7px; height: 7px; margin-top: 7px; flex: none; border-radius: 50%; background: rgba(15, 23, 42, 0.22); }
.step-text { min-width: 0; }
.step.is-now { color: var(--ink); font-weight: 500; }
.step.is-now .step-dot { background: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16); }

.steps-fold { margin-bottom: 10px; }

.steps-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
  list-style: none;
}

.steps-fold > summary::-webkit-details-marker { display: none; }

.caret {
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.steps-fold[open] .caret { transform: rotate(-135deg); }

.run-error {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(185, 28, 28, 0.07);
  color: #b91c1c;
  font-size: 13.5px;
}

.start-form, .stop-form { display: grid; }
.stop-form { margin-top: 16px; }

/* ---------- Result and reports ---------- */

.result { display: grid; gap: 14px; }
.result-text { font-size: 14.5px; line-height: 1.65; color: var(--soft); }
.result-text h1, .result-text h2, .result-text h3 { color: var(--ink); margin: 18px 0 8px; }
.result-text p { margin: 0 0 10px; }
.result-text ul, .result-text ol { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.result-text li { margin-bottom: 6px; }
.result-text strong { color: var(--ink); }

.report { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.report h2 { font-size: 16px; margin-bottom: 4px; }
.report-date { margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.report-text { font-size: 14px; line-height: 1.6; color: var(--soft); }

.table-wrap { margin: 12px 0; overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.report-table caption { caption-side: top; padding-bottom: 8px; text-align: left; font-size: 12px; color: var(--muted); }
.report-table th {
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.report-table td { padding: 9px 10px; color: var(--soft); border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.report-table tr:last-child td { border-bottom: 0; }

.report table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.report table th,
.report table td { border: 0; border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.report table th { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.report table td { color: var(--soft); }
.report table tr:last-child td { border-bottom: 0; }
.report table caption { caption-side: top; padding-bottom: 8px; text-align: left; font-size: 12px; color: var(--muted); }
.report svg rect { fill: var(--teal); }

.report-note { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

.report-figure { margin: 16px 0 0; }
.report-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.report-figure-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.report-figure-sub { font-size: 12px; color: var(--muted); }
.report-chart { display: block; width: 100%; height: auto; overflow: visible; }
.report-bar { fill: var(--teal); opacity: 0.85; }

.report-bars-x { display: flex; gap: 6px; margin-top: 6px; }
.report-x-cell { flex: 1; display: grid; gap: 1px; min-width: 0; text-align: center; }
.report-x-value { font-size: 11.5px; font-weight: 600; color: var(--soft); }
.report-x-label { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-legend { margin-top: 8px; font-size: 11.5px; color: var(--muted); }

.metrics { display: grid; gap: 10px; margin: 14px 0; }
.metric { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; }
.metric dt { font-size: 12px; color: var(--muted); }
.metric dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.metric-change { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #0f766e; }

.files { display: grid; gap: 8px; margin-top: 12px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.file-image { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.file-name { font-weight: 500; color: var(--ink); }
.file-type { margin-left: auto; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.file-link { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.file-link:hover { color: #0f766e; }

/* ---------- Sign in ---------- */

.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: radial-gradient(110% 70% at 80% 0%, rgba(13, 148, 136, 0.12), rgba(248, 250, 252, 0) 60%), var(--off);
}

.auth-card {
  width: 100%;
  max-width: 396px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.auth-card h1 { font-size: 21px; margin-bottom: 8px; }
.auth-sub { margin-bottom: 18px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.auth-foot { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.auth-again { margin-top: 16px; font-size: 13px; color: var(--soft); }

/* ---------- Public page ---------- */

.rv-body {
  margin: 0;
  padding-bottom: 76px;
  background: var(--off);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.rv-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.rv-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 250, 252, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.rv-header-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; color: var(--ink); }

.rv-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--navy);
  color: #5eead4;
}

.rv-mark-sm { width: 26px; height: 26px; border-radius: 8px; }

.rv-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-name-sm { font-size: 14px; }
.rv-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.rv-signin { font-size: 14px; font-weight: 500; color: var(--soft); text-decoration: none; padding: 8px 2px; }
.rv-signin:hover { color: var(--ink); }

.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.rv-btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 9px; }
.rv-btn-lg { padding: 15px 22px; font-size: 15.5px; width: 100%; }

.rv-btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14), 0 14px 28px -18px rgba(13, 148, 136, 0.9);
}

.rv-btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.rv-btn-primary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.rv-btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.rv-btn-ghost:hover { border-color: rgba(15, 23, 42, 0.32); }

.rv-hero { padding: 34px 0 30px; }

.rv-hero-grid { display: grid; gap: 28px; }

.rv-hero-copy { min-width: 0; }

.rv-h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.rv-lede { margin: 0 0 22px; max-width: 34em; font-size: 16.5px; line-height: 1.6; color: var(--soft); }

.rv-actions { display: grid; gap: 10px; }

.rv-sample { margin: 0; }
.rv-sample > summary { list-style: none; }
.rv-sample > summary::-webkit-details-marker { display: none; }

.rv-play {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.13);
  color: var(--teal);
  flex: none;
}

.rv-sample-meta { margin-left: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted); }

.rv-sample-box { margin-top: 10px; padding: 12px; background: var(--navy); border-radius: 16px; }
.rv-sample-video { width: 100%; border-radius: 10px; background: #080f1d; }
.rv-sample-cap { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #94a3b8; }

.rv-note { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

.rv-hero-visual { min-width: 0; }

.rv-record {
  padding: 16px;
  border-radius: 20px;
  color: #e2e8f0;
  background-color: var(--navy);
  background-image: radial-gradient(120% 92% at 100% 0%, rgba(13, 148, 136, 0.26), rgba(15, 23, 42, 0) 64%);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1), 0 44px 74px -52px rgba(15, 23, 42, 0.7);
}

.rv-record-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.rv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.2);
  color: #99f6e4;
  font-size: 11.5px;
  font-weight: 500;
}

.rv-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18); }

.rv-record-count { font-size: 11.5px; color: #94a3b8; }

.rv-lead {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.rv-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.26);
  color: #99f6e4;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rv-lead-txt { display: grid; gap: 2px; min-width: 0; }
.rv-lead-name { font-size: 14px; font-weight: 600; color: #f8fafc; }
.rv-lead-sub { font-size: 11.5px; color: #94a3b8; }

.rv-lang {
  margin-left: auto;
  flex: none;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 11px;
}

.rv-wave { display: flex; align-items: center; justify-content: space-between; height: 26px; margin: 15px 2px 12px; }

.rv-wave i {
  flex: 0 0 5px;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  opacity: 0.8;
}

.rv-wave i:nth-child(2n) { height: 58%; }
.rv-wave i:nth-child(3n) { height: 86%; }
.rv-wave i:nth-child(4n) { height: 100%; opacity: 0.95; }
.rv-wave i:nth-child(5n) { height: 46%; }
.rv-wave i:nth-child(7n) { height: 68%; }

.rv-quote { margin: 0 0 14px; font-size: 13px; font-style: italic; color: #cbd5e1; }

.rv-rows { display: grid; gap: 9px; }

.rv-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rv-row:last-child { padding-bottom: 0; border-bottom: 0; }
.rv-row-k { flex: none; font-size: 11.5px; color: #94a3b8; }
.rv-row-v { margin: 0; font-size: 12.5px; font-weight: 500; color: #e2e8f0; text-align: right; }

.rv-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.16);
  color: #5eead4;
  font-size: 11.5px;
  font-weight: 600;
}

.rv-record-foot { display: flex; align-items: flex-start; gap: 7px; margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: #94a3b8; }
.rv-record-foot svg { flex: none; margin-top: 1px; color: #2dd4bf; }

.rv-trust { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rv-trust-in { display: grid; gap: 9px; padding: 16px 20px; }
.rv-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #334155; }
.rv-trust-item svg { flex: none; color: var(--teal); }

.rv-logos { padding: 30px 0 6px; }
.rv-logos-cap { margin-bottom: 14px; font-size: 13.5px; letter-spacing: 0.01em; color: var(--muted); text-align: center; }

.rv-wall { margin-top: 2px; }

.rv-wall-img { display: block; width: 100%; height: auto; }

.rv-wall-tall { display: none; }

.rv-safety {
  padding: 52px 0;
  margin-top: 34px;
  color: #e2e8f0;
  background: var(--navy);
}

.rv-safety-grid { display: grid; gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }

.rv-safety-grid h3 { margin: 12px 0 6px; font-size: 15.5px; color: #f1f5f9; }
.rv-safety-grid p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #94a3b8; }

.rv-ico {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.18);
  color: #5eead4;
}

.rv-h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4.4vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.rv-h2-invert { color: #f8fafc; }
.rv-sub { margin: 0; max-width: 44em; font-size: 15px; line-height: 1.6; color: var(--soft); }
.rv-sub-invert { color: #94a3b8; }

.rv-steps { padding: 56px 0; }

.rv-steps-grid { display: grid; gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.rv-steps-grid > li {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.rv-steps-grid h3 { margin: 12px 0 7px; font-size: 17px; }
.rv-steps-grid p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); }
.rv-steps-grid p.rv-step-why { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #0f766e; font-weight: 500; }

.rv-step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rv-voices { padding: 52px 0; background: #f1f5f9; }
.rv-voice-grid { display: grid; gap: 12px; margin-top: 26px; }

.rv-voice {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.rv-voice-photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #e2e8f0; margin-bottom: 4px; }
.rv-voice-name { font-size: 15.5px; font-weight: 600; }
.rv-voice-lang { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.rv-voice-line { margin: 4px 0 8px; font-size: 13.5px; line-height: 1.55; color: var(--soft); }

.rv-voice details > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

.rv-voice details > summary::-webkit-details-marker { display: none; }

.rv-voice blockquote {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 2px solid rgba(13, 148, 136, 0.45);
  border-radius: 0 8px 8px 0;
  background: var(--off);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--soft);
}

.rv-usecases { padding: 56px 0; }
.rv-usecase-grid { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }

.rv-usecase {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.rv-usecase h3 { margin-bottom: 8px; font-size: 18px; }
.rv-usecase p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); }
.rv-usecase p.rv-usecase-tag { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: #0f766e; font-weight: 600; }

.rv-integrations { padding: 52px 0; background: #f1f5f9; }
.rv-int-grid { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }

.rv-int {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.rv-int-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.rv-int h3 { margin: 12px 0 8px; font-size: 15.5px; }
.rv-int-line { margin: 0 0 5px; font-size: 13px; line-height: 1.55; color: var(--soft); }
.rv-int-line strong { color: var(--ink); font-weight: 600; }
.rv-int-note { margin: 18px 0 0; max-width: 52em; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.rv-faq { padding: 52px 0; }
.rv-faq-list { display: grid; gap: 10px; margin-top: 24px; max-width: 800px; }

.rv-faq-list details {
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.rv-faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.rv-faq-list summary::-webkit-details-marker { display: none; }

.rv-faq-list summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1.7px solid var(--muted);
  border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}

.rv-faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.rv-faq-list p { margin: 11px 0 0; font-size: 14px; line-height: 1.62; color: var(--soft); }

.rv-final { padding: 20px 0 56px; }

.rv-final-in {
  padding: 56px 24px;
  border-radius: 22px;
  text-align: center;
  color: #f8fafc;
  background: linear-gradient(168deg, #16233f 0%, #0f172a 62%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 70px -50px rgba(15, 23, 42, 0.7);
}

.rv-final-in .rv-h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); }

.rv-final-sub { margin: 0; font-size: 16px; line-height: 1.55; color: #cbd5e1; }
.rv-final-btn { max-width: 380px; margin: 26px auto 0; }
.rv-final-note { margin: 16px 0 0; font-size: 12.5px; color: #94a3b8; }

.rv-footer { padding: 26px 0 30px; background: var(--off); border-top: 1px solid var(--line); }
.rv-footer-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.rv-brand-footer { gap: 8px; }
.rv-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rv-footer-nav a { font-size: 13px; color: var(--soft); text-decoration: none; }
.rv-footer-nav a:hover { color: var(--ink); }

.rv-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 250, 252, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.rv-sticky-btn { width: 100%; }

/* ---------- Breakpoints ---------- */

@media (min-width: 560px) {
  .rv-actions { grid-template-columns: 1fr; }
  .rv-trust-in { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 0 14px; }
}

@media (min-width: 700px) {
  .rv-voice-grid { grid-template-columns: 1fr 1fr; }
  .rv-int-grid { grid-template-columns: 1fr 1fr 1fr; }
  .rv-usecase-grid { grid-template-columns: 1fr 1fr; }
  .rv-steps-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .rv-safety-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (min-width: 760px) {
  .rv-body { padding-bottom: 0; }
  .rv-sticky { display: none; }
  .connect-card { grid-template-columns: 1fr 1fr; align-items: start; }
  .report-figure { margin-top: 20px; }
}

@media (min-width: 900px) {
  .app-shell {
    display: grid;
    grid-template-columns: 244px 1fr;
    background: linear-gradient(to right, var(--white) 0 244px, var(--off) 244px 100%);
  }

  .side {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 22px 16px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    overflow: auto;
  }

  .side-nav { flex-direction: column; gap: 2px; flex-wrap: nowrap; }
  .main { max-width: 980px; padding: 26px 34px 70px; }
  .rv-final { padding: 34px 0 64px; }
  .rv-final-in { padding: 68px 60px 64px; }
}

@media (min-width: 940px) {
  .rv-faq .rv-wrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; grid-template-rows: auto 1fr; gap: 10px 48px; align-items: start; }
  .rv-faq .rv-h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .rv-faq .rv-sub { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
  .rv-faq-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; max-width: none; }
  .rv-hero { padding: 52px 0 44px; }
  .rv-hero-grid { grid-template-columns: 1.04fr 0.96fr; gap: 48px; align-items: center; }
  .rv-lede { font-size: 17px; }
  .rv-logos { padding: 38px 0 4px; }
  .rv-logos-cap { text-align: left; }
  .rv-safety { margin-top: 42px; }
  .rv-int-grid { gap: 14px; }
  .rv-voice-grid { gap: 14px; }
}

@media (min-width: 1060px) {
  .rv-voice-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 699px) {
  .rv-wall-wide { display: none; }
  .rv-wall-tall { display: block; }
}

@media (max-width: 559px) {
  .rv-signin { display: none; }
  .rv-header-in { padding: 10px 14px; }
  .rv-name { font-size: 14.5px; }
  .rv-h1 { font-size: 33px; line-height: 1.08; }
  .rv-lede { font-size: 15.5px; }
  .rv-hero { padding: 26px 0 24px; }
  .rv-logos-cap { font-size: 12px; }
}
