@import url("./scrollbars.css");

:root { color-scheme: light; --bg: #f5f5ed; --ink: #182452; --muted: #59637e; --line: #18245230; --accent: #2948cd; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #111829; --ink: #eeefe9; --muted: #b6c0d4; --line: #b6c0d450; --accent: #b7c1ff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 Arial, sans-serif; }
header, main, footer { width: min(100% - 48px, 800px); margin: auto; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.brand img { display: block; }
.brand span { display: block; width: 92px; aspect-ratio: 718 / 193; font-size: 0; background: currentColor; -webkit-mask: url('../assets/gato-wordmark.png') center / contain no-repeat; mask: url('../assets/gato-wordmark.png') center / contain no-repeat; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
a { color: var(--accent); text-underline-offset: 5px; }
nav a { padding-block: 8px; }
nav [aria-current="page"] { color: var(--ink); font-weight: bold; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
main { padding-block: 48px; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -.04em; margin: 8px 0 16px; }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0; }
.intro { font-size: 20px; line-height: 1.45; max-width: 40ch; margin: 0 0 18px; }
.updated { color: var(--muted); font-size: 13px; margin: 0; }
section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
h2 { font-size: 22px; line-height: 1.3; margin: 0 0 14px; letter-spacing: -.02em; }
p { margin: 0 0 16px; } p:last-child { margin-bottom: 0; }
ul { margin: 0; padding-left: 22px; } li + li { margin-top: 12px; }
ul + p { margin-top: 16px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 24px 40px; border-top: 1px solid var(--line); }
@media(max-width: 500px) { header { flex-direction: column; align-items: start; gap: 12px; padding-block: 22px; } main { padding-block: 32px; } header,main,footer { width: calc(100% - 40px); } nav { gap: 12px 20px; } }
@media print { header,footer { display: none; } body { color: black; background: white; } main { width: 100%; } section { break-inside: avoid; } }
