*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--ground); }
h1, h2, h3, .title, .wordmark { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-head); margin: 0; }
h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-2); font-family: var(--font-ui); }
h1, .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
p { margin: 0 0 var(--s-3); }
a { color: var(--accent); }
code { background: var(--surface-2); padding: 2px var(--s-2); border-radius: var(--r-1); font-size: var(--t-1); }
small { display: block; color: var(--ink-2); font-size: var(--t-1); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
table { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--s-4); top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: var(--s-3) var(--s-5); border-radius: var(--r-2); }
.skip:focus { top: var(--s-4); }
.icon { flex: none; }

:focus { outline: none; }
:focus-visible, .is-focus { box-shadow: var(--ring); }
[data-input="touch"] :focus-visible { box-shadow: none; }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ambient i { position: absolute; inset: 0; opacity: 0; transition: opacity var(--d-slow) var(--ease);
  background: radial-gradient(60% 70% at 25% 30%, var(--amb-1) 0%, transparent 70%), var(--amb-2); }
.ambient i.on { opacity: .55; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
[data-motion="reduce"] *, [data-perf="low"] * { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
[data-perf="low"] .ambient { display: none; }
[data-perf="low"] .card__art { box-shadow: none; border: 1px solid var(--line); }
