:root {
    --bg: #f6f0e5;
    --panel: #fffaf0;
    --line: rgba(61, 43, 26, 0.12);
    --text: #24170d;
    --muted: #735743;
    --accent: #be7b1f;
    --accent-soft: #f3dfbf;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(190, 123, 31, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(31, 117, 108, 0.12), transparent 28%),
        var(--bg);
    font-family: Georgia, "Times New Roman", serif;
}

.page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.hero,
.panel,
.stat,
.card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 250, 240, 0.92);
}

.hero,
.panel {
    padding: 24px;
    margin-bottom: 18px;
}

.hero h1,
.panel h1 {
    margin: 0 0 10px;
    line-height: 1;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    max-width: 11ch;
}

.hero.compact h1,
.panel h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-size: 0.72rem;
    margin: 0 0 8px;
}

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

.actions,
.grid {
    display: grid;
    gap: 14px;
}

.actions {
    grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
    margin-top: 22px;
}

.grid.stats {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
}

.button.primary {
    background: var(--text);
    color: #fff6e5;
}

.stat {
    padding: 18px;
}

.stat span {
    display: block;
    color: var(--muted);
    margin-bottom: 18px;
}

.stat strong {
    font-size: 1.9rem;
}

.row {
    display: grid;
    grid-template-columns: 1.8fr 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.row:first-of-type {
    border-top: 0;
}

.badge,
.card {
    padding: 12px 14px;
}

.badge {
    border-radius: 999px;
    background: var(--accent-soft);
    white-space: nowrap;
}

.narrow {
    max-width: 620px;
}

@media (max-width: 720px) {
    .row {
        grid-template-columns: 1fr;
    }
}
