:root {
    --bg: #f7f7f2;
    --paper: #fffef9;
    --text: #222725;
    --muted: #596158;
    --accent: #899878;
    --line: rgba(34, 39, 37, .16);
    --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at 80% 0, #e4e6c3 0, transparent 26rem), var(--bg);
    font: 1rem/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(247, 247, 242, .9);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.04em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--text));
}

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.back-link { color: var(--muted); text-decoration-thickness: 1px; }

.intro {
    max-width: 760px;
    padding: 96px 0 56px;
}

.kicker {
    margin: 0 0 12px;
    color: #657653;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.04em; }
h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { margin: 0 0 10px; font-size: 1.55rem; }
h3 { margin: 0 0 8px; font-size: 1.2rem; }
.lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.15rem; }

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 100px;
}

.article-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 254, 249, .78);
    box-shadow: 0 18px 50px rgba(34, 39, 37, .06);
}

.article-card p { margin: 0 0 22px; color: var(--muted); }
.article-card a { margin-top: auto; color: #657653; font-weight: 750; }
.meta { color: var(--muted); font-size: .88rem; }

.article {
    max-width: 780px;
    padding: 82px 0 100px;
}

.article h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.article h2 { margin-top: 42px; }
.article p, .article li { color: #3f4741; }
.article strong { color: var(--text); }
.article blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    background: rgba(228, 230, 195, .45);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 760px) {
    .intro { padding-top: 64px; }
    .article-grid { grid-template-columns: 1fr; }
    .article { padding-top: 56px; }
    .article-nav { flex-direction: column; }
}
