/* ─────────────────────────────────────────────
   KnowledgeLint — minimal iOS-style design system
   ───────────────────────────────────────────── */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.09);
  --green: #34c759;
  --orange: #ff9500;
  --radius: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --pill: 980px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.11);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  height: auto;
}

button,
summary,
a {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.4);
  outline-offset: 3px;
  border-radius: 6px;
}

main {
  width: 100%;
  overflow: clip;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: var(--pill);
  padding: 10px 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  transform: none;
}

/* ─── Reveal on scroll ─── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--pill);
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease-out),
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary,
.btn-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.24);
}

.btn-primary:hover,
.btn-accent:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 12px;
}

.btn-ghost:hover {
  background: var(--blue-soft);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.075);
}

.btn-light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 40, 90, 0.2);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 40, 90, 0.26);
}

.btn-small {
  padding: 9px 17px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 17px;
}

.lead-form {
  width: min(900px, 100%);
  display: grid;
  gap: 20px;
  margin: 36px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(0, 52, 122, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 43, 102, 0.16);
  backdrop-filter: blur(18px);
}

.lead-form-simple {
  width: min(520px, 100%);
  gap: 16px;
  padding: 18px;
}

.lead-capture {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(15, 35, 70, 0.08);
}

.lead-capture input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.lead-capture input::placeholder {
  color: #8b8b92;
  opacity: 1;
}

.lead-capture input:focus {
  outline: none;
}

.lead-capture .btn {
  flex: none;
  min-height: 52px;
  margin: 0;
  padding: 0 22px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 15px;
}


.lead-capture-note,
.lead-capture-privacy {
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}

.lead-capture-privacy {
  margin-top: 6px;
}

.lead-capture-privacy a,
.lead-modal-note a {
  color: inherit;
  text-underline-offset: 2px;
}

.lead-email-field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px 18px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.03),
    0 8px 22px rgba(0, 45, 105, 0.08);
  font: inherit;
  font-size: 16px;
}

.lead-email-field input:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.76);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(0, 45, 105, 0.13);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
}

.lead-form label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lead-form label > span small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 500;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  padding: 14px 16px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.03),
    0 8px 22px rgba(0, 45, 105, 0.08);
  font: inherit;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #8b8b92;
  opacity: 1;
}

.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover {
  border-color: rgba(0, 113, 227, 0.24);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.76);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(0, 45, 105, 0.13);
}

.lead-form textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.55;
}

.lead-form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 2px;
}

.lead-form .btn {
  min-width: min(320px, 100%);
  margin-top: 0;
}

.form-privacy-note {
  max-width: none !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.lead-form-status {
  min-height: 22px;
  margin: 0 !important;
  color: #ffffff;
  font-size: 14px !important;
  text-align: center;
}

body.lead-modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 32, 0.42);
  backdrop-filter: blur(10px);
}

.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(860px, calc(100svh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 28px 28px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86)),
    rgba(245, 247, 250, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px) saturate(160%);
}

.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  cursor: pointer;
}

.lead-modal-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lead-modal-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.lead-modal-progress span {
  width: 36px;
  height: 4px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.08);
}

.lead-modal-progress span.is-active,
.lead-modal-progress span.is-done {
  background: var(--blue);
}

.lead-step-kicker {
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-modal-form h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.lead-step-copy {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.lead-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.lead-modal-form label {
  display: grid;
  gap: 8px;
  text-align: left;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.lead-modal-form label > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.lead-modal-form label small {
  color: var(--ink-3);
  font-weight: 500;
}

.lead-modal-form input,
.lead-modal-form select,
.lead-modal-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.lead-modal-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.lead-modal-form input:focus,
.lead-modal-form select:focus,
.lead-modal-form textarea:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.lead-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lead-modal-wide {
  grid-column: 1 / -1;
}

.lead-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.lead-modal-note,
.lead-modal .lead-form-status {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.lead-modal .lead-form-status {
  color: var(--ink-2);
}

.lead-modal .lead-form-status[data-state="error"] {
  color: #b42318;
}

.lead-modal-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.lead-success {
  padding: 24px 8px 8px;
  text-align: center;
}

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

.lead-success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
}

.lead-success p {
  max-width: 410px;
  margin: 10px auto 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ─── Floating pill navigation ─── */

