:root {
    --ink: #171512;
    --muted: #716b63;
    --paper: #fffaf0;
    --card: #ffffff;
    --accent: #15a89a;
    --accent-dark: #0b766e;
    --line: #e6ddd0;
    --soft: #eaf8f5;
    --shadow: 0 16px 42px rgba(54, 43, 29, .10);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(21, 168, 154, .13), transparent 31rem),
        var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a { color: inherit; }

.shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 48px;
}

.hero { padding: 8px 0 28px; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    font-weight: 900;
    letter-spacing: -.04em;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: .95rem; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: .64rem; letter-spacing: .16em; }

.eyebrow {
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
}

h1, h2, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 12px; font-size: clamp(2.3rem, 8vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.hero > p { max-width: 630px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }

.locations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
}

.location-tab {
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.location-tab:hover { background: var(--soft); color: var(--ink); }
.location-tab.is-active { color: #fff; background: var(--ink); }

.current-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(21, 168, 154, .12); }
.current-card h2 { margin-bottom: 2px; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.05em; }
.address { margin-bottom: 12px; color: var(--muted); }
.published { margin-bottom: 0; font-size: .9rem; font-weight: 700; }
.warning { color: #9a3f28; }

.primary-button, .archive-button, .download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.primary-button { padding: 0 22px; color: #fff; background: var(--accent-dark); }
.primary-button:hover { background: var(--ink); }

.archive-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 4px;
}

.archive-action span { color: var(--muted); font-size: .86rem; }
.archive-button { min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); }
.archive-button:hover { color: #fff; background: var(--ink); }

.archive {
    margin-top: 16px;
    padding: clamp(22px, 5vw, 38px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, .76);
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 4px 0 0; font-size: clamp(1.6rem, 5vw, 2.5rem); letter-spacing: -.04em; }
.section-heading p { margin-bottom: 4px; color: var(--muted); }

.archive-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.archive-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.file-date { display: flex; align-items: center; gap: 13px; min-width: 0; }
.file-date .day { display: grid; width: 46px; height: 46px; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--accent-dark); background: var(--soft); font-size: 1.25rem; font-weight: 900; }
.file-date strong, .file-date small { display: block; }
.file-date small { color: var(--muted); font-size: .76rem; }
.latest-label { padding: 4px 9px; border-radius: 999px; color: var(--accent-dark); background: var(--soft); font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.download-link { min-height: 38px; padding: 0 14px; color: var(--accent-dark); background: var(--soft); font-size: .84rem; }
.download-link:hover { color: #fff; background: var(--accent-dark); }
.empty { padding: 24px; border-radius: 16px; color: var(--muted); background: #fff; text-align: center; }

footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding: 20px 4px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

@media (max-width: 680px) {
    .shell { width: min(100% - 20px, 960px); padding-top: 18px; }
    .brand { margin-bottom: 36px; }
    .locations { grid-template-columns: repeat(2, 1fr); }
    .current-card { align-items: stretch; flex-direction: column; border-radius: 22px; }
    .primary-button { width: 100%; }
    .section-heading { align-items: start; flex-direction: column; }
    .archive-list li { grid-template-columns: 1fr auto; }
    .latest-label { display: none; }
    footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
    .primary-button, .archive-button, .download-link, .location-tab { transition: color .16s ease, background .16s ease, transform .16s ease; }
    .primary-button:hover, .archive-button:hover { transform: translateY(-1px); }
}
