/* AntiFraud Academy — Practicum-inspired */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --bg-soft: #eef2ff;
  --bg-dark: #050b1b;
  --bg-dark-soft: #0a1428;
  --border: #e4e8f0;
  --border-strong: #cdd5e3;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --brand: #2d68ff;
  --brand-hover: #1f54e0;
  --brand-soft: rgba(45, 104, 255, 0.1);
  --accent: #ffdb4d;
  --accent-hover: #ffd21f;
  --primary: #2d68ff;
  --primary-hover: #1f54e0;
  --success: #059669;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --orange: #ea580c;
  --orange-bg: #fff7ed;
  --container: 1140px;
  --gap: 24px;
  --section: 104px;
  --radius: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 2px 8px rgba(45, 104, 255, 0.1);
  --header-h: 68px;
  --transition: 0.18s ease;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.logo__img {
  display: block;
  flex-shrink: 0;
  width: auto;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.logo__img--full {
  height: 48px;
  max-width: min(300px, 52vw);
}

.logo__img--mark {
  display: none;
  height: 34px;
  width: auto;
}

.logo:hover { opacity: 0.92; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__list a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.lang-btn {
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--bg-alt);
  color: var(--text);
}

.lang-btn + .lang-btn { border-left: 1px solid var(--border); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__list a { padding: 14px 12px; font-size: 17px; }

  .header__actions {
    margin-top: auto;
    justify-content: space-between;
  }

  .header__actions .btn { flex: 1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.15s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-alt);
}

.btn--accent {
  background: var(--accent);
  color: var(--text);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--text);
}

.btn--block { width: 100%; }

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--soft {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section__header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--accent);
  border-radius: 999px;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section__subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(45, 104, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(45, 104, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #fafbff 0%, var(--bg) 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px 64px;
  align-items: center;
  margin-bottom: 56px;
}

.hero__content {
  max-width: 640px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  box-shadow: none;
}

.hero__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(180px, 42vw);
  max-height: min(160px, 36vw);
  object-fit: contain;
  object-position: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.hero__visual-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero__visual-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__visual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.hero__visual-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero__visual-metrics li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.hero__visual-metrics strong {
  font-weight: 600;
  color: var(--text);
}

.hero__visual-metrics span {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.hero__sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.hero__sector {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero__title-accent {
  color: var(--brand);
}

.hero__subtitle {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 640px;
}

.hero__audience {
  margin: 0 0 0;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__highlights li {
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.hero__highlights li:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.hero__highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__highlights span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__logo {
    max-width: min(150px, 38vw);
    max-height: min(130px, 32vw);
  }
}

@media (max-width: 480px) {
  .hero__visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__highlights { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Grid */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px;
}

.card__cover {
  position: relative;
  height: 148px;
  background: #141c2b;
  overflow: hidden;
}

.card__cover--audit {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
}

.card__cover--train {
  background: linear-gradient(135deg, #050b1b 0%, #1e40af 60%, #3b82f6 100%);
}

/* Sumsub-inspired cover headers */
.card__cover[class*="card__cover--sumsub"] {
  background: linear-gradient(160deg, #0c1222 0%, #141c2b 45%, #1a2744 100%);
}

.card__cover[class*="card__cover--sumsub"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(45, 104, 255, 0.18) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  pointer-events: none;
}

.cover-mock {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.card__cover--sumsub-verify .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 36px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  box-shadow: inset 0 0 0 2px #94a3b8;
}

.card__cover--sumsub-verify .cover-mock::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
}

.card__cover--sumsub-payments .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2d68ff 0%, #5b8cff 100%);
}

.card__cover--sumsub-payments .cover-mock::after {
  content: "";
  position: absolute;
  left: 76px;
  top: 22px;
  right: 16px;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  box-shadow: 0 16px 0 #f1f5f9, 0 32px 0 #e2e8f0;
}

.card__cover--sumsub-rules .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 20px;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}

.card__cover--sumsub-rules .cover-mock::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 72%, #e2e8f0 72%);
}

.card__cover--sumsub-team .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: 32px 0 0 #94a3b8, 64px 0 0 #64748b, 96px 0 0 #cbd5e1;
}

.card__cover--sumsub-team .cover-mock::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 8px;
  border-radius: 4px;
  background: var(--success-bg);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.3);
}

.card__cover--sumsub-train .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 40px;
  height: 32px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--brand) 0%, #1f54e0 100%);
}

.card__cover--sumsub-train .cover-mock::after {
  content: "";
  position: absolute;
  left: 68px;
  top: 22px;
  right: 16px;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  box-shadow: 0 14px 0 #f1f5f9, 0 28px 0 #e2e8f0;
}

.card__cover--sumsub-audit .cover-mock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--brand);
  background: var(--brand-soft);
}

.card__cover--sumsub-audit .cover-mock::after {
  content: "";
  position: absolute;
  left: 44px;
  top: 20px;
  right: 16px;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  box-shadow: 0 14px 0 #f1f5f9, 0 28px 0 #e2e8f0;
}

/* Interactive cards */
.card--service .card-title,
.card--course .card-title {
  margin: 0 0 12px;
  font-size: 22px;
}

.card--interactive.is-expanded {
  box-shadow: var(--shadow);
  transform: none;
}

.card--interactive:hover {
  transform: translateY(-2px);
}

.service-card__toggle,
.course-card__toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: color var(--transition);
}

.service-card__toggle:hover,
.course-card__toggle:hover {
  color: var(--brand);
}

.service-card__toggle-text,
.course-card__toggle-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.service-card__toggle .card-title,
.course-card__toggle .card-title {
  margin: 0;
}

.expand-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.service-card__chevron,
.course-card__chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--brand-soft);
  position: relative;
  transition: transform 0.28s ease, background var(--transition);
}

.service-card__chevron::before,
.course-card__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.28s ease;
}

.card.is-expanded .service-card__chevron,
.card.is-expanded .course-card__chevron {
  background: var(--brand);
}

.card.is-expanded .service-card__chevron::before,
.card.is-expanded .course-card__chevron::before {
  border-color: #fff;
  transform: translate(-50%, -35%) rotate(-135deg);
}

.service-card__panel,
.course-card__panel {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  animation: panelIn 0.35s ease;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Roadmap timeline */
.roadmap {
  margin-top: 8px;
}

.roadmap__title,
.topics-block__title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.roadmap__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.roadmap__step {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
}

.card.is-expanded .roadmap__step {
  animation: roadmapStepIn 0.5s ease forwards;
  animation-delay: calc(var(--step-index, 0) * 0.1s + 0.05s);
}

@keyframes roadmapStepIn {
  to { opacity: 1; transform: none; }
}

.roadmap__step:last-child {
  padding-bottom: 0;
}

.roadmap__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--border) 100%);
  transform-origin: top;
  transform: scaleY(0);
}

.card.is-expanded .roadmap__step:not(:last-child)::after {
  animation: roadmapLine 0.4s ease forwards;
  animation-delay: calc(var(--step-index, 0) * 0.1s + 0.2s);
}

@keyframes roadmapLine {
  to { transform: scaleY(1); }
}

