/* Base: reset, type scale, prose. Uses tokens only. No borders, no shadows. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 var(--space-3); color: var(--color-text); text-wrap: balance; }
h1 { font-size: var(--text-3xl); letter-spacing: -0.025em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
a { color: var(--color-text); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }
small { font-size: var(--text-sm); color: var(--color-text-muted); }
.de-main { min-height: 50vh; }
.de-eyebrow { display: block; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.de-prose { max-width: 68ch; }
.de-prose h1 { margin-top: 0; }
.de-prose h2 { margin-top: var(--space-6); }
.de-prose ul, .de-prose ol { padding-left: 1.4em; margin: 0 0 var(--space-4); }
.de-prose li { margin-bottom: var(--space-2); }
.de-prose blockquote { margin: 0 0 var(--space-4); padding: var(--space-4) var(--space-5); background: var(--color-surface); border-radius: var(--radius-md); font-weight: 600; }
.de-prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--color-surface); padding: 0.1em 0.4em; border-radius: var(--radius-sm); }
.de-prose pre { background: var(--color-text); color: var(--color-bg); padding: var(--space-4); border-radius: var(--radius-md); overflow: auto; }
.de-prose pre code { background: none; color: inherit; padding: 0; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
@media (max-width: 640px) {
    h1 { font-size: var(--text-2xl); }
    h2 { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
