/* ============================================================
   VRM — Virtual Risk Manager
   Premium onboarding + dashboard experience for SMEs.
   Stripe / Linear-inspired: generous whitespace, smooth motion.
   ============================================================ */

/* ── Keyframes ───────────────────────────────────────────────── */

@keyframes vrmFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vrmPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

@keyframes vrmCheckmark {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.15) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes vrmProgressStep {
  0%   { width: 0; }
  100% { width: 100%; }
}

@keyframes vrmSpin {
  to { transform: rotate(360deg); }
}

@keyframes vrmScoreReveal {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  70% {
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─────────────────────────────────────────────────────────────
   1. PRODUCT SELECTOR  (post-login landing)
   ───────────────────────────────────────────────────────────── */

.product-selector {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: vrmFadeIn 500ms ease both;
}

.product-selector-header {
  text-align: center;
  margin-bottom: 48px;
}

.product-selector-header h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.product-selector-header p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Card grid — two side-by-side */
.product-selector-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  width: 400px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35),
              0 0 0 1px var(--accent);
}

.product-card:active {
  transform: translateY(-2px);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--accent);
  transition: background var(--transition-fast);
}

.product-card:hover .product-card-icon {
  background: var(--accent-subtle);
}

.product-card-icon svg {
  width: 32px;
  height: 32px;
}

.product-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  background: var(--accent-glow);
  color: var(--accent-hover);
  margin-bottom: 20px;
}

.product-card-badge.enterprise {
  background: var(--warning-bg);
  color: var(--warning);
}

/* "Coming Soon" badge for the disabled Enterprise card */
.product-badge-coming-soon {
  background: rgba(139, 139, 158, 0.18);
  color: #6B7080;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Disabled product card — visually muted + non-clickable */
.product-card-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.25);
  pointer-events: none;
  user-select: none;
}
.product-card-disabled:hover {
  transform: none;
  border-color: var(--border-subtle);
  box-shadow: none;
}
.product-card-disabled .product-card-title,
.product-card-disabled .product-card-desc,
.product-card-disabled .product-card-features li,
.product-card-disabled .product-card-target {
  color: var(--text-secondary);
}

.product-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.product-card-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--success-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2300C48C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.product-card-target {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ─────────────────────────────────────────────────────────────
   1b. PRODUCT COMPARISON PANEL  ("Beyond AI chat")
   ───────────────────────────────────────────────────────────── */

.product-selector {
  overflow-y: auto;
  justify-content: flex-start;
  padding: 64px 24px;
}

.product-comparison {
  margin: 48px auto 0;
  width: 100%;
  max-width: 880px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  animation: vrmFadeIn 600ms ease both;
}

.product-comparison-header {
  text-align: center;
  margin-bottom: 28px;
}

.product-comparison-header h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-comparison-header p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-comparison-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 26px;
  transition: border-color var(--transition-fast);
}

.product-comparison-col-good {
  border-color: rgba(0, 196, 140, 0.35);
  background: linear-gradient(180deg, rgba(0, 196, 140, 0.04) 0%, var(--bg-surface) 100%);
}

.product-comparison-col-bad {
  opacity: 0.92;
}

.product-comparison-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.product-comparison-col-icon-bad,
.product-comparison-col-icon-good {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.product-comparison-col-icon-bad {
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
}

.product-comparison-col-icon-good {
  background: rgba(0, 196, 140, 0.14);
  color: var(--success);
}

.product-comparison-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.product-comparison-col-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.product-comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-comparison-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.product-comparison-col-bad .product-comparison-list li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 12px;
}

.product-comparison-col-good .product-comparison-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}

.product-comparison-col-good .product-comparison-list li {
  color: var(--text-primary);
}

@media (max-width: 720px) {
  .product-comparison-grid {
    grid-template-columns: 1fr;
  }
  .product-comparison {
    margin-top: 40px;
  }
}

/* ─────────────────────────────────────────────────────────────
   2. VRM ONBOARDING WIZARD
   ───────────────────────────────────────────────────────────── */

.vrm-onboarding {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  animation: vrmFadeIn 400ms ease both;
}

/* Step indicator bar ------------------------------------------------- */

.vrm-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
}

.vrm-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.vrm-step-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.vrm-step-dot.completed {
  background: var(--success);
  border-color: var(--success);
}

.vrm-step-line {
  width: 64px;
  height: 2px;
  background: var(--border);
  transition: background var(--transition-normal);
  flex-shrink: 0;
}

.vrm-step-line.completed {
  background: var(--success);
}

.vrm-step-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  padding: 0 4px;
}

.vrm-step-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-align: center;
  flex: 1;
  transition: color var(--transition-fast);
}

.vrm-step-label.active {
  color: var(--accent-hover);
  font-weight: 600;
}

.vrm-step-label.completed {
  color: var(--success);
}

/* Step heading ------------------------------------------------------- */

.vrm-step-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.vrm-step-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Connection Cards (Step 1) ────────────────────────────── */

