:root {
    --background: #f7f7f5;
    --panel: #ffffff;
    --panel-alt: #f9faf9;
    --text: #1a1a1a;
    --muted: #5b676c;
    --border: #e9ece8;
    --brand: #75ca2a;
    --brand-strong: #789d4a;
    --brand-hover: #a3d465;
    --brand-deep: #447618;
    --shadow: 0 10px 24px rgba(30, 38, 25, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0 18px;
}

.brand-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    width: min(300px, 58vw);
    height: auto;
    display: block;
}

.brand-back-link {
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-back-link:hover,
.brand-back-link:focus {
    color: var(--brand-deep);
    text-decoration: none;
}

.content {
    background: transparent;
}

.intro {
    text-align: center;
    margin-bottom: 24px;
}

.eyebrow {
    display: none;
}

h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}

.lead {
    margin: 10px auto 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--muted);
    max-width: 620px;
}

.catalog-section {
    margin-top: 26px;
}

.current-section {
    margin-top: 10px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.meta-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(117, 202, 42, 0.10);
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.published-date,
.archive-date {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.file-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-label {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.file-name,
.archive-file {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.archive-section {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.archive-section h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--text);
    font-weight: 600;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-item {
    background: var(--panel-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.archive-main {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.actions {
    margin-top: 0;
}

.download-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 130px;
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--brand);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.download-button:hover,
.download-button:focus {
    background: var(--brand-hover);
    color: #ffffff;
}

.download-button.secondary {
    background: var(--brand-strong);
}

.download-button.secondary:hover,
.download-button.secondary:focus {
    background: var(--brand-deep);
}

.empty-state {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .page-shell {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 18px;
    }

    .topbar {
        padding-bottom: 12px;
    }

    .brand-logo {
        width: min(240px, 62vw);
    }

    .feature-card,
    .archive-item {
        padding: 16px 14px;
    }

    .archive-item {
        flex-direction: column;
        align-items: stretch;
    }

    .archive-actions {
        width: 100%;
    }

    .download-button {
        width: 100%;
    }
}
