:root {
  --ink: rgb(11, 13, 16);
  --ink-strong: rgb(22, 25, 28);
  --ink-muted: rgb(113, 95, 90);
  --ink-dim: rgb(153, 152, 151);
  --ink-slate: rgb(78, 86, 94);
  --ink-invert: rgb(255, 255, 255);

  --surface: rgb(255, 255, 255);
  --surface-page: rgb(250, 247, 242);
  --surface-dark: rgb(11, 13, 16);
  --surface-panel: rgb(31, 31, 31);
  --surface-panel-soft: rgba(31, 31, 31, 0.5);
  --surface-veil: rgba(255, 255, 255, 0.1);
  --surface-scrim: rgba(217, 217, 217, 0.2);
  --surface-hair: rgb(245, 244, 244);
  --edge: rgb(229, 222, 216);

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-card: 0px 10px 20px 0px rgba(58, 38, 23, 0.2);
  --shadow-chip: 0px 12.55px 25.11px 0px rgba(58, 38, 23, 0.2);

  --sans: Onest, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Fraunces, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --jakarta: "Plus Jakarta Sans", Onest, ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-display: 74px;
  --t-h1: 52px;
  --t-h2: 48px;
  --t-h3: 32px;
  --t-lead: 20px;
  --t-body: 16px;
  --t-sm: 15px;
  --t-xs: 14px;
  --t-xxs: 13.5px;
  --t-micro: 12px;

  --gutter: 184px;
  --canvas: 1440px;
  --col: 120px;
}

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

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

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a,
button,
[role="button"] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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

.band {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
}

.band > * {
  flex: none;
}

@media (max-width: 940px) {
  .band {
    display: block;
    padding-inline: var(--gutter);
  }

  .band > * {
    margin-left: 0 !important;
    width: auto !important;
  }
}

@media (max-width: 1200px) {
  :root {
    --gutter: 72px;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 40px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 20px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
