:root {
    --ink: #202225;
    --muted: #5d646b;
    --line: #d9dedc;
    --paper: #f7f6f1;
    --panel: #ffffff;
    --accent: #6f4f37;
    --accent-dark: #263238;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    width: min(1120px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--accent-dark);
    color: #fff;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--ink);
}

.home {
    width: min(1120px, calc(100% - 40px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 80px 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 72px;
    align-items: center;
}

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

h1 {
    max-width: 780px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.75rem, 7vw, 5.75rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.summary {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 700;
}

.button.primary {
    background: var(--ink);
    color: #fff;
}

.button.secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
}

.link-grid {
    display: grid;
    gap: 14px;
}

.link-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 20px;
    transition: border-color 160ms ease, transform 160ms ease;
}

.link-card:hover {
    border-color: #9fa8a4;
    transform: translateY(-2px);
}

.link-card span {
    display: block;
    font-weight: 800;
}

.link-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 820px) {
    .site-header {
        width: min(100% - 32px, 1120px);
    }

    .home {
        width: min(100% - 32px, 1120px);
        min-height: auto;
        padding: 56px 0 40px;
        grid-template-columns: 1fr;
        gap: 44px;
        align-items: start;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 4.4rem);
    }
}