.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: calc(100% - 32px);
  padding: 8px 10px 8px 18px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
}

.nav--scrolled .nav-inner {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(160deg, #0a84ff, #0066cc);
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.3);
}

.brand-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-links > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links > a:not(.btn):hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.045);
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-inner {
    gap: 14px;
  }

  .nav-inner .menu-toggle {
    order: 3;
  }

  .nav-inner:has(.menu-toggle) .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 230px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0.25s;
  }

  .nav.open .nav-inner:has(.menu-toggle) .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-inner:has(.menu-toggle) .nav-links > a:not(.btn) {
    padding: 11px 14px;
    border-radius: 13px;
    font-size: 15px;
    color: var(--ink);
  }

  .nav-inner:has(.menu-toggle) .nav-links > a:not(.btn):hover {
    background: rgba(0, 0, 0, 0.045);
  }

  .nav-inner:has(.menu-toggle) .nav-links .btn {
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  .nav-inner:not(:has(.menu-toggle)) .nav-links > a:not(.btn) {
    display: none;
  }
}

/* ─── Hero ─── */

.hero-shell {
  position: relative;
  overflow: clip;
  padding: 172px 0 110px;
  background: var(--bg);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 50% 0%, rgba(0, 113, 227, 0.09), transparent 70%),
    radial-gradient(30% 26% at 18% 12%, rgba(94, 92, 230, 0.07), transparent 70%),
    radial-gradient(30% 26% at 84% 10%, rgba(0, 199, 190, 0.06), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.11) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 22%, transparent 78%);
  opacity: 1;
}

.hero-inner {
  position: relative;
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
  }
}

.hero-inner h1 {
  margin: 24px 0 0;
  font-size: clamp(2.65rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lead {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ─── Hero video placeholder ─── */

.hero-video {
  margin: 72px auto 0;
  max-width: 900px;
}

.video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 52vw, 540px);
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 42%, rgba(10, 132, 255, 0.13), transparent 24%),
    linear-gradient(145deg, #f7faff 0%, #eef5ff 52%, #f8fbff 100%);
  box-shadow: var(--shadow-lg);
}

.video-placeholder::before,
.video-placeholder::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(10, 132, 255, 0.09);
  border-radius: 50%;
}

.video-placeholder::after {
  width: 430px;
  height: 430px;
  opacity: 0.55;
}

.video-meta {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 113, 227, 0.26);
}

.video-play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.video-placeholder > strong {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  max-width: 440px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-video figcaption,
.product-preview figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
}

/* ─── Product frame ─── */

.demo-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    var(--shadow-lg);
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.018);
}

.demo-dots {
  display: flex;
  flex: none;
  gap: 7px;
}

.demo-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
}

.demo-title {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-badge {
  flex: none;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Risk strip ─── */

.strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
  padding: 26px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.strip-label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.risk-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.risk-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--pill);
  background: var(--bg-gray);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

/* ─── Sections ─── */

.section {
  padding: 116px 0;
}

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

.section h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.section-heading .section-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.section-copy .section-lead {
  margin: 20px 0 0;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.detect-block {
  margin-top: 28px;
  text-align: left;
}

.detect-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.detect-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.detect-chip-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.detect-chip-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Cyndra-style product stage (liquid glass) ─── */

.visual-stage {
  --stage-base: #eef2f7;
  --stage-mid: #f7f8fb;
  --stage-deep: #e4ebf4;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  background:
    radial-gradient(90% 70% at 18% 12%, rgba(255, 255, 255, 0.85), transparent 48%),
    radial-gradient(70% 60% at 88% 20%, rgba(0, 113, 227, 0.12), transparent 52%),
    radial-gradient(50% 40% at 70% 85%, rgba(94, 92, 230, 0.08), transparent 60%),
    linear-gradient(160deg, var(--stage-mid) 0%, var(--stage-base) 48%, var(--stage-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    var(--shadow-md);
}

.visual-stage--finding {
  background:
    radial-gradient(90% 70% at 18% 12%, rgba(255, 255, 255, 0.88), transparent 50%),
    radial-gradient(65% 55% at 88% 18%, rgba(0, 113, 227, 0.1), transparent 54%),
    radial-gradient(45% 38% at 72% 82%, rgba(94, 92, 230, 0.05), transparent 58%),
    linear-gradient(160deg, var(--stage-mid) 0%, var(--stage-base) 48%, var(--stage-deep) 100%);
}

.visual-stage--finding::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 84%, rgba(0, 113, 227, 0.07), transparent 36%),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.42), transparent 42%);
  opacity: 0.85;
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 40, 90, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 40, 90, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 65% 60%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 65% 60%, #000 10%, transparent 72%);
  opacity: 0.8;
}

