@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; src: url('../assets/fonts/dm-mono-latin-500-normal.woff2') format('woff2'); }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f7fc; color: #0b1734; font: 15px/1.6 Manrope, system-ui, Arial, sans-serif; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 720px; margin: 7vh auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid #dce5f3; border-radius: 18px; padding: 34px; box-shadow: 0 16px 45px #0b1d3c12; }
.logo { width: 220px; max-width: 70%; height: auto; display: block; margin-bottom: 22px; }
h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }
.muted { color: #59677f; margin: 0; }
.form { display: flex; gap: 10px; margin: 24px 0; }
.form input { flex: 1; min-width: 0; height: 48px; border: 1px solid #cbd6e6; border-radius: 9px; padding: 0 12px; font: 500 15px 'DM Mono', monospace; text-transform: uppercase; }
.form input:focus { outline: 2px solid #9cc3f5; border-color: #1263d7; }
.form button { border: 0; border-radius: 9px; padding: 0 22px; background: #1263d7; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.form button:disabled { opacity: .6; cursor: wait; }
.result { padding: 18px; border-radius: 12px; background: #f2f6fc; min-height: 58px; }
.result.valid { background: #ecf8f1; border: 1px solid #bfe5cf; }
.result.invalid { background: #fbf0f0; border: 1px solid #f0cccc; }
.verdict { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.valid .verdict { color: #13734a; }
.invalid .verdict { color: #a23b38; }
.details { margin: 14px 0 0; display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; }
.details dt { color: #5b6a82; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.details dd.mono { font: 500 14px 'DM Mono', monospace; }
.foot { text-align: center; color: #59677f; font-size: 13px; }
.foot a { color: #1263d7; }
@media (max-width: 520px) {
  .form { flex-direction: column; }
  .form button { height: 46px; }
  .card { padding: 22px; }
  .details { grid-template-columns: 1fr; gap: 0; }
  .details dd { margin-bottom: 8px; }
}
