* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #eef2f0;
    --panel: #fbfcfb;
    --ink: #16211f;
    --muted: #60706c;
    --line: #d9e1de;
    --accent: #146b5c;
    --accent-strong: #0d4f45;
    --danger: #b42318;
    --danger-soft: #fee4df;
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 10%, rgba(20, 107, 92, 0.16), transparent 26rem),
        linear-gradient(145deg, #f7f8f4 0%, var(--bg) 52%, #e4e9e7 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
    width: min(100%, 460px);
    padding: 28px;
    border: 1px solid rgba(22, 33, 31, 0.08);
    border-radius: 8px;
    background: rgba(251, 252, 251, 0.97);
    box-shadow: 0 24px 70px rgba(28, 44, 40, 0.16);
}

.eyebrow {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #dff3ed;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 740;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin-top: 16px;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 0;
}

p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.92rem;
}

input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(20, 107, 92, 0.13);
}

button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

button:hover {
    background: var(--accent-strong);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.error {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(180, 35, 24, 0.2);
    border-radius: 8px;
    background: var(--danger-soft);
    color: var(--danger);
    font-weight: 700;
}

.hint {
    font-size: 0.86rem;
}
