/* Global design tokens */
:root {
    --page-background-color: #f5f5f6;
    --page-text-color: #111111;
    --page-max-width-px: 760px;

    --page-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        sans-serif;

    --page-spacing-unit-rem: 1rem;
    --page-border-radius-rem: 0.5rem;

    --post-card-background-color: #ffffff;
    --post-card-shadow-color: rgba(0, 0, 0, 0.04);
}

/* Base reset / typography */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.site-body {
    min-height: 100vh;
    background-color: var(--page-background-color);
    color: var(--page-text-color);
    font-family: var(--page-font-family);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 600;
}

p {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

ul,
ol {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li + li {
    margin-top: 0.25rem;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}