@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #1c2230;
    --muted: #6b7280;
    --primary: #2f6fed;
    --border: #e4e7ee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.page {
    max-width: 1024px;
    margin: 40px auto;
    padding: 24px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.subtitle {
    color: var(--muted);
}

.meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.badge {
    background: #e8efff;
    color: #1d4ed8;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.05);
}

.card h2 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

ul {
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.tags {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
x'    gap: 8px;
}

.tags li {
    background: #f1f5ff;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.highlight {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    white-space: pre-line;
    word-break: break-word;
    line-height: 1.7;
    text-align: left;
    padding-left: 4px;
}

footer {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.muted {
    font-size: 0.85rem;
}

@media (max-width: 720px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media print {
    body {
        background: white;
    }

    .page {
        margin: 0;
        padding: 0;
    }

    .button,
    .badge {
        display: none;
    }

    .card {
        box-shadow: none;
        border-color: #ddd;
    }
}
