:root {
    --ink: #1f2330;
    --ink-soft: #566071;
    --bg: #f8f5ef;
    --surface: #ffffff;
    --surface-alt: #edf3fa;
    --line: #d8e0ea;
    --brand: #0a4ea3;
    --brand-strong: #06377b;
    --accent: #128b78;
    --shadow: 0 16px 36px rgba(13, 26, 50, 0.12);
    color-scheme: light dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(10, 78, 163, 0.35);
    outline-offset: 2px;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 245, 239, 0.88);
    border-bottom: 1px solid rgba(10, 78, 163, 0.08);
    backdrop-filter: blur(8px);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-family: "Fraunces", serif;
    font-size: 1.4rem;
    color: var(--ink);
}

.site-header nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-utilities {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.site-header nav a {
    font-weight: 600;
    color: var(--ink-soft);
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
}

h1,
h2 {
    font-family: "Fraunces", serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    margin-bottom: 12px;
}

h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.lead {
    font-size: clamp(1.06rem, 1.9vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 60ch;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
    transform: translateY(-1px);
}

.cta.primary {
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    color: #fff;
    box-shadow: 0 8px 24px rgba(10, 78, 163, 0.28);
}

.cta.secondary {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 38px;
    background: #fff;
}

.footer-inner {
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.footer-inner p {
    margin: 0;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--brand);
}

@media (max-width: 620px) {
    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }

    .nav-utilities {
        width: 100%;
        justify-content: space-between;
    }

    .site-header nav {
        gap: 14px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e7edf7;
        --ink-soft: #a9b5c8;
        --bg: #0f1420;
        --surface: #151c2b;
        --surface-alt: #101828;
        --line: #2a3550;
        --brand: #6aa7ff;
        --brand-strong: #8bbcff;
        --accent: #5fd2bc;
        --shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
    }

    .site-header {
        background: rgba(13, 19, 31, 0.86);
        border-bottom-color: rgba(139, 188, 255, 0.15);
    }

    .cta.secondary {
        color: var(--ink);
        background: #1a2437;
        border-color: #3f547c;
    }

    .cta.primary {
        color: #0f1420;
    }

    .site-footer {
        background: var(--surface);
        border-color: var(--line);
    }
}
