:root {
    color-scheme: light;
    --background: #f7f7f5;
    --surface: #ffffff;
    --text: #20201e;
    --muted: #64645f;
    --border: #e4e4df;
    --accent: #c94700;
    --max-width: 720px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    background: var(--background);
    color: var(--text);
}

body {
    margin: 0;
}

a {
    color: var(--accent);
    text-underline-offset: 0.16em;
}

a:hover {
    text-decoration-thickness: 2px;
}

.site-header,
main,
.site-footer {
    width: min(100% - 32px, var(--max-width));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 28px;
}

.brand {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
}

nav a[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

main {
    padding: clamp(28px, 7vw, 64px) clamp(22px, 6vw, 56px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

h1,
h2 {
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 8vw, 3rem);
}

h2 {
    margin: 2.25rem 0 0.6rem;
    font-size: 1.25rem;
}

p,
ul {
    margin-block: 0.7rem;
}

ul {
    padding-left: 1.3rem;
}

.intro,
.updated {
    color: var(--muted);
}

.intro {
    max-width: 58ch;
    font-size: 1.08rem;
}

.updated {
    margin-bottom: 2rem;
    font-size: 0.88rem;
}

.contact-card {
    margin-block: 1.5rem;
    padding: 18px 20px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-card p,
.contact-card address {
    margin: 0;
}

.contact-card address {
    font-style: normal;
}

.site-footer {
    padding-block: 28px 40px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 480px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    main {
        border-radius: 14px;
    }
}

