*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
html.js-scrollto { scroll-behavior: auto !important; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
::selection { background: var(--c-green); color: var(--c-black); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.h-hero { font-size: var(--fs-hero); font-weight: var(--fw-bold); line-height: 1.2; letter-spacing: 0.01em; }
.h1     { font-size: var(--fs-h1);   font-weight: var(--fw-bold); line-height: 1.24; }
.h2     { font-size: var(--fs-h2);   font-weight: var(--fw-bold); line-height: var(--lh-heading); }
.h3     { font-size: var(--fs-h3);   font-weight: var(--fw-bold); line-height: 1.4; }
.h4     { font-size: var(--fs-h4);   font-weight: var(--fw-bold); line-height: 1.5; }
.lead   { font-size: var(--fs-lead); line-height: 1.75; color: var(--fg-muted); }
.text-body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--fg-muted); }
.small  { font-size: var(--fs-small); line-height: 1.7; }
.caption{ font-size: var(--fs-caption); line-height: 1.6; color: var(--fg-subtle); }
.eyebrow {
  font-family: var(--font-latin);
  font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow code { text-transform: none; letter-spacing: 0; }
.tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  color: var(--accent);
}
.num {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  line-height: var(--lh-tight);
  font-variant-numeric: tabular-nums;
}
.num-xl { font-size: var(--fs-num-xl); }
.num-lg { font-size: var(--fs-num-lg); }
.num-md { font-size: var(--fs-num-md); }
.num-sm { font-size: var(--fs-num-sm); }
.num .u { font-family: var(--font-body); font-size: 0.32em; font-weight: var(--fw-bold); margin-left: 0.15em; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
}
.font-display { font-family: var(--font-display); font-weight: 400; font-synthesis: none; }
.font-latin   { font-family: var(--font-latin); }
.font-tc      { font-family: var(--font-tc); }
.text-fg     { color: var(--fg); }
.text-muted  { color: var(--fg-muted); }
.text-subtle { color: var(--fg-subtle); }
.text-faint  { color: var(--fg-faint); }
.text-accent, .g { color: var(--accent); }
.measure      { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }
.slant        { display: inline-block; transform: skewX(calc(var(--sk, 12deg) * -1)); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-right > .measure,
.text-right > .measure-wide { margin-left: auto; }
.nowrap       { white-space: nowrap; }
.fw-regular   { font-weight: var(--fw-regular); }
.fw-medium    { font-weight: var(--fw-medium); }
.fw-bold      { font-weight: var(--fw-bold); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
