:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17231e;
    background: #f2f5f1;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    min-width: 320px;
    padding: 16px;
    place-items: center;
}

.card {
    width: min(100%, 440px);
    padding: clamp(24px, 6vw, 40px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(32 55 42 / 8%);
}

.eyebrow {
    margin: 0 0 10px;
    color: #547260;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 6vw, 2.2rem);
    line-height: 1.12;
}

label {
    display: block;
    margin: 20px 0 7px;
    font-weight: 650;
}

input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #b9c6bd;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}

input:focus,
button:focus-visible {
    outline: 3px solid #a4d8bc;
    outline-offset: 2px;
}

button {
    width: 100%;
    min-height: 54px;
    margin-top: 26px;
    padding: 12px 22px;
    border: 0;
    border-radius: 12px;
    background: #1f6247;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}

button:hover {
    background: #174d37;
}

.notice {
    padding: 14px 16px;
    border-radius: 10px;
    background: #edf2ee;
}

.notice.error {
    background: #fff0ef;
    color: #842c2c;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