.vrm-connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.vrm-connect-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.vrm-connect-card:hover {
  border-color: var(--border);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.vrm-connect-card.selected {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 1px var(--accent);
}

.vrm-connect-card.connecting {
  border-color: var(--accent);
  animation: vrmPulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.vrm-connect-card.connected {
  border-color: var(--success);
  background: var(--success-bg);
}

.vrm-connect-card.connected::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  animation: vrmCheckmark 400ms ease both;
}

.vrm-connect-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.vrm-connect-icon img,
.vrm-connect-icon svg {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.vrm-connect-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.vrm-connect-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.vrm-connect-status {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.vrm-connect-card.connected .vrm-connect-status {
  color: var(--success);
}

.vrm-connect-card.connecting .vrm-connect-status {
  color: var(--accent);
}

/* ── Business Profile Form (Step 2) ──────────────────────── */

.vrm-form-section {
  margin-bottom: 32px;
}

.vrm-form-section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.vrm-form-row {
  margin-bottom: 20px;
}

.vrm-form-row:last-child {
  margin-bottom: 0;
}

.vrm-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.vrm-form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.vrm-form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.vrm-form-input::placeholder {
  color: var(--text-tertiary);
}

.vrm-form-select {
  width: 100%;
  padding: 11px 14px;
  padding-right: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238B8B9E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.vrm-form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Chips */
.vrm-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vrm-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.vrm-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.vrm-chip.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Toggle group — yes/no pairs */
.vrm-toggle-group {
  display: inline-flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.vrm-toggle {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.vrm-toggle:first-child {
  border-right: 1px solid var(--border);
}

.vrm-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.vrm-toggle.selected {
  background: var(--accent);
  color: #fff;
}

/* ── Regulatory Mapping (Step 3) ─────────────────────────── */

.vrm-reg-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.vrm-reg-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.vrm-reg-card:hover {
  border-color: var(--border);
  background: var(--bg-elevated);
}

.vrm-reg-card.applicable {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.vrm-reg-card.not-applicable {
  opacity: 0.45;
}

.vrm-reg-card.not-applicable .vrm-reg-name,
.vrm-reg-card.not-applicable .vrm-reg-reason {
  text-decoration: line-through;
  text-decoration-color: var(--text-tertiary);
}

/* Checkbox area inside reg card */
.vrm-reg-card .vrm-reg-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vrm-reg-card.applicable .vrm-reg-check {
  background: var(--accent);
  border-color: var(--accent);
}

.vrm-reg-card.applicable .vrm-reg-check::after {
  content: '';
  width: 10px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  animation: vrmCheckmark 300ms ease both;
}

.vrm-reg-body {
  flex: 1;
  min-width: 0;
}

.vrm-reg-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.vrm-reg-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Regulator color variants — add per regulator in HTML via style or modifier */
.vrm-reg-badge.cma   { background: rgba(0, 196, 140, 0.12); color: var(--success); }
.vrm-reg-badge.sama  { background: rgba(46, 196, 182, 0.12); color: var(--accent-hover); }
.vrm-reg-badge.ndmo  { background: rgba(255, 185, 70, 0.12); color: var(--warning); }
.vrm-reg-badge.cst   { background: rgba(255, 107, 107, 0.12); color: var(--danger); }

.vrm-reg-reason {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 2px;
}

/* ── Loading Screen (Step 4) ─────────────────────────────── */

.vrm-loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  text-align: center;
  animation: vrmFadeIn 400ms ease both;
}

.vrm-loading-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 32px;
}

.vrm-loading-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 340px;
  text-align: left;
  margin-bottom: 40px;
}

.vrm-loading-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color var(--transition-normal);
}

.vrm-loading-step .vrm-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.vrm-loading-step.active {
  color: var(--text-primary);
}

.vrm-loading-step.active .vrm-step-icon {
  border-color: var(--accent);
}

.vrm-loading-step.active .vrm-step-icon::after {
  content: '';
  display: block;
}

.vrm-loading-step.complete {
  color: var(--success);
}

.vrm-loading-step.complete .vrm-step-icon {
  background: var(--success);
  border-color: var(--success);
}

.vrm-loading-step.complete .vrm-step-icon::after {
  content: '';
  width: 10px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  animation: vrmCheckmark 300ms ease both;
}

/* Spinner */
.vrm-loading-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: vrmSpin 0.7s linear infinite;
  flex-shrink: 0;
}

.vrm-loading-complete {
  text-align: center;
  animation: vrmFadeIn 500ms ease both;
}

.vrm-loading-complete h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.vrm-loading-complete p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ── Navigation Buttons ──────────────────────────────────── */

.vrm-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.vrm-btn-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vrm-btn-continue:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.4);
}

.vrm-btn-continue:active {
  transform: translateY(0);
}

.vrm-btn-continue:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.vrm-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vrm-btn-back:hover {
  color: var(--text-primary);
  background: var(--accent-subtle);
}

/* ─────────────────────────────────────────────────────────────
   3. VRM DASHBOARD
   ───────────────────────────────────────────────────────────── */

.vrm-dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  animation: vrmFadeIn 400ms ease both;
}

/* Company header ---------------------------------------------------- */

.vrm-company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.vrm-company-header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.vrm-company-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.vrm-company-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Module tabs -------------------------------------------------------- */

.vrm-module-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.vrm-module-tab {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  margin-bottom: -1px;
}

.vrm-module-tab:hover {
  color: var(--text-primary);
}

.vrm-module-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

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

.vrm-score-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 36px;
  margin-bottom: 32px;
}

.vrm-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 14px;
  animation: vrmScoreReveal 600ms ease both;
}

