/* idantitem — landing styles. Source file (also served as landing.css).
   Hand-edited; no preprocessor. */

:root {
  --primary: #0b6b3a;
  --primary-700: #075f33;
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --accent-red: #d62828;
  --accent-blue: #00209f;
  --ink: #1c1917;
  --muted: #57534e;
  --muted-light: #a3a3a3;
  --soft: #f5f5f4;
  --paper: #fff;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --bg: #fafaf9;
  --dark: #0a0a0a;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 12px 28px rgba(28, 25, 23, .06);
  --shadow-card: 0 18px 46px rgba(28, 25, 23, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.landing {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
code, pre { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 10px 24px rgba(11,107,58,.22); }
.btn-primary:hover { background: var(--primary-700); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.6); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Section title primitives */
.section-title { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.01em; font-weight: 800; }
.section-sub { margin: 0 0 36px; max-width: 620px; color: var(--muted); font-size: 16px; }

/* Language toggle (header + footer) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 2px;
  gap: 0;
}
.lang-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.lang-toggle__btn:hover { color: var(--ink); }
.lang-toggle__btn.is-active { background: var(--primary); color: #fff; }
.lang-toggle--footer { background: transparent; border-color: #292524; }
.lang-toggle--footer .lang-toggle__btn { color: var(--muted-light); }
.lang-toggle--footer .lang-toggle__btn:hover { color: #fff; }
.lang-toggle--footer .lang-toggle__btn.is-active { background: var(--primary); color: #fff; }

@media (max-width: 760px) {
  .lang-toggle--header { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background: radial-gradient(120% 80% at 80% 0%, #1f2937 0%, #0f172a 60%, #050810 100%);
  color: #e2e8f0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(11,107,58,0.18) 0%, transparent 60%),
    radial-gradient(40% 40% at 90% 80%, rgba(13,148,136,0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-h1, .hero .hero-h1-translation { color: #f8fafc; }
.hero .hero-lede { color: #cbd5e1; }
.hero .hero-notes { color: #94a3b8; }
.hero .hero-notes li + li::before { color: rgba(148,163,184,0.6); }
.hero .btn-ghost {
  background: rgba(248,250,252,0.06);
  border-color: rgba(226,232,240,0.18);
  color: #f1f5f9;
}
.hero .btn-ghost:hover {
  background: rgba(248,250,252,0.12);
  border-color: rgba(226,232,240,0.3);
}
.hero .flag-accent i:nth-child(1) { background: var(--accent-blue); }
.hero .flag-accent i:nth-child(2) { background: var(--accent-red); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-copy { position: relative; }
.flag-accent {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 18px;
}
.flag-accent i {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent-blue);
}
.flag-accent i + i { background: var(--accent-red); }

.hero-h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -.02em;
  font-weight: 800;
  max-width: 720px;
}
.hero-h1-translation {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--muted);
  opacity: .65;
  max-width: 540px;
  line-height: 1.45;
}
.hero-lede {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.hero-notes li { display: inline-flex; align-items: center; gap: 4px; }
.hero-notes li + li::before { content: "·"; margin-right: 6px; color: var(--line-strong); }

/* Hero visual: generated portrait, particle layer, phone mockup and peek
   card stacked. The image sits at the back so the brand subject is always
   visible; the Three.js canvas drifts between image and content; the
   phone mockup keeps its CSS-driven stage cycle and floats in front. */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(148,163,184,0.08);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.35) 40%, rgba(15,23,42,0.05) 75%, transparent 100%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}
.hero-mockup-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 0;
}
@media (max-width: 760px) {
  .hero-visual { min-height: 460px; }
  .hero-image-wrap { border-radius: 20px; }
}
.phone-mock {
  width: 240px;
  background: #1c1917;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(28,25,23,.20);
  position: relative;
  z-index: 2;
}
.phone-mock--lg { width: 260px; }
.phone-screen {
  background: #fafaf9;
  border-radius: 22px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}
.phone-step {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-step::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .25;
}
.phone-upload {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100px;
}
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--primary);
  animation: blink-cursor 1s step-end infinite;
}
@keyframes blink-cursor { 50% { opacity: 0; } }

