* {
    box-sizing: border-box;
}

html {
    font-family:
        "Segoe UI Variable",
        "Segoe UI",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    background: #f6f7f9;
    color: #172033;
}

.site-header {
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    background: #111827;
    color: white;
}

.header-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.header-brand strong {
    font-size: 22px;
    font-weight: 800;
}

.beta-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #fbbf24;
    color: #111827;
}

.header-title {
    justify-self: center;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #e2e8f0;
}

.header-search {
    justify-self: end;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 14px;
    border: 1px solid #334155;
    border-radius: 7px;
}

.header-search:hover {
    color: white;
    border-color: #64748b;
}

main {
    min-height: calc(100vh - 70px);
}

main > h1,
main > p,
main > form {
    width: min(900px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

main > h1 {
    margin-top: 90px;
    margin-bottom: 20px;
    font-size: clamp(46px, 7vw, 76px);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 700;
}

main > p {
    max-width: 900px;
    font-size: 20px;
    line-height: 1.6;
    color: #475569;
}

form {
    display: flex;
    max-width: 760px;
    margin-top: 30px;
    background: white;
    padding: 7px;
    border-radius: 10px;
    border: 1px solid #dbe1ea;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 16px;
    font-size: 17px;
    background: transparent;
}

button {
    border: 0;
    border-radius: 7px;
    background: #2563eb;
    color: white;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    opacity: 0.92;
}

main > p:last-child {
    margin-top: 20px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 700px) {

    header {
        padding: 0 20px;
    }

    main > h1 {
        margin-top: 60px;
    }

    form {
        display: block;
    }

    button {
        width: 100%;
    }
}