:root {
    color-scheme: light;
    --navy-950: #07172f;
    --navy-900: #0b2344;
    --navy-800: #12345f;
    --blue-600: #1768e5;
    --blue-500: #2d7df2;
    --cyan-400: #20c7f4;
    --ink: #142033;
    --muted: #5e6c80;
    --line: #dce5f1;
    --background: #f3f7fc;
    --danger: #a52828;
    --success: #087a55;
    --shadow: 0 22px 60px rgba(11, 35, 68, .12);
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--background);
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(45, 125, 242, .10), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0, var(--background) 36rem, #fff 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
}

a { color: inherit; }
img { max-width: 100%; }

.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 229, 241, .9);
    box-shadow: 0 5px 24px rgba(11, 35, 68, .06);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
    width: min(1120px, calc(100% - 36px));
    margin-inline: auto;
}

.site-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: env(safe-area-inset-top);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 240px;
    object-fit: contain;
}

.support-contact {
    display: grid;
    justify-items: end;
    gap: 2px;
    color: var(--muted);
    font-size: .84rem;
}

.support-contact a {
    color: var(--blue-600);
    font-size: .98rem;
    font-weight: 750;
    text-decoration: none;
}

.support-contact a:hover,
.support-contact a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible { text-decoration: underline; }

.page-shell {
    flex: 1;
    padding-block: clamp(28px, 5vw, 58px) clamp(42px, 7vw, 80px);
}

.lookup-card {
    width: min(720px, 100%);
    margin-inline: auto;
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid rgba(190, 205, 224, .75);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-600);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.section-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 0 5px rgba(32, 199, 244, .13);
}

h1,
h2 {
    color: var(--navy-900);
    letter-spacing: -.025em;
}

h1 {
    margin: 14px 0 10px;
    font-size: clamp(1.8rem, 4.8vw, 2.75rem);
    line-height: 1.08;
}

h2 { font-size: clamp(1.35rem, 3vw, 2rem); }

p { line-height: 1.6; }
.lead { margin: 0; color: var(--muted); font-size: 1.04rem; }

.lookup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--navy-900);
    font-weight: 750;
}

input,
select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #aebed4;
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

input::placeholder { color: #8190a5; }
input:focus,
select:focus {
    border-color: var(--blue-500);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(45, 125, 242, .15);
}

button,
.button,
.promo-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    box-shadow: 0 10px 22px rgba(23, 104, 229, .22);
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:hover,
.button:hover,
.promo-button:hover { transform: translateY(-1px); filter: brightness(1.03); }
button:focus-visible,
.button:focus-visible,
.promo-button:focus-visible {
    outline: 3px solid rgba(32, 199, 244, .45);
    outline-offset: 3px;
}

.lookup-form button,
.download-form button { grid-column: 1 / -1; width: 100%; }

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 13px 14px;
    border: 1px solid #dce8f7;
    border-radius: 12px;
    background: #f7fbff;
    color: var(--muted);
    font-size: .88rem;
}

.security-note p { margin: 0; }
.security-note__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff5ed;
    color: var(--success);
    font-weight: 900;
}

.alert {
    margin-top: 20px;
    padding: 13px 14px;
    border: 1px solid #f0c4c4;
    border-radius: 11px;
    background: #fff3f3;
    color: var(--danger);
}

.result-divider {
    height: 1px;
    margin: 32px 0 24px;
    background: var(--line);
}
.result-title { margin: 0; }
.status {
    display: inline-block;
    margin: 12px 0 18px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 800;
}
.status-ok { background: #e7f8f1; color: var(--success); }
.status-danger { background: #fff0f0; color: var(--danger); }

.result {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) 1.2fr;
    margin: 0 0 24px;
}
.result dt,
.result dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.result dt { color: var(--muted); }
.result dd { font-weight: 700; }
.download-form { margin: 0; }
.button.secondary {
    margin-left: 8px;
    background: #e9eff7;
    box-shadow: none;
    color: var(--navy-900);
}

.promo-card {
    margin-top: clamp(30px, 5vw, 54px);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.42fr);
    align-items: center;
    border: 1px solid rgba(39, 91, 150, .35);
    border-radius: 26px;
    background:
        radial-gradient(circle at 10% 0, rgba(32, 199, 244, .18), transparent 22rem),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    box-shadow: 0 24px 65px rgba(7, 23, 47, .2);
    color: #fff;
}

.promo-copy { padding: clamp(28px, 5vw, 52px); }
.promo-badge {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(93, 216, 255, .42);
    border-radius: 999px;
    background: rgba(32, 199, 244, .12);
    color: #8ee8ff;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.promo-copy h2 {
    margin: 16px 0 12px;
    color: #fff;
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    line-height: 1.08;
}
.promo-copy p { margin: 0; color: #cbd9ec; }
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}
.feature-list li {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    color: #e7f1ff;
    font-size: .82rem;
    font-weight: 700;
}
.promo-button {
    min-height: 46px;
    background: #fff;
    box-shadow: none;
    color: var(--navy-900);
}

.promo-visual {
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 28px 28px 28px 0;
}
.promo-visual img {
    width: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid #e4ebf4;
    background: #fff;
    color: var(--muted);
}
.site-footer__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: env(safe-area-inset-bottom);
    font-size: .88rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--blue-600); font-weight: 700; text-decoration: none; }

@media (max-width: 840px) {
    .promo-card { grid-template-columns: 1fr; }
    .promo-copy { padding-bottom: 26px; }
    .promo-visual { padding: 0 24px 28px; }
}

@media (max-width: 600px) {
    .site-header__inner,
    .site-footer__inner,
    .page-shell { width: min(100% - 28px, 1120px); }

    .site-header__inner { min-height: 72px; gap: 12px; }
    .brand-logo img { height: 36px; max-width: 165px; }
    .support-contact span { display: none; }
    .support-contact a { font-size: .78rem; }

    .page-shell { padding-top: 22px; padding-bottom: 42px; }
    .lookup-card { border-radius: 18px; padding: 24px 18px; }
    h1 { font-size: clamp(1.72rem, 9vw, 2.2rem); }
    .lead { font-size: .96rem; }
    .lookup-form { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
    .lookup-form button { margin-top: 2px; }
    button, .button, .promo-button { width: 100%; min-height: 52px; }
    .result { grid-template-columns: 1fr; }
    .result dt { padding-bottom: 2px; border-bottom: 0; }
    .result dd { padding-top: 2px; }
    .button.secondary { margin: 10px 0 0; }

    .promo-card { border-radius: 19px; }
    .promo-copy { padding: 26px 20px 22px; }
    .promo-copy h2 { font-size: 1.75rem; }
    .promo-visual { padding: 0 12px 14px; }
    .promo-visual img { border-radius: 10px; }

    .site-footer__inner {
        min-height: 92px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .site-header__inner,
    .site-footer__inner,
    .page-shell { width: min(100% - 20px, 1120px); }
    .brand-logo img { height: 32px; max-width: 140px; }
    .support-contact a { font-size: .72rem; }
    .lookup-card { padding-inline: 15px; }
    .feature-list li { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