/* Gradient ring via pseudo-element */
.vrm-score-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(var(--accent) 0%, var(--border) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Score color states */
.vrm-score-circle.score-high::before   { background: conic-gradient(var(--danger) 0%, var(--danger) 40%, var(--border) 40%); }
.vrm-score-circle.score-medium::before { background: conic-gradient(var(--warning) 0%, var(--warning) 40%, var(--border) 40%); }
.vrm-score-circle.score-low::before    { background: conic-gradient(var(--success) 0%, var(--success) 40%, var(--border) 40%); }

.vrm-score-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.vrm-score-value.score-high   { color: var(--danger); }
.vrm-score-value.score-medium { color: var(--warning); }
.vrm-score-value.score-low    { color: var(--success); }

.vrm-score-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Category Cards Grid ─────────────────────────────────── */

.vrm-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.vrm-cat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vrm-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.vrm-cat-score {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.vrm-cat-score.score-high   { color: var(--danger); }
.vrm-cat-score.score-medium { color: var(--warning); }
.vrm-cat-score.score-low    { color: var(--success); }

.vrm-cat-name {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vrm-cat-count {
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.vrm-cat-preview {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* ── Compliance Table ────────────────────────────────────── */

.vrm-compliance-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.vrm-compliance-table thead {
  background: var(--bg-elevated);
}

.vrm-compliance-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.vrm-compliance-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-subtle);
}

.vrm-compliance-table tbody tr {
  transition: background var(--transition-fast);
}

.vrm-compliance-table tbody tr:hover {
  background: var(--accent-subtle);
}

.vrm-compliance-table tbody tr:last-child td {
  border-bottom: none;
}

.vrm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
}

.vrm-status-badge.compliant {
  background: var(--success-bg);
  color: var(--success);
}

.vrm-status-badge.partial {
  background: var(--warning-bg);
  color: var(--warning);
}

.vrm-status-badge.non-compliant {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ── Top Risks List ──────────────────────────────────────── */

.vrm-risk-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.vrm-risk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vrm-risk-item:hover {
  border-color: var(--border);
  background: var(--bg-elevated);
}

.vrm-risk-item.expanded {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.vrm-risk-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.vrm-risk-item.expanded .vrm-risk-rank {
  background: var(--accent);
  color: #fff;
}

.vrm-risk-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vrm-risk-score {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.vrm-risk-score.score-high {
  background: var(--danger-bg);
  color: var(--danger);
}

.vrm-risk-score.score-medium {
  background: var(--warning-bg);
  color: var(--warning);
}

.vrm-risk-score.score-low {
  background: var(--success-bg);
  color: var(--success);
}

/* Expand detail area */
.vrm-risk-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 18px;
  background: var(--bg-surface);
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: -8px;
  margin-bottom: 8px;
}

.vrm-risk-item.expanded + .vrm-risk-detail {
  max-height: 300px;
  padding: 16px 18px;
  border-color: var(--accent);
  border-top: 1px solid var(--border-subtle);
}

/* ── Action Plan Grid ────────────────────────────────────── */

.vrm-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.vrm-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vrm-action-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.vrm-action-priority {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  width: fit-content;
}

.vrm-action-priority.critical {
  background: var(--danger-bg);
  color: var(--danger);
}

.vrm-action-priority.high {
  background: var(--warning-bg);
  color: var(--warning);
}

.vrm-action-priority.medium {
  background: var(--accent-glow);
  color: var(--accent-hover);
}

.vrm-action-priority.low {
  background: var(--success-bg);
  color: var(--success);
}

.vrm-action-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.vrm-action-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: auto;
}

.vrm-action-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ─────────────────────────────────────────────────────────────
   4. SECTION HEADERS  (reusable)
   ───────────────────────────────────────────────────────────── */

.vrm-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.vrm-section-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.vrm-section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--transition-fast);
}

.vrm-section-link:hover {
  color: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────
   5. RESPONSIVE
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .vrm-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    width: 340px;
  }
}

@media (max-width: 768px) {
  .vrm-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vrm-connect-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .vrm-action-grid {
    grid-template-columns: 1fr;
  }

  .vrm-onboarding {
    padding: 32px 16px 60px;
  }

  .vrm-dashboard {
    padding: 24px 16px 60px;
  }

  .product-selector-grid {
    /* Keep cards side-by-side at most viewports; only stack below 640px */
  }

  .product-card {
    width: 340px;
  }

  .vrm-company-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vrm-module-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vrm-nav-buttons {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .vrm-nav-buttons .vrm-btn-continue {
    width: 100%;
  }

  .vrm-nav-buttons .vrm-btn-back {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .product-selector-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .vrm-cat-grid {
    grid-template-columns: 1fr;
  }

  .vrm-step-labels {
    display: none;
  }

  .vrm-score-circle {
    width: 100px;
    height: 100px;
  }

  .vrm-score-value {
    font-size: 28px;
  }
}

/* ============================================================
   ===== LANDING PAGE =====
   Riscora marketing landing — Mizan.cash-inspired.
   Always light-themed; lives outside the dark app shell.
   ============================================================ */

.landing-page {
  /* Local design tokens — independent of app dark theme */
  --l-bg:        #FFFFFF;
  --l-bg-alt:    #F4F6FA;
  --l-ink:       #0F111C;
  --l-ink-2:     #4A4F61;
  --l-ink-3:     #7B8094;
  --l-border:    #E5E7EE;
  --l-mint:      #2EC4B6;
  --l-mint-dk:   #25A89C;
  --l-mint-bg:   rgba(46, 196, 182, 0.10);
  --l-purple-1:  #4F46A8;
  --l-purple-2:  #6754B5;
  --l-amber:     #E5A230;
  --l-amber-bg:  rgba(229, 162, 48, 0.12);
  --l-red:       #D94343;
  --l-red-bg:    rgba(217, 67, 67, 0.10);
  --l-yellow-bg: rgba(229, 162, 48, 0.10);
  --l-green-bg:  rgba(46, 196, 182, 0.10);
  --l-navy:      #0F111C;

  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--l-bg);
  color: var(--l-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  z-index: 100;
  -webkit-font-smoothing: antialiased;
}

/* Force light surfaces inside the landing page regardless of app theme */
[data-theme="light"] .landing-page,
.landing-page { color-scheme: light; }

.landing-page * { box-sizing: border-box; }

.landing-page a { color: inherit; text-decoration: none; }

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.landing-narrow {
  max-width: 880px;
}

/* ── Wordmark ─────────────────────────────────────────────── */

.landing-wordmark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--l-ink);
}

