:root {
    --bg-0: #f7f4fb;
    --bg-1: #eee7f8;
    --ink-0: #21192f;
    --ink-1: #483b5d;
    --ink-2: #6f6385;
    --line: rgba(95, 78, 131, 0.2);
    --accent: #8f78c4;
    --accent-deep: #7159a6;
    --accent-soft: rgba(143, 120, 196, 0.14);
}

body {
    background: var(--bg-0);
    color: var(--ink-1);
    min-height: 100vh;
}

/* The page gradient lives on a fixed, viewport-sized layer. Painted on body,
   it tiled every viewport height (main.css sets html, body { height: 100% }),
   leaving a hard seam and a repeated glow partway down long pages. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            1200px 600px at 15% 10%,
            rgba(188, 166, 236, 0.32),
            transparent 55%
        ),
        radial-gradient(
            900px 520px at 85% 5%,
            rgba(146, 122, 204, 0.18),
            transparent 60%
        ),
        linear-gradient(160deg, var(--bg-0), var(--bg-1));
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 180ms ease;
}

a:hover,
a:focus {
    color: var(--accent-deep);
}
