:root {
  --bg: #f2eee6;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffdf9;
  --text: #1f1b16;
  --muted: #61584e;
  --accent: #db5b2d;
  --accent-dark: #8d2f15;
  --line: rgba(31, 27, 22, 0.08);
  --shadow: 0 24px 60px rgba(78, 48, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(219, 91, 45, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(75, 142, 125, 0.16), transparent 24%),
    linear-gradient(135deg, #efe7db 0%, #f7f3ec 45%, #ece5d8 100%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: #223843;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: calc(100% - 32px);
  max-width: none;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.top-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8d61 100%);
}

.hero-card,
.panel,
.message {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 60ch;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 27, 22, 0.06);
  font-size: 0.92rem;
}

.upload-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.webcam-hero {
  align-items: stretch;
}

.webcam-controls {
  gap: 12px;
}

.faces-layout {
  grid-template-columns: 1.35fr 0.95fr;
  align-items: start;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.preview-card {
  padding: 18px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-block {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(31, 27, 22, 0.08);
  background: rgba(255, 248, 241, 0.82);
}

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

.captcha-header .upload-label {
  margin-bottom: 0;
}

.captcha-refresh-button {
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(59, 86, 78, 0.18);
}

.captcha-image {
  display: block;
  width: 100%;
  max-width: 220px;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid rgba(31, 27, 22, 0.1);
  background: #fffdf9;
}

.upload-label {
  margin-bottom: 10px;
  font-weight: 700;
}

input[type="file"] {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 27, 22, 0.18);
  background: #fff;
  font: inherit;
}

input[type="text"] {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(31, 27, 22, 0.12);
  background: #fff;
  font: inherit;
}

button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8d61 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 14px 30px rgba(219, 91, 45, 0.28);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(219, 91, 45, 0.36);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.secondary-button {
  background: linear-gradient(135deg, #3b564e 0%, #55786d 100%);
  box-shadow: 0 14px 30px rgba(59, 86, 78, 0.22);
}

.hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.error-text {
  color: #932f1d;
}

.message {
  margin-top: 20px;
  padding: 16px 20px;
}

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1200;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-template {
  display: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 22px 45px rgba(52, 34, 18, 0.18);
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: auto;
}

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

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.toast-success {
  color: #1f5e49;
  background: rgba(231, 247, 239, 0.98);
  border-color: rgba(31, 94, 73, 0.18);
}

.toast-error {
  color: #932f1d;
  background: rgba(255, 239, 236, 0.98);
  border-color: rgba(147, 47, 29, 0.16);
}

.toast-content {
  flex: 1;
}

.toast-title {
  display: block;
  margin-bottom: 4px;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 0.98rem;
}

.toast-text {
  margin: 0;
  color: inherit;
  line-height: 1.45;
}

.toast-close {
  flex: none;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  opacity: 0.78;
}

.toast-close:hover {
  opacity: 1;
}

.error {
  color: #932f1d;
  background: rgba(255, 239, 236, 0.9);
}

.success {
  color: #1f5e49;
  background: rgba(231, 247, 239, 0.92);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.webcam-grid .panel {
  min-height: 360px;
}

.registration-frame {
  margin-top: 8px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}

.panel {
  padding: 22px;
}

.panel h2 {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.panel img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
}

.camera-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #120f0b;
  aspect-ratio: 16 / 10;
}

.camera-frame video,
.camera-frame img,
.camera-placeholder {
  width: 100%;
  height: 100%;
}

.camera-frame video,
.camera-frame img {
  object-fit: contain;
}

.overlay-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.camera-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  text-align: center;
  background: linear-gradient(145deg, rgba(18, 15, 11, 0.84), rgba(34, 27, 21, 0.7));
  backdrop-filter: blur(4px);
  z-index: 2;
}

.camera-placeholder[hidden] {
  display: none;
}

.camera-placeholder strong {
  color: #fff7ef;
  font-size: 1.05rem;
}

.camera-placeholder p {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 247, 239, 0.74);
}

.loading-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.camera-placeholder.is-loading {
  background:
    radial-gradient(circle at top, rgba(219, 91, 45, 0.3), transparent 35%),
    linear-gradient(145deg, rgba(18, 15, 11, 0.92), rgba(34, 27, 21, 0.76));
}

