* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
    background: #f4f5f7;
    color: #17191c;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.card {
    width: min(100%, 640px);
    padding: 44px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .08);
}

.domain {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 6vw, 46px);
    line-height: 1.08;
}

.lead {
    margin: 18px 0 30px;
    color: #5a606a;
    font-size: 17px;
}

label {
    display: block;
    margin: 18px 0 7px;
    font-size: 14px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfd3d9;
    border-radius: 9px;
    padding: 13px 14px;
    background: #fff;
    color: #17191c;
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid #17191c;
    outline-offset: 1px;
    border-color: #17191c;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

button {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 9px;
    padding: 14px 18px;
    background: #17191c;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

button:hover {
    background: #30343a;
}

.notice {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
}

.notice.success {
    background: #eef8f0;
    border: 1px solid #cce7d1;
}

.notice.error {
    background: #fff0f0;
    border: 1px solid #f1caca;
}

.notice.error > div + div {
    margin-top: 5px;
}

.privacy,
footer {
    color: #7a8089;
    font-size: 12px;
}

.privacy {
    margin: 18px 0 0;
}

footer {
    margin-top: 28px;
    text-align: center;
}

.trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 560px) {
    .card {
        padding: 30px 22px;
        border-radius: 14px;
    }
}