.hero-peek-card {
  position: absolute;
  right: -8px;
  bottom: 22px;
  width: 220px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-2deg);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e2e8f0;
}
.hero-peek-card .peek-row { color: #f8fafc; }
.hero-peek-card .peek-line { background: rgba(226, 232, 240, 0.16); }
.peek-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.peek-pill {
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 800;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--primary-100);
}
.peek-line { height: 6px; background: var(--soft); border-radius: 3px; }
.peek-line.short { width: 60%; }

@media (max-width: 760px) {
  .hero { padding: 48px 0 40px; }
  .hero-visual { min-height: 360px; }
  .hero-peek-card { right: -8px; top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-blink { animation: none; }
}

/* Centerpiece */
.centerpiece { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.centerpiece-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .centerpiece-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.centerpiece-copy { max-width: 480px; }
.centerpiece-copy .section-title { margin-bottom: 16px; }
.centerpiece-copy .section-sub { margin-bottom: 22px; }
.centerpiece-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.centerpiece-bullets li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.centerpiece-bullets li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 7px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  transform: rotate(45deg);
}

.dossier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.dossier-head strong { display: block; font-size: 14px; }
.dossier-head small { display: block; color: var(--muted); font-size: 12px; }
.dossier-pill {
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.dossier-body { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 22px; }
.dossier-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
}
.dossier-portrait::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--primary);
  opacity: .18;
}
.dossier-portrait .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: scan 2.7s ease-in-out infinite;
  top: 0;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  20%, 70% { opacity: 1; }
  85% { transform: translateY(110px); opacity: 0; }
}
.dossier-fields {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 13px;
}
.dossier-fields dt { color: var(--muted); font-weight: 600; }
.dossier-fields dd { margin: 0; }
.dossier-fields dd.ok { color: var(--primary); font-weight: 700; }
.dossier-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .centerpiece { padding: 64px 0; }
  .centerpiece-copy { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-line { animation: none !important; }
}

/* Centerpiece — anatomy of a verdict: hero figure on the left, a single
   structured verdict mock on the right, then a row of capability bullets.
   Replaces the older long-list dashboard which was too generic. */
.centerpiece-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.centerpiece-head .section-sub { margin: 0 auto; }
.centerpiece-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 920px) {
  .centerpiece-grid { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
}
.centerpiece-figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 64px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
  background: #0f172a;
  min-height: 360px;
}
.centerpiece-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.centerpiece-figure__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.centerpiece-figure__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.verdict-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.verdict-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.verdict-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.verdict-card__title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.01em;
}
.verdict-card__score {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.verdict-card__score strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.verdict-card__score strong small { font-size: 16px; color: var(--muted); font-weight: 700; }
.verdict-card__score em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.verdict-card__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.verdict-card__rows > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
}
.verdict-card__rows dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.verdict-card__rows dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.verdict-card__rows code {
  font-size: 12px;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.verdict-card__bar {
  display: inline-block;
  width: 96px;
  height: 6px;
  background: var(--soft);
  border-radius: 999px;
  overflow: hidden;
}
.verdict-card__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #2dd4bf);
  border-radius: 999px;
}
.verdict-card__ok { color: var(--primary); font-weight: 600; }
.verdict-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.verdict-card__sig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}
.verdict-card__time { color: var(--muted); }
@media (max-width: 760px) {
  .verdict-card__rows > div { grid-template-columns: 1fr; gap: 4px; }
  .verdict-card { padding: 20px; }
}
.centerpiece-head {
  text-align: center;
  max-width: 640px;
}
.centerpiece-head .section-title { margin-bottom: 14px; }
.centerpiece-head .section-sub { margin: 0 auto; }