.camera-placeholder.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: placeholderSweep 1.8s ease-in-out infinite;
}

.camera-placeholder.is-loading .loading-dots {
  display: inline-flex;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #db5b2d;
  box-shadow: 0 0 18px rgba(219, 91, 45, 0.4);
  animation: loadingPulse 1s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.18s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes loadingPulse {
  0%,
  80%,
  100% {
    transform: scale(0.65);
    opacity: 0.35;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes placeholderSweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.detection-panel {
  margin-top: 20px;
}

.summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 20px;
}

.identity-summary h3 {
  margin: 0;
  font-size: 1rem;
}

.summary-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 27, 22, 0.08);
}

.summary-item span {
  min-width: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.panel-header,
.detection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detection-list {
  display: grid;
  gap: 12px;
}

.detection-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.detection-item p,
.empty-state {
  margin: 6px 0 0;
  color: var(--muted);
}

.landing-body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 152, 84, 0.2), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(67, 201, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 78%, rgba(58, 210, 168, 0.14), transparent 28%),
    linear-gradient(160deg, #08131e 0%, #0d2231 48%, #102433 100%);
}

.landing-body::before,
.landing-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.landing-body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
}

.landing-body::after {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 166, 92, 0.16), transparent 26%),
    radial-gradient(circle at 76% 26%, rgba(79, 212, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 90%, rgba(63, 202, 152, 0.12), transparent 28%);
  filter: blur(56px);
  opacity: 0.95;
  animation: driftGlow 16s ease-in-out infinite alternate;
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(150, 214, 255, 0.14);
  border-radius: 24px;
  background: rgba(6, 18, 28, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(1, 10, 17, 0.34);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f4f8fb;
  text-decoration: none;
}

.brand-lockup strong,
.landing-links a,
.marketing-hero h1,
.showcase-panel h2,
.workflow-heading h2,
.workflow-card strong,
.cta-ribbon h2 {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
}

.brand-lockup small {
  display: block;
  margin-top: 2px;
  color: rgba(221, 232, 241, 0.72);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ff8f4c 0%, #ff5e6a 48%, #4fd3ff 100%);
  box-shadow: 0 18px 34px rgba(15, 120, 172, 0.28);
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-links a {
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #f2f8fc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(165, 217, 248, 0.14);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.landing-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 168, 99, 0.38);
}

.marketing-hero,
.trust-strip,
.proof-band,
.showcase-grid,
.workflow-section,
.cta-ribbon {
  margin-top: 22px;
}

.marketing-hero-card,
.trust-strip,
.proof-card,
.showcase-panel,
.workflow-section,
.workflow-card,
.cta-ribbon {
  border: 1px solid rgba(148, 212, 255, 0.14);
  border-radius: 30px;
  backdrop-filter: blur(14px);
}

.marketing-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  padding: 36px 36px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 164, 95, 0.24), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(78, 212, 255, 0.2), transparent 20%),
    radial-gradient(circle at 72% 82%, rgba(62, 214, 160, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(8, 22, 34, 0.9), rgba(13, 30, 45, 0.94));
  box-shadow: 0 28px 72px rgba(0, 10, 18, 0.4);
}

.marketing-hero-card::before,
.marketing-hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.72;
}

.marketing-hero-card::before {
  top: -80px;
  right: 18%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.marketing-hero-card::after {
  right: -94px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 145, 77, 0.18), rgba(255, 145, 77, 0));
}

.marketing-copy {
  position: relative;
  z-index: 1;
  padding: 6px 0;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.landing-tag,
.mini-eyebrow,
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #9be3ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(155, 227, 255, 0.18);
}