.stage-glow {
  position: absolute;
  width: 58%;
  height: 48%;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.55;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(0, 113, 227, 0.12) 48%, transparent 72%);
}

.visual-stage--finding .stage-glow {
  top: 4%;
  left: 2%;
  width: 62%;
  height: 50%;
  opacity: 0.58;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(0, 113, 227, 0.1) 48%, transparent 72%);
}

.visual-stage--verify .stage-glow,
.visual-stage--diff .stage-glow {
  top: 6%;
  right: 4%;
}

.visual-stage--finding {
  align-items: stretch;
  justify-content: stretch;
  min-height: 0;
  padding: 24px 0 0 24px;
}

.visual-stage--verify,
.visual-stage--diff {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 28px 0 0;
}

.stage-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.visual-stage--finding .stage-fade {
  z-index: 3;
}

.stage-fade--br {
  background:
    linear-gradient(
      to top,
      var(--stage-deep) 0%,
      rgba(228, 235, 244, 0.78) 7%,
      rgba(228, 235, 244, 0.28) 16%,
      transparent 32%
    ),
    linear-gradient(
      to left,
      var(--stage-deep) 0%,
      rgba(228, 235, 244, 0.72) 6%,
      rgba(228, 235, 244, 0.22) 14%,
      transparent 28%
    );
}

.stage-fade--bl {
  background:
    linear-gradient(
      to top,
      rgba(228, 235, 244, 0.98) 0%,
      rgba(228, 235, 244, 0.72) 8%,
      rgba(247, 248, 251, 0.28) 18%,
      transparent 34%
    ),
    linear-gradient(
      to right,
      rgba(228, 235, 244, 0.96) 0%,
      rgba(228, 235, 244, 0.55) 7%,
      rgba(247, 248, 251, 0.18) 16%,
      transparent 30%
    );
}

.ui-window {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.16) 46%, rgba(245, 248, 252, 0.22) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 0 0 1px rgba(255, 255, 255, 0.34) inset,
    0 -1px 0 rgba(255, 255, 255, 0.22) inset,
    0 28px 70px rgba(20, 40, 70, 0.12),
    0 8px 24px rgba(20, 40, 70, 0.05);
  backdrop-filter: blur(52px) saturate(190%);
  -webkit-backdrop-filter: blur(52px) saturate(190%);
  animation: stage-float 7s var(--ease-out) infinite alternate;
}

.ui-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.82;
}

.ui-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0.9;
}

@keyframes stage-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -6px, 0);
  }
}

.ui-window--finding {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-right: 0;
  border-bottom: 0;
  border-radius: 22px 0 0 0;
  animation: none;
  transform: translate(2px, 2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 28px 70px rgba(20, 40, 70, 0.12),
    0 8px 24px rgba(20, 40, 70, 0.05);
}

.ui-window--finding::before {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 58%);
  opacity: 0.55;
}

.ui-window--finding::after {
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  opacity: 0.75;
}

.ui-window--finding .ui-finding-body {
  flex: 1;
  min-height: 0;
  align-content: start;
  padding: 10px 20px 28px;
  gap: 12px;
}