.dash-card {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.dash-title { font-size: 14px; font-weight: 700; color: var(--ink); display: block; }
.dash-meta { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.dash-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .02em;
}

.dash-rows { list-style: none; margin: 0; padding: 0; }
.dash-row {
  display: grid;
  grid-template-columns: 100px 1.4fr 1fr 60px;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.dash-row:last-child { border-bottom: none; }
.dash-row__name {
  color: var(--ink);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dash-row__name span {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.dash-row__doc { color: var(--muted); }
.dash-row__score { font-family: "JetBrains Mono", monospace; color: var(--ink); text-align: right; font-weight: 700; }

.dash-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid;
  white-space: nowrap;
}
.dash-pill.is-ok { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }
.dash-pill.is-review { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.dash-pill.is-bad { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.centerpiece-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--ink);
}
.centerpiece-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.centerpiece-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

@media (max-width: 760px) {
  .dash-row {
    grid-template-columns: 80px 1fr 60px;
    gap: 10px;
    padding: 12px 16px;
  }
  .dash-row__doc { display: none; }
  .dash-head { padding: 14px 16px; }
}

/* Audiences */
.audiences { padding: 96px 0; background: var(--bg); }
.audience-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 860px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}
.audience-card {
  padding: 0 0 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.audience-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}
.audience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.audience-card:hover .audience-card__media img {
  transform: scale(1.04);
}
.audience-card h3 {
  margin: 22px 22px 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.audience-card p,
.audience-card em {
  margin-left: 22px;
  margin-right: 22px;
}
.audience-card p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.audience-card em {
  display: block;
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  opacity: .8;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}

/* Additional landing sections */
.process-flow {
  padding: 84px 0;
  background: var(--bg);
}
.process-flow__grid {
  display: grid;
  gap: 24px;
}
.process-flow__steps {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) {
  .process-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.process-step__icon {
  margin-bottom: 12px;
  flex-shrink: 0;
}
.process-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}
.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.faq-block {
  padding: 84px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Integrate (tabs) */
.integrate { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: var(--soft);
  border-radius: 999px;
  margin-bottom: 28px;
}
.tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { background: #fff; color: var(--primary); box-shadow: var(--shadow-soft); }

.tab-panels { position: relative; }
.tab-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  padding: 26px 0;
}
.tab-panel[hidden] { display: none; }
.tab-panel p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.55; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.bullets li { display: flex; gap: 8px; }
.bullets li::before { content: "✓"; color: var(--primary); font-weight: 800; }

.snippet { display: block; }
.snippet--mono {
  background: var(--soft);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink);
  word-break: break-all;
}
.snippet--code {
  background: #0a0a0a;
  color: #e7e5e4;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  font-size: 12.5px;
  line-height: 1.6;
  overflow: auto;
  white-space: pre;
  margin: 0;
  box-shadow: 0 12px 32px rgba(28,25,23,.18);
}
@media (max-width: 760px) {
  .tab-panel { grid-template-columns: 1fr; gap: 16px; padding: 18px 0; }
  .audiences, .integrate, .process-flow, .faq-block { padding: 64px 0; }
}

/* Final CTA */
.final-cta { padding: 88px 0 96px; background: var(--dark); color: #fff; }
.final-cta h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 800; }
.final-sub { margin: 0 0 28px; font-size: 17px; color: #a3a3a3; max-width: 560px; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.final-foot {
  margin: 0;
  font-size: 12px;
  color: #525252;
}
.final-foot a { color: #a3a3a3; text-decoration: underline; text-underline-offset: 3px; }
.final-foot a:hover { color: #fff; }

/* ----------------------------------------------------------------
   Hero visual — stepper mode.
   Right side walks through 3 stages on a 9s loop:
     stage 1 (0-3s)  Document capture (frame + scan line)
     stage 2 (3-6s)  Selfie (face ring with blink)
     stage 3 (6-9s)  Verdict (green check + dossier slide-in)
   Stepper bar above the phone advances with the active stage.
   ---------------------------------------------------------------- */

/* Stepper rail above the phone */
.stepper {
  width: 280px;
  margin-bottom: 18px;
}
.stepper-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  text-align: center;
}
.stepper-rail {
  position: absolute;
  top: 9px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.stepper-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  width: 0%;
  border-radius: 2px;
  animation: stepper-rail-fill 9s linear infinite;
}
.stepper-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.stepper-step i {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}
.stepper-step b { font-weight: 700; }
.stepper-step[data-stage="1"] i { animation: stepper-dot 9s linear infinite; animation-delay: 0s; }
.stepper-step[data-stage="2"] i { animation: stepper-dot 9s linear infinite; animation-delay: -6s; }
.stepper-step[data-stage="3"] i { animation: stepper-dot 9s linear infinite; animation-delay: -3s; }
@keyframes stepper-dot {
  0%, 33.33%  { background: var(--primary); border-color: var(--primary); transform: scale(1.15); }
  33.34%, 100% { background: #fff;          border-color: var(--line);    transform: scale(1); }
}
@keyframes stepper-rail-fill {
  0%   { width: 0%; }
  33%  { width: 50%; }
  66%  { width: 100%; }
  100% { width: 100%; }
}

/* Phone screen as a stage stack — only one stage visible at a time */
.phone-screen--stepper {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
}
.stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
  opacity: 0;
  transform: translateY(12px);
  animation: stage-cycle 9s ease-in-out infinite;
}
.stage[data-stage="1"] { animation-delay: 0s; }
.stage[data-stage="2"] { animation-delay: 3s; }
.stage[data-stage="3"] { animation-delay: 6s; }
@keyframes stage-cycle {
  0%, 1%      { opacity: 0; transform: translateY(12px); }
  4%, 30%     { opacity: 1; transform: translateY(0); }
  33%, 100%   { opacity: 0; transform: translateY(-12px); }
}
.stage-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--primary);
  text-transform: uppercase;
}
.stage-caption {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

/* Stage 1 — document */
.doc-frame {
  position: relative;
  width: 152px;
  height: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}
.doc-photo {
  position: relative;
  width: 38px;
  height: 50px;
  background: var(--soft);
  border-radius: 4px;
}
.doc-photo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--primary);
  opacity: .3;
}
.doc-lines { display: grid; gap: 6px; }
.doc-lines span {
  display: block;
  height: 5px;
  background: var(--line-strong);
  border-radius: 3px;
}
.doc-lines span.short { width: 60%; }
.doc-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: doc-scan-anim 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes doc-scan-anim {
  0%, 12%   { transform: translateY(0);    opacity: 0; }
  20%, 80%  { opacity: 1; }
  90%, 100% { transform: translateY(96px); opacity: 0; }
}

/* Stage 2 — selfie */
.selfie-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed var(--primary-100);
  display: grid;
  place-items: center;
  animation: selfie-pulse 1.6s ease-in-out infinite;
}
@keyframes selfie-pulse {
  0%, 100% { transform: scale(1); border-color: var(--primary-100); }
  50%      { transform: scale(1.05); border-color: var(--primary); }
}
.selfie-face {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 22px;
}
.selfie-eyes {
  display: flex;
  gap: 16px;
}
.selfie-eyes i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: selfie-blink 3.5s ease-in-out infinite;
  transform-origin: center;
}
.selfie-mouth {
  width: 22px;
  height: 8px;
  border-bottom: 2px solid var(--ink);
  border-radius: 0 0 22px 22px;
}
@keyframes selfie-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%, 97%       { transform: scaleY(.1); }
}

