@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-variable.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h1, h2 { letter-spacing: -.055em; }
p { color: var(--muted); }
svg { display: block; }
::selection { background: #245bdb; color: white; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 140ms ease-in both; }
::view-transition-new(root) { animation: page-in 260ms var(--ease) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.container { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--accent); font-size: .69rem; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 52px; padding: .8rem 1.35rem; border-radius: 7px; font-size: .8rem; font-weight: 700; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.button-primary { background: var(--action); color: #fff; box-shadow: 0 5px 28px rgb(36 91 219 / 16%), inset 0 1px rgb(255 255 255 / 15%); }
.button-primary:hover { background: #2d66e8; transform: translateY(-2px); }
.button-secondary { border-color: var(--line); background: rgb(13 22 40 / 40%); }
.button-secondary:hover { background: var(--surface-raised); border-color: #709cff; }
.button svg { width: 17px; height: 17px; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.skip-link { position: fixed; z-index: 100; inset: .7rem auto auto 1rem; padding: .7rem 1rem; border-radius: 4px; background: var(--text); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Programmatic route focus belongs on the heading without a control outline. */
h1:focus { outline: none; }
h1, h2, h3, p, a { overflow-wrap: anywhere; }
.button { max-width: 100%; gap: clamp(.65rem, 2vw, 1.5rem); }
.button svg { flex-shrink: 0; }
