:root {
  color-scheme: light;
  --paper: #f4f6ef;
  --white: #fafbf7;
  --ink: #121915;
  --muted: #4a574e;
  --forest: #14221b;
  --forest-deep: #101914;
  --on-dark: #f2f6ec;
  --on-dark-muted: #b6c4b8;
  --fern: #d7f58c;
  --green-ink: #22563c;
  --rule: #a4aea3;
  --rule-soft: #d1d9ce;
  --rule-dark: #46564b;
  --sans: Hanken, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(24px, 4vw, 72px);
  --max-width: 1540px;
  --focus: var(--green-ink);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--fern); }

.frame {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.meta {
  font: 520 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.display {
  font-weight: 800;
  letter-spacing: -0.064em;
  line-height: 0.91;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.4375rem;
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-lockup img { flex: none; width: 29px; height: 29px; }
.brand-lockup--compact { font-size: 1.0625rem; gap: 5px; }
.brand-lockup--compact img { width: 21px; height: 21px; }

.arrow {
  display: block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform 180ms ease;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  width: fit-content;
  font-weight: 650;
  text-decoration: none;
}

.arrow-link:hover .arrow { transform: translate(2px, -2px); }

.solid-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3em;
  min-height: 46px;
  width: fit-content;
  padding: 9px 15px 9px 17px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 670;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.solid-link:hover { color: var(--ink); background: var(--fern); }
.solid-link:hover .arrow { transform: translate(2px, -2px); }

.dark {
  color: var(--on-dark);
  background: var(--forest);
  --focus: var(--fern);
}

.dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

.seal {
  display: block;
  width: 196px;
  max-width: 100%;
  height: auto;
}

.seal-mount {
  width: fit-content;
  padding: 5px;
  border: 1px solid #536459;
  border-radius: 100vw;
}

.skip {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 15px;
  background: var(--fern);
  color: var(--ink);
  transform: translateY(calc(-100% - 13px));
}

.skip:focus { transform: none; }

@media (max-width: 600px) {
  :root { --gutter: clamp(16px, 4.7vw, 24px); }
  .brand-lockup { font-size: 1.2rem; }
  .brand-lockup img { width: 26px; height: 26px; }
  .brand-lockup--compact { font-size: 1.0625rem; }
  .brand-lockup--compact img { width: 21px; height: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arrow, .solid-link { transition: none; }
}