.roadmap__marker {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.roadmap__content {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card.is-expanded .roadmap__step:hover .roadmap__content {
  border-color: rgba(45, 104, 255, 0.35);
  box-shadow: 0 4px 16px rgba(45, 104, 255, 0.08);
}

.roadmap__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.roadmap__step-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.roadmap__duration {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.roadmap__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Topics block */
.topics-block {
  margin-bottom: 24px;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topics-list li {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), color var(--transition);
}

.card.is-expanded .topics-list li {
  animation: topicIn 0.35s ease forwards;
  opacity: 0;
}

.card.is-expanded .topics-list li:nth-child(1) { animation-delay: 0.05s; }
.card.is-expanded .topics-list li:nth-child(2) { animation-delay: 0.1s; }
.card.is-expanded .topics-list li:nth-child(3) { animation-delay: 0.15s; }
.card.is-expanded .topics-list li:nth-child(4) { animation-delay: 0.2s; }
.card.is-expanded .topics-list li:nth-child(5) { animation-delay: 0.25s; }

@keyframes topicIn {
  to { opacity: 1; }
}

.card.is-expanded .topics-list li:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.card--elevated {
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.card__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
}

.card-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}

.card-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 15px;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.card .btn { margin-top: 28px; align-self: flex-start; }

.card--service .card__body {
  padding: 36px;
}

.card--service .card-title {
  font-size: 26px;
  margin-bottom: 16px;
}

/* Course cards */
.card--course .course-card__toggle {
  margin-bottom: 4px;
}

.card--course .course-card__toggle .card-title {
  font-size: 22px;
}

.card--course .card-meta {
  margin: 0;
  flex: 1;
}

.card--course .card-meta div {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.card--course .card-meta div:first-child { border-top: none; padding-top: 0; }

.card--course .card-meta dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card--course .card-meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.card--course .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.card-tag {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
}

/* Trust / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.feature-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

.feature-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .feature-grid--5 {
    grid-template-columns: repeat(6, 1fr);
  }

  .feature-grid--5 .feature-card:nth-child(1) { grid-column: 1 / 3; }
  .feature-grid--5 .feature-card:nth-child(2) { grid-column: 3 / 5; }
  .feature-grid--5 .feature-card:nth-child(3) { grid-column: 5 / 7; }
  .feature-grid--5 .feature-card:nth-child(4) { grid-column: 2 / 4; }
  .feature-grid--5 .feature-card:nth-child(5) { grid-column: 4 / 6; }
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section--alt .process-list li {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.process-list li::before {
  content: counter(process);
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.process-list span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr; }
}

.process-list--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .process-list--4 { grid-template-columns: 1fr; }
}

/* Audit */
.audit-results {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.section--alt .audit-results {
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.audit-results__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.audit-results ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.audit-results li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.audit-results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 768px) {
  .audit-results ul { grid-template-columns: 1fr; }
}

.disclaimer {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Tech */
.tech-filter { margin-bottom: 24px; }

.tech-filter select {
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

/* FAQ */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer { padding: 0 0 24px; }
.faq-answer[hidden] { display: none; }

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

/* CTA strip */
.cta-strip {
  position: relative;
  padding: 64px 56px;
  background: linear-gradient(145deg, var(--bg-dark) 0%, #0f1d3d 50%, #122654 100%);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(45, 104, 255, 0.45), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 219, 77, 0.08), transparent 40%);
  pointer-events: none;
}

.cta-strip > * {
  position: relative;
  z-index: 1;
}

.cta-strip .section__title {
  color: #fff;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .section__subtitle {
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-strip .btn--primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: none;
}

.cta-strip .btn--primary:hover {
  background: var(--accent-hover);
  color: var(--text);
}

.cta-strip .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-strip .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

@media (max-width: 768px) {
  .cta-strip { padding: 40px 24px; }
  .cta-strip__actions .btn { flex: 1 1 100%; }
}

/* Form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color var(--transition);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--text);
}

.field input.is-error,
.field select.is-error,
.field textarea.is-error {
  border-color: var(--danger);
}

.field-error {
  margin-top: 6px;
  font-size: 14px;
  color: var(--danger);
}

.field-error[hidden] { display: none; }

.form-success {
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: var(--success-bg);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 15px;
}

.form-success[hidden] { display: none; }

.form-success--error {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Footer */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: var(--section);
  background: var(--bg);
}

.footer__legal {
  max-width: 720px;
  margin-bottom: 40px;
}

.footer__legal p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer__legal p:last-child {
  margin-bottom: 0;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer__brands-label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-bottom: 28px;
}

.footer__logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.78;
}

.footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Audience compact */
.audience-compact {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.audience-compact__title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.audience-compact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-pill {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.audience-pill strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.audience-pill span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .audience-compact__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .audience-compact__grid { grid-template-columns: 1fr; }
}

/* Audit collapsible */
.audit-more {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
}

.audit-more summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.audit-more summary::-webkit-details-marker { display: none; }

.audit-more[open] summary {
  border-bottom: 1px solid var(--border);
}

.audit-more .process-list,
.audit-more .audit-results {
  margin: 24px;
}

/* Contact block */
#contact.section {
  padding: 72px 0 32px;
}

.contact-block {
  max-width: 480px;
  margin: 0 auto;
}

.contact-block .section__header {
  margin-bottom: 24px;
}

.contact-block .section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-block .contact-form,
.contact-block .form-success {
  max-width: 100%;
}

.contact-block .field {
  margin-bottom: 14px;
}

.contact-block .field label {
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-block .field input,
.contact-block .field select,
.contact-block .field textarea {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
}

.contact-block .field textarea {
  min-height: 96px;
}

.contact-block .form-success {
  margin-bottom: 16px;
  padding: 12px 16px;
}

/* Tech hub */
.tech-hub {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.tech-demos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.demo-card__cat,
.demo-card__title,
.demo-card__text,
.demo-card__action {
  padding-left: 0;
  padding-right: 0;
}

.demo-card__cat {
  padding-top: 0;
}

.demo-card__action {
  padding-bottom: 0;
}

.demo-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.demo-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.demo-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.demo-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.demo-card__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.demo-card__action {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.tech-vendors__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.tech-vendors__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tab {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.tech-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.tech-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.tech-hub {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-tabs-sticky {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 20;
  padding: 8px 0;
  background: linear-gradient(var(--bg-soft) 70%, transparent);
}

.tech-demo-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.28s ease;
}

.tech-demo-wrap.is-collapsed {
  box-shadow: none;
}

.tech-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: var(--bg-alt);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.tech-demo-bar:hover {
  background: var(--brand-soft);
}

.tech-demo-bar__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.tech-demo-bar__action {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.tech-demo-content {
  padding: 28px;
}

.tech-demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.tech-demo-head h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.tech-demo-head p {
  flex: 1 1 100%;
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 15px;
}

.tech-demo-minimize {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.tech-demo-minimize:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tech-vendors__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vendor-card-compact {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}

.vendor-card-compact:hover {
  box-shadow: var(--shadow-sm);
}

.vendor-card-compact h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.vendor-card-compact__task {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.vendor-card-compact__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.vendor-card-compact__check {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .vendor-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .vendor-grid { grid-template-columns: 1fr; }
}

/* Vendor demo windows */
.vendor-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.vendor-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
}

.vendor-window__bar--dark {
  background: #1e293b;
  border-bottom-color: #334155;
}

.vendor-window__bar--dark .vendor-window__title {
  color: #e2e8f0;
}

.vendor-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

.vendor-window__title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* FingerprintJS panel */
.fp-panel { padding: 24px; font-size: 14px; }

.fp-greeting { margin: 0 0 20px; color: var(--text-secondary); }

.fp-visitor-id {
  color: #ea580c;
  font-family: ui-monospace, monospace;
  word-break: break-all;
}

.fp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.fp-stat__label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fp-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.fp-visits h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.fp-visit-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  margin-bottom: 16px;
}

.fp-visit-row strong { display: block; }

.fp-visit-row span { color: var(--text-muted); font-size: 13px; }

.fp-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}

.fp-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.fp-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.fp-badge--ok { background: #ecfdf5; color: #059669; }
.fp-badge--bad { background: #fef2f2; color: #dc2626; }

.fp-score-panel {
  text-align: center;
  padding: 16px;
  background: #f9fafb;
  border-radius: var(--radius-md);
}

.fp-real-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.fp-gauge { width: 140px; margin: 0 auto 4px; }

.fp-score-num { line-height: 1; }

.fp-score-num--low { color: #059669; }
.fp-score-num--medium { color: #d97706; }
.fp-score-num--high { color: #dc2626; font-size: 40px; font-weight: 800; }

.tech-vendors__empty {
  margin: 0;
  padding: 20px;
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.fp-score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.fp-verdict {
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.fp-verdict.is-trusted { color: #059669; }
.fp-verdict.is-risk { color: #dc2626; }

.fp-verdict-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.fp-tabs {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.fp-tab {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.fp-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Sumsub KYC */
.kyc-panel { padding: 28px; }

.kyc-intro h3 { margin: 0 0 8px; font-size: 20px; }
.kyc-intro p { margin: 0 0 24px; color: var(--text-secondary); }

.kyc-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kyc-profile-btn {
  padding: 20px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.kyc-profile-btn:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.kyc-profile-btn strong { display: block; margin-bottom: 6px; font-size: 15px; }
.kyc-profile-btn span { font-size: 13px; color: var(--text-muted); }

.kyc-reset {
  margin-left: auto;
  padding: 4px 10px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.vendor-window__bar--dark { justify-content: space-between; }

.kyc-steps {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.kyc-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.kyc-step.is-done { color: var(--success); }
.kyc-step.is-active { color: var(--brand); }

.kyc-result-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}

.kyc-doc-preview {
  text-align: center;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.kyc-doc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px dashed var(--border-strong);
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-muted);
}

.kyc-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.kyc-status--approved { background: #ecfdf5; color: #059669; }
.kyc-status--review { background: #fffbeb; color: #d97706; }
.kyc-status--rejected { background: #fef2f2; color: #dc2626; }

.kyc-score-bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.kyc-score-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
}

.kyc-flags {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--danger);
  font-size: 14px;
}

.kyc-ok { color: var(--success); font-size: 14px; }

/* SEON / Radar / AML panels */
.seon-panel,
.radar-panel,
.aml-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.seon-field,
.aml-search {
  display: block;
  margin-bottom: 12px;
}

.seon-field span,
.aml-search span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.seon-field input,
.aml-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.seon-presets,
.aml-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seon-presets button,
.aml-presets button {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.seon-result,
.radar-result,
.aml-result {
  padding: 24px;
  background: #f9fafb;
  border-radius: var(--radius-md);
  text-align: center;
}

.seon-score,
.radar-score {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.seon-result--low .seon-score,
.radar-result--low .radar-score { color: #059669; }
.seon-result--medium .seon-score { color: #d97706; }
.seon-result--high .seon-score,
.radar-result--high .radar-score { color: #dc2626; }

.radar-panel { align-items: stretch; }

.radar-payment {
  padding: 24px;
  background: #f9fafb;
  border-radius: var(--radius-md);
}

.radar-label { font-size: 12px; color: var(--text-muted); margin: 0 0 4px; }
.radar-amount { font-size: 28px; font-weight: 800; margin: 0 0 4px; }
.radar-card { color: var(--text-muted); margin: 0 0 16px; }

.radar-tabs { display: flex; gap: 8px; }

.radar-tab {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.radar-tab.is-active {
  border-color: var(--brand);
  color: var(--brand);
}

.radar-action {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.radar-action--approve { background: #ecfdf5; color: #059669; }
.radar-action--review { background: #fffbeb; color: #d97706; }

.aml-result ul {
  text-align: left;
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .tech-demo-content { padding: 20px 16px; }
  .tech-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .tech-tab { flex-shrink: 0; }
  .fp-stats { grid-template-columns: 1fr 1fr; }
  .fp-body { grid-template-columns: 1fr; }
  .kyc-profiles { grid-template-columns: 1fr; }
  .kyc-result-grid { grid-template-columns: 1fr; }
  .seon-panel, .radar-panel, .aml-panel { grid-template-columns: 1fr; }
}

/* ── Program modal (roadmap overlay) ── */
.program-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.program-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.program-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 27, 0.62);
  backdrop-filter: blur(6px);
}

.program-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(5, 11, 27, 0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-modal.is-open .program-modal__dialog {
  transform: translateY(0) scale(1);
}

.program-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.program-modal__close:hover {
  background: var(--bg-alt);
  border-color: var(--border-strong);
  transform: scale(1.05);
}

.program-modal__hero {
  flex-shrink: 0;
  padding: 28px 28px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.program-modal__hero-inner {
  padding-right: 48px;
  padding-bottom: 20px;
}

.program-modal__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
}

.program-modal__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.program-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px 16px;
}

.program-modal__intro {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.program-modal__footer {
  flex-shrink: 0;
  padding: 16px 28px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Demo modal */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.demo-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 27, 0.68);
  backdrop-filter: blur(6px);
}

.demo-modal__dialog {
  position: relative;
  width: min(960px, 94vw);
  max-height: 94vh;
  margin: auto;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(5, 11, 27, 0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-modal.is-open .demo-modal__dialog {
  transform: translateY(0) scale(1);
}

.demo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.demo-modal__close:hover {
  background: var(--bg-alt);
  border-color: var(--border-strong);
}

.demo-modal__panel {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 36px 16px 14px;
  background: var(--bg-alt);
}

.demo-modal__panel .demo-shell {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(5, 11, 27, 0.06), 0 8px 24px rgba(5, 11, 27, 0.06);
}

@media (max-height: 640px), (max-width: 480px) {
  .demo-modal {
    align-items: center;
    overflow: hidden;
    padding: 12px 8px;
  }

  .demo-modal__panel {
    padding: 32px 12px 12px;
  }
}

/* Vertical timeline */
.timeline {
  margin: 0;
}

.timeline__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.timeline-hint {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.timeline__layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 20px;
  align-items: start;
}

.timeline__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0;
  animation: timelineStepIn 0.4s ease forwards;
  animation-delay: calc(var(--step-index, 0) * 0.08s + 0.1s);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.timeline__step:hover,
.timeline__step:focus-visible {
  background: var(--bg-soft);
}

.timeline__step.is-active {
  background: var(--brand-soft);
  box-shadow: inset 3px 0 0 var(--brand);
}

.timeline__rail {
  flex-shrink: 0;
  padding-top: 2px;
}

.timeline__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.timeline__step.is-active .timeline__dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

.timeline__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.timeline__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.timeline__duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.timeline-detail {
  min-height: 220px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.timeline-detail.is-updating {
  animation: detailFadeIn 0.28s ease;
}

@keyframes timelineStepIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

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

.timeline-detail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-detail__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.timeline-detail__duration {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  padding: 4px 12px;
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
}

.timeline-detail__summary {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-detail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.timeline-detail__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.timeline-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.topics-block--modal {
  margin-bottom: 28px;
}

.topics-block--modal .topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topics-block--modal .topics-list li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.topics-block--modal .topics-list li::before { display: none; }

.modal-deliverables {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.modal-process {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.modal-process__title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.modal-process__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.modal-process__list li {
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.modal-process__list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text);
}

.modal-process__list span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.modal-deliverables__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.modal-deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.modal-deliverables li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  color: var(--text-secondary);
}

.modal-deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Card program button */
.btn--program {
  width: 100%;
  margin-top: 16px;
}

.card__actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.card__actions .btn--primary {
  flex: 1;
  margin-top: 0;
  justify-content: center;
}

.card--service .card__body,
.card--course .card__body {
  display: flex;
  flex-direction: column;
}

.card--service .btn--primary,
.card--course .btn--primary { margin-top: 0; }

/* Audit explore button */
.audit-explore {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 32px;
  padding: 24px 28px;
  border: 2px solid var(--brand);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color var(--transition);
}

.audit-explore:hover {
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
  border-color: var(--brand-hover);
}

.audit-explore__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  position: relative;
}

.audit-explore__icon::before {
  content: "";
  position: absolute;
  inset: 14px 14px 14px 18px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.audit-explore__icon::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 14px;
  height: 2px;
  background: #fff;
  box-shadow: 0 5px 0 #fff, 0 10px 0 #fff;
}

.audit-explore__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-explore__content strong {
  font-size: 18px;
  font-weight: 700;
}

.audit-explore__content span {
  font-size: 14px;
  color: var(--text-secondary);
}

.audit-explore__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
}

.audit-explore__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-60%, -50%) rotate(-45deg);
}

/* Rich vendor cards */
.vendor-card-rich {
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color var(--transition);
  cursor: default;
}

.vendor-card-rich:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--brand);
}

.vendor-card-rich__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.vendor-card-rich h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.vendor-card-rich__price {
  flex-shrink: 0;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.vendor-card-rich__task {
  margin: 10px 18px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.vendor-card-rich__diff {
  margin: 0 18px 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vendor-card-rich__diff li {
  font-size: 13px;
  padding-left: 16px;
  position: relative;
  color: var(--text);
  line-height: 1.4;
}

.vendor-card-rich__diff li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.vendor-card-rich__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.vendor-card-rich__complexity {
  font-weight: 600;
}

/* Demo animations */
.demo-shell {
  animation: demoFadeIn 0.4s ease;
}

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

.tech-tab {
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.tech-tab.is-active {
  transform: translateY(-1px);
}

.tech-demo-wrap {
  transition: opacity 0.25s ease;
}

.seon-result,
.radar-result,
.aml-result,
.kyc-panel--result {
  transition: background 0.3s ease, border-color 0.3s ease;
}

.kyc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 16px 0;
  font-size: 13px;
}

.kyc-detail-grid dt {
  color: var(--text-muted);
  font-weight: 500;
}

.kyc-detail-grid dd {
  margin: 0;
  font-weight: 600;
}

.kyc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.kyc-check {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.kyc-check--pass { background: var(--success-bg); color: var(--success); }
.kyc-check--warn { background: var(--warning-bg); color: #d97706; }
.kyc-check--fail { background: var(--danger-bg); color: var(--danger); }
.kyc-doc-num {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.radar-meta {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  font-size: 13px;
}

.radar-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.seon-signals-title {
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.seon-signals {
  margin-top: 0;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 13px;
}

.seon-signals li {
  padding: 4px 0;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .tech-demo-content { padding: 20px 16px; }
  .program-modal { padding: 12px; align-items: flex-end; }
  .program-modal__dialog { max-height: 92vh; border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .program-modal__title { font-size: 22px; }
  .timeline__layout { grid-template-columns: 1fr; gap: 16px; }
  .timeline__steps { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .timeline__step { flex: 0 0 auto; min-width: 140px; flex-direction: column; align-items: flex-start; padding: 10px 12px; box-shadow: none !important; }
  .timeline__step.is-active { box-shadow: none; border: 1px solid var(--brand); }
  .timeline-detail { min-height: 180px; }
  .modal-deliverables ul { grid-template-columns: 1fr; }
  .kyc-detail-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .audit-scope { grid-template-columns: 1fr; }
  .tech-demos { grid-template-columns: 1fr 1fr; }
  .footer__logo { height: 20px; max-width: 100px; }
}

.section--industries {
  background: var(--bg-alt);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.industry-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.industry-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.industry-card__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.industry-card__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.industry-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.industry-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.industry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ── Training levels ── */
.training-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.training-level {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.training-level:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.training-level.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.training-level-hint {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--text-secondary);
}

.card-level {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}

.card-level--junior { background: #ecfdf5; color: #059669; }
.card-level--middle { background: var(--brand-soft); color: var(--brand); }
.card-level--senior { background: #fef3c7; color: #b45309; }

.card-tag {
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ── Audit scope ── */
.audit-scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 24px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.audit-scope__hint {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

.audit-scope__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.audit-scope__options {
  display: grid;
  gap: 8px;
}

.audit-scope__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.audit-scope__option:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.audit-scope__option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.audit-scope__option input[type="checkbox"]:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.audit-scope__option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.audit-scope__option input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.audit-scope__option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.audit-explore {
  margin-top: 8px;
}

.program-modal__dialog {
  max-height: min(94vh, 920px);
}

.program-modal__body {
  padding: 20px 28px 24px;
  scroll-behavior: smooth;
}

.program-modal__intro--pre {
  white-space: pre-line;
}

.program-modal__hero-inner {
  padding-bottom: 16px;
}

.modal-deliverables ul {
  grid-template-columns: 1fr 1fr;
}

.modal-deliverables li {
  padding: 10px 12px 10px 28px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── Crypto demo (MetaSleuth) ── */
.vendor-window--crypto {
  border-color: #334155;
  background: #0f172a;
}

.vendor-window--crypto .vendor-window__bar--dark {
  background: #0f172a;
  border-bottom-color: #1e293b;
}

.vendor-window__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.vendor-window__dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.vendor-window__dots i:nth-child(1) { background: #ef4444; }
.vendor-window__dots i:nth-child(2) { background: #f59e0b; }
.vendor-window__dots i:nth-child(3) { background: #22c55e; }

.vendor-window__status {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-pill);
}

.crypto-panel {
  padding: 0;
  background: #0f172a;
  color: #e2e8f0;
}

.crypto-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #1e293b;
}

.crypto-tab {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: #0a101e;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.crypto-tab.is-active {
  background: #0f172a;
  color: #93c5fd;
  box-shadow: inset 0 -2px 0 #3b82f6;
}

.crypto-investigation__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #1e293b;
}

.crypto-investigation__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.crypto-investigation__field span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.crypto-investigation__field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  background: #1e293b;
  color: #f8fafc;
  font: inherit;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.crypto-investigation__chain {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-pill);
}

.crypto-investigation__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 320px;
}

.crypto-investigation__canvas {
  padding: 20px;
  background: #0a101e;
  border-right: 1px solid #1e293b;
}

.crypto-graph-svg {
  width: 100%;
  height: auto;
  display: block;
}

.crypto-graph-svg--dark {
  border-radius: var(--radius-sm);
}

.crypto-investigation__sidebar {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #0f172a;
  overflow-y: auto;
}

.crypto-score {
  padding: 16px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
}

.crypto-score__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.crypto-score__value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.crypto-score__value--high {
  color: #f87171;
}

.crypto-score__bar {
  height: 4px;
  margin: 12px 0;
  background: #334155;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.crypto-score__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: inherit;
}

.crypto-investigation__section h4 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.crypto-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.crypto-wallet {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  color: #f8fafc;
}

.crypto-risk {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.crypto-risk--high {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.crypto-signals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.crypto-signals li {
  padding-left: 14px;
  position: relative;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.crypto-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--danger);
}

.crypto-signals--dark li {
  color: #94a3b8;
}

.crypto-signals--dark li::before {
  background: #ef4444;
}

.crypto-actions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.crypto-actions li {
  padding: 8px 10px 8px 28px;
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  color: #cbd5e1;
  background: #1e293b;
  border-radius: var(--radius-sm);
}

.crypto-actions li::before {
  content: "→";
  position: absolute;
  left: 10px;
  top: 8px;
  color: #3b82f6;
  font-size: 12px;
}

.crypto-screen {
  padding: 24px;
}

.crypto-screen__form {
  margin-bottom: 20px;
}

.crypto-screen__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.crypto-screen__row {
  display: flex;
  gap: 10px;
}

.crypto-screen__row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  background: #1e293b;
  color: #f8fafc;
  font: inherit;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.crypto-screen__btn {
  flex-shrink: 0;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: #3b82f6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.crypto-screen__btn:hover {
  background: #2563eb;
}

.crypto-screen__hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #64748b;
}

.crypto-screen__result {
  padding: 20px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
}

.crypto-screen__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
}

.crypto-screen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.crypto-screen__metric {
  padding: 12px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  text-align: center;
}

.crypto-screen__metric span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.crypto-screen__metric strong {
  font-size: 14px;
  color: #f8fafc;
}

.crypto-screen__metric strong.is-danger {
  color: #f87171;
}

.crypto-screen__metric strong.is-warn {
  color: #fbbf24;
}

.crypto-screen__table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  font-size: 13px;
}

.crypto-screen__table th,
.crypto-screen__table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #334155;
}

.crypto-screen__table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.crypto-screen__table td {
  color: #cbd5e1;
}

.crypto-severity {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.crypto-severity--critical {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.crypto-severity--high {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.crypto-severity--medium {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.crypto-screen__rec {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
  background: #0f172a;
  border-left: 3px solid #3b82f6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 768px) {
  .crypto-investigation__body {
    grid-template-columns: 1fr;
  }

  .crypto-investigation__canvas {
    border-right: none;
    border-bottom: 1px solid #1e293b;
  }

  .crypto-investigation__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .crypto-screen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crypto-screen__row {
    flex-direction: column;
  }
}

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

/* ── Card illustrations ── */
.card__cover--art {
  height: 180px;
  background: #f4f6fb;
  overflow: hidden;
}

.card__cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

.card:hover .card__cover-img {
  transform: scale(1.03);
}

/* ── Audience panel ── */
.audience-compact--panel {
  margin-top: 56px;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.audience-compact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-card {
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}

.audience-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.audience-card__title {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.audience-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── Industry cards ── */
.industry-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.industry-card__media {
  height: auto;
  aspect-ratio: 560 / 180;
  overflow: hidden;
  background: #f4f6fb;
}

.industry-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.industry-card:hover .industry-card__media img {
  transform: scale(1.02);
}

.industry-card__body {
  padding: 24px;
}

/* ── Audit workspace ── */
.audit-workspace {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;
}

.audit-workspace .audit-scope {
  margin: 0;
  height: 100%;
}

.audit-live-plan {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 320px;
}

.audit-live-plan.is-active {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-soft);
}

.audit-live-plan__empty {
  margin: 0;
  padding: 48px 16px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.audit-live-plan__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.audit-live-plan__focus {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.audit-live-plan__grid {
  display: grid;
  gap: 24px;
}

.audit-live-plan__col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.audit-live-plan__stages {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.audit-live-plan__stage {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.audit-live-plan__step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.audit-live-plan__stage strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.audit-live-plan__stage span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.audit-live-plan__results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.audit-live-plan__results li {
  padding-left: 16px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
}

.audit-live-plan__results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ── Unified demo shell ── */
.demo-shell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.demo-shell__scenarios {
  padding: 10px 14px 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.demo-shell__scenarios-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.demo-shell__scenarios .demo-shell__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: none;
  background: transparent;
}

.demo-shell__tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.demo-shell__tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.demo-shell__tab.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.demo-shell__frame {
  padding: 0;
  background: var(--bg);
}

.demo-shell__frame-body {
  padding: 24px 28px;
  border: none;
  border-radius: 0;
  background: var(--bg-alt);
  overflow: visible;
  font-size: 13px;
  line-height: 1.45;
}

/* ── Demo layout ── */
.demo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 20px;
  align-items: stretch;
}

.demo-split--kyc {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
}

.demo-split--crypto {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 340px);
}

.demo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-panel {
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  min-height: 0;
}

.demo-panel--doc {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 12px;
}

.demo-panel--accent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 240px;
  padding: 20px 18px;
  background: linear-gradient(165deg, var(--brand-soft) 0%, var(--bg) 55%);
  border-color: rgba(45, 104, 255, 0.18);
}

.demo-panel--accent > .demo-result-stack,
.demo-panel--accent > .demo-score,
.demo-panel--accent > .demo-dash-card--accent {
  flex: 1 1 auto;
  width: 100%;
}

.demo-panel--accent .demo-summary {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  gap: 8px;
}

.demo-panel--accent .demo-summary__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.demo-panel--flat {
  padding: 0;
  background: transparent;
  border: none;
}

/* ── Typography ── */
.demo-lead {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.demo-mono {
  display: block;
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

.demo-section-title {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-shell__frame-body .demo-kv__label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Stats ── */
.demo-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.demo-stat {
  padding: 8px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.demo-stat__label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-stat__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ── Key-value ── */
.demo-kv-list {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.demo-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.demo-kv--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
}

.demo-kv--stack .demo-kv__label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-kv__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.demo-kv__value,
.demo-kv strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.demo-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
}

.demo-kv-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}

.demo-kv-grid .demo-kv__value {
  word-break: break-word;
}

/* ── Visit row ── */
.demo-visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.demo-visit__main strong {
  display: block;
  font-size: 14px;
}

.demo-visit__main span {
  font-size: 13px;
  color: var(--text-muted);
}

.demo-visit__map {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* ── Badges ── */
.demo-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.demo-badge--ok { background: var(--success-bg); color: var(--success); }
.demo-badge--bad { background: var(--danger-bg); color: var(--danger); }
.demo-badge--warn { background: var(--warning-bg); color: #d97706; }

/* ── Fields ── */
.demo-field {
  display: block;
  margin-bottom: 8px;
}

.demo-field:last-child {
  margin-bottom: 0;
}

.demo-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-field__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  transition: border-color var(--transition);
}

.demo-field__input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.demo-field__input:focus-visible {
  outline: none;
  border-color: var(--brand);
}

.demo-field__row {
  display: flex;
  gap: 8px;
}

.demo-field__row .demo-field__input {
  flex: 1;
  min-width: 0;
}

.demo-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.demo-btn:hover {
  background: #2457e6;
}

/* ── Score ── */
.demo-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 12px;
}

.demo-score__value {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.demo-score__value--low,
.demo-score--low .demo-score__value { color: #059669; }
.demo-score__value--medium,
.demo-score--medium .demo-score__value { color: #d97706; }
.demo-score__value--high,
.demo-score--high .demo-score__value { color: #dc2626; }

.demo-score__label {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-score .fp-gauge {
  width: 100px;
  max-width: 100%;
  margin: 0 auto 8px;
  display: block;
}

.demo-verdict {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  max-width: 220px;
}

.demo-verdict--ok { color: #059669; }
.demo-verdict--bad { color: #dc2626; }

.demo-action {
  margin: 10px 0 0;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
}

.demo-action--low,
.demo-action--approve { background: var(--success-bg); color: var(--success); }
.demo-action--medium { background: var(--warning-bg); color: #d97706; }
.demo-action--high,
.demo-action--review { background: var(--danger-bg); color: var(--danger); }

/* ── Signals ── */
.demo-signals {
  margin-top: 6px;
}

.demo-signals__title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-signals ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.demo-signals li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.demo-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.demo-panel--accent .demo-signals li::before {
  background: var(--danger);
}

.demo-panel--accent .demo-field:last-child {
  margin-bottom: 0;
}

.demo-panel--accent > .demo-field:last-child {
  margin-bottom: 0;
}

.demo-split .demo-panel:first-child {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demo-split .demo-panel:first-child .demo-field {
  margin-bottom: 8px;
}

.demo-split .demo-panel:first-child .demo-field:last-child {
  margin-bottom: 0;
}

/* ── Summary ── */
.demo-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.demo-summary--high { border-color: rgba(239, 68, 68, 0.25); background: var(--danger-bg); }
.demo-summary--medium { border-color: rgba(245, 158, 11, 0.25); background: var(--warning-bg); }
.demo-summary--low { border-color: rgba(5, 150, 105, 0.2); background: var(--success-bg); }

.demo-summary__score {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  min-width: 48px;
  letter-spacing: -0.03em;
}

.demo-summary--high .demo-summary__score { color: #dc2626; }
.demo-summary--medium .demo-summary__score { color: #d97706; }
.demo-summary--low .demo-summary__score { color: #059669; }

.demo-summary__meta strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.demo-summary__meta p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Pills ── */
.demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-pill {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.2;
}

.demo-pill.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* ── Table ── */
.demo-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.demo-table th,
.demo-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 13px;
}

.demo-table th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-alt);
}

.demo-table__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 16px !important;
}

.demo-table tr:last-child td {
  border-bottom: none;
}

/* ── Notes ── */
.demo-note {
  margin: 0;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.4;
  border-radius: var(--radius-sm);
}

.demo-note--info {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.demo-note--ok {
  background: var(--success-bg);
  color: var(--success);
}

.demo-note--bad {
  background: var(--danger-bg);
  border-left: 3px solid var(--danger);
  color: var(--danger);
}

/* ── KYC ── */
.demo-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  gap: 6px;
}

.demo-doc--compact {
  gap: 8px;
}

.demo-doc__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 80px;
  margin: 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--bg) 100%);
  border: 1px solid rgba(45, 104, 255, 0.22);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(5, 11, 27, 0.06);
  flex-shrink: 0;
}

.demo-doc__type {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-secondary);
}

.demo-doc__num {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  word-break: break-all;
}

.demo-kyc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-kyc__name {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.demo-kyc__status-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 2px;
}

.demo-kyc__status-row .demo-progress {
  flex: 1 1 180px;
  min-width: 0;
}

.demo-kyc__note {
  margin: 0;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.demo-status--approved { background: var(--success-bg); color: var(--success); }
.demo-status--review { background: var(--warning-bg); color: #d97706; }
.demo-status--rejected { background: var(--danger-bg); color: var(--danger); }

.demo-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.demo-progress__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.demo-progress__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  min-width: 36px;
  text-align: right;
  line-height: 1;
}

.demo-progress__bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.demo-progress__bar span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.demo-checks-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.3;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.demo-checks-line--ok {
  background: var(--success-bg);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--success);
}

.demo-checks-line--warn {
  background: var(--warning-bg);
  border-color: rgba(245, 158, 11, 0.25);
  color: #d97706;
}

.demo-checks-line--bad {
  background: var(--danger-bg);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.demo-checks-line__icon {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
}

.demo-checks-line__text {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 12px;
}

.demo-checks-line__dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.demo-checks-line__labels {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.demo-check-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-check-dot--ok { background: var(--success); }
.demo-check-dot--warn { background: #d97706; }
.demo-check-dot--bad { background: var(--danger); }

.demo-check-mini {
  font-size: 11px;
  font-weight: 600;
}

.demo-check-mini--ok { color: var(--success); }
.demo-check-mini--warn { color: #d97706; }
.demo-check-mini--bad { color: var(--danger); }

.demo-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.demo-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-align: center;
}

.demo-check--ok { background: var(--success-bg); color: var(--success); }
.demo-check--warn { background: var(--warning-bg); color: #d97706; }
.demo-check--bad { background: var(--danger-bg); color: var(--danger); }

.demo-flags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--danger);
}

.demo-flags li {
  padding-left: 14px;
  position: relative;
}

.demo-flags li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* ── Result stack (SEON, Stripe, Device score) ── */
.demo-result-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 200px;
  height: 100%;
  gap: 0;
  text-align: center;
}

.demo-result-stack .demo-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  height: auto;
  padding: 12px 8px 16px;
  border-bottom: 1px solid rgba(45, 104, 255, 0.12);
  margin-bottom: 12px;
}

.demo-result-stack .demo-score:only-child {
  flex: 1 1 auto;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 12px;
}

.demo-result-stack .demo-score:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.demo-result-stack .demo-signals {
  flex: 0 1 auto;
  width: 100%;
  margin-top: 0;
  text-align: left;
}

.demo-result-stack .demo-signals__title {
  text-align: center;
}

.demo-result-stack .demo-summary {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 12px 8px 16px;
  border: none;
  background: transparent;
}

.demo-result-stack .demo-summary:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(45, 104, 255, 0.12);
  margin-bottom: 12px;
}

.demo-result-stack .demo-summary__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.demo-stack > .demo-summary {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px;
  gap: 8px;
}

.demo-stack > .demo-summary .demo-summary__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* ── Payment hero ── */
.demo-payment {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demo-payment__hero {
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.demo-payment__amount {
  margin: 2px 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.demo-payment__card {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Crypto graph ── */
.demo-graph-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
}

.demo-graph-wrap .crypto-graph-pro {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 240;
}

.demo-mono--lead {
  margin-bottom: 8px;
}

.demo-crypto-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.demo-metric {
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.demo-metric span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.demo-metric strong {
  font-size: 14px;
}

.demo-metric__value--bad { color: var(--danger); }
.demo-metric__value--warn { color: #d97706; }

.demo-severity {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.demo-severity--critical { background: var(--danger-bg); color: var(--danger); }
.demo-severity--high { background: #fff7ed; color: #ea580c; }
.demo-severity--medium { background: var(--warning-bg); color: #d97706; }

/* ── Dashboard design system ── */
.demo-section-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.demo-dash-card {
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.demo-dash-card--accent {
  padding: 24px 20px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
}

.demo-dash-card--doc {
  padding: 16px;
  text-align: center;
}

.demo-dash-card--graph {
  padding: 16px 18px;
}

.demo-dash-card--table {
  padding: 0;
  overflow: hidden;
}

.demo-dash-card--table .demo-table-wrap {
  border: none;
  border-radius: 0;
}

.demo-panel--graph {
  min-height: 0;
}

/* Visitor lead (FingerprintJS style) */
.demo-visitor-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.demo-visitor-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #e85d2a;
  word-break: break-all;
}

/* Stat strip with dividers */
.demo-stat-strip {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.demo-stat-strip__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.demo-stat-strip__item:last-child {
  border-right: none;
}

.demo-stat-strip__label {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  line-height: 1.3;
}

.demo-stat-strip__value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.demo-stat-strip__value--bad { color: var(--danger); }
.demo-stat-strip__value--warn { color: #d97706; }

.demo-stat-strip--compact .demo-stat-strip__item {
  padding: 12px 14px;
}

.demo-stat-strip--compact {
  margin-bottom: 16px;
}

/* Recent visits */
.demo-recent-visit {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.demo-recent-visit__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 28px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 8px;
}

.demo-recent-visit__caret {
  opacity: 0.5;
  line-height: 1;
}

.demo-recent-visit__body {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  min-width: 0;
}

.demo-recent-visit__loc strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.demo-recent-visit__loc span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* Map placeholder */
.demo-map-box {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8edf2 0%, #d4dce6 50%, #c8d4e0 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.demo-map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.demo-map-box__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e85d2a;
  box-shadow: 0 0 0 3px rgba(232, 93, 42, 0.25);
  z-index: 1;
}

.demo-map-box__label {
  position: absolute;
  bottom: 4px;
  left: 6px;
  right: 6px;
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

/* Meta grid 2x2 */
.demo-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.demo-meta-cell,
.demo-status-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-meta-cell:nth-child(2n),
.demo-status-cell:nth-child(2n) {
  border-right: none;
}

.demo-meta-cell:nth-child(n+3),
.demo-status-cell:nth-child(n+3) {
  border-bottom: none;
}

.demo-meta-cell__label,
.demo-status-cell__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.demo-meta-cell__value {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.demo-status-cell--ok {
  background: rgba(5, 150, 105, 0.08);
}

.demo-status-cell--bad {
  background: rgba(220, 38, 38, 0.07);
}

.demo-status-cell__value {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.demo-status-cell--ok .demo-status-cell__value { color: #059669; }
.demo-status-cell--bad .demo-status-cell__value { color: #dc2626; }

/* Detail grid (Sumsub case style) */
.demo-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.demo-detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.demo-detail-row:nth-child(2n) {
  border-right: none;
}

.demo-detail-row:nth-last-child(-n+2) {
  border-bottom: none;
}

.demo-detail-row__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.demo-detail-row__value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Score hero block */
.demo-score-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  width: 100%;
}

.demo-score-hero__value {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.demo-score-hero--low .demo-score-hero__value { color: #059669; }
.demo-score-hero--medium .demo-score-hero__value { color: #d97706; }
.demo-score-hero--high .demo-score-hero__value { color: #dc2626; }

.demo-score-hero__label {
  margin: 4px 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.demo-score-hero .fp-gauge {
  width: 120px;
  height: 70px;
  margin-bottom: 8px;
}

.demo-score-hero .demo-verdict,
.demo-score-hero .demo-action,
.demo-score-hero .demo-badge {
  margin-top: 8px;
}

/* Signal rows (crypto sidebar) */
.demo-signal-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  text-align: left;
}

.demo-signal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.demo-signal-row:last-child {
  border-bottom: none;
}

.demo-signal-row__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.demo-signal-row--bad .demo-signal-row__dot { background: var(--danger); }
.demo-signal-row--warn .demo-signal-row__dot { background: #d97706; }
.demo-signal-row--neutral .demo-signal-row__dot { background: var(--brand); }

.demo-signal-row__text {
  flex: 1 1 auto;
  line-height: 1.35;
}

/* Split layout refinements */
.demo-split--device,
.demo-split--fraud,
.demo-split--payment {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 20px;
}

.demo-split--kyc {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
}

.demo-split--crypto {
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 280px);
}

.demo-panel--accent {
  min-height: 280px;
  padding: 0;
  background: linear-gradient(165deg, rgba(45, 104, 255, 0.06) 0%, var(--bg) 60%);
}

.demo-panel--doc {
  padding: 0;
  background: transparent;
  border: none;
}

/* KYC doc card */
.demo-doc--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo-doc--card .demo-doc__thumb {
  width: 72px;
  height: 48px;
  margin: 0;
}

.demo-doc__type {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-doc__expiry {
  margin: 0;
  font-size: 10px;
  color: var(--text-muted);
}

/* Payment hero refinements */
.demo-payment__hero {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.demo-payment__amount {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.demo-payment__card {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* AML summary in stack */
.demo-aml-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px !important;
  border-radius: 8px;
}

.demo-aml-summary__matches {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.demo-stack > .demo-pills {
  padding: 0 2px;
}

.demo-stack > .demo-dash-card .demo-field {
  margin-bottom: 0;
}

/* Fraud signals in accent card */
.demo-dash-card--accent .demo-signals {
  width: 100%;
  text-align: left;
  margin-top: 4px;
}

.demo-dash-card--accent .demo-signals ul {
  margin: 0;
  padding: 0;
}

.demo-dash-card--accent .demo-signals li {
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.demo-dash-card--accent .demo-signals li:last-child {
  border-bottom: none;
}

.demo-dash-card--accent .demo-section-label {
  width: 100%;
  text-align: left;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* Crypto result head */
.demo-crypto-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.demo-crypto-result .demo-table-wrap {
  border-top: none;
}

.demo-crypto-result .demo-note {
  margin: 0;
  border-radius: 0 0 8px 8px;
}

.demo-dash-card--table .demo-crypto-result {
  padding: 0;
}

@media (max-width: 768px) {
  .demo-split,
  .demo-split--kyc,
  .demo-split--crypto,
  .demo-split--device,
  .demo-split--fraud,
  .demo-split--payment {
    grid-template-columns: 1fr;
  }

  .demo-panel--doc {
    padding: 0;
  }

  .demo-panel--doc .demo-doc {
    flex-direction: row;
    gap: 12px;
    text-align: left;
    align-items: center;
  }

  .demo-panel--doc .demo-doc__thumb {
    margin: 0;
    flex-shrink: 0;
  }

  .demo-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-stats,
  .demo-stat-strip {
    flex-direction: column;
  }

  .demo-stat-strip__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .demo-stat-strip__item:last-child {
    border-bottom: none;
  }

  .demo-recent-visit__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-map-box {
    width: 100%;
    height: 80px;
  }

  .demo-meta-grid,
  .demo-detail-grid {
    grid-template-columns: 1fr;
  }

  .demo-meta-cell,
  .demo-status-cell {
    border-right: none;
  }

  .demo-meta-cell:nth-child(n+3),
  .demo-status-cell:nth-child(n+3) {
    border-bottom: 1px solid var(--border);
  }

  .demo-meta-cell:last-child,
  .demo-status-cell:last-child {
    border-bottom: none;
  }

  .demo-detail-row {
    border-right: none;
  }

  .demo-detail-row:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .demo-detail-row:last-child {
    border-bottom: none;
  }

  .demo-kv-grid,
  .demo-kv-grid--3 {
    grid-template-columns: 1fr;
  }

  .demo-kyc__status-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .demo-progress {
    width: 100%;
  }

  .demo-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-field__row {
    flex-direction: column;
  }

  .demo-btn {
    width: 100%;
  }

  .demo-score-hero__value {
    font-size: 42px;
  }
}

/* ── AML rich demo ── */
.aml-layout { display: grid; gap: 16px; }

.aml-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.aml-summary--high { border-color: rgba(239, 68, 68, 0.25); background: var(--danger-bg); }
.aml-summary--medium { border-color: rgba(245, 158, 11, 0.25); background: var(--warning-bg); }
.aml-summary--low { border-color: rgba(5, 150, 105, 0.2); background: var(--success-bg); }

.aml-summary__score {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  min-width: 56px;
}

.aml-summary__label {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.aml-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aml-cat {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.aml-cat.is-on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.aml-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.aml-table th,
.aml-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.aml-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.aml-rec {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  background: var(--danger-bg);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.crypto-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
}

.crypto-graph-lite {
  padding: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.crypto-signals {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.crypto-signals li {
  padding-left: 14px;
  position: relative;
}

.crypto-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--danger);
}

/* ── Contact premium ── */
.section--contact {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-layout__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-layout__lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.contact-layout__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-layout__points li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-layout__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.contact-layout__points--stacked {
  max-width: 420px;
  margin: 0 auto 28px;
  text-align: left;
}

.contact-layout__form {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form--premium .contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.contact-form--premium .field {
  margin-bottom: 18px;
}

.contact-form--premium input,
.contact-form--premium select,
.contact-form--premium textarea {
  min-height: 48px;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.footer--minimal {
  padding: 32px 0;
  margin-top: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer--minimal .footer__copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .audit-workspace { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .fp-body--compact { grid-template-columns: 1fr; }
  .demo-grid-2 { grid-template-columns: 1fr; }
  .kyc-result-grid--compact { grid-template-columns: 1fr; }
  .crypto-layout { grid-template-columns: 1fr; }
  .audience-compact__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .audience-compact--panel { padding: 24px; }
  .audience-compact__grid { grid-template-columns: 1fr; }
}

/* ═══ Premium header ═══ */
.header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header__inner {
  gap: 24px;
}

.logo {
  gap: 0;
}

.logo__img--full {
  height: 48px;
  max-width: min(300px, 52vw);
}

@media (max-width: 560px) {
  .logo__img--full {
    display: none;
  }

  .logo__img--mark {
    display: block;
    height: 34px;
  }
}

@media (max-width: 768px) {
  .logo__img--full {
    height: 42px;
    max-width: min(260px, 54vw);
  }
}

.nav__list a {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
}

.header__actions {
  gap: 10px;
}

.header__actions .btn--sm {
  padding: 9px 18px;
  font-weight: 600;
}

/* ═══ Audit workspace v2 ═══ */
.audit-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 48px;
}

.audit-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.audit-panel--scope {
  display: flex;
  flex-direction: column;
}

.audit-panel__head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.audit-panel__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.audit-panel__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.audit-panel--plan {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fafbff 0%, var(--bg) 100%);
}

.audit-workspace .audit-scope {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.audit-scope__group {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}

.audit-scope__group:last-child {
  border-bottom: none;
}

.audit-scope__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.audit-scope__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-scope__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.audit-scope__option:hover {
  border-color: var(--brand-soft);
  background: var(--bg-alt);
}

.audit-scope__option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.audit-scope__option input[type="checkbox"]:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.audit-scope__option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.audit-scope__option input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.audit-scope__option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px rgba(45, 104, 255, 0.12);
}

.audit-live-plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: transparent;
  border: none;
  border-radius: 0;
  min-height: 100%;
}

.audit-live-plan.is-active {
  border: none;
  box-shadow: none;
}

.audit-live-plan__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 360px;
}

.audit-live-plan__empty-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--brand-soft);
  position: relative;
}

.audit-live-plan__empty-icon::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px dashed var(--brand);
  border-radius: 8px;
  opacity: 0.5;
}

.audit-live-plan__empty-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.audit-live-plan__empty-text {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.audit-live-plan__head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.audit-live-plan__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
}

.audit-live-plan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
}

.audit-live-plan__col--results {
  display: block;
}

.audit-live-plan__cta {
  margin-top: 24px;
  width: 100%;
  flex-shrink: 0;
}

/* ═══ Vendor alternatives v2 ═══ */
.vendor-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vendor-alt-card {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.vendor-alt-card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.vendor-alt-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.vendor-alt-card__logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-alt);
  padding: 4px;
}

.vendor-alt-card__info {
  flex: 1;
  min-width: 0;
}

.vendor-alt-card__name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.vendor-alt-card__task {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.vendor-alt-card__price {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.vendor-alt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.vendor-alt-card__tags li {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.vendor-alt-card__meta {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ═══ Demo cards — text only ═══ */

/* ═══ Crypto graph pro (legacy alias) ═══ */
.crypto-graph-wrap {
  height: 160px;
}

.crypto-graph-pro {
  display: block;
  width: 100%;
  height: 160px;
}

/* ═══ Contact premium v2 ═══ */
.section--contact {
  padding-top: 80px;
  padding-bottom: 96px;
  background: linear-gradient(165deg, #f0f4ff 0%, var(--bg) 45%, var(--bg-alt) 100%);
}

.contact-layout {
  gap: 56px;
  align-items: center;
}

.contact-layout__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-layout__intro {
  padding-right: 16px;
}

.contact-layout__points li {
  padding: 14px 16px 14px 44px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.contact-layout__points li::before {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.contact-layout__form-wrap {
  position: relative;
}

.contact-layout__form-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, rgba(45, 104, 255, 0.25), rgba(45, 104, 255, 0.05));
  z-index: 0;
}

.contact-layout__form {
  position: relative;
  z-index: 1;
  padding: 36px;
  border-radius: var(--radius);
}

.contact-form--premium .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  white-space: normal;
}

.contact-form--premium textarea {
  min-height: 120px;
}

.contact-form--premium input,
.contact-form--premium select,
.contact-form--premium textarea {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form--premium input:focus,
.contact-form--premium select:focus,
.contact-form--premium textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(45, 104, 255, 0.12);
}

.btn--lg {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .audit-workspace {
    grid-template-columns: 1fr;
  }

  .audit-live-plan__grid {
    grid-template-columns: 1fr;
  }

  .vendor-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══ Contact compact ═══ */
.container--narrow {
  max-width: 520px;
}

.section--contact {
  padding-top: 56px;
  padding-bottom: 64px;
  background: var(--bg-alt);
}

.contact-layout--compact {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 32px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-layout__head {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-layout--compact .contact-layout__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-layout--compact .contact-layout__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-layout--compact .contact-layout__lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-layout--compact .contact-layout__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-layout--compact .contact-layout__points li {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.contact-layout--compact .contact-layout__points li::before {
  display: none;
}

.contact-layout--compact .contact-layout__form {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.contact-form--compact .field {
  margin-bottom: 12px;
}

.contact-form--compact .field label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.contact-form--compact input,
.contact-form--compact select,
.contact-form--compact textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form--compact textarea {
  min-height: 72px;
  resize: vertical;
}

.contact-form--compact input:focus,
.contact-form--compact select:focus,
.contact-form--compact textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: 0 0 0 2px rgba(45, 104, 255, 0.1);
}

.contact-form--compact .btn {
  margin-top: 4px;
  padding: 12px 20px;
  font-size: 15px;
}

@media (max-width: 560px) {
  .contact-layout--compact {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 768px) {
  .audit-panel__head,
  .audit-scope__group,
  .audit-live-plan {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-layout__form {
    padding: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Vendor Demo v2 — .vd-* system
   ══════════════════════════════════════════════════════════════ */

.demo-shell__frame-body:has(.vd-layout) {
  padding: 16px;
  background: var(--bg-alt);
}

/* Layout */
.vd-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}

.vd-layout--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-height: 0;
}

.vd-layout--crypto {
  align-items: stretch;
}

.vd-layout--fraud {
  align-items: stretch;
}

.vd-layout--fraud .vd-main .vd-card {
  flex: 1 1 auto;
}

.vd-layout--fraud .vd-main .vd-form {
  flex: 1 1 auto;
  justify-content: center;
}

.vd-layout--crypto .vd-main {
  flex: 1 1 0;
  min-width: 0;
}

.vd-layout--crypto .vd-main .vd-card--graph {
  flex: 1 1 auto;
}

.vd-layout--crypto .vd-aside {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
}

.vd-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vd-aside {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Cards */
.vd-card {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 0;
}

.vd-card--flat {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.vd-card--accent {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(165deg, rgba(45, 104, 255, 0.07) 0%, var(--bg) 58%);
  border-color: rgba(45, 104, 255, 0.18);
  min-height: 0;
}

.vd-card--accent:has(.vd-signals),
.vd-card--accent:has(.vd-signal-rows) {
  justify-content: flex-start;
  padding-top: 14px;
}

.vd-card--graph {
  padding: 14px 16px;
}

.vd-card--table {
  padding: 0;
  overflow: hidden;
}

/* Typography */
.vd-label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  line-height: 1.3;
}

.vd-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.vd-section-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

/* Device — visitor lead */
.vd-visitor-lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.vd-visitor-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #e85d2a;
  word-break: break-all;
}

/* Device — stat bar */
.vd-stat-bar {
  display: flex;
  align-items: stretch;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.vd-stat-bar__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
}

.vd-stat-bar__item:last-child {
  border-right: none;
}

.vd-stat-bar__item .vd-label {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.vd-stat-bar__item .vd-value {
  font-size: 14px;
}

/* Device — visit row */
.vd-visit-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.vd-visit-row__list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.vd-visit-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vd-visit-entry__pin {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #e85d2a;
}

.vd-visit-entry--muted .vd-visit-entry__pin {
  color: #9ca3af;
}

.vd-visit-entry__text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.vd-visit-entry__text strong {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.vd-visit-entry--current .vd-visit-entry__text strong {
  color: #e85d2a;
}

.vd-visit-entry__text span {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-visit-entry--muted .vd-visit-entry__text span {
  font-weight: 500;
  color: #6b7280;
}

/* Device — map box */
.vd-map-box {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  min-width: 120px;
  height: auto;
  min-height: 64px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8edf2 0%, #d4dce6 50%, #c8d4e0 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.vd-map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.65;
}

.vd-map-box__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e85d2a;
  box-shadow: 0 0 0 4px rgba(232, 93, 42, 0.22);
  z-index: 1;
}

.vd-map-box__label {
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

/* Device — meta grid 2×2 */
.vd-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.vd-meta-cell,
.vd-status-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px;
  min-height: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.vd-meta-cell:nth-child(2n),
.vd-status-cell:nth-child(2n) {
  border-right: none;
}

.vd-meta-cell:nth-child(n+3),
.vd-status-cell:nth-child(n+3) {
  border-bottom: none;
}

.vd-meta-cell__label,
.vd-status-cell__label {
  display: inline;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.vd-meta-cell__value {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.vd-status-cell--ok {
  background: rgba(5, 150, 105, 0.09);
}

.vd-status-cell--bad {
  background: rgba(220, 38, 38, 0.07);
}

.vd-status-cell__value {
  display: inline;
  font-size: 13px;
  font-weight: 600;
}

.vd-status-cell--ok .vd-status-cell__value { color: #059669; }
.vd-status-cell--bad .vd-status-cell__value { color: #dc2626; }

/* Score block (aside hero) */
.vd-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}

.vd-score-block .fp-gauge {
  width: 100px;
  height: auto;
  margin-bottom: 8px;
}

.vd-score-block__value {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.vd-score-block--low .vd-score-block__value { color: #059669; }
.vd-score-block--medium .vd-score-block__value { color: #d97706; }
.vd-score-block--high .vd-score-block__value { color: #dc2626; }

.vd-score-block__label {
  margin: 4px 0 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.vd-verdict {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
  line-height: 1.35;
}

.vd-verdict--ok { color: #059669; }
.vd-verdict--bad { color: #dc2626; }

.vd-action {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}

.vd-action--level-low,
.vd-action--approve { background: var(--success-bg); color: var(--success); }
.vd-action--level-medium { background: var(--warning-bg); color: #d97706; }
.vd-action--level-high,
.vd-action--review { background: var(--danger-bg); color: var(--danger); }

/* KYC — two-column split */
.vd-layout--kyc {
  display: flex;
  gap: 16px;
  align-items: stretch;
  min-height: 0;
}

.vd-kyc-left {
  flex: 0 0 240px;
  width: 240px;
  min-width: 0;
}

.vd-kyc-right {
  flex: 1 1 0;
  min-width: 0;
}

.vd-kyc-left .vd-card,
.vd-kyc-right .vd-card {
  min-height: 100%;
}

.vd-doc-preview--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
}

.vd-doc-preview--stack .vd-doc-preview__thumb {
  width: 100%;
  max-width: none;
  height: 140px;
  border-radius: 8px;
}

.vd-doc-preview--stack .vd-doc-preview__info {
  align-items: flex-start;
  text-align: left;
  gap: 6px;
}

.vd-kyc-left > .vd-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* KYC */
.vd-kyc-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.vd-doc-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 240px;
}

.vd-doc-preview__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 100px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #e8edf5 0%, #d8e0ec 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 22px;
  font-weight: 800;
  color: #9ca3af;
}

.vd-doc-preview__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vd-doc-preview__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.vd-doc-preview__num {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.vd-doc-preview__expiry {
  font-size: 12px;
  color: #6b7280;
}

.vd-kyc-name {
  margin: 0;
  flex: 1 1 auto;
  align-self: center;
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* KYC — detail grid */
.vd-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.vd-detail-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.vd-detail-cell:nth-child(2n) {
  border-right: none;
}

.vd-detail-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

/* KYC — status row */
.vd-status-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.vd-status {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.vd-status--approved { background: var(--success-bg); color: var(--success); }
.vd-status--review { background: var(--warning-bg); color: #d97706; }
.vd-status--rejected { background: var(--danger-bg); color: var(--danger); }

.vd-confidence {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.vd-confidence .vd-label {
  margin: 0;
  flex-shrink: 0;
}

.vd-confidence__track {
  flex: 0 1 200px;
  max-width: 200px;
  height: 8px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}

.vd-confidence__fill {
  display: block;
  height: 100%;
  background: #059669;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.vd-confidence__pct {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  flex-shrink: 0;
}

/* KYC — checks bar */
.vd-checks-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.vd-checks-bar--ok {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.vd-checks-bar--warn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.vd-checks-bar--bad {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.vd-checks-bar__icon {
  font-size: 16px;
  font-weight: 700;
  color: #059669;
  flex-shrink: 0;
}

.vd-checks-bar--warn .vd-checks-bar__icon { color: #d97706; }
.vd-checks-bar--bad .vd-checks-bar__icon { color: #dc2626; }

.vd-checks-bar__text {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.vd-checks-bar--warn .vd-checks-bar__text { color: #d97706; }
.vd-checks-bar--bad .vd-checks-bar__text { color: #dc2626; }

.vd-checks-bar--multi {
  flex-wrap: wrap;
  gap: 10px;
}

.vd-check-item {
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 5px;
}

.vd-check-item--ok { background: rgba(5, 150, 105, 0.12); color: #059669; }
.vd-check-item--warn { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.vd-check-item--bad { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

.vd-flags {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vd-flags li {
  position: relative;
  padding: 1px 0 1px 18px;
  font-size: 13px;
  color: #dc2626;
  line-height: 1.5;
}

.vd-flags li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* SEON — form */
.vd-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-field {
  display: block;
}

.vd-field__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--transition);
}

.vd-field__input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.vd-field__input:focus-visible {
  outline: none;
  border-color: var(--brand);
}

.vd-field__row {
  display: flex;
  gap: 10px;
}

.vd-field__row .vd-field__input {
  flex: 1;
  min-width: 0;
}

.vd-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.vd-btn:hover {
  background: #2457e6;
}

/* Signals (SEON aside, crypto aside) */
.vd-signals {
  width: 100%;
  margin-top: 20px;
  text-align: left;
}

.vd-signals__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vd-signals__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.vd-signals__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.vd-card--accent .vd-signals__list li::before {
  background: #6b7280;
}

.vd-signal-rows {
  width: 100%;
  text-align: left;
}

.vd-signal-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.vd-signal-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vd-signal-row__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #9ca3af;
}

.vd-signal-row--bad .vd-signal-row__dot { background: var(--danger); }
.vd-signal-row--warn .vd-signal-row__dot { background: #d97706; }
.vd-signal-row--neutral .vd-signal-row__dot { background: var(--brand); }

/* Stripe — payment hero */
.vd-payment-hero {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.vd-payment-hero__amount {
  margin: 0 0 6px;
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vd-payment-hero__card {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* AML — summary */
.vd-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.vd-summary--high { border-color: rgba(239, 68, 68, 0.25); background: var(--danger-bg); }
.vd-summary--medium { border-color: rgba(245, 158, 11, 0.25); background: var(--warning-bg); }
.vd-summary--low { border-color: rgba(5, 150, 105, 0.2); background: var(--success-bg); }

.vd-summary__score {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  min-width: 48px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.vd-summary--high .vd-summary__score { color: #dc2626; }
.vd-summary--medium .vd-summary__score { color: #d97706; }
.vd-summary--low .vd-summary__score { color: #059669; }

.vd-summary__level {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-top: 4px;
}

.vd-summary__matches {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* AML — pills */
.vd-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.vd-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 8px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.vd-pill.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* AML — table */
.vd-table-wrap {
  overflow-x: auto;
}

.vd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.vd-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.vd-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.vd-table tr:last-child td {
  border-bottom: none;
}

.vd-table__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 16px !important;
}

/* Badges & notes */
.vd-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
}

.vd-badge--ok { background: var(--success-bg); color: var(--success); }
.vd-badge--bad { background: var(--danger-bg); color: var(--danger); }
.vd-badge--warn { background: var(--warning-bg); color: #d97706; }
.vd-badge--neutral { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }

.vd-severity {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}

.vd-severity--critical { background: var(--danger-bg); color: var(--danger); }
.vd-severity--high { background: rgba(234, 88, 12, 0.12); color: #ea580c; }
.vd-severity--medium { background: var(--warning-bg); color: #d97706; }

.vd-note {
  margin: 14px 0 0;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 8px;
  line-height: 1.45;
}

.vd-note--info { background: rgba(45, 104, 255, 0.06); color: var(--text-secondary); border: 1px solid rgba(45, 104, 255, 0.15); }
.vd-note--bad { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(220, 38, 38, 0.2); }

/* Crypto */
.vd-mono-line {
  margin: 0 0 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #4b5563;
  word-break: break-all;
}

.vd-mono-line--inline {
  display: block;
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  word-break: normal;
}

.vd-graph-wrap {
  flex: 1 1 auto;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.vd-graph-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vd-crypto-result__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
}

.vd-layout--crypto-screen {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}

.vd-crypto-screen-summary {
  flex: 0 0 240px;
  width: 240px;
  min-width: 0;
}

.vd-crypto-screen-detail {
  flex: 1 1 0;
  min-width: 0;
}

.vd-crypto-screen-summary .vd-card {
  padding: 16px 18px;
}

.vd-crypto-screen-summary .vd-stat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.vd-crypto-screen-summary .vd-stat-bar__item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  min-width: 0;
  overflow: hidden;
}

.vd-crypto-screen-summary .vd-stat-bar__item:nth-child(2n) {
  border-right: none;
}

.vd-crypto-screen-summary .vd-stat-bar__item:nth-child(n+3) {
  border-bottom: none;
}

.vd-crypto-screen-summary .vd-stat-bar__item .vd-label {
  font-size: 9px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-crypto-screen-summary .vd-stat-bar__item .vd-value {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-crypto-screen-detail .vd-card--table {
  padding: 0;
}

.vd-crypto-screen-detail .vd-table td,
.vd-crypto-screen-detail .vd-table th {
  padding: 11px 18px;
  line-height: 1.5;
}

.vd-crypto-screen-detail .vd-note {
  margin: 16px 14px 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .vd-layout:not(.vd-layout--stack) {
    flex-direction: column;
    min-height: 0;
  }

  .vd-main,
  .vd-layout--crypto .vd-main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .vd-layout--fraud .vd-main .vd-card,
  .vd-layout--fraud .vd-main .vd-form {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .vd-aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .vd-layout--crypto .vd-aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .vd-layout--kyc,
  .vd-layout--crypto-screen {
    flex-direction: column;
  }

  .vd-kyc-left,
  .vd-kyc-right,
  .vd-crypto-screen-summary,
  .vd-crypto-screen-detail {
    flex: 1 1 auto;
    width: 100%;
  }

  .vd-crypto-screen-summary .vd-stat-bar {
    grid-template-columns: 1fr 1fr;
  }

  .vd-card--accent {
    min-height: 0;
  }

  .vd-stat-bar {
    flex-direction: column;
  }

  .vd-stat-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .vd-stat-bar__item:last-child {
    border-bottom: none;
  }

  .vd-visit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .vd-map-box {
    width: 100%;
    min-width: 0;
    height: 72px;
  }

  .vd-meta-grid,
  .vd-detail-grid {
    grid-template-columns: 1fr;
  }

  .vd-meta-cell,
  .vd-status-cell {
    border-right: none;
  }

  .vd-meta-cell:nth-child(n+3),
  .vd-status-cell:nth-child(n+3) {
    border-bottom: 1px solid var(--border);
  }

  .vd-meta-cell:last-child,
  .vd-status-cell:last-child {
    border-bottom: none;
  }

  .vd-detail-cell {
    border-right: none;
  }

  .vd-detail-cell:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .vd-detail-cell:last-child {
    border-bottom: none;
  }

  .vd-kyc-header {
    flex-direction: column;
  }

  .vd-doc-preview {
    width: 100%;
    min-width: 0;
  }

  .vd-kyc-name {
    align-self: flex-start;
  }

  .vd-status-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .vd-confidence {
    width: 100%;
  }

  .vd-confidence__track {
    flex: 1 1 auto;
    max-width: none;
  }

  .vd-field__row {
    flex-direction: column;
  }

  .vd-btn {
    width: 100%;
  }

  .vd-score-block__value {
    font-size: 32px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Vendor Demo v3 — scoped overrides (white cards, no gradients)
   ══════════════════════════════════════════════════════════════ */

.demo-modal__panel .demo-shell {
  overflow: visible;
}

.demo-shell__frame-body:has(.vd-layout) {
  padding: 16px;
  background: #f1f5f9;
  font-size: 14px;
  line-height: 1.45;
  overflow: visible;
}

.demo-shell__frame-body:has(.vd-layout) ~ .demo-shell__scenarios,
.demo-shell:has(.vd-layout) .demo-shell__scenarios {
  padding: 14px 20px 16px;
}

.demo-shell:has(.vd-layout) .demo-shell__tab {
  padding: 8px 16px;
  font-size: 13px;
}

/* Neutralize legacy demo-* rules inside vd demos */
.demo-shell__frame-body:has(.vd-layout) :where(
  .demo-split,
  .demo-panel,
  .demo-dash-card,
  .demo-stack,
  .demo-stats,
  .demo-stat,
  .demo-kv,
  .demo-kv-list
) {
  all: revert;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout {
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--stack {
  align-items: stretch;
  min-height: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-main,
.demo-shell__frame-body:has(.vd-layout) .vd-aside {
  min-height: 0;
  gap: 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--aml .vd-aside .vd-summary {
  text-align: left;
  align-items: flex-start;
}


.demo-shell__frame-body:has(.vd-layout) .vd-aside {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--device .vd-aside,
.demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud .vd-aside,
.demo-shell__frame-body:has(.vd-layout) .vd-layout--payment .vd-aside,
.demo-shell__frame-body:has(.vd-layout) .vd-layout--aml .vd-aside,
.demo-shell__frame-body:has(.vd-layout) .vd-layout--crypto .vd-aside {
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: none;
  min-height: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card--flat {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card--score,
.demo-shell__frame-body:has(.vd-layout) .vd-card--accent {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  min-height: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card--score:has(.vd-signals),
.demo-shell__frame-body:has(.vd-layout) .vd-card--score:has(.vd-signal-rows),
.demo-shell__frame-body:has(.vd-layout) .vd-card--accent:has(.vd-signals),
.demo-shell__frame-body:has(.vd-layout) .vd-card--accent:has(.vd-signal-rows) {
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  padding: 14px 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.demo-shell__frame-body:has(.vd-layout) .vd-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.demo-shell__frame-body:has(.vd-layout) .vd-section-title {
  margin: 12px 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #64748b;
}

.demo-shell__frame-body:has(.vd-layout) .vd-section-title:first-child {
  margin-top: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-visitor-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: #475569;
}

.demo-shell__frame-body:has(.vd-layout) .vd-visitor-id {
  font-size: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-stat-bar {
  margin-bottom: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-stat-bar__item {
  padding: 12px 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-stat-bar__item .vd-label {
  margin-bottom: 4px;
  font-size: 10px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-stat-bar__item .vd-value {
  font-size: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-visit-row {
  margin: 10px 0 0;
  gap: 14px;
  padding: 12px 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-visit-entry__text strong {
  font-size: 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-visit-entry__text span {
  font-size: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-map-box {
  width: 120px;
  min-width: 120px;
  height: auto;
  min-height: 64px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-meta-grid {
  margin-top: 10px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-meta-cell,
.demo-shell__frame-body:has(.vd-layout) .vd-status-cell {
  padding: 10px;
  min-height: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-meta-cell__label,
.demo-shell__frame-body:has(.vd-layout) .vd-status-cell__label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.demo-shell__frame-body:has(.vd-layout) .vd-meta-cell__value {
  font-size: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-status-cell__value {
  font-size: 13px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-score-block__value {
  font-size: 36px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-summary__score {
  font-size: 36px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-score-block__label {
  font-size: 11px;
  color: #64748b;
}

.demo-shell__frame-body:has(.vd-layout) .vd-score-block .fp-gauge {
  width: 100px;
  margin-bottom: 8px;
}

/* KYC — two-column split */
.demo-shell__frame-body:has(.vd-layout) .vd-layout--kyc {
  gap: 16px;
  align-items: stretch;
}

.demo-shell__frame-body:has(.vd-layout) .vd-kyc-left {
  flex: 0 0 240px;
  width: 240px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-kyc-right {
  flex: 1 1 0;
  min-width: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-kyc-left .vd-card,
.demo-shell__frame-body:has(.vd-layout) .vd-kyc-right .vd-card {
  min-height: 100%;
}

.demo-shell__frame-body:has(.vd-layout) .vd-doc-preview--stack {
  padding: 0;
  background: transparent;
  border: none;
  min-width: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-doc-preview--stack .vd-doc-preview__thumb {
  width: 100%;
  height: 130px;
  border-radius: 8px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-kyc-name {
  margin: 0 0 12px;
  font-size: 22px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-detail-grid {
  margin-bottom: 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--crypto-screen {
  gap: 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary {
  flex: 0 0 240px;
  width: 240px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary .vd-card {
  padding: 16px 18px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary .vd-stat-bar__item {
  padding: 12px 10px;
  min-width: 0;
  overflow: hidden;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary .vd-stat-bar__item .vd-label {
  font-size: 9px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary .vd-stat-bar__item .vd-value {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-detail {
  flex: 1 1 0;
  min-width: 0;
}

.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-detail .vd-table td,
.demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-detail .vd-table th {
  padding: 11px 18px;
  line-height: 1.5;
}

.demo-shell__frame-body:has(.vd-layout) .vd-detail-cell {
  padding: 10px 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-status-row {
  gap: 12px;
  margin-bottom: 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-confidence {
  flex: 0 1 auto;
  gap: 10px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-confidence__track {
  flex: 0 0 160px;
  max-width: 160px;
  width: 160px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-checks-bar {
  margin-bottom: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-flags {
  margin-top: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-form {
  gap: 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-field__input {
  padding: 10px 12px;
  font-size: 14px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-payment-hero__amount {
  font-size: 32px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-summary {
  padding: 14px 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-signals {
  margin-top: 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-signals__list li {
  font-size: 13px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-table td {
  padding: 8px 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-table th {
  padding: 8px 12px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card--graph {
  padding: 14px 16px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-card--graph .vd-mono-line {
  margin-bottom: 10px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-graph-wrap {
  flex: 1 1 auto;
  min-height: 200px;
}

.demo-shell__frame-body:has(.vd-layout) .vd-graph-wrap svg {
  height: 100%;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--crypto {
  align-items: stretch;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--crypto .vd-main .vd-card--graph {
  flex: 1 1 auto;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud {
  align-items: stretch;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud .vd-main .vd-card {
  flex: 1 1 auto;
}

.demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud .vd-main .vd-form {
  flex: 1 1 auto;
  justify-content: center;
}

@media (max-width: 900px) {
  .demo-shell__frame-body:has(.vd-layout) .vd-main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud .vd-main .vd-card,
  .demo-shell__frame-body:has(.vd-layout) .vd-layout--fraud .vd-main .vd-form {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-aside {
    flex: 1 1 auto;
    width: 100%;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-layout--kyc,
  .demo-shell__frame-body:has(.vd-layout) .vd-layout--crypto-screen {
    flex-direction: column;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-kyc-left,
  .demo-shell__frame-body:has(.vd-layout) .vd-kyc-right,
  .demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-summary,
  .demo-shell__frame-body:has(.vd-layout) .vd-crypto-screen-detail {
    flex: 1 1 auto;
    width: 100%;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-confidence__track {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }
}
  .demo-shell__frame-body:has(.vd-layout) .vd-confidence__track {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }
}
/* =========================================
   RESPONSIVE FIXES
   Полностью заменяет предыдущий блок исправлений
   ========================================= */

/* Контейнеры и содержимое */
.container {
  width: 100%;
  min-width: 0;
}

.grid > *,
.feature-grid > *,
.process-list > *,
.industries-grid > *,
.vendor-grid > *,
.tech-demos > *,
.audience-compact__grid > *,
.hero__layout > *,
.hero__highlights > *,
.audit-workspace > *,
.audit-live-plan__grid > *,
.timeline__layout > * {
  min-width: 0;
}

/* Длинные идентификаторы не растягивают карточки */
.fp-visitor-id,
.vd-visitor-id,
.crypto-wallet,
.vd-mono-line {
  overflow-wrap: anywhere;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

/* =========================================
   Планшеты
   ========================================= */

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-grid,
  .tech-demos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================
   Небольшие экраны
   ========================================= */

@media (max-width: 960px) {
  .audit-workspace,
  .audit-live-plan__grid,
  .contact-layout,
  .timeline__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 64px;
  }

  .section__header {
    margin-bottom: 32px;
  }

  /* Отдельный отступ под фиксированную шапку.
     .hero.section приоритетнее общего .section. */
  .hero.section {
    padding-top: calc(var(--header-h, 68px) + 32px);
    padding-bottom: 48px;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero__highlights,
  .grid--2,
  .grid--3,
  .grid--4,
  .feature-grid,
  .process-list,
  .process-list--4,
  .industries-grid,
  .vendor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid--5 .feature-card {
    grid-column: auto;
  }

  /* Боковая панель демо занимает всю ширину.
     Учитываем специфичность исходных стилей. */
  .vd-layout:not(.vd-layout--stack),
  .vd-layout--kyc,
  .vd-layout--crypto-screen,
  .demo-shell__frame-body:has(.vd-layout)
    .vd-layout:not(.vd-layout--stack) {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .vd-main,
  .vd-aside,
  .vd-kyc-left,
  .vd-kyc-right,
  .vd-crypto-screen-summary,
  .vd-crypto-screen-detail,
  .demo-shell__frame-body:has(.vd-layout) .vd-main,
  .demo-shell__frame-body:has(.vd-layout) .vd-aside,
  .demo-shell__frame-body:has(.vd-layout) .vd-kyc-left,
  .demo-shell__frame-body:has(.vd-layout) .vd-kyc-right,
  .demo-shell__frame-body:has(.vd-layout)
    .vd-crypto-screen-summary,
  .demo-shell__frame-body:has(.vd-layout)
    .vd-crypto-screen-detail,
  .demo-shell__frame-body:has(.vd-layout)
    .vd-layout .vd-aside {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* =========================================
   Телефоны
   ========================================= */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 48px;
  }

  /* Не даём правилу .section перекрыть отступ hero */
  .hero.section {
    padding-top: calc(var(--header-h, 68px) + 32px);
    padding-bottom: 40px;
  }

  .hero .container {
    gap: 32px;
  }

  .hero__layout {
    margin-bottom: 0;
  }

  .section__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    overflow-wrap: break-word;
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    overflow-wrap: break-word;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.55;
  }

  .hero__audience {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__highlights,
  .audience-compact__grid,
  .audit-live-plan__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__highlights li {
    padding: 24px;
  }

  .audience-compact--panel {
    padding: 24px 20px;
  }

  /* Обложки: естественная высота, без обрезки.
     Не задаём height: auto всем SVG и картинкам сайта. */
  .card__cover--art {
    height: auto;
    min-height: 0;
    background: #f4f6fb;
  }

  .card__cover--art .card__cover-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .card:hover .card__cover--art .card__cover-img {
    transform: none;
  }

  .card__body,
  .card--service .card__body,
  .card--course .card__body {
    padding: 20px;
  }

  .card--service .card-title,
  .card--course .card-title {
    font-size: 22px;
    overflow-wrap: break-word;
  }

  .industry-card {
    padding: 24px;
  }

  .hero__actions,
  .card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .card__actions .btn,
  .cta-strip__actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .cta-strip {
    padding: 40px 20px;
  }

  /* Поля формы */
  .contact-block .field input,
  .contact-block .field select,
  .contact-block .field textarea {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  /* Окна программ и демо */
  .program-modal,
  .demo-modal {
    padding: 10px;
    align-items: center;
  }

  .program-modal__dialog,
  .demo-modal__dialog {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 16px;
  }

  .program-modal__hero {
    padding: 20px 18px 0;
  }

  .program-modal__body {
    min-height: 0;
    padding: 20px 18px;
    overflow-y: auto;
  }

  .program-modal__footer {
    padding: 16px 18px 20px;
    gap: 10px;
  }

  .program-modal__footer .btn {
    flex: 1 1 100%;
    white-space: normal;
  }

  .program-modal__title {
    font-size: 22px;
    overflow-wrap: break-word;
  }

  .demo-modal__panel {
    min-height: 0;
    padding: 48px 12px 12px;
    overflow-y: auto;
  }

  /* Таймлайн */
  .timeline__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .timeline__steps {
    min-width: 0;
    max-width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .timeline__step {
    flex: 0 0 auto;
    min-width: 140px;
  }

  .timeline-detail {
    min-width: 0;
    padding: 20px;
  }

  .modal-deliverables ul {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Сетки демо */
  .fp-body,
  .seon-panel,
  .radar-panel,
  .aml-panel,
  .kyc-result-grid,
  .crypto-investigation__body,
  .demo-split,
  .demo-split--kyc,
  .demo-split--crypto,
  .demo-split--device,
  .demo-split--fraud,
  .demo-split--payment {
    grid-template-columns: minmax(0, 1fr);
  }

  .fp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-tabs {
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .tech-tab {
    flex: 0 0 auto;
  }

  .tech-demo-content {
    padding: 20px 16px;
  }

  /* Прокрутка только внутри таблиц */
  .demo-table-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .demo-table {
    min-width: 560px;
  }

  .vd-card--table {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
  }

  .footer__logos {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer--minimal {
    padding-block: 32px;
  }
}

/* =========================================
   Маленькие телефоны
   ========================================= */

@media (max-width: 480px) {
  .tech-demos {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .header__inner {
    gap: 12px;
  }

  .nav-toggle {
    flex-shrink: 0;
  }

  .vendor-alt-card__top {
    flex-wrap: wrap;
  }

  .vendor-alt-card__price {
    max-width: 100%;
    white-space: normal;
  }

  .vd-field__row {
    flex-direction: column;
  }

  .vd-field__row .vd-btn {
    width: 100%;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-map-box {
    width: 100%;
    min-width: 0;
  }

  .demo-shell__frame-body:has(.vd-layout) .vd-visit-row {
    flex-direction: column;
  }
}
/* =========================================
   Мобильное меню поверх содержимого сайта
   ========================================= */

@media (max-width: 900px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;

    /* Убираем влияние размытия на fixed-меню */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;

    overflow: visible;
  }

  .header__inner {
    overflow: visible;
  }

  .header .nav {
    position: fixed;
    top: var(--header-h, 68px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    min-width: 0;
    height: calc(100vh - var(--header-h, 68px));
    height: calc(100dvh - var(--header-h, 68px));

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));

    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    /* Закрытое меню не выступает за границы страницы */
    transform: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
      opacity 0.18s ease,
      visibility 0.18s ease;
  }

  .header .nav.is-open {
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .header .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header .nav__list a {
    display: block;
    padding: 14px 12px;
  }

  .header .header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
  }

  .header .nav-toggle {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
}
