:root{
    --ink:#17231f;
    --cream:#f6f2e9;
    --gold:#b58a45;
    --muted:#6e756f;
    --line:#dfe2d9;
}

*{
    box-sizing:border-box;
}

html{
    overflow-y:scroll;
    scrollbar-gutter:stable;
}

body{
    margin:0;
    width:100%;
    overflow-x:hidden;
    background:var(--cream);
    color:var(--ink);
    font-family:Arial,Helvetica,sans-serif;
}

.hero{
    background:#17231f;
    color:#fff;
    text-align:center;
    padding:42px 20px;
}

.brand{
    letter-spacing:.22em;
    font-weight:700;
    font-size:clamp(20px,4vw,32px);
}

.hero p{
    color:#d8c08c;
    margin:12px 0 0;
}

.wrap{
    width:100%;
    max-width:760px;
    margin:34px auto;
    padding:0 16px;
}

.card{
    width:100%;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:clamp(22px,5vw,42px);
    box-shadow:0 12px 35px #17231f12;
}

h1{
    margin:0 0 8px;
    font-size:32px;
}

.intro{
    color:var(--muted);
    margin-top:0;
}

/* Keep fixed space for success/error message */
.notice{
    min-height:46px;
    padding:13px 15px;
    border-radius:10px;
    margin:18px 0;
    font-size:14px;
}

.notice[hidden]{
    display:block;
    visibility:hidden;
}

.notice.ok{
    background:#e5f4e9;
    color:#195b2b;
}

.notice.err{
    background:#fbe7e5;
    color:#8b241b;
}

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

label{
    display:block;
    font-weight:700;
    font-size:14px;
    margin-top:18px;
}

input,
select,
textarea{
    display:block;
    width:100%;
    margin-top:8px;
    border:1px solid #cfd5cb;
    border-radius:10px;
    padding:13px;
    font:inherit;
    background:#fff;
    color:var(--ink);
}

textarea{
    resize:vertical;
}

.check{
    display:flex;
    gap:9px;
    align-items:center;
    font-weight:400;
}

.check input{
    width:auto;
    margin:0;
}

button{
    width:100%;
    margin-top:24px;
    border:0;
    border-radius:10px;
    padding:15px;
    background:var(--gold);
    color:#fff;
    font-weight:700;
    font-size:16px;
    cursor:pointer;
}

button:disabled{
    opacity:.6;
    cursor:wait;
}

.small{
    font-size:12px;
    color:var(--muted);
    line-height:1.5;
}

@media(max-width:600px){

    .grid{
        grid-template-columns:1fr;
    }

    h1{
        font-size:27px;
    }
}