.stage-badge {
  color: #fff;
  background: linear-gradient(135deg, #ff8d4b 0%, #ff5d67 100%);
  border-color: transparent;
}

.marketing-hero h1 {
  max-width: 12ch;
  margin: 18px 0 16px;
  font-size: clamp(2.3rem, 4.3vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #f5fbff;
}

.marketing-lead {
  max-width: 58ch;
  margin-bottom: 26px;
  color: rgba(226, 235, 242, 0.82);
  font-size: 1.08rem;
  line-height: 1.84;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #ff8d4b 0%, #ff5e6a 52%, #ff7c45 100%);
  box-shadow: 0 16px 34px rgba(255, 103, 94, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(255, 103, 94, 0.34);
}

.secondary-link {
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(158, 220, 255, 0.14);
  box-shadow: 0 16px 30px rgba(0, 10, 18, 0.18);
}

.launch-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.launch-chip {
  flex: 1 1 180px;
  min-width: 180px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(154, 219, 255, 0.12);
}

.launch-chip strong,
.proof-card strong,
.hero-signal strong,
.showcase-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #f5fbff;
}

.launch-chip span,
.hero-signal p,
.proof-card p,
.showcase-panel p,
.value-stack p,
.workflow-card p,
.cta-copy p {
  color: rgba(214, 225, 234, 0.74);
}

.hero-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: center;
}

.hero-dashboard {
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 162, 92, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(9, 24, 36, 0.94), rgba(7, 17, 27, 0.94));
  border: 1px solid rgba(156, 220, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-topbar,
.dashboard-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ecf9ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(155, 227, 255, 0.12);
}

.dashboard-pill.alt {
  background: rgba(255, 145, 76, 0.14);
  border-color: rgba(255, 145, 76, 0.18);
}

.dashboard-stage {
  position: relative;
  min-height: 360px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(61, 202, 152, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(17, 44, 59, 0.96), rgba(8, 18, 29, 0.98));
  border: 1px solid rgba(155, 227, 255, 0.1);
}

.scan-grid,
.scan-focus {
  position: absolute;
}

.scan-grid {
  inset: 0;
  background:
    linear-gradient(rgba(139, 225, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 225, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 95%);
}

.scan-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(80, 223, 255, 0.2) 50%, transparent 100%);
  animation: dashboardSweep 4s linear infinite;
}

.scan-focus {
  left: 52%;
  top: 46%;
  width: 180px;
  height: 220px;
  color: rgba(255, 163, 96, 0.96);
  border-radius: 28px;
  border: 1px solid rgba(125, 235, 255, 0.8);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(125, 235, 255, 0.14), 0 0 34px rgba(71, 208, 255, 0.16);
  animation: scanPulse 2.4s ease-in-out infinite;
}

.scan-focus::before,
.scan-focus::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 163, 96, 0.96);
}

.scan-focus::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.scan-focus::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.tracked-person {
  position: absolute;
  width: min(240px, calc(100% - 44px));
  padding: 16px 18px;
  border-radius: 18px;
  color: #eef8ff;
  background: rgba(7, 20, 31, 0.84);
  border: 1px solid rgba(157, 219, 255, 0.16);
  box-shadow: 0 16px 30px rgba(0, 9, 16, 0.26);
}

.tracked-person p {
  margin: 6px 0 0;
  color: rgba(214, 225, 234, 0.74);
}

.primary-track {
  top: 24px;
  right: 22px;
}

.secondary-track {
  left: 22px;
  bottom: 24px;
}

.track-tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: #a6e9ff;
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(155, 227, 255, 0.1);
}

