:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1f1f1f;
  --muted: #5d6470;
  --accent: #1e3a5f;
  --accent-dark: #152a46;
  --line: #e7eaf0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

.icon-nav {
  width: 15px;
  height: 15px;
  color: #9ca3af;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 26px;
  color: var(--text);
  font-size: 15px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-blur {
  position: absolute;
  left: 50%;
  top: -300px;
  transform: translateX(-50%) rotate(20deg);
  width: 900px;
  height: 540px;
  background: linear-gradient(135deg, #1e3a5f 10%, #dfe6f2 80%);
  opacity: 0.1;
  filter: blur(90px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  border: 1px solid #cfe0fa;
  background: #f0f6ff;
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1;
}

.lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

.hero-features {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checker-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 45px rgba(33, 49, 74, 0.08);
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  position: relative;
}

.step {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #6f7784;
  font-size: 14px;
  font-weight: 700;
}

.step-active {
  background: var(--accent);
  color: #fff;
}

.steps-line {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  background: #e4e9f2;
  transform: translateY(-50%);
  z-index: 1;
}

.steps-line-fill {
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.2s ease;
}

.step-subtitle {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.form-step h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

label {
  display: block;
  margin-bottom: 13px;
  font-weight: 600;
  font-size: 14px;
  color: #2f3440;
}

input,
select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #cdd4df;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
}

button {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

.row-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.button-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.btn-outline {
  background: #fff;
  color: #1f2937;
  border: 1px solid #cbd5e1;
  padding: 0 18px;
}

.btn-outline:hover {
  background: #f8fafc;
}

.hidden {
  display: none !important;
}

.hint {
  margin: -8px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.checking-state {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.checking-state h2 {
  margin: 0;
  font-size: 24px;
  color: var(--text);
}

.checking-state p {
  margin: 10px 0 0;
  max-width: 350px;
  color: var(--muted);
}

.spinner {
  width: 64px;
  height: 64px;
  border: 5px solid #dbe6f7;
  border-top-color: #1e3a5f;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.alert-box {
  background: #fff4e7;
  border: 1px solid #f6cf9d;
  color: #9a4d00;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.alert-box h2 {
  margin: 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-card,
.results-list li {
  background: #f8fafc;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  padding: 12px;
}

.small-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

#personName {
  margin: 6px 0;
}

#personDob {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.result-table h3,
.value-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.result-table {
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.card h3,
.stats-grid p,
.value-box h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.results-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.results-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.results-list b {
  white-space: nowrap;
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 10px;
}

.status-warn {
  background: #ffedd5;
  color: #a04a08;
}

.status-mid {
  background: #fef3c7;
  color: #92400e;
}

.status-hide {
  background: #e5e7eb;
  color: #374151;
}

.value-box {
  background: #f5f6f8;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.value-box p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
}

.no-margin {
  margin-bottom: 0;
}

.field-error {
  margin: 6px 0 0;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}

.input-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444 inset;
}

.contact-switch {
  margin: 10px 0;
  border: 1px solid #cdd4df;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.switch-btn {
  margin: 0;
  min-height: 40px;
  background: #fff;
  color: #6b7280;
  border-radius: 0;
  border-right: 1px solid #cdd4df;
}

.switch-btn:last-child {
  border-right: 0;
}

.switch-btn-active {
  background: #eef2f7;
  color: #111827;
}

.payments-note {
  margin-top: 12px;
  text-align: center;
}

.payments-row {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.safe-text {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.proof-box {
  margin-top: 12px;
  border: 1px solid #e6ebf3;
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  color: #4b5563;
}

.stats {
  padding: 60px 0;
  background: var(--accent);
  color: #fff;
}

.stats h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 34px;
}

.stats-grid {
  margin: 0;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-grid li {
  text-align: center;
}

.stats-grid p {
  margin: 0;
  color: #d7dfeb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stats-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 32px;
}

.info {
  padding: 64px 0;
}

.info h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
}

.demo-report {
  margin: 32px auto 0;
  max-width: 760px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.demo-report header {
  background: #f5f6f8;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.demo-report h3 {
  margin: 0;
}

.demo-report ul {
  margin: 0;
  padding: 16px 18px 10px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.demo-report li {
  display: flex;
  justify-content: space-between;
  border: 1px solid #edf0f4;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
}

.demo-report b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e5e7eb;
  color: #374151;
  border-radius: 999px;
  padding: 3px 10px;
}

.demo-report p {
  margin: 0;
  text-align: center;
  padding: 0 18px 16px;
  color: #6b7280;
  font-size: 14px;
}

.site-footer {
  background: #1f1f1f;
  color: #b7bcc5;
  padding: 50px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding-left: 18px;
}

.footer-main p {
  max-width: 540px;
}

.footer-bottom {
  border-top: 1px solid #353535;
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}

.social-links {
  white-space: nowrap;
}

.social-links a + a {
  margin-left: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .menu {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }
}
