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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #ffffff;
    color: #171717;

    line-height: 1.6;
}

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid #e8e8e8;
    background: #ffffff;
}

.site-header .container {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 24px;
}

.navigation a {
    color: #555555;
}

.navigation a:hover {
    color: #000000;
}

.hero {
    padding: 120px 0;
}

.hero .container {
    max-width: 850px;
}

.hero h1,
.page-header h1 {
    margin-top: 10px;

    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p:not(.eyebrow),
.page-header p:not(.eyebrow) {
    max-width: 700px;

    margin-top: 24px;

    color: #666666;

    font-size: 18px;
}

.eyebrow {
    color: #666666;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 32px;

    min-height: 48px;

    padding: 0 24px;

    border: 0;
    border-radius: 10px;

    background: #111111;
    color: #ffffff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.button:hover {
    opacity: 0.85;
}

.page-header {
    padding: 90px 0 60px;
}

.section {
    padding: 70px 0;
}

.section h2 {
    margin-bottom: 16px;
}

.section p {
    max-width: 700px;

    color: #666666;
}

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.card {
    padding: 28px;

    border: 1px solid #e8e8e8;
    border-radius: 16px;
}

.card h2 {
    margin-bottom: 12px;

    font-size: 20px;
}

.contact-form {
    max-width: 680px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 10px;

    background: #ffffff;

    color: #171717;

    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.site-footer {
    margin-top: 70px;

    border-top: 1px solid #e8e8e8;
}

.site-footer .container {
    padding: 28px 0;

    color: #777777;

    font-size: 14px;
}

.message-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
}

.message-card {
    max-width: 650px;

    padding: 40px;

    border: 1px solid #e8e8e8;
    border-radius: 18px;
}

.message-card h1 {
    margin-bottom: 16px;
}

.message-card p {
    margin-bottom: 10px;

    color: #666666;
}

@media (max-width: 720px) {

    .site-header .container {
        align-items: flex-start;
        flex-direction: column;

        padding: 20px 0;
    }

    .navigation {
        width: 100%;

        gap: 16px;

        overflow-x: auto;
    }

    .hero {
        padding: 80px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

}