.landing-wordmark-dot {
  color: var(--l-mint);
}

/* ── Top nav ──────────────────────────────────────────────── */

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--l-border);
}

.landing-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.landing-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-ink-2);
  transition: color 150ms ease;
}

.landing-nav-links a:hover {
  color: var(--l-ink);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-lang-toggle {
  display: inline-flex;
  background: var(--l-bg-alt);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--l-border);
}

.landing-lang-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--l-ink-3);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 150ms ease;
}

.landing-lang-btn.is-active {
  background: var(--l-ink);
  color: #fff;
  box-shadow: 0 1px 3px rgba(15, 17, 28, 0.18);
}

.landing-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-ink-2);
  cursor: pointer;
}

.landing-signin:hover { color: var(--l-ink); }

/* ── CTAs ─────────────────────────────────────────────────── */

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 200ms ease, background 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}

.landing-cta-primary {
  background: var(--l-mint);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 17, 28, 0.08), 0 4px 12px rgba(46, 196, 182, 0.30);
}

.landing-cta-primary:hover {
  background: var(--l-mint-dk);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15, 17, 28, 0.10), 0 8px 18px rgba(46, 196, 182, 0.40);
}

.landing-cta-ghost {
  background: transparent;
  color: var(--l-ink);
  border-color: var(--l-border);
}

.landing-cta-ghost:hover {
  background: var(--l-bg-alt);
  border-color: #D3D6E0;
}

.landing-cta-invert {
  background: #fff;
  color: var(--l-mint-dk);
}

.landing-cta-invert:hover {
  background: #F4F6FA;
  transform: translateY(-1px);
}

.landing-cta-lg {
  font-size: 15px;
  padding: 14px 26px;
}

.landing-cta-block {
  width: 100%;
  padding: 14px 22px;
  margin-top: 8px;
}

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

.landing-hero {
  padding: 96px 0 104px;
  background: var(--l-bg);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.landing-hero-copy { max-width: 560px; }

.landing-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l-mint-dk);
  margin-bottom: 22px;
}

.landing-headline {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--l-ink);
  margin: 0 0 24px;
}

.landing-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--l-ink-2);
  margin: 0 0 32px;
}

.landing-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.landing-trust {
  font-size: 13px;
  color: var(--l-ink-3);
  margin: 0;
}

/* ── Hero browser mockup ──────────────────────────────────── */

.landing-hero-visual {
  position: relative;
}

.landing-browser {
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(15, 17, 28, 0.18), 0 4px 12px rgba(15, 17, 28, 0.04);
  overflow: hidden;
  transform: translateY(0);
  animation: vrmFadeIn 600ms ease both;
}

.landing-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #F8F9FC;
  border-bottom: 1px solid var(--l-border);
}

.landing-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.landing-browser-url {
  flex: 1;
  margin-left: 12px;
  font-size: 12px;
  color: var(--l-ink-3);
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 6px;
  padding: 4px 10px;
  text-align: center;
  font-family: 'Inter', monospace;
}

.landing-browser-body {
  padding: 22px;
  background: #fff;
}

.landing-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.landing-mock-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--l-ink);
}

.landing-mock-subtitle {
  font-size: 11px;
  color: var(--l-ink-3);
  margin-top: 2px;
}

.landing-mock-pill {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--l-mint-bg);
  color: var(--l-mint-dk);
  padding: 4px 8px;
  border-radius: 999px;
}

.landing-mock-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.landing-mock-tile {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--l-border);
  background: #fff;
}

.landing-mock-tile-top {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--l-ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-mock-dot { font-size: 14px; line-height: 1; }

.landing-tile-high  { background: var(--l-red-bg); }
.landing-tile-high  .landing-mock-dot { color: var(--l-red); }
.landing-tile-med   { background: var(--l-yellow-bg); }
.landing-tile-med   .landing-mock-dot { color: var(--l-amber); }
.landing-tile-ok    { background: var(--l-green-bg); }
.landing-tile-ok    .landing-mock-dot { color: var(--l-mint-dk); }

.landing-mock-tile-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--l-ink);
  margin: 4px 0 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

.landing-mock-tile-label {
  font-size: 10px;
  color: var(--l-ink-3);
  margin-top: 4px;
}

.landing-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--l-border);
  background: #FCFCFE;
  margin-bottom: 12px;
}

.landing-mock-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--l-red-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-mock-row-text { flex: 1; min-width: 0; }

.landing-mock-row-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--l-ink);
}

.landing-mock-row-meta {
  font-size: 11px;
  color: var(--l-ink-3);
}

.landing-mock-apply {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  background: var(--l-mint);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease;
}
.landing-mock-apply:hover { background: var(--l-mint-dk); }

.landing-mock-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(46,196,182,0.10), rgba(79,70,168,0.06));
  border: 1px solid rgba(46,196,182,0.20);
  font-size: 13px;
  color: var(--l-ink);
}

.landing-mock-bolt { font-size: 16px; }

/* ── Pain stat ────────────────────────────────────────────── */

.landing-pain {
  background: var(--l-bg-alt);
  padding: 100px 0;
  text-align: center;
}

.landing-pain-headline {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--l-ink);
  margin: 0 0 22px;
}

.landing-pain-sub {
  font-size: 18px;
  color: var(--l-ink-2);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Outcome cards ────────────────────────────────────────── */

.landing-outcomes {
  padding: 100px 0;
  background: var(--l-bg);
}

.landing-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-outcome-card {
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.landing-outcome-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(15, 17, 28, 0.10);
  border-color: #D3D6E0;
}

.landing-outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.landing-outcome-icon-teal {
  background: var(--l-mint-bg);
  color: var(--l-mint-dk);
}
.landing-outcome-icon-purple {
  background: rgba(79, 70, 168, 0.10);
  color: var(--l-purple-1);
}
.landing-outcome-icon-amber {
  background: var(--l-amber-bg);
  color: var(--l-amber);
}

.landing-outcome-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--l-ink);
  margin: 0 0 10px;
}

