@font-face {
    font-family: 'NanumSquareRound';
    font-weight: 700;
    src: url('../assets/fonts/NanumSquareRoundB.ttf') format('truetype');
}

@font-face {
    font-family: 'NanumSquareRound';
    font-weight: 800;
    src: url('../assets/fonts/NanumSquareRoundEB.ttf') format('truetype');
}

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

body {
    font-family: 'NanumSquareRound', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #fff;
    color: #111;
    line-height: 1.7;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Page ── */

.page {
    padding: 80px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 56px;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111;
    display: block;
    margin-bottom: 28px;
}

.text-block h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.text-block p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    word-break: keep-all;
}

/* ── Mockup ── */

.visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mockup {
    width: 280px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

/* ── Reserve ── */

.reserve {
    width: 100%;
}

.reserve-benefit {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.reserve-form {
    width: 100%;
}

.input-row {
    display: flex;
    gap: 8px;
}

.input-row input[type="email"] {
    flex: 1;
    padding: 13px 14px;
    border: 2px solid #E3E3E3;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 700;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.input-row input[type="email"]:focus {
    border-color: #111;
}

.input-row input[type="email"].input--error {
    border-color: #E05252;
}

.input-row input[type="email"]::placeholder {
    color: #bbb;
}

.btn {
    padding: 13px 22px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn:hover {
    background: #333;
}

.btn:disabled {
    background: #999;
    cursor: default;
}

.form-error {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: #E05252;
    min-height: 1.2em;
}

/* ── Modal ── */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.modal--active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 320px;
    width: 90%;
    text-align: center;
}

.modal-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #222;
    margin-bottom: 24px;
}

.modal-btn {
    padding: 10px 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}

.modal-btn:hover {
    background: #333;
}

/* ── Footer ── */

footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #999;
    font-size: 12px;
}

.footer-link {
    color: #999;
    font-size: 12px;
}

.footer-link:hover {
    color: #555;
}

/* ── Mobile ── */

@media (max-width: 480px) {
    .page {
        padding: 60px 20px 48px;
        gap: 44px;
    }

    .text-block h1 {
        font-size: 1.6rem;
    }

    .mockup {
        width: 240px;
    }

    .input-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 13px;
    }
}
