/* KYC hero — Noorzad design */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

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

/* Optima (system on macOS; humanist fallbacks on Windows) */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Optima, "Optima Nova", "Optima Regular", Candara, "Segoe UI",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  background: #0a0a0a;
}

.site-header {
  flex-shrink: 0;
  background: #0d0d0d;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: clamp(2.25rem, 5.5vw, 3rem);
  max-width: min(100%, 16rem);
}

.kyc-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
  background-color: #0a1625;
  background-image: linear-gradient(
      165deg,
      rgba(5, 12, 22, 0.72) 0%,
      rgba(6, 14, 26, 0.62) 45%,
      rgba(4, 10, 20, 0.68) 100%
    ),
    url("../images/kyc-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kyc-hero__inner {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.kyc-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.kyc-hero__rule {
  width: 4.5rem;
  margin: 1.35rem auto 1.25rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  opacity: 0.95;
}

.kyc-hero__subtitle {
  margin: 0 auto;
  max-width: 38rem;
  font-size: clamp(0.9rem, 2.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.kyc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.kyc-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  background: #fff;
  border: none;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.kyc-hero__btn:hover {
  transform: scale(1.02);
  color: #0d0d0d;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.kyc-hero__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Narrow screens */
@media (max-width: 520px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .kyc-hero {
    padding: 2rem 1rem 2.5rem;
  }

  .kyc-hero__title {
    font-size: 1.65rem;
  }

  .kyc-hero__subtitle {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .kyc-hero__actions {
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2rem;
  }

  .kyc-hero__btn {
    width: 100%;
    max-width: 18rem;
    min-width: unset;
  }
}
