* {
  box-sizing: border-box;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #eef2f7;
}

body {
  margin: 0;
  min-height: 100vh;
}

.page-shell {
  width: min(980px, calc(100% - 24px));
  margin: 24px auto;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.12);
  padding: 28px;
}

.header {
  text-align: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: #3158c8;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
}

.lead {
  max-width: 720px;
  margin: 12px auto 0;
  color: #667085;
  line-height: 1.5;
}

.pdf-wrap {
  width: 100%;
  height: min(72vh, 760px);
  min-height: 520px;
  border: 1px solid #d7ddea;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.pdf-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pdf-fallback {
  margin: 10px 0 20px;
  text-align: center;
  font-size: 14px;
  color: #667085;
}

.pdf-fallback a {
  color: #1f4ed8;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #d7ddea;
  border-radius: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.primary-button {
  width: 100%;
  margin-top: 14px;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  background: #2450d6;
  color: white;
  cursor: pointer;
}

.primary-button:disabled {
  background: #a8b5d8;
  cursor: not-allowed;
}

.status {
  margin: 12px 0 0;
  text-align: center;
  color: #667085;
  font-size: 14px;
}

@media (max-width: 640px) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .card {
    border-radius: 0;
    padding: 16px;
  }

  .pdf-wrap {
    min-height: 460px;
    height: 68vh;
  }
}

.status.info { color: #667085; }
.status.busy { color: #2450d6; font-weight: 700; }
.status.success { color: #137333; font-weight: 700; }
.status.error { color: #b42318; font-weight: 700; }

.result-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #b7e2c3;
  border-radius: 14px;
  background: #f2fbf4;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.result-card[hidden] { display: none; }
.result-card h2 { margin: 0 0 6px; font-size: 20px; }
.result-card p { margin: 4px 0 12px; }
.success-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #137333;
  color: white;
  font-size: 24px;
  font-weight: 700;
}
.result-card dl { margin: 12px 0; }
.result-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 5px 0; }
.result-card dt { color: #667085; }
.result-card dd { margin: 0; overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 13px; }
.test-note { color: #8a5a00; font-size: 13px; }


.support-counter {
  margin: 20px auto 0;
  padding: 22px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.10);
}

.support-counter h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.support-counter p {
  margin: 0;
  color: #667085;
  font-size: 18px;
}

.support-counter strong {
  display: inline-block;
  margin-right: 6px;
  color: #172033;
  font-size: 42px;
  line-height: 1;
}


.privacy-consent { margin-top: 12px; }

.verification-card {
  margin: 20px auto 0;
  padding: 22px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.10);
}

.verification-card h2 { margin: 0 0 12px; font-size: 20px; }
.verification-row { display: flex; gap: 10px; }

.verification-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #cbd3e3;
  border-radius: 10px;
  font: inherit;
}

.verification-row button {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #2450d6;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.verification-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7ddea;
  border-radius: 10px;
  background: #f8fafc;
}

.verification-result p { margin: 5px 0; overflow-wrap: anywhere; }
.policy { line-height: 1.6; }
.policy h2 { margin-top: 24px; font-size: 20px; }

@media (max-width: 640px) {
  .verification-row { flex-direction: column; }
}
