*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-body-size); line-height: var(--text-body-lh); font-weight: var(--weight-regular); color: var(--text-body); background: var(--surface-canvas); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-strong); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--text-h1-size); line-height: var(--text-h1-lh); font-weight: var(--weight-bold); }
h2 { font-size: var(--text-h2-size); line-height: var(--text-h2-lh); font-weight: var(--weight-bold); }
h3 { font-size: var(--text-h3-size); line-height: var(--text-h3-lh); font-weight: var(--weight-bold); }
h4 { font-size: var(--text-h4-size); line-height: var(--text-h4-lh); font-weight: var(--weight-bold); }
h5 { font-size: var(--text-h5-size); line-height: var(--text-h5-lh); font-weight: var(--weight-semibold); }
h6 { font-size: var(--text-h6-size); line-height: var(--text-h6-lh); font-weight: var(--weight-semibold); }
p { margin: 0; }
a { color: var(--text-strong); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--text-link-hover); }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); }

/* The signature label recipe — 14 / 500 / +0.42px / UPPERCASE, DM Sans. */
.tcc-label { font-family: var(--font-body); font-size: var(--text-label-size); line-height: var(--text-label-lh); font-weight: var(--weight-medium); letter-spacing: var(--text-label-tracking); text-transform: uppercase; }
.tcc-display { font-family: var(--font-display); font-size: var(--text-display-size); line-height: var(--text-display-lh); font-weight: var(--weight-bold); color: var(--text-strong); }
.tcc-body-xl { font-size: var(--text-body-xl-size); line-height: var(--text-body-xl-lh); font-weight: var(--weight-medium); }
.tcc-body-lg { font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-lh); font-weight: var(--weight-medium); }

/* Layout primitives */
.tcc-section { padding: var(--space-section) 0; }
.tcc-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.tcc-container-small { max-width: var(--container-small); margin: 0 auto; padding: 0 var(--gutter); }
.tcc-on-dark { color: var(--text-on-dark); }
.tcc-on-dark h1, .tcc-on-dark h2, .tcc-on-dark h3, .tcc-on-dark h4, .tcc-on-dark h5, .tcc-on-dark h6 { color: var(--text-on-dark); }
.tcc-on-dark a { color: var(--text-on-dark); }
.tcc-on-dark a:hover { color: var(--color-primary); }

/* Focus visibility — the design system ships none; WCAG requires it (build brief §11). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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