.landing-outcome-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--l-ink-2);
  margin: 0;
}

/* ── Live insight ─────────────────────────────────────────── */

.landing-insight {
  background: linear-gradient(135deg, var(--l-purple-1) 0%, var(--l-purple-2) 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-insight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46,196,182,0.18), transparent 50%);
  pointer-events: none;
}

.landing-insight > * { position: relative; }

.landing-insight-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.landing-insight-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
}

.landing-insight-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 28px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.landing-insight-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.landing-sparkle { color: var(--l-mint); }

.landing-insight-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.75);
}

.landing-insight-quote {
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
  color: #fff;
  margin: 0;
}

/* ── How it works ─────────────────────────────────────────── */

.landing-how {
  padding: 100px 0;
  background: var(--l-bg);
}

.landing-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.landing-section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--l-ink);
  margin: 0 0 12px;
}

.landing-section-sub {
  font-size: 17px;
  color: var(--l-ink-2);
  margin: 0;
}

.landing-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.landing-how-step { text-align: left; }

.landing-how-num {
  font-size: 64px;
  font-weight: 700;
  color: var(--l-mint);
  opacity: 0.30;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}

.landing-how-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--l-ink);
  margin: 0 0 10px;
}

.landing-how-body {
  font-size: 15px;
  color: var(--l-ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ── Industries ───────────────────────────────────────────── */

.landing-industries {
  padding: 100px 0;
  background: var(--l-bg-alt);
}

.landing-industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.landing-industry-card {
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 16px;
  padding: 36px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.landing-industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(15, 17, 28, 0.08);
}

.landing-industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--l-mint-bg);
  color: var(--l-mint-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.landing-industry-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--l-ink);
  margin: 0 0 12px;
}

.landing-industry-body {
  font-size: 15px;
  color: var(--l-ink-2);
  line-height: 1.55;
  margin: 0 0 20px;
}

.landing-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--l-ink-2);
  background: var(--l-bg-alt);
  border: 1px solid var(--l-border);
  border-radius: 999px;
  padding: 5px 11px;
}

/* ── Pricing ──────────────────────────────────────────────── */

.landing-pricing {
  padding: 100px 0;
  background: var(--l-bg);
}

.landing-price-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 18px 40px -16px rgba(15, 17, 28, 0.10);
  position: relative;
}

.landing-price-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--l-mint-bg);
  color: var(--l-mint-dk);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.landing-price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.landing-price-currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--l-ink-2);
}

.landing-price-num {
  font-size: 64px;
  font-weight: 700;
  color: var(--l-ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.landing-price-period {
  font-size: 14px;
  color: var(--l-ink-3);
  margin-bottom: 28px;
}

.landing-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.landing-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--l-ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--l-border);
}

.landing-price-features li:last-child { border-bottom: 0; }

.landing-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--l-mint-bg);
  color: var(--l-mint-dk);
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.landing-price-footnote {
  font-size: 13px;
  color: var(--l-ink-3);
  text-align: center;
  margin: 24px 0 0;
}

/* ── Testimonial ──────────────────────────────────────────── */

.landing-quote {
  padding: 100px 0;
  background: var(--l-bg);
}

.landing-quote-inner {
  text-align: center;
}

.landing-quote-mark {
  color: var(--l-mint);
  opacity: 0.55;
  margin-bottom: 18px;
}

.landing-quote-text {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--l-ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.landing-quote-attr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--l-ink-2);
}

.landing-quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--l-mint);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-quote-name strong { color: var(--l-ink); font-weight: 600; }

/* ── Final CTA ────────────────────────────────────────────── */

.landing-final {
  background: linear-gradient(135deg, var(--l-purple-1) 0%, var(--l-purple-2) 100%);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(46,196,182,0.20), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}

.landing-final > * { position: relative; }

.landing-final-headline {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}

.landing-final-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
}

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

.landing-footer {
  background: #0B0D17;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.landing-footer-wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}

.landing-footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 240px;
}

.landing-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #fff;
  margin: 0 0 16px;
}

.landing-footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.60);
  padding: 6px 0;
  cursor: pointer;
  transition: color 150ms ease;
}

.landing-footer-col a:hover { color: #fff; }

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}

.landing-footer-social {
  display: flex;
  gap: 12px;
}

.landing-footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}

