:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --paper: #f5f4ef;
  --paper-bright: #ffffff;
  --muted: #686864;
  --line: #d6d5cf;
  --focus: #8dd8cf;
  --max: 88rem;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --sans: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .12vw, 1.08rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: .2rem solid var(--focus);
  outline-offset: .25rem;
}

::selection {
  background: #bcece6;
  color: #07110f;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border: .1rem solid currentColor;
  background: var(--paper-bright);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 140ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: .12rem;
  background: currentColor;
  content: "";
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .75rem 1.25rem;
  border: .1rem solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.button::after {
  content: "↗";
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-.12rem);
}

.button--solid {
  background: var(--ink);
  color: var(--paper-bright);
}

.button--solid:hover {
  background: #30302d;
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: #090909;
}

.button--light:hover {
  background: #dcdcd7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  transition: transform 160ms var(--ease);
}

.text-link:hover::after {
  transform: translateX(.25rem);
}

.scroll-meter {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: .18rem;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: var(--focus);
  transform-origin: left;
}

.js .reveal {
  opacity: 1;
  transform: translateY(.8rem);
  transition: transform 650ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.legal-shell {
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
  background: #efeee8;
}

.legal-panel {
  width: min(100%, 54rem);
  margin: clamp(2rem, 8vw, 7rem) auto;
  padding: clamp(1.5rem, 6vw, 5rem);
  border: .1rem solid #111;
  background: #fff;
}

.legal-panel h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 8vw, 6.2rem);
  letter-spacing: -.06em;
}

.legal-warning {
  margin-block: 2rem;
  padding: 1rem 1.2rem;
  border-left: .35rem solid #9a4f18;
  background: #f8e6d8;
  color: #572807;
  font-weight: 700;
}

.legal-panel h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.legal-panel__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: .1rem solid #ccc;
}

@media (max-width: 40rem) {
  .button-row,
  .button-row .button {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
