*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: -0.01em;
  min-height: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; height: auto; }
img { border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--clay-soft); color: var(--ink); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--footer-ink);
  padding: 10px 14px;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; color: var(--footer-ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--clay);
}
.display {
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 64px);
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: pretty;
}
.lede {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32em;
  font-weight: 500;
}
.muted { color: var(--steel); }
.sec-head { margin-bottom: clamp(24px, 3.5vw, 40px); max-width: 22em; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.sec-head .eyebrow { margin-bottom: 10px; display: block; }
.sec-head .lede { margin-top: 10px; }

.section { padding: var(--sec) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: 80ms; }
[data-reveal].d2 { transition-delay: 160ms; }
[data-reveal].d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal],
  [data-reveal].d1,
  [data-reveal].d2,
  [data-reveal].d3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .device, .tile, .card, .sit, .btn, .photo, .ico {
    transition: none;
  }
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.btn-primary:focus-visible {
  outline-color: #c9b8ff;
}