.landing-footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .landing-hero {
    padding: 64px 0 72px;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .landing-hero-copy {
    text-align: left;
    max-width: none;
  }

  .landing-pain,
  .landing-outcomes,
  .landing-insight,
  .landing-how,
  .landing-industries,
  .landing-pricing,
  .landing-quote,
  .landing-final {
    padding: 72px 0;
  }

  .landing-outcome-grid,
  .landing-how-grid,
  .landing-industry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .landing-container { padding: 0 20px; }

  .landing-nav-inner { padding: 14px 20px; }

  .landing-nav-links { display: none; }

  .landing-signin { display: none; }

  .landing-hero {
    padding: 48px 0 64px;
  }

  .landing-pain,
  .landing-outcomes,
  .landing-insight,
  .landing-how,
  .landing-industries,
  .landing-pricing,
  .landing-quote,
  .landing-final {
    padding: 60px 0;
  }

  .landing-section-head { margin-bottom: 40px; }

  .landing-mock-tiles { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .landing-mock-tile { padding: 10px; }
  .landing-mock-tile-num { font-size: 22px; }
  .landing-mock-row { flex-wrap: wrap; }
  .landing-mock-apply { width: 100%; padding: 8px 14px; }

  .landing-outcome-card,
  .landing-industry-card { padding: 26px; }

  .landing-price-card { padding: 32px 24px; }

  .landing-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .landing-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .landing-cta-row { flex-direction: column; align-items: stretch; }
  .landing-cta-row .landing-cta { width: 100%; }
}

/* Smooth scroll for in-page anchors */
.landing-page { scroll-behavior: smooth; }

/* ============================================================
   Real Google sign-in + real-scan flow (onboarding + dashboard)
   ============================================================ */

/* "Or skip the demo" divider + button container */
.vrm-real-demo-block {
  margin: 32px 0 8px;
  text-align: center;
}
.vrm-step-or {
  font-size: 13.5px;
  color: var(--text-secondary, #6B7080);
  margin: 24px 0 12px;
  position: relative;
  display: inline-block;
  padding: 0 16px;
}
.vrm-step-or::before,
.vrm-step-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--border-subtle, #E5E7EE);
}
.vrm-step-or::before { right: 100%; }
.vrm-step-or::after  { left:  100%; }

.vrm-google-signin-wrap {
  display: flex;
  justify-content: center;
  margin: 0;
}

.vrm-google-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #FFFFFF;
  color: #1F1F1F;
  border: 1.5px solid #DADCE0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  margin: 16px 0;
}
.vrm-google-signin-btn:hover {
  background: #F8F9FA;
  border-color: #C5C9D1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.vrm-google-signin-btn:active {
  transform: translateY(1px);
}
.vrm-google-signin-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.35);
}
.vrm-google-signin-btn svg {
  flex-shrink: 0;
}

.vrm-real-demo-note {
  font-size: 12px;
  color: var(--text-tertiary, #8B8B9E);
  max-width: 480px;
  margin: 8px auto 0;
  line-height: 1.5;
}

/* ── Connected state: ready to scan ───────────────────────── */
.vrm-connected-panel {
  background: var(--bg-surface, #FFFFFF);
  border: 1.5px solid var(--border, #E5E7EE);
  border-radius: 16px;
  padding: 28px;
  margin: 8px 0 16px;
  box-shadow: 0 1px 3px rgba(15, 17, 28, 0.04);
}

.vrm-connected-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle, #EEF0F4);
  margin-bottom: 20px;
}
.vrm-connected-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F4F5F8;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid #E5E7EE;
}
.vrm-connected-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 182, 0.10);
  color: var(--accent, #2EC4B6);
  font-size: 20px;
  font-weight: 700;
}
.vrm-connected-info {
  flex: 1;
  min-width: 0;
}
.vrm-connected-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, #1A1B26);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vrm-connected-email {
  font-size: 13px;
  color: var(--text-secondary, #6B7080);
  overflow: hidden;
  text-overflow: ellipsis;
}
.vrm-connected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 196, 140, 0.10);
  color: #00A276;
  border: 1px solid rgba(0, 196, 140, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.vrm-connected-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00C48C;
  box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.18);
  animation: vrmRealLivePulse 2s ease-in-out infinite;
}
@keyframes vrmRealLivePulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.vrm-connected-explain {
  font-size: 13.5px;
  color: var(--text-secondary, #4F5468);
  line-height: 1.6;
  margin-bottom: 24px;
}

.vrm-connected-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.vrm-connected-actions .vrm-continue-btn {
  margin-top: 0;
}

.vrm-disconnect-btn {
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 12.5px;
  color: var(--text-tertiary, #8B8B9E);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  transition: color 0.2s ease;
}
.vrm-disconnect-btn:hover {
  color: var(--text-secondary, #6B7080);
}
.vrm-disconnect-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── Real scan loading state ──────────────────────────────── */
.vrm-real-scan {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 360px;
}

.vrm-real-scan-spinner {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 32px;
}
.vrm-real-scan-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(46, 196, 182, 0.18);
  border-top-color: var(--accent, #2EC4B6);
  animation: vrmRealScanSpin 1s linear infinite;
}
.vrm-real-scan-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.18) 0%, transparent 70%);
  animation: vrmRealScanGlow 2.5s ease-in-out infinite;
}
@keyframes vrmRealScanSpin {
  to { transform: rotate(360deg); }
}
@keyframes vrmRealScanGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