/* Stage 3 — verdict */
.verdict-check {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 22px rgba(16,185,129,.35));
  animation: verdict-pop 1.2s cubic-bezier(.16,1,.3,1) both;
  animation-delay: 6.1s;
}
@keyframes verdict-pop {
  0%   { transform: scale(.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.stage--verdict .stage-caption { color: var(--primary); font-weight: 700; }

/* Peek card slides in only at the verdict step */
.hero-peek-card {
  animation: hero-peek-reveal 9s ease-in-out infinite;
}
@keyframes hero-peek-reveal {
  0%, 65%   { transform: rotate(-2deg) translateX(56px); opacity: 0; }
  72%, 95%  { transform: rotate(-2deg) translateX(0);    opacity: 1; }
  100%      { transform: rotate(-2deg) translateX(56px); opacity: 0; }
}
.hero-peek-card .peek-pill {
  animation: hero-peek-pill 9s ease-in-out infinite;
}
@keyframes hero-peek-pill {
  0%, 70%   { box-shadow: 0 0 0 0 rgba(16,185,129, 0); }
  76%, 84%  { box-shadow: 0 0 0 7px rgba(16,185,129, .22); }
  92%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129, 0); }
}

/* Make the visual column actually align the stepper above the phone */
.hero-visual {
  flex-direction: column;
  gap: 0;
}

@media (max-width: 760px) {
  .stepper { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .stepper-step i,
  .stepper-rail::after,
  .doc-scan,
  .selfie-ring,
  .selfie-eyes i,
  .verdict-check,
  .hero-peek-card,
  .hero-peek-card .peek-pill {
    animation: none !important;
  }
  /* Show all 3 stages stacked when motion is disabled — gives the same
     information in a static frame. */
  .phone-screen--stepper { min-height: auto; padding: 18px 16px; }
  .stage { position: relative; opacity: 1; transform: none; padding: 12px 0; gap: 10px; }
  .hero-peek-card { opacity: 1; transform: rotate(-2deg); }
}

/* ============================================================
   Trust stats + security (new sections, 2026-05 landing redesign)
   ============================================================ */
.trust-stats {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}
.trust-stats__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.trust-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 720px) {
  .trust-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-stat {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  justify-content: center;
}
.trust-stat__value {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--primary);
  line-height: 1.05;
}
.trust-stat__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.security {
  padding: 96px 0;
  background: radial-gradient(120% 60% at 10% 0%, #1f2937 0%, #0f172a 60%, #050810 100%);
  color: #e2e8f0;
  position: relative;
  isolation: isolate;
}
.security::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 40% at 90% 20%, rgba(11,107,58,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.security__grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
@media (min-width: 960px) {
  .security__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}
.security__head .section-title { color: #f8fafc; }
.security__head .section-sub { color: #cbd5e1; margin-bottom: 22px; }
.btn-ghost--dark {
  background: rgba(248,250,252,0.06);
  border-color: rgba(226,232,240,0.18);
  color: #f1f5f9;
}
.btn-ghost--dark:hover {
  background: rgba(248,250,252,0.12);
  border-color: rgba(226,232,240,0.3);
}
.security__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .security__list { grid-template-columns: repeat(2, 1fr); }
}
.security__list li {
  padding: 22px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.security__list strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
}
.security__list span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

/* Integrate section — dark theme with the link/widget/API particle banner
   sitting BELOW the heading and BEHIND the tabs. The previous attempt
   floated it as a section-wide background, which fought the body copy
   for contrast; this layout makes it part of the page rhythm and keeps
   the tab content fully legible on a solid surface. */
.integrate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #1f2937 0%, #0f172a 70%, #050810 100%);
  color: #e2e8f0;
  border-top: 1px solid rgba(226, 232, 240, 0.06);
}
.integrate .section-title { color: #f8fafc; }
.integrate > .container { position: relative; z-index: 1; }
/* Animated SVG banner: replaces the previous baked PNG/WebP background.
   The three nodes (link, widget, API) pulse softly, the two connector
   paths run a dashed flow, and a small bright dot rides each path so
   the section feels live. Everything pure SVG/SMIL/CSS — no JS. */
.integrate-svg {
  display: block;
  margin: 24px auto 32px;
  width: 100%;
  max-width: 920px;
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(45, 212, 191, 0.10));
}
.integrate-svg .iSvg-flow {
  animation: iSvgFlow 1.6s linear infinite;
}
.integrate-svg .iSvg-flow--slow {
  animation-duration: 2.2s;
  animation-direction: reverse;
}
@keyframes iSvgFlow {
  to { stroke-dashoffset: -24; }
}
.integrate-svg .iSvg-node {
  animation: iSvgPulse 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.integrate-svg .iSvg-node--center {
  animation-delay: 0.6s;
}
.integrate-svg .iSvg-node--right {
  animation-delay: 1.2s;
}
@keyframes iSvgPulse {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .integrate-svg .iSvg-flow,
  .integrate-svg .iSvg-node { animation: none; }
}
.integrate .tabs {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(226, 232, 240, 0.12);
}
.integrate .tabs__btn { color: #cbd5e1; }
.integrate .tabs__btn:hover { color: #f1f5f9; }
.integrate .tabs__btn.is-active {
  background: rgba(45, 212, 191, 0.14);
  color: #f8fafc;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.3);
}
.integrate .tab-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #e2e8f0;
}
.integrate .tab-panel p { color: #cbd5e1; }
.integrate .snippet {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(226, 232, 240, 0.12);
  color: #e2e8f0;
}
.integrate .bullets { color: #cbd5e1; }
.integrate .bullets li::before { background: var(--primary); }


/* ============================================================
   Enriched reveal variants + scroll micro-animations
   ============================================================ */

/* Variants override the base `.reveal` initial transform. Pair the
   variant class with `.reveal` on the element. Order on apply: base
   styles → variant initial → `.in` resolves to the same neutral end
   state (opacity 1, translate/scale 0). */
.reveal--left      { transform: translateX(-32px); }
.reveal--right     { transform: translateX(32px); }
.reveal--scale     { transform: scale(0.94); }
.reveal--blur      { filter: blur(8px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1), filter .65s cubic-bezier(.16,1,.3,1); }
.reveal--blur.in   { filter: blur(0); }
.reveal--zoom      { transform: scale(1.06); }
.reveal--zoom.in   { transform: scale(1); }

.reveal.in.reveal--left,
.reveal.in.reveal--right { transform: translateX(0); }
.reveal.in.reveal--scale { transform: scale(1); }

/* Stagger: child reveal elements come in 80ms apart, capped at 8
   children so a long list does not feel sluggish. */
.stagger > .reveal:nth-child(1)  { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2)  { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3)  { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4)  { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5)  { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6)  { transition-delay: 400ms; }
.stagger > .reveal:nth-child(7)  { transition-delay: 480ms; }
.stagger > .reveal:nth-child(8)  { transition-delay: 560ms; }

/* Hero copy gets a softer, longer entrance so the lede settles after
   the headline. Pure CSS, no JS coupling. */
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-h1, .hero-h1-translation, .hero-lede, .hero-ctas, .hero-notes {
  animation: hero-fade-in .9s cubic-bezier(.16,1,.3,1) both;
}
.hero-h1                { animation-delay: 80ms; }
.hero-h1-translation    { animation-delay: 200ms; }
.hero-lede              { animation-delay: 280ms; }
.hero-ctas              { animation-delay: 380ms; }
.hero-notes             { animation-delay: 460ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-h1, .hero-h1-translation, .hero-lede, .hero-ctas, .hero-notes {
    animation: none;
  }
}

/* Hero image: very subtle slow drift so it never feels frozen even when
   the user holds still. Reduced motion users get a static frame. */
@keyframes hero-image-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1.02); }
  50%  { transform: translate3d(-6px, -4px, 0) scale(1.04); }
  100% { transform: translate3d(0, 0, 0) scale(1.02); }
}
.hero-image {
  animation: hero-image-drift 18s ease-in-out infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none; transform: scale(1.02); }
}

/* Trust stats — each value scales up briefly on reveal as a cheap
   counter-feel without writing a JS counter. */
@keyframes stat-pop {
  0%   { transform: scale(0.92); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.reveal.in .trust-stat__value {
  animation: stat-pop .7s cubic-bezier(.34, 1.56, .64, 1) both;
}

/* Card hover micro-interactions: audiences and verdict get a gentle
   lift + warmer shadow on pointer hover. No effect on touch / reduced
   motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .audience-card, .verdict-card, .trust-stat, .security__list li {
    transition: transform .35s cubic-bezier(.16,1,.3,1),
                box-shadow .35s cubic-bezier(.16,1,.3,1);
  }
  .audience-card:hover, .verdict-card:hover, .trust-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  }
  .security__list li:hover {
    transform: translateY(-3px);
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(45, 212, 191, 0.32);
  }
}

/* Verdict card score number: gentle pulse glow when the section reveals,
   to draw attention to the headline metric. */
@keyframes verdict-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(11, 107, 58, 0); }
  50%      { text-shadow: 0 0 18px rgba(11, 107, 58, 0.45); }
}
.reveal.in .verdict-card__score strong {
  animation: verdict-pulse 2.4s ease-in-out 0.4s 2;
}

/* Peek card: tiny constant float so the floating accent does not look
   pasted on the hero. */
@keyframes peek-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-6px); }
}
.hero-peek-card {
  animation: peek-float 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-peek-card { animation: none; }
}
