/* Shared palette and typography from the current homepage. */
@font-face {
    font-family: "Nunito";
    src: url("../assets/fonts/nunito-v26-latin-800.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --bg: #fbfcfe;
    --surface: #fff;
    --soft: #f2f5f7;
    --soft-2: #eceef1;
    --ink: #2c3138;
    --muted: #5b6470;
    --line: #dfe3e8;
    --accent: #2576eb;
    --accent-ink: #1d5fc0;
    --accent-soft: #eaf2fe;
    --button: #2c3138;
    --button-hover: #1e2226;
    --button-ink: #fff;
    --heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sans: var(--body);
    --subtle: var(--muted);
    --link: var(--accent);
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.06);
    --shadow: 0 2px 4px -2px rgba(0,0,0,.06), 0 4px 8px -2px rgba(0,0,0,.06), 0 8px 16px -2px rgba(0,0,0,.06), 0 16px 32px -2px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.06);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
h1, h2 { text-wrap: balance; }
h3 { letter-spacing: -.02em; line-height: 1.2; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-soft); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }

@media (max-width: 760px) {
    html { scroll-padding-top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