.vrm-real-scan-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #1A1B26);
  margin-bottom: 8px;
}
.vrm-real-scan-user {
  font-size: 13px;
  color: var(--text-tertiary, #8B8B9E);
  margin-bottom: 20px;
}
.vrm-real-scan-user strong {
  color: var(--text-secondary, #4F5468);
  font-weight: 600;
}
.vrm-real-scan-message {
  font-size: 15px;
  color: var(--accent, #2EC4B6);
  font-weight: 500;
  margin-bottom: 12px;
  min-height: 22px;
  transition: opacity 0.3s ease;
}
.vrm-real-scan-hint {
  font-size: 12.5px;
  color: var(--text-tertiary, #8B8B9E);
  margin-bottom: 16px;
  max-width: 380px;
  line-height: 1.5;
}

.vrm-real-scan-error {
  margin-top: 24px;
  background: rgba(255, 107, 107, 0.05);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 480px;
  text-align: left;
}
.vrm-real-scan-error-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--danger, #D14343);
  margin-bottom: 6px;
}
.vrm-real-scan-error-msg {
  font-size: 13px;
  color: var(--text-secondary, #4F5468);
  line-height: 1.6;
  margin-bottom: 16px;
  word-break: break-word;
}
.vrm-real-scan-error-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.vrm-real-scan-error-actions .vrm-continue-btn {
  margin-top: 0;
  padding: 10px 22px;
  font-size: 14px;
}

/* ── Dashboard: real-data banner + structured findings section ── */
.vrm-dash-real-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(0, 196, 140, 0.08);
  border: 1px solid rgba(0, 196, 140, 0.25);
  border-radius: 12px;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-primary, #1A1B26);
  flex-wrap: wrap;
}
.vrm-dash-real-banner svg {
  flex-shrink: 0;
  color: #00A276;
}
.vrm-dash-real-banner-text {
  flex: 1;
  min-width: 240px;
  line-height: 1.6;
}
.vrm-dash-real-banner-text strong {
  color: var(--text-primary, #1A1B26);
  font-weight: 600;
}
.vrm-dash-real-banner-sep {
  margin: 0 6px;
  color: var(--text-tertiary, #8B8B9E);
}
.vrm-dash-real-banner-time {
  color: var(--text-secondary, #6B7080);
}
.vrm-dash-disconnect-link {
  background: none;
  border: none;
  padding: 4px 0;
  margin-left: auto;
  font-size: 12px;
  color: var(--text-secondary, #6B7080);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.vrm-dash-disconnect-link:hover {
  color: var(--accent, #2EC4B6);
}
.vrm-dash-disconnect-link:disabled {
  opacity: 0.5;
  cursor: default;
}

.vrm-real-findings-section {
  margin-top: 8px;
}

.vrm-real-findings-fallback {
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border, #E5E7EE);
  border-radius: 12px;
  padding: 20px;
}
.vrm-real-findings-fallback h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-primary, #1A1B26);
}
.vrm-real-findings-fallback-pre,
.vrm-real-findings-fallback pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 12.5px;
  color: var(--text-secondary, #4F5468);
  background: var(--bg-input, #F4F5F8);
  padding: 16px;
  border-radius: 8px;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .vrm-google-signin-btn {
    width: 100%;
    justify-content: center;
  }
  .vrm-step-or::before,
  .vrm-step-or::after {
    width: 40px;
  }
  .vrm-connected-user {
    flex-wrap: wrap;
  }
  .vrm-connected-badge {
    margin-left: auto;
  }
  .vrm-dash-real-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .vrm-dash-disconnect-link {
    margin-left: 0;
  }
  .vrm-real-scan-error-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .vrm-real-scan-error-actions .vrm-continue-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   LANDING — "Not ready?" Express Interest section
   Inserted between Pricing and Testimonial. Light gray block
   matching other secondary sections.
   ============================================================ */

.landing-express-interest {
  background: var(--l-bg-alt);
  padding: 80px 0;
}

.landing-express-interest-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.landing-express-interest-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l-mint-dk);
  margin-bottom: 14px;
}

.landing-express-interest-headline {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--l-ink);
  margin: 0 0 14px;
}

.landing-express-interest-sub {
  font-size: 16px;
  color: var(--l-ink-2);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.55;
}

.landing-express-interest-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-express-interest-input {
  flex: 1 1 260px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  color: var(--l-ink);
  background: #fff;
  border: 1px solid var(--l-border);
  border-radius: 999px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.landing-express-interest-input::placeholder {
  color: var(--l-ink-3);
}

.landing-express-interest-input:focus {
  border-color: var(--l-mint);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.18);
}

.landing-express-interest-input.is-invalid {
  border-color: var(--l-red);
  box-shadow: 0 0 0 3px rgba(217, 67, 67, 0.14);
}

.landing-express-interest-btn {
  height: 52px;
  padding: 0 24px;
  font-size: 15px;
  flex-shrink: 0;
}

.landing-express-interest-micro {
  font-size: 12.5px;
  color: var(--l-ink-3);
  margin: 0;
}

.landing-express-interest-error {
  font-size: 13px;
  color: var(--l-red);
  margin: 8px 0 0;
  min-height: 18px;
}

.landing-express-interest-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid rgba(46, 196, 182, 0.30);
  border-radius: 14px;
  box-shadow: 0 8px 24px -10px rgba(15, 17, 28, 0.08);
}

.landing-express-interest-success.is-visible {
  display: flex;
  animation: vrmFadeIn 320ms ease both;
}

.landing-express-interest-success-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--l-mint);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-express-interest-success-text {
  text-align: left;
}

.landing-express-interest-success-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--l-ink);
  margin: 0 0 2px;
}

.landing-express-interest-success-sub {
  font-size: 13px;
  color: var(--l-ink-2);
  margin: 0;
}

@media (max-width: 600px) {
  .landing-express-interest {
    padding: 56px 0;
  }
  .landing-express-interest-form {
    flex-direction: column;
    gap: 10px;
  }
  .landing-express-interest-input,
  .landing-express-interest-btn {
    width: 100%;
  }
}

/* ============================================================
   "MEET RISK" — floating chat widget
   Lives on the landing page only. Sits above all other content.
   ============================================================ */

.meetrisk-root {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0F111C;
  -webkit-font-smoothing: antialiased;
}

/* ── Bubble ─────────────────────────────────────────────────── */

.meetrisk-bubble {
  position: relative;
  width: auto;
  min-height: 56px;
  border-radius: 32px;
  background: #2EC4B6;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 0 12px;
  box-shadow: 0 8px 24px rgba(46, 196, 182, 0.50),
              0 2px 6px rgba(15, 17, 28, 0.12);
  transition: transform 180ms ease, box-shadow 200ms ease, background 150ms ease;
  font-family: inherit;
}

.meetrisk-bubble:hover {
  transform: translateY(-2px) scale(1.04);
  background: #25A89C;
  box-shadow: 0 10px 28px rgba(46, 196, 182, 0.55),
              0 2px 6px rgba(15, 17, 28, 0.14);
}

.meetrisk-bubble:active {
  transform: translateY(0) scale(1);
}

.meetrisk-bubble-icon {
  display: block;
  pointer-events: none;
}

/* Mini hover-tooltip ("Meet Risk" label) */
.meetrisk-bubble-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0F111C;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: 0 4px 12px rgba(15, 17, 28, 0.18);
}

.meetrisk-bubble-label::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #0F111C;
}

