* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: #151515;
    color: #f1ebdd;
    font-family: Arial, Helvetica, sans-serif;

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.5rem);
    letter-spacing: 0.08em;
    font-weight: 700;
}

header p {
    margin: 14px 0 0;
    color: #c9c3b7;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;

    margin-top: 48px;
}

nav a {
    color: #f1ebdd;
    text-decoration: none;
    font-size: 1rem;

    transition: opacity 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
    opacity: 0.65;
}

.contact-button {
    display: inline-block;

    margin-top: 48px;
    padding: 14px 32px;

    border: 1px solid #f1ebdd;
    border-radius: 4px;

    color: #f1ebdd;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
    background: #f1ebdd;
    color: #151515;
}

footer {
    width: 100%;
    padding: 20px 24px;
    text-align: center;
    color: #c9c3b7;
    font-size: 0.85rem;
}

footer p {
    margin: 0;
}

@media (max-width: 600px) {
    main {
        padding: 32px 20px;
    }

    nav {
        gap: 18px;
        margin-top: 36px;
    }

    .contact-button {
        margin-top: 36px;
    }
}