:root {
    --background: #f2eee7;
    --surface: #e6ddd1;
    --text: #25231f;
    --muted: #706c65;
    --accent: #a64b36;
    --footer: #25231f;
    --footer-text: #ded8cf;
    --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
    min-width: 320px;
    min-height: 100%;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.content {
    display: flex;
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0 84px;
    flex: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message {
    width: 100%;
}

.pretitle,
.posttitle {
    font-family: var(--serif);
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.05;
}

.domain {
    display: inline-block;
    margin: 20px 0 22px;
    padding: 5px 19px 9px;
    border-radius: 8px;
    background: var(--surface);
    font-family: var(--serif);
    font-size: clamp(52px, 8vw, 84px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.055em;
}

.domain span {
    color: var(--accent);
}

.description {
    max-width: 690px;
    margin: 44px auto 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.description a {
    padding: 1px 3px 2px;
    color: var(--accent);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.description a:hover,
.description a:focus-visible {
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    text-decoration-color: transparent;
}

.cta {
    display: inline-flex;
    margin-top: 35px;
    padding: 12px 20px 13px;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.cta span {
    font-size: 18px;
    font-weight: 400;
    line-height: 0;
}

.cta:hover,
.cta:focus-visible {
    background: transparent;
    color: var(--accent);
}

.footer {
    background: var(--footer);
    color: var(--footer-text);
}

.footer-inner {
    display: flex;
    width: min(980px, calc(100% - 48px));
    min-height: 78px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer nav {
    display: flex;
    gap: 22px;
}

.footer a {
    color: var(--footer-text);
    text-decoration-color: transparent;
    text-underline-offset: 4px;
}

.footer a:hover,
.footer a:focus-visible {
    color: #fff;
    text-decoration-color: var(--accent);
}

@media (max-width: 600px) {
    .content {
        width: min(100% - 32px, 980px);
        padding: 58px 0 64px;
    }

    .domain {
        margin-top: 16px;
        margin-bottom: 18px;
    }

    .description {
        margin-top: 36px;
    }

    .footer-inner {
        width: min(100% - 32px, 980px);
        min-height: 108px;
        padding: 24px 0;
        gap: 18px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