.ui-window--finding .ui-chrome {
  padding: 10px 16px 6px;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ui-window--finding .ui-finding-actions {
  margin-top: 6px;
  padding-bottom: 8px;
}

.ui-window--verify,
.ui-window--diff {
  margin-left: -48px;
  margin-bottom: -72px;
  border-radius: 0 24px 0 0;
}

.ui-chrome {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ui-chrome-title {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-chrome-badge {
  flex: none;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(255, 149, 0, 0.16);
  color: #c93400;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.ui-chrome-badge--high {
  background: rgba(255, 59, 48, 0.14);
  color: #d70015;
}

.ui-chrome-badge--verified {
  background: rgba(52, 199, 89, 0.16);
  color: #187c33;
}

.ui-finding-body,
.ui-diff-body,
.ui-verify-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px 18px 20px;
}

.ui-finding-head strong {
  display: block;
  margin-top: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.ui-finding-head p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}

.ui-finding-subject {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) inset;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.ui-finding-subject-label {
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-finding-subject p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.ui-claim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.ui-claim {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  height: fit-content;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68) inset,
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
}

.ui-claim--conflict {
  border-color: rgba(255, 149, 0, 0.22);
  background: rgba(255, 248, 238, 0.34);
}

.ui-claim-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ui-claim-top > span:first-child {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ui-claim-author {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-claim b {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ui-claim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.ui-meta-badge svg {
  flex: none;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-meta-badge--source {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.14);
}

.ui-meta-badge--author {
  color: var(--ink-2);
}

.ui-finding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.ui-pill svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-pill--primary {
  border-color: transparent;
  background: rgba(0, 113, 227, 0.92);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.22);
}

.ui-pill--success {
  border-color: transparent;
  background: rgba(52, 199, 89, 0.92);
  color: #fff;
  box-shadow: 0 8px 20px rgba(52, 199, 89, 0.22);
}

.ui-verify-head .ui-verify-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: rgba(52, 199, 89, 0.14);
  color: #187c33;
  font-size: 12px;
  font-weight: 700;
}

.ui-verify-head .ui-verify-status svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-verify-head strong {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.ui-verify-head p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.ui-verify-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.ui-verify-step {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  backdrop-filter: blur(14px);
}

.ui-verify-step--done {
  border-color: rgba(52, 199, 89, 0.28);
  background: rgba(52, 199, 89, 0.1);
}

.ui-verify-step-label {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ui-verify-step strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.ui-verify-step small {
  color: var(--ink-2);
  font-size: 12px;
}

.ui-verify-arrow {
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 600;
}

.ui-verify-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ui-diff-prompt {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.ui-diff-grid {
  display: grid;
  gap: 10px;
}

.ui-diff-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.ui-diff-option.is-selected {
  border-color: rgba(0, 113, 227, 0.32);
  background: rgba(0, 113, 227, 0.1);
  box-shadow:
    0 0 0 3px rgba(0, 113, 227, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.ui-radio {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.ui-diff-option.is-selected .ui-radio {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 4px var(--blue);
}

.ui-diff-option strong,
.ui-diff-option small {
  display: block;
}

.ui-diff-option strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.ui-diff-option small {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 12px;
}

.ui-diff-tag {
  padding: 5px 10px;
  border-radius: var(--pill);
  background: rgba(52, 199, 89, 0.16);
  color: #187c33;
  font-size: 11px;
  font-weight: 700;
}

.ui-diff-tag--mute {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-3);
}

.ui-diff-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.ui-verify-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12px;
}

.ui-verify-note svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-accept-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: var(--pill);
  background: rgba(0, 113, 227, 0.94);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.22);
}

.ui-continuation {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 4px 22px 88px;
}

.ui-continuation-row {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.ui-continuation-row--wide {
  height: 52px;
  opacity: 0.7;
}

/* ─── Conflict card (legacy sample finding) ─── */

.conflict-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.source-compare {
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  align-items: center;
  gap: 10px;
}

.source-block {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 24px 14px;
  border-radius: 16px;
  background: var(--bg-gray);
  text-align: center;
}

.source-block svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--ink-3);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.source-block strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-block b {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3.3vw, 2.15rem);
  letter-spacing: -0.04em;
}

.source-block > span {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
}

.conflict-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 149, 0, 0.12);
  color: #c93400;
  font-size: 22px;
  font-weight: 700;
}

.conflict-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 15px;
  background: rgba(52, 199, 89, 0.1);
  color: #187c33;
}

.conflict-result svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.conflict-result strong {
  font-size: 14px;
}

/* ─── Process steps ─── */

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}

