:root {
    --bg: #f4f1e8;
    --panel: #fffdf7;
    --ink: #1f1d1a;
    --muted: #6a645d;
    --line: #d9d2c7;
    --accent: #7a4e2d;
    --accent-soft: #f1e4d7;
    --max: 72rem;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8f5ee 0%, var(--bg) 100%);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

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

a:hover {
    text-decoration-thickness: 2px;
}

.shell {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
}

.site-header,
.site-footer {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 247, 0.88);
}

.site-footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    margin-top: 3rem;
}

.header-inner,
.footer-inner {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
}

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

.brand-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-tagline,
.muted {
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main {
    padding: 2rem 0 3rem;
}

.hero,
.card,
.notice,
.product-meta,
.section-block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(38, 29, 20, 0.04);
}

.hero {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.card,
.section-block,
.product-meta,
.notice {
    padding: 1rem;
}

.eyebrow {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.breadcrumbs {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: inherit;
}

.title-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.pill-list,
.meta-list,
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
}

.pill {
    display: inline-block;
    background: var(--accent-soft);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.92rem;
}

.stack {
    display: grid;
    gap: 1rem;
}

.lede {
    font-size: 1.1rem;
}

.footer-inner {
    color: var(--muted);
}

@media (max-width: 700px) {
    .header-inner,
    .footer-inner {
        align-items: start;
        flex-direction: column;
    }
}
