@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --ink: #14120f;
    --muted: #5a564f;
    --accent: #cc5f2b;
    --accent-dark: #9d451f;
    --border: #e6e0d6;
    --shadow: 0 24px 60px rgba(20, 18, 15, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", "Noto Sans KR", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, #fff7ef 0%, #f4f1ea 50%, #efe8dc 100%);
    min-height: 100vh;
}

.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 80px 24px 96px;
    display: grid;
    gap: 40px;
}

.hero {
    max-width: 640px;
}

.eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0 0 12px;
}

h1 {
    font-family: "Fraunces", "Noto Serif KR", serif;
    font-size: clamp(2.2rem, 3vw, 3.1rem);
    margin: 0 0 16px;
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.card {
    background: var(--surface);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: rise 0.6s ease-out;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form {
    display: grid;
    gap: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
}

.field span {
    font-weight: 600;
}

input,
select,
textarea {
    font: inherit;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fffdf9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(204, 95, 43, 0.15);
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.checkbox input {
    width: 16px;
    height: 16px;
}

.submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.submit:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.submit:disabled {
    cursor: not-allowed;
    background: #c9b2a6;
    transform: none;
}

.form-note {
    min-height: 1.2em;
    font-size: 0.95rem;
    color: var(--muted);
}

.hp {
    position: absolute;
    left: -9999px;
}

@media (max-width: 720px) {
    .page {
        padding: 56px 20px 72px;
    }

    .card {
        padding: 24px;
    }
}
