@font-face {
    font-family: "Jeju";
    src: url("../fonts/JejuGothic-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --ink: #101114;
    --muted: #696b72;
    --paper: #f3f0e9;
    --card: #ffffff;
    --accent: #e34b35;
    --accent-dark: #bd311f;
    --line: #dedbd3;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--paper);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(227, 75, 53, 0.09), transparent 28rem),
        var(--paper);
    font-family: "Jeju", Arial, sans-serif;
}

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

button,
input {
    font: inherit;
}

.site-header {
    width: min(1180px, calc(100% - 40px));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 9px 2px 9px 2px;
    font-size: 20px;
    letter-spacing: 0;
}

nav {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 15px;
}

nav a {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus-visible {
    color: var(--ink);
    border-bottom-color: var(--accent);
}

.messages {
    position: fixed;
    z-index: 10;
    top: 88px;
    left: 50%;
    width: min(620px, calc(100% - 32px));
    transform: translateX(-50%);
}

.message {
    margin: 0;
    padding: 12px 16px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(16, 17, 20, 0.16);
}

.message-error {
    background: var(--accent-dark);
}

.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 0;
    padding: 24px 0 32px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .site-header {
        width: min(100% - 28px, 1180px);
        min-height: 68px;
    }

    .brand {
        gap: 8px;
        font-size: 15px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    nav {
        gap: 14px;
        font-size: 13px;
    }

    .site-footer {
        width: calc(100% - 28px);
    }
}