.dashboard-metric span {
  display: block;
  margin-bottom: 8px;
  color: rgba(166, 228, 255, 0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-metric strong {
  color: #f5fbff;
}

.hero-signal-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showcase-panel h2,
.cta-ribbon h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.hero-signal {
  min-height: 100%;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signal-alert {
  background: linear-gradient(180deg, rgba(255, 146, 83, 0.16), rgba(255, 255, 255, 0.04));
}

.signal-identity {
  background: linear-gradient(180deg, rgba(73, 214, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.signal-deploy {
  background: linear-gradient(180deg, rgba(53, 212, 164, 0.16), rgba(255, 255, 255, 0.04));
}

.trust-strip {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(7, 19, 29, 0.7);
  box-shadow: 0 24px 60px rgba(1, 10, 17, 0.28);
}

.trust-title {
  margin: 0;
  color: rgba(184, 226, 249, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-list span {
  padding: 12px 16px;
  border-radius: 999px;
  color: #f5fbff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(155, 227, 255, 0.12);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(9, 22, 34, 0.8), rgba(13, 28, 40, 0.94));
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 24px 52px rgba(1, 10, 17, 0.26);
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(1, 10, 17, 0.34);
}

.proof-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff8f4c 0%, #4fd3ff 100%);
}

.proof-card:nth-child(1) {
  background:
    radial-gradient(circle at top left, rgba(255, 155, 90, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(11, 24, 37, 0.86), rgba(12, 29, 41, 0.96));
}

.proof-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(79, 211, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(8, 23, 38, 0.86), rgba(11, 28, 43, 0.96));
}

.proof-card:nth-child(3) {
  background:
    radial-gradient(circle at center, rgba(63, 212, 163, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(8, 23, 34, 0.86), rgba(11, 26, 37, 0.96));
}

.proof-card:nth-child(4) {
  background:
    radial-gradient(circle at bottom right, rgba(255, 103, 120, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(10, 22, 35, 0.86), rgba(13, 27, 39, 0.96));
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}

.showcase-panel {
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 164, 95, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(7, 18, 28, 0.76), rgba(12, 27, 39, 0.9));
  box-shadow: 0 24px 56px rgba(1, 10, 17, 0.26);
}

.contrast-panel {
  background:
    radial-gradient(circle at top right, rgba(79, 211, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom left, rgba(63, 212, 163, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(10, 22, 34, 0.78), rgba(13, 29, 42, 0.92));
}

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

.icon-list li {
  padding: 16px 18px;
  border-radius: 18px;
  color: #f3fbff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(155, 227, 255, 0.12);
}

.value-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.value-stack div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(155, 227, 255, 0.12);
}

.workflow-section {
  padding: 30px;
  background:
    radial-gradient(circle at top center, rgba(79, 211, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(8, 21, 31, 0.76), rgba(11, 25, 38, 0.92));
  box-shadow: 0 24px 56px rgba(1, 10, 17, 0.26);
}

.workflow-heading {
  max-width: 680px;
}

.workflow-heading h2 {
  margin: 14px 0 0;
  color: #f5fbff;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.workflow-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.workflow-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #08131e;
  font-weight: 800;
  background: linear-gradient(135deg, #9ce6ff 0%, #ffd08e 100%);
}

.cta-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background:
    radial-gradient(circle at right center, rgba(255, 142, 79, 0.28), transparent 26%),
    radial-gradient(circle at left top, rgba(79, 211, 255, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(8, 20, 31, 0.84), rgba(12, 29, 42, 0.96));
  box-shadow: 0 24px 60px rgba(1, 10, 17, 0.3);
}

.cta-copy {
  max-width: 720px;
}

.cta-ribbon h2,
.showcase-panel h2,
.workflow-card strong {
  color: #f5fbff;
}

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

@keyframes dashboardSweep {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes scanPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(125, 235, 255, 0.12), 0 0 22px rgba(71, 208, 255, 0.12);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(125, 235, 255, 0.22), 0 0 38px rgba(71, 208, 255, 0.22);
  }
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2%, -2%, 0) scale(1.06);
  }
}

@media (max-width: 860px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .hero-card,
  .results-grid,
  .marketing-hero-card,
  .showcase-grid,
  .proof-band,
  .hero-signal-cluster,
  .workflow-grid,
  .cta-ribbon {
    grid-template-columns: 1fr;
  }

  .faces-layout {
    grid-template-columns: 1fr;
  }

  .captcha-header {
    align-items: stretch;
    flex-direction: column;
  }

  .captcha-image {
    max-width: 100%;
  }

  .landing-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-links,
  .hero-actions {
    width: 100%;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .cta-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-links a,
  .hero-button {
    flex: 1 1 100%;
  }

  .landing-shell {
    width: calc(100% - 20px);
    padding-top: 20px;
  }

  .marketing-hero-card,
  .workflow-section,
  .showcase-panel,
  .cta-ribbon,
  .trust-strip {
    padding: 22px;
  }

  .dashboard-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
  }

  .tracked-person {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 32px);
    margin: 16px;
  }

  .scan-focus {
    width: 150px;
    height: 190px;
  }

  .page-shell {
    width: calc(100% - 20px);
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .marketing-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
}
