/* tesaurex.com — base
   Columbia Canvas: the page background is Columbia Blue everywhere, in
   both macOS appearance modes. Sections lift off it with white and very
   light blue-white surfaces rather than by changing the canvas. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--columbia);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--columbia);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  font-size: var(--t-display);
  font-weight: 680;
  line-height: 1.03;
  letter-spacing: -0.032em;
}

h2 {
  font-size: var(--t-h2);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -0.026em;
}

h3 {
  font-size: var(--t-h3);
  font-weight: 640;
  letter-spacing: -0.016em;
  line-height: 1.28;
}

p {
  margin: 0;
}

a {
  color: var(--azure-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

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

img,
video {
  height: auto;
}

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

code,
pre {
  font-family: var(--mono);
}

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(0, 128, 254, 0.2);
  color: var(--ink);
}

/* ---- The one layout grid ---------------------------------------------
   Every section on every page uses .wrap. Same max width, same gutters,
   same heading start. Nothing is indented off its own grid. */

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

.band {
  padding-block: var(--band);
}

.band-tight {
  padding-block: var(--band-tight);
}

/* Section headers share one alignment and one rhythm site-wide. */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
}

.section-head h2 {
  margin-bottom: 0.6rem;
}

.section-head .intro {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 40rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: var(--t-micro);
  font-weight: 640;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--azure);
  flex: none;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 640;
  box-shadow: var(--shadow-md);
  transition: top 130ms ease;
}

.skip-link:focus {
  top: 14px;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}
