:root {
    --bg: #f8f5ef;
    --paper: #fffdf8;
    --text: #25221d;
    --muted: #70695f;
    --line: #ded6c8;
    --accent: #6f5d45;
    --accent-soft: #eee6d8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

a {
    color: var(--accent);
}

.site-header,
.site-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.2rem;
}

.site-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    line-height: 1.1;
}

.brand strong {
    font-size: 1.35rem;
}

.brand span {
    color: var(--muted);
    font-size: .85rem;
}

.site-nav {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .96rem;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: .25rem;
}

.site-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1.2rem 4rem;
}

.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    font-size: .78rem;
    margin: 0 0 .7rem;
}

h1 {
    font-size: clamp(2.3rem, 7vw, 5rem);
    line-height: 1.02;
    margin: 0 auto;
    max-width: 900px;
}

h2 {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.2;
    margin-top: 0;
}

.subtitle {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin: 1.2rem auto 0;
    max-width: 760px;
}

.actions {
    display: flex;
    justify-content: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
}

.button.secondary {
    background: transparent;
    color: var(--accent);
}

.card,
.document-text {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(1.1rem, 3vw, 2rem);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.document-text {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .04);
}

.document-text p {
    margin: 0 0 1rem;
}

.document-text li {
    margin-bottom: .75rem;
}

blockquote {
    margin: 1.5rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 16px 16px 0;
    font-size: 1.1rem;
}

.site-footer {
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: .92rem;
}

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

    .site-nav {
        justify-content: flex-start;
    }

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

input,
textarea,
select {
    width: 100%;
    max-width: 520px;
    padding: .75rem .85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    color: var(--text);
}

button {
    font: inherit;
    cursor: pointer;
}

.notice {
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
