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

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

body {
  margin: 0;
  font-family: var(--trz-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--trz-ink);
  background: var(--trz-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--trz-font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--trz-ink);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.trz-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--trz-ink-soft);
  max-width: 42rem;
  text-wrap: pretty;
}

.trz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--trz-blue);
  margin-bottom: 0.85rem;
}

.trz-eyebrow--light { color: var(--trz-cyan-soft); }

.trz-mono {
  font-family: var(--trz-font-mono);
  font-size: 0.82rem;
}

.trz-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--trz-paper);
  color: var(--trz-ink);
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.trz-skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--trz-blue);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

::selection {
  background: rgba(31, 111, 255, 0.2);
}
