/* nk design system: base. Requires tokens.css. */
[hidden] { display: none !important; } /* components set display; keep the hidden attribute working */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  letter-spacing: var(--tr-body); font-weight: var(--w-regular);
  font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: var(--w-medium); font-style: normal; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.title1 { font-size: var(--fs-title1); line-height: var(--lh-title); letter-spacing: var(--tr-title1); }
.title2 { font-size: var(--fs-title2); line-height: var(--lh-title); letter-spacing: var(--tr-title2); }
.title3 { font-size: var(--fs-title3); line-height: 1.25; letter-spacing: var(--tr-title3); }
.sub { font-size: var(--fs-sub); color: var(--ink-2); }
.foot { font-size: var(--fs-foot); color: var(--ink-2); line-height: 1.4; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s8) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section.alt { background: var(--bg-alt); border-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
/* Motion: one gentle reveal; none when reduced motion is set. */
.reveal { animation: nk-reveal var(--dur-reveal) var(--ease) both; }
@keyframes nk-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { animation: none; }
}
