:root {
    --bg: #fafafa;
    --card: #ffffff;
    --text: #111827;
    --text-muted: #6b7280;
    --accent: #9333ea;
    --accent-soft: #f3e8ff;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    padding: 24px 16px 80px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 24px;
    border-bottom: 4px solid var(--accent);
    margin-bottom: 32px;
}

.brand a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-publisher {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
    .card {
        padding: 20px;
        border-radius: 10px;
    }
}

h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text);
}

h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 8px;
}

p {
    margin-bottom: 14px;
    color: var(--text);
}

p.meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

ul, ol {
    margin: 0 0 14px 24px;
}

li {
    margin-bottom: 6px;
}

strong {
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration: none;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
}

footer {
    margin-top: 48px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

footer a {
    color: var(--text-muted);
    margin: 0 8px;
}

.summary-box {
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    padding: 14px 18px;
    border-radius: 8px;
    margin: 0 0 20px;
}

.summary-box p {
    margin: 0;
}