.step-connector {
  flex: 0 0 clamp(36px, 5vw, 56px);
  align-self: center;
  width: clamp(36px, 5vw, 56px);
  height: 28px;
  margin: 0 -4px;
  overflow: visible;
}

.step-connector path {
  fill: none;
  stroke: rgba(0, 113, 227, 0.34);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
}

.step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 32px 28px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}

.step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ─── Human review story ─── */

.review-story {
  overflow: clip;
}

.review-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.review-story-visual {
  position: relative;
  margin: 0;
}

.review-story-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 8%;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.1);
  filter: blur(54px);
}

.review-story-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.review-story-copy h2 {
  max-width: 560px;
  margin: 0;
}

.review-story-lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.65;
}

.review-story-points {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.review-story-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.review-story-points li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.review-story-points li > span svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.review-story-points strong,
.review-story-points small {
  display: block;
}

.review-story-points strong {
  font-size: 15px;
}

.review-story-points small {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

/* ─── Focused product preview ─── */

.product-preview {
  max-width: 980px;
  margin: 0 auto;
}

.product-preview-body {
  padding: clamp(28px, 5vw, 50px);
}

.preview-case {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.preview-case-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 149, 0, 0.12);
  color: #c93400;
}

.preview-case-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.preview-case > div > span {
  color: #c93400;
  font-size: 12px;
  font-weight: 700;
}

.preview-case h3 {
  margin: 3px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.finding-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 24px 18px;
  border-radius: 18px;
  background: var(--bg-gray);
  text-align: center;
}

.feature-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 17px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card div > span,
.feature-card div > strong {
  display: block;
}

.feature-card div > span {
  color: var(--ink-3);
  font-size: 12px;
}

.feature-card div > strong {
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.product-preview figcaption {
  color: var(--ink-2);
  font-size: 13px;
}

.product-preview figcaption::after {
  content: " Illustrative example.";
  color: var(--ink-2);
  opacity: 0.65;
}

/* ─── Control checklist ─── */

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 26px;
}

.check-item > span,
.check-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.check-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.check-item h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.check-item p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ─── Pricing ─── */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

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

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 64px rgba(0, 113, 227, 0.15);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 15px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

.price-card h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.price strong {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price--text {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.price--text strong {
  font-size: 2rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
}

.price span {
  font-size: 14px;
  color: var(--ink-3);
}

.price-scope {
  margin: 8px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}

.price-card ul {
  flex: 1;
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  line-height: 1.45;
}

.price-card li span {
  flex: none;
  color: var(--blue);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.pricing-footnote {
  max-width: 620px;
  margin: 38px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ─── Resources ─── */

.resources .section-heading {
  margin-bottom: 44px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.resource-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 17px;
  box-shadow: var(--shadow-xs);
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.resource-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.resource-grid a span[aria-hidden] {
  color: var(--blue);
  font-weight: 600;
}

/* ─── FAQ ─── */

.faq-wrap {
  max-width: 780px;
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 40px 26px 4px;
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}

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

.section-final {
  padding-bottom: 120px;
  background: var(--bg-gray);
  scroll-margin-top: 96px;
}

.section-final-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-final-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-final-lead {
  max-width: 560px;
  margin: 16px auto 28px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.cta-band {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-xl);
  padding: 92px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 170% at 18% -20%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(165deg, #0a84ff 0%, #0066cc 58%, #0053b8 100%);
  box-shadow: 0 42px 100px rgba(0, 102, 204, 0.32);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.cta-band > p {
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn {
  margin-top: 36px;
}

.cta-note {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-copy .kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Footer ─── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-gray);
  padding: 60px 0 50px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-left: auto;
  padding-top: 6px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-meta {
  width: 100%;
  font-size: 13px;
  color: var(--ink-3);
}

.trademark-note {
  width: 100%;
  max-width: 640px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ─── Article pages ─── */

.article-hero {
  position: relative;
  overflow: clip;
  padding: 168px 0 64px;
  background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg) 100%);
}

.article-hero-inner {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.article-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.033em;
  line-height: 1.08;
}

.article-answer {
  margin: 24px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--blue);
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.article-answer strong {
  color: var(--ink);
}

.article-hero .lead {
  margin-left: 0;
}

.article-hero .hero-actions {
  justify-content: flex-start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
  padding: 60px 0 96px;
}

.article-section {
  margin-bottom: 46px;
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.article-section p {
  margin: 0 0 15px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.article-section ul {
  margin: 0 0 15px;
  padding-left: 22px;
  color: var(--ink-2);
  line-height: 1.7;
}

.article-section li {
  margin-bottom: 9px;
}

.article-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.article-aside-card {
  display: grid;
  gap: 11px;
  background: var(--bg-gray);
  border-radius: 18px;
  padding: 24px;
}

.article-aside-card > strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.article-aside-card a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.article-aside-card a:hover {
  color: var(--blue);
}

.article-aside-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.section-band {
  background: var(--bg-gray);
  padding: 0 0 100px;
}

/* ─── Responsive ─── */

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

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

  .section-copy {
    max-width: 620px;
    text-align: center;
    margin-inline: auto;
  }

  .review-story-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .review-story-grid .visual-stage,
  .visual-stage {
    min-height: 0;
  }

  .visual-stage--finding {
    min-height: 0;
    padding: 18px 0 0 16px;
  }

  .visual-stage--verify,
  .visual-stage--diff {
    padding-inline: 16px;
  }

  .ui-window {
    width: min(100%, 100%);
  }

  .ui-window--finding {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    width: 100%;
    border-radius: 18px 0 0 0;
    transform: translate(2px, 2px);
  }

  .ui-window--finding .ui-finding-body {
    padding: 10px 16px 24px;
  }

  .ui-window--verify,
  .ui-window--diff {
    margin-left: -36px;
    margin-bottom: -64px;
  }

  .review-story-copy {
    max-width: 620px;
    text-align: center;
  }

  .review-story-copy h2,
  .review-story-lead {
    margin-inline: auto;
  }

  .review-story-points li {
    text-align: left;
  }

  .detect-block {
    text-align: center;
  }

  .detect-chips {
    justify-content: center;
  }

  .section-copy .detect-block {
    text-align: center;
  }

  .steps,
  .pricing {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .step-connector {
    display: none;
  }

  .check-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .hero-shell {
    padding: 140px 0 84px;
  }

  .hero-video {
    margin-top: 56px;
  }

  .video-placeholder {
    min-height: 360px;
    padding: 34px 22px;
  }

  .finding-flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -22px;
    transform: translateX(50%);
  }

  .product-preview-body {
    padding: 28px 20px;
  }

  .source-block {
    padding: 20px 8px;
  }

  .source-block strong {
    font-size: 11.5px;
    overflow: visible;
    min-height: 30px;
    text-overflow: clip;
    white-space: normal;
  }

  .lead-capture {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 22px;
  }

  .lead-capture input,
  .lead-capture .btn {
    width: 100%;
    border-radius: 16px;
  }

  .section-final-inner h2 {
    font-size: 1.85rem;
  }

  .footer-links {
    margin-left: 0;
  }
}

/* ─── Reduced motion ─── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pulse-dot {
    animation: none;
  }

  .ui-window {
    animation: none;
  }

  .price-card,
  .resource-grid a,
  .btn {
    transition: none;
  }
}

@media (max-width: 720px) {
  .lead-form-grid,
  .lead-modal-grid,
  .ui-claim-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 20px 16px;
  }

  .lead-modal {
    padding: 12px;
  }

  .lead-modal-dialog {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .ui-diff-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ui-accept-btn {
    justify-content: center;
  }
}
/* Consent-gated analytics preferences */
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent strong {
  display: block;
  margin-bottom: 0.25rem;
}

.analytics-consent p {
  max-width: 54rem;
  margin: 0;
  color: var(--muted, #475569);
  font-size: 0.875rem;
  line-height: 1.5;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.625rem;
}

.footer-privacy-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 720px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
