*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
min-height: 100vh;
font-family: var(--font);
font-size: var(--fs-body);
line-height: var(--lh-body);
color: var(--ink);
background: var(--ground);
background-attachment: fixed;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible {
outline: 2px solid var(--accent-deep);
outline-offset: 2px;
border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--accent-wash-hard); color: var(--ink); }
.scroll-y { overflow-y: auto; overscroll-behavior: contain; }
.scroll-y::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll-y::-webkit-scrollbar-track { background: transparent; }
.scroll-y::-webkit-scrollbar-thumb {
background: var(--surface-sunken-3);
border-radius: var(--r-pill);
}
.scroll-y::-webkit-scrollbar-thumb:hover { background: rgba(28, 28, 30, 0.2); }
.display {
font-size: var(--fs-display); line-height: var(--lh-display);
font-weight: 500; letter-spacing: -0.02em;
}
.title {
font-size: var(--fs-title); line-height: var(--lh-title);
font-weight: 600; letter-spacing: -0.015em;
}
.section-title {
font-size: var(--fs-section); line-height: var(--lh-section);
font-weight: 600; letter-spacing: -0.01em;
}
.label {
font-size: var(--fs-label); line-height: var(--lh-label);
font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
color: var(--ink-soft);
}
.muted  { color: var(--ink-soft); }
.small  { font-size: var(--fs-small); line-height: var(--lh-small); }
.micro  { font-size: var(--fs-micro); line-height: var(--lh-micro); }
.mono   { font-family: var(--font-mono); }
.num    { font-variant-numeric: tabular-nums; }
.strong { font-weight: 600; }
.figure {
font-size: 32px; line-height: 36px; font-weight: 600;
letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
color: var(--ink);
}
.figure--sm { font-size: 22px; line-height: 26px; }
.figure--lg { font-size: 42px; line-height: 46px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.clamp-2 {
display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
-webkit-box-orient: vertical; overflow: hidden;
}
.row  { display: flex; align-items: center; gap: var(--gap); }
.row--tight { gap: 8px; }
.row--top { align-items: flex-start; }
.col  { display: flex; flex-direction: column; gap: var(--gap); }
.col--tight { gap: 8px; }
.wrap { flex-wrap: wrap; }
.grow { flex-grow: 1; min-width: 0; min-height: 0; }
.push { margin-left: auto; }
.between { justify-content: space-between; }
.center { align-items: center; justify-content: center; }
.divider { width: 1px; align-self: stretch; background: var(--hairline); flex-shrink: 0; }
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; flex-shrink: 0; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hide { display: none !important; }
@keyframes rise  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes shimmer { to { background-position: 200% 0; } }
.rise { animation: rise var(--t-slow) var(--ease) both; }
.d1 { animation-delay:  80ms; }
.d2 { animation-delay: 160ms; }
.d3 { animation-delay: 240ms; }
.d4 { animation-delay: 320ms; }
.d5 { animation-delay: 400ms; }
.bar-grow {
transform-origin: left center;
animation: growX 800ms var(--ease) both;
animation-delay: 240ms;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
transition-duration: 1ms !important;
scroll-behavior: auto !important;
}
.rise, .bar-grow { opacity: 1; transform: none; }
}
.page {
max-width: var(--page-max);
margin: 0 auto;
padding: var(--gutter);
display: flex;
flex-direction: column;
gap: var(--gap);
min-height: 100vh;
}
.page--bare { max-width: none; padding: 0; gap: 0; }
@media (max-width: 760px) {
:root { --gutter: 16px; --gap: 12px; }
}
