:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f7fafc;
  --line: rgba(25, 45, 68, 0.12);
  --text: #13283d;
  --muted: #5c6f82;
  --accent: #0f5e9c;
  --accent-strong: #0a416d;
  --teal: #16806a;
  --ok: #1f8f5f;
  --error: #c94c4c;
  --shadow: 0 24px 60px rgba(19, 40, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f4f7fb;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.96) 0%, rgba(244, 247, 251, 0.9) 42%, rgba(244, 247, 251, 0.68) 100%),
    url("/static/hero-biometric-bg.jpg") center right / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(20, 42, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 42, 64, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 60%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

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

.landing-shell {
  min-height: 100svh;
  padding: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 40px;
  min-height: calc(100svh - 48px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 44px 22px;
}

.hero::before {
  content: "";
  position: absolute;
  right: min(40vw, 520px);
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(transparent, rgba(22, 128, 106, 0.34), transparent);
}

.hero-copy {
  position: relative;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(22, 128, 106, 0.12);
}

.eyebrow {
  margin: 28px 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-block;
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.brand-mark-main,
.brand-mark-accent {
  display: inline-block;
}

.brand-mark-main {
  color: #102840;
}

.brand-mark-accent {
  margin-left: 0.04em;
  color: var(--accent);
}

.lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 94, 156, 0.22);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary,
.button.tertiary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button.secondary:hover,
.button.tertiary:hover {
  border-color: rgba(15, 94, 156, 0.28);
  background: #ffffff;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0 0;
}

.proof-item {
  padding-top: 16px;
  border-top: 2px solid rgba(22, 128, 106, 0.28);
}

.proof-item dt,
.card-label,
.panel-kicker,
.panel-meta span {
  margin: 0;
  color: #29465f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-item dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.9)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-header h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.visual-frame {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.9), rgba(235, 243, 247, 0.9)),
    var(--panel-soft);
}

.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  white-space: nowrap;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.pending {
  background: rgba(15, 94, 156, 0.1);
  color: var(--accent-strong);
}

.status-pill.ok {
  background: rgba(31, 143, 95, 0.12);
  color: #16734b;
}

.status-pill.error {
  background: rgba(201, 76, 76, 0.1);
  color: var(--error);
}

.panel-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-meta div {
  min-width: 0;
  padding: 16px 18px;
}

.panel-meta div + div {
  border-left: 1px solid var(--line);
}

.panel-meta strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.92rem;
}

.status-copy {
  padding: 18px 22px 22px;
}

.card-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    max-width: none;
  }

  .brand-mark {
    font-size: 4.8rem;
  }
}

@media (max-width: 760px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(244, 247, 251, 0.97) 0%, rgba(244, 247, 251, 0.92) 58%, rgba(244, 247, 251, 0.78) 100%),
      url("/static/hero-biometric-bg.jpg") center top / cover no-repeat;
  }

  .landing-shell {
    padding: 16px;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding: 22px 0;
  }

  .brand-mark {
    font-size: 3.4rem;
  }

  .lead {
    font-size: 1rem;
  }

  .proof-list,
  .panel-meta {
    grid-template-columns: 1fr;
  }

  .panel-meta div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    font-size: 2.75rem;
  }

  .button {
    width: 100%;
  }

  .panel-header {
    display: grid;
  }
}
