:root {
    --bg: #f6f2ea;
    --surface: #fffaf2;
    --ink: #211d1a;
    --muted: #746b61;
    --line: #dfd3c3;
    --accent: #0f766e;
    --accent-dark: #0b5d57;
    --danger: #b42318;
    --shadow: 0 24px 60px rgba(67, 48, 32, .16);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 20% 0%, rgba(15, 118, 110, .18), transparent 26rem),
        linear-gradient(135deg, #f8f1e7 0%, #eef4ef 52%, #f9f5ee 100%);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: min(100%, 460px);
    border: 1px solid rgba(33, 29, 26, .08);
    border-radius: 8px;
    padding: clamp(1.25rem, 4vw, 2rem);
    background: rgba(255, 250, 242, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

form h2 {
    margin: 0 0 .35rem;
    text-align: center;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: 0;
}

label {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .85rem .95rem;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    background: #ffffff;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

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

input:focus,
textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}

button {
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1rem;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 30px rgba(15, 118, 110, .24);
    transition: transform .18s ease, box-shadow .18s ease;
}

button:hover,
button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(15, 118, 110, .3);
}

a {
    align-self: center;
    color: var(--accent-dark);
    font-weight: 800;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.error {
    margin: 0;
    border: 1px solid rgba(180, 35, 24, .18);
    border-radius: 8px;
    padding: .85rem 1rem;
    color: var(--danger);
    font-size: .95rem;
    font-style: normal;
    font-weight: 700;
    background: rgba(180, 35, 24, .08);
}
