:root {
    color-scheme: light;
    font-family: system-ui, "Segoe UI Variable", "Segoe UI", sans-serif;
    color: #1d2528;
    background: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 16rem;
    background: #fff;
}

.lookup {
    width: min(100% - 2rem, 34rem);
    margin: 0 auto;
    padding: clamp(1.25rem, 5vw, 2rem) 0;
}

h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.3rem, 5vw, 1.75rem);
    line-height: 1.25;
    font-weight: 650;
}

form {
    display: grid;
    gap: 0.75rem;
}

label {
    font-weight: 600;
}

input {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #aab5b7;
    border-radius: 0.35rem;
    color: inherit;
    background: #fff;
    font: inherit;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid #245a63;
    outline-offset: 2px;
}

.help {
    margin: -0.25rem 0 0.25rem;
    color: #5e6a6d;
    font-size: 0.9rem;
}

button {
    min-height: 2.9rem;
    width: fit-content;
    padding: 0.65rem 1.15rem;
    border: 0;
    border-radius: 0.35rem;
    color: #fff;
    background: #245a63;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.result {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #d7dedf;
    border-inline-start: 0.3rem solid #245a63;
    border-radius: 0.35rem;
    background: #fff;
}

.result p {
    margin: 0;
    line-height: 1.55;
}

.result a {
    display: inline-block;
    margin-top: 0.8rem;
    color: #245a63;
    font-weight: 650;
    text-underline-offset: 0.15em;
}

[hidden] {
    display: none !important;
}