.meetrisk-bubble:hover .meetrisk-bubble-label,
.meetrisk-bubble:focus-visible .meetrisk-bubble-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* When panel is open, hide the bubble so the panel sits alone */
.meetrisk-is-open .meetrisk-bubble {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 160ms ease, transform 160ms ease;
}

/* ── New pill structure (icon + two-line label, always visible) ─── */

.meetrisk-bubble-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.meetrisk-bubble-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.meetrisk-bubble-text-primary {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.meetrisk-bubble-text-secondary {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 2px;
}

/* First-visit intro pulse — 3 cycles, then JS strips the class.
   Subtle outward ripple to draw the eye without being annoying. */
.meetrisk-bubble.meetrisk-bubble-pulse {
  animation: meetriskIntroPulse 1.4s ease-out 3;
}

@keyframes meetriskIntroPulse {
  0% {
    box-shadow: 0 8px 24px rgba(46, 196, 182, 0.50),
                0 0 0 0 rgba(46, 196, 182, 0.55);
  }
  70% {
    box-shadow: 0 8px 24px rgba(46, 196, 182, 0.50),
                0 0 0 22px rgba(46, 196, 182, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(46, 196, 182, 0.50),
                0 0 0 0 rgba(46, 196, 182, 0);
  }
}

/* ── Panel ──────────────────────────────────────────────────── */

.meetrisk-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 380px;
  height: 520px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E7EE;
  box-shadow: 0 20px 60px -12px rgba(15, 17, 28, 0.30),
              0 6px 20px rgba(15, 17, 28, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.meetrisk-is-open .meetrisk-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Header ─────────────────────────────────────────────────── */

.meetrisk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #2EC4B6 0%, #25A89C 100%);
  color: #fff;
  flex-shrink: 0;
}

.meetrisk-head-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.meetrisk-head-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.meetrisk-head-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.meetrisk-head-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.meetrisk-head-sub {
  font-size: 11.5px;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  margin-top: 2px;
}

.meetrisk-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C8FFE8;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.30);
}

.meetrisk-head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meetrisk-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.10);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease;
}

.meetrisk-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Messages ───────────────────────────────────────────────── */

.meetrisk-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  background: #FAFBFE;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meetrisk-msg {
  display: flex;
  width: 100%;
}

.meetrisk-msg-ai {
  justify-content: flex-start;
}

.meetrisk-msg-user {
  justify-content: flex-end;
}

.meetrisk-bubble-msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.meetrisk-msg-ai .meetrisk-bubble-msg {
  background: #F1F2F6;
  color: #0F111C;
  border-bottom-left-radius: 4px;
}

.meetrisk-msg-user .meetrisk-bubble-msg {
  background: #2EC4B6;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.meetrisk-msg-error .meetrisk-bubble-msg {
  background: rgba(217, 67, 67, 0.10);
  color: #B43030;
  border: 1px solid rgba(217, 67, 67, 0.25);
}

/* Typing indicator (three bouncing dots) */
.meetrisk-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 18px;
}

.meetrisk-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8B8B9E;
  animation: meetriskBounce 1.1s infinite ease-in-out;
}

.meetrisk-typing span:nth-child(2) { animation-delay: 0.15s; }
.meetrisk-typing span:nth-child(3) { animation-delay: 0.30s; }

@keyframes meetriskBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

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

.meetrisk-chips-wrap {
  flex-shrink: 0;
  padding: 10px 14px 8px;
  border-top: 1px solid #EEF0F5;
  background: #fff;
}

.meetrisk-chips-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #7B8094;
  margin-bottom: 6px;
}

.meetrisk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 88px;
  overflow-y: auto;
}

.meetrisk-chip {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  background: #F1F2F6;
  color: #4A4F61;
  border: 1px solid transparent;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}

.meetrisk-chip:hover {
  background: rgba(46, 196, 182, 0.12);
  color: #25A89C;
  border-color: rgba(46, 196, 182, 0.30);
}

.meetrisk-chip:active {
  transform: scale(0.97);
}

.meetrisk-chip.is-disabled,
.meetrisk-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Compose ────────────────────────────────────────────────── */

.meetrisk-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid #EEF0F5;
  flex-shrink: 0;
}

.meetrisk-input {
  flex: 1;
  resize: none;
  min-height: 38px;
  max-height: 96px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.4;
  color: #0F111C;
  background: #F4F5F8;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.meetrisk-input::placeholder {
  color: #8B8B9E;
}

.meetrisk-input:focus {
  background: #fff;
  border-color: #2EC4B6;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.16);
}

.meetrisk-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.meetrisk-send {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #2EC4B6;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 140ms ease, transform 140ms ease;
}

.meetrisk-send:hover:not(:disabled) {
  background: #25A89C;
}

.meetrisk-send:active:not(:disabled) {
  transform: scale(0.96);
}

.meetrisk-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Mobile ─────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .meetrisk-root {
    right: 12px;
    bottom: 12px;
  }
  .meetrisk-is-open {
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    position: fixed;
  }
  .meetrisk-is-open .meetrisk-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: 0;
  }
}

/* Ensure prefers-reduced-motion users don't get the bounce */
@media (prefers-reduced-motion: reduce) {
  .meetrisk-bubble,
  .meetrisk-panel,
  .meetrisk-typing span {
    animation: none;
    transition: none;
  }
}
