:root {
    color-scheme: light dark;
    --page: #fbf7f2;
    --surface: #fffdf9;
    --text: #2d211f;
    --heading: #6b2232;
    --accent: #b65f4a;
    --accent-soft: #f2ddd6;
    --muted: #74635e;
    --line: #e8d9d0;
    --shadow: 0 18px 60px rgba(82, 47, 39, 0.08);
    --content: 760px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 88% 0, rgba(242, 221, 214, 0.72), transparent 30rem),
        var(--page);
    font-family: var(--font);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--heading);
    text-decoration-color: rgba(107, 34, 50, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(182, 95, 74, 0.35);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(107, 34, 50, 0.08);
    background: rgba(251, 247, 242, 0.9);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(100% - 36px, 1040px);
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    font-size: 1.03rem;
    font-weight: 760;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 46% 54%;
    color: #fff;
    background: linear-gradient(145deg, #d98a70, #9e4052);
    box-shadow: 0 6px 16px rgba(107, 34, 50, 0.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    color: var(--heading);
}

.container {
    width: min(100% - 36px, var(--content));
    margin: 0 auto;
    padding: 78px 0 88px;
}

.eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2 {
    color: var(--heading);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.025em;
}

h1 {
    max-width: 680px;
    margin: 0 0 14px;
    font-size: clamp(2.65rem, 8vw, 4.55rem);
    font-weight: 700;
    line-height: 1.02;
}

.intro {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.78;
}

.last-updated {
    display: inline-flex;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--muted);
    background: rgba(255, 253, 249, 0.65);
    font-size: 0.82rem;
    font-weight: 650;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.language-switch a {
    font-weight: 700;
}

.summary {
    margin: 52px 0;
    padding: 25px 27px;
    border: 1px solid rgba(182, 95, 74, 0.22);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(242, 221, 214, 0.62));
    box-shadow: var(--shadow);
}

.summary strong {
    display: block;
    margin-bottom: 8px;
    color: var(--heading);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.summary p {
    margin: 0;
}

main section {
    padding: 2px 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}

main section:last-of-type {
    border-bottom: 0;
}

h2 {
    margin: 0 0 14px;
    font-size: 1.62rem;
    font-weight: 700;
    line-height: 1.25;
}

p,
li {
    color: #574945;
    font-size: 1rem;
}

p {
    margin: 0 0 16px;
}

ul {
    margin: 12px 0 20px;
    padding-left: 24px;
}

li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.contact-card {
    margin-top: 42px;
    padding: 28px;
    border-radius: 20px;
    color: #fdf7f5;
    background: var(--heading);
}

.contact-card h2,
.contact-card p,
.contact-card a {
    color: inherit;
}

.contact-card a {
    font-weight: 750;
    text-decoration-color: rgba(255, 255, 255, 0.42);
}

.footer {
    margin-top: 72px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 16px;
}

.footer-links a {
    font-weight: 700;
}

.footer p {
    color: inherit;
    font-size: inherit;
}

@media (max-width: 620px) {
    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 64px;
    }

    .site-nav {
        gap: 14px;
        font-size: 0.8rem;
    }

    .site-nav .optional-link {
        display: none;
    }

    .container {
        padding: 54px 0 70px;
    }

    .summary {
        margin: 40px 0;
        padding: 22px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #171313;
        --surface: #211b1a;
        --text: #f7efeb;
        --heading: #f4c6bc;
        --accent: #e49a83;
        --accent-soft: #432c2d;
        --muted: #bcaeaa;
        --line: #3b302d;
        --shadow: none;
    }

    body {
        background:
            radial-gradient(circle at 88% 0, rgba(112, 48, 63, 0.26), transparent 28rem),
            var(--page);
    }

    .site-header {
        background: rgba(23, 19, 19, 0.9);
    }

    p,
    li {
        color: #d9cfcc;
    }

    .last-updated {
        background: rgba(33, 27, 26, 0.7);
    }

    .summary {
        background: linear-gradient(135deg, rgba(33, 27, 26, 0.98), rgba(67, 44, 45, 0.74));
    }

    .contact-card {
        color: #fff8f5;
        background: #542432;
    }
}

@media print {
    .site-header,
    .language-switch,
    .footer-links {
        display: none;
    }

    body {
        background: #fff;
    }

    .container {
        width: 100%;
        padding: 0;
    }

    .summary,
    .contact-card {
        box-shadow: none;
    }
}

