:root { color-scheme: light; font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; padding: 1rem; background: #f5f6f8; color: #11243e; font-size: 1rem; line-height: 1.65; }
.university, main, footer { max-inline-size: 40rem; margin-inline: auto; }
.university { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-block-start: clamp(.5rem, 4vh, 2.5rem); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; }
.wordmark bdi { display: block; color: #0f2341; font-weight: 800; font-size: 1rem; line-height: 1.4; }
.language { display: inline-flex; align-items: center; min-block-size: 2.5rem; padding-inline: .75rem; border: 1px solid #8291a6; border-radius: .5rem; background: #ffffffe6; color: #11243e; font-size: .875rem; font-weight: 600; text-decoration: none; }
.language:hover { background: white; border-color: #0f2341; }
main {
  margin-block: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #0f234121;
  border-block-start: 2px solid #a1283b;
  border-radius: .875rem;
  background: #ffffffb8;
  box-shadow: inset 0 1px 0 white, 0 4px 16px #0f23410d;
}
@supports (backdrop-filter: blur(12px)) { main { backdrop-filter: blur(12px); } }
h1 { margin: 0 0 1rem; color: #0f2341; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; overflow-wrap: break-word; }
.issuing-institution { margin: 0 0 .25rem; font-size: .875rem; color: #59687c; }
.introduction { margin-block: 0 1rem; color: #3d4c61; }
label, input, button { display: block; }
label { font-size: .875rem; font-weight: 600; }
input, button { inline-size: 100%; min-block-size: 2.875rem; border-radius: .5rem; font: inherit; line-height: 1.5; }
input { margin-block: .375rem .75rem; padding: .625rem .75rem; border: 1px solid #8291a6; background: #ffffffe6; color: #11243e; }
button { padding: .625rem .875rem; border: 1px solid #a1283b; background: #a1283b; color: white; font-size: .875rem; font-weight: 600; cursor: pointer; }
button:hover { background: #7d2030; }
button:active { background: #651a29; }
:focus-visible { outline: 2px solid #a1283b; outline-offset: 2px; }
dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; margin-block: 1rem; overflow-wrap: anywhere; }
dt { color: #59687c; font-size: .8125rem; font-weight: 600; }
dd { margin: 0 0 .5rem; font-size: .9375rem; }
.result { margin-block-end: 1rem; padding: .75rem; border: 1px solid #0f234121; border-radius: .5rem; background: #ffffffb8; }
.result p { margin: 0; font-size: .9375rem; }
.result .result-title { font-size: 1.0625rem; font-weight: 700; }
.result .result-title + p { margin-block-start: .25rem; }
.result[data-result="valid"] { background: #e4f3eb; color: #15553a; }
.result[data-result="revoked"] { background: #fceeed; color: #81292c; }
.result[data-result="not_found"] { background: #fbf1d9; color: #6b4a06; }
a { color: #a1283b; text-underline-offset: .2em; }
.contact { margin-block: 1.25rem 0; padding-block-start: .75rem; border-block-start: 1px solid #0f234121; color: #59687c; font-size: .8125rem; }
footer { color: #59687c; font-size: .75rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) { input, button, .language { transition: background-color 150ms ease, border-color 150ms ease; } }
