* {
    box-sizing: border-box;
}

.brand-lockup { display: flex; align-items: center; gap: 15px; }
.brand-lockup__logo { width: 148px; height: auto; display: block; }
.brand-lockup__text { border-left: 1px solid var(--line); padding-left: 15px; display: flex; flex-direction: column; }
.eyebrow, .hero-kicker, .action-panel__eyebrow { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--niubiz-blue); }
.brand-lockup__text strong { font-size: 16px; color: var(--niubiz-navy); }
.site-header__inner { padding: 10px 16px; }

:root {
    --bg: #f4f6f8;
    --card: #ffffff;
    --text: #17202a;
    --muted: #68737d;
    --border: #dfe4e8;
    --primary: #02DDD0;
    --primary-dark: #06c9bc;
    --soft: #f1ebf6;
    --success: #166534;
    --warning: #92400e;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.brand__logo {
    width: 90px;
    height: 55px;
    object-fit: contain;
    display: block;
}

.badge {
    display: grid;
    place-items: center;
    min-width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 34px);
}

p {
    margin: 0;
    color: var(--muted);
}

.search-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.search-row {
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91,44,131,.12);
}

button {
    height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: var(--primary-dark);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 30px 0 12px;
}

.result-header h2 {
    margin: 0;
    font-size: 20px;
}

.result-header span {
    color: var(--muted);
    font-size: 14px;
}

.result {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px;
    margin-top: 10px;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.code {
    padding: 10px;
    background: var(--soft);
    color: var(--primary);
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
}

.label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    font-weight: 700;
}

.description {
    line-height: 1.55;
}

.alert {
    margin-top: 24px;
    padding: 15px 16px;
    border-radius: 10px;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.warning {
    background: #fef3c7;
    color: var(--warning);
}

.hint {
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 20px, 920px);
        padding: 20px 0;
    }

    .card {
        padding: 20px;
        border-radius: 14px;
    }

    .brand {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .badge {
        min-width: 58px;
        height: 58px;
        font-size: 14px;
    }

    .search-row {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .result {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .code {
        width: 100%;
    }
}
