* {
    box-sizing: border-box;
}

:root {
    --bg: #f7f3ed;
    --paper: #fffdf9;
    --ink: #2f2a26;
    --muted: #756d66;
    --accent: #b86b45;
    --accent-dark: #955236;
    --line: #e5ddd4;
    --shadow: 0 14px 35px rgba(55, 43, 34, 0.10);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(184,107,69,.10), transparent 30%),
        var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.page {
    width: 100%;
    max-width: 1050px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.brand {
    padding: 48px;
    background: #eee3d7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.brand-name span {
    color: var(--accent);
}

.brand p {
    color: var(--muted);
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

.brand .small {
    margin-top: 28px;
    font-size: 13px;
}

.form-area {
    padding: 48px;
}

h1 {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: -0.6px;
}

.subtitle {
    margin: 0 0 30px;
    color: var(--muted);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

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

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,107,69,.12);
}

button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 14px;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

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

button:active {
    transform: translateY(1px);
}

.bottom-link {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.bottom-link a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.bottom-link a:hover {
    text-decoration: underline;
}

.notice {
    display: none;
    margin-bottom: 18px;
    padding: 11px 13px;
    border-radius: 8px;
    background: #f4e9df;
    color: #70462f;
    font-size: 14px;
}

@media (max-width: 760px) {
    .page {
        grid-template-columns: 1fr;
    }

    .brand {
        padding: 30px;
    }

    .brand .small {
        display: none;
    }

    .form-area {
        padding: 30px;
    }
}
