.brandguide-page {
    padding: 48px 0 72px;
    background: #f8fafc;
}

.brandguide-page .container {
    max-width: 1160px;
}

.brandguide-hero,
.brandguide-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    padding: 32px;
    margin-bottom: 28px;
}

.brandguide-hero h1,
.brandguide-section h2 {
    color: #1d3557;
    margin-bottom: 12px;
}

.brandguide-hero p,
.brandguide-section p,
.brandguide-section li {
    color: #475569;
}

.brandguide-section code {
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
    background: #e2e8f0;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

.brandguide-note {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(29, 53, 87, 0.08);
    color: #1d3557;
    font-size: 0.95rem;
    font-weight: 600;
}

.swatch-grid,
.font-grid,
.logo-grid {
    display: grid;
    gap: 20px;
}

.swatch-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 22px;
}

.swatch-card {
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.swatch-chip {
    height: 100px;
}

.swatch-meta {
    padding: 16px;
}

.swatch-meta h3,
.font-card h3,
.logo-card h3 {
    margin-bottom: 6px;
    color: #0f172a;
}

.font-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 22px;
}

.font-card,
.logo-card {
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
}

.font-sample {
    margin: 14px 0;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #111827;
}

.font-links,
.download-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1d3557;
    font-weight: 600;
    text-decoration: none;
}

.download-link:hover {
    border-color: #1d3557;
    background: #f8fafc;
}

.logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: 22px;
}

.logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.logo-preview.is-dark {
    background: linear-gradient(180deg, #1d3557 0%, #0f172a 100%);
    border-color: #1d3557;
}

.logo-preview.is-mark img {
    max-width: 160px;
}

.logo-preview img {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.logo-card p {
    margin-bottom: 10px;
}

.download-group {
    margin-top: 14px;
}

.download-group h4 {
    margin-bottom: 8px;
    color: #1d3557;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.usage-list {
    margin-top: 16px;
    padding-left: 20px;
}

.usage-list li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .brandguide-page {
        padding: 28px 0 56px;
    }

    .brandguide-hero,
    .brandguide-section {
        padding: 22px;
        border-radius: 14px;
    }

    .logo-grid {
        grid-template-columns: 1fr;
    }

    .font-sample {
        font-size: 1.3rem;
    }
}
