/* ==========================================================================
   Base / reset + text styles (Figma text styles → utility classes)
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  line-height: normal;
  color: var(--surface-secondary-on-secondary);
  background: var(--surface-secondary-high);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

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

/* ---- Text styles (Figma: heading/*, body/*, label/*) ---- */
.t-heading-h2-bold { font-size: var(--font-heading-h2); font-weight: var(--font-weight-bold); }
.t-heading-h4-bold { font-size: var(--font-heading-h4); font-weight: var(--font-weight-bold); }
.t-heading-h5-bold { font-size: var(--font-heading-h5); font-weight: var(--font-weight-bold); }
.t-heading-h6-regular { font-size: var(--font-heading-h6); font-weight: var(--font-weight-regular); }
.t-body-md-regular { font-size: var(--font-body-md); font-weight: var(--font-weight-regular); }
.t-body-md-bold { font-size: var(--font-body-md); font-weight: var(--font-weight-bold); }
.t-body-sm-regular { font-size: var(--font-body-sm); font-weight: var(--font-weight-regular); }
.t-body-sm-bold { font-size: var(--font-body-sm); font-weight: var(--font-weight-bold); }
.t-body-xs-regular { font-size: var(--font-body-xs); font-weight: var(--font-weight-regular); }
.t-body-2xs-regular { font-size: var(--font-body-2xs); font-weight: var(--font-weight-regular); }
.t-body-2xs-bold { font-size: var(--font-body-2xs); font-weight: var(--font-weight-bold); }
.t-label-md-regular { font-size: var(--font-label-md); font-weight: var(--font-weight-regular); }
.t-label-sm-regular { font-size: var(--font-label-sm); font-weight: var(--font-weight-regular); }
.t-uppercase { text-transform: uppercase; }
