:root {
  font: clamp(16px, 5.46875vw, 35px) / 1.5 "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #000;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p, ol { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
:focus-visible { outline: 2px solid #3b5091; outline-offset: 3px; }

.verify-page { margin: clamp(20px, 6.25vw, 40px); }
.company, h1 { font-size: .6rem; font-weight: 400; text-align: center; }
.brand-logo {
  height: 8rem;
  background: #fff url("/reference-logo.jpg") no-repeat center / min(96.875vw, 620px) auto;
}
#verify-form { text-align: center; padding-top: calc(.57rem + min(3.125vw, 20px)); }
.code-label { display: block; margin-bottom: calc(min(3.125vw, 20px) + 1px); }
#code {
  display: block;
  width: calc(90% - 2px);
  height: calc(1.6rem + 2px);
  margin: 0 auto;
  padding: 0 6px;
  border: 1px solid #888;
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-size: .8rem;
  color: inherit;
}
.verify-button {
  display: block;
  width: 63%;
  height: 2rem;
  margin: calc(min(3.125vw, 20px) + 1px) auto min(3.125vw, 20px);
  padding: 0;
  border: 1px solid #3b5091;
  border-radius: min(1.5625vw, 10px);
  background: #3b5091;
  color: #fff;
}
.result-frame {
  width: 98%;
  margin: calc(min(3.125vw, 20px) + min(2.34375vw, 15px)) 0 0 min(2.34375vw, 15px);
  border-block: .5px solid #000;
  text-align: center;
  font-size: .8rem;
}
#result { padding: .25rem .2rem; overflow-wrap: anywhere; }
#result[data-state="warning"] { color: #71480d; }
#result[data-state="error"] { color: #b71c1c; }
.tips {
  margin-top: calc(min(3.125vw, 20px) + min(2.34375vw, 15px) - 1px);
  font-size: .8rem;
}
.tips h2 { font: inherit; }
.tips ol { padding: 0; list-style-position: inside; }
.tips li::marker { content: counter(list-item) ":"; }

#captcha-fields { width: min(90%, 480px); margin: .6rem auto 0; text-align: left; }
#captcha-fields label { display: block; margin-bottom: 4px; font-size: .75rem; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; }
.captcha-row input { min-width: 0; padding: 5px 8px; border: 1px solid #888; font-size: .75rem; }
.captcha {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0;
  border: 1px solid #b4b4b4;
  background: #f5f5f5;
  font-size: 13px;
}
.captcha img { max-width: 100%; height: auto; }
#captcha-help { margin-top: 4px; color: #555; font-size: .65rem; }

@media (min-width: 641px) {
  :root { font-size: 40px; }
  .result-frame { border-block-width: 1px; }
}
@media (min-width: 737px) {
  .brand-logo { background-size: 60% auto; }
}
