/* Formal public verification portal styling. Loaded only by index.php. */
html {
  background: #f3f5f7;
}

body {
  background: #f3f5f7;
  color: #172536;
}

.topbar {
  height: 70px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #0a1d31;
  border-bottom: 1px solid #20364b;
}

.topbar .brand {
  gap: 11px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .01em;
}

.topbar .brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid #b9914b;
  border-radius: 6px;
  color: #d5b36c;
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: normal;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-color: #3a5064;
  border-radius: 4px;
  color: #d4dde5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.secure-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65b98b;
  box-shadow: 0 0 0 3px rgba(101, 185, 139, .13);
}

.hero {
  display: block;
  padding: 46px clamp(22px, 7vw, 110px) 48px;
  background: #ffffff;
  color: #172536;
  border-bottom: 1px solid #dbe2e8;
}

.hero > div {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 16px;
  color: #45647f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: none;
  margin: 0 0 14px;
  color: #0b2035;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.lead {
  max-width: 620px;
  margin: 0 auto;
  color: #536474;
  font-size: 16px;
  line-height: 1.75;
}

.steps {
  align-self: center;
  border-top: 1px solid #d9e0e6;
}

.steps > div {
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #d9e0e6;
}

.steps > div > span {
  width: 30px;
  height: 30px;
  border: 1px solid #9aaab8;
  border-radius: 4px;
  color: #17334d;
  background: #f7f9fa;
  font-weight: 800;
}

.steps p {
  gap: 4px;
  color: #1e3041;
  font-size: 14px;
}

.steps small {
  color: #6d7c89;
  font-size: 12px;
}

.form-shell {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto 60px;
  border: 1px solid #d5dde4;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(13, 33, 51, .06);
}

.verification-form {
  padding: clamp(26px, 5vw, 58px);
}

fieldset {
  padding-bottom: 42px;
}

fieldset + fieldset {
  padding-top: 40px;
  border-top-color: #dde3e8;
}

legend {
  margin-bottom: 24px;
  color: #10283e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.015em;
}

legend span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 4px;
  background: #eaf0f5;
  color: #284b69;
  font-size: 10px;
  letter-spacing: .05em;
}

label {
  gap: 7px;
  color: #263b4d;
  font-size: 12px;
  font-weight: 750;
}

input,
select,
textarea {
  min-height: 47px;
  border-color: #bdc9d2;
  border-radius: 4px;
  background: #ffffff;
  color: #162635;
  font-size: 14px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #8fa1af;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1d527c;
  box-shadow: 0 0 0 3px rgba(29, 82, 124, .12);
}

.field-note {
  color: #667684;
  font-size: 13px;
}

.upload-grid.single-upload {
  grid-template-columns: 1fr;
}

.upload-card[hidden] {
  display: none;
}

.identity-guidance {
  margin-top: 14px;
}

.upload-card {
  padding: 19px;
  border: 1px solid #c7d1d9;
  border-radius: 5px;
  background: #f8fafb;
}

.upload-card strong {
  color: #172f45;
  font-size: 13px;
}

.upload-card input {
  margin-top: 10px;
  border-color: #d2dae0;
  background: #ffffff;
}

.consent {
  padding: 20px;
  border: 1px solid #d8e0e6;
  border-radius: 5px;
  background: #f8fafb;
  color: #455867;
  font-size: 12px;
}

.submit-row {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #d8e0e6;
  border-radius: 5px;
  background: #ffffff;
}

.submit-row > div strong {
  color: #21384c;
  font-size: 13px;
}

.submit-row .button.primary {
  min-width: 190px;
  padding: 14px 22px;
  border-color: #0b2d49;
  border-radius: 4px;
  background: #0b2d49;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: .025em;
}

.submit-row .button.primary:hover {
  background: #123d60;
}

footer {
  padding-bottom: 36px;
  color: #6c7a86;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .form-shell {
    margin-top: 22px;
  }
}

@media (max-width: 520px) {
  .secure-pill {
    padding: 7px 9px;
    font-size: 9px;
  }

  .topbar {
    padding: 0 16px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
