/* Minimal base layer: body type, headings, links.
   Nothing here is a component — components own their own styling. */

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--tipografia-base);
  line-height: var(--line-height-body);
  font-weight: var(--basics-typography-weight-regular);
  color: var(--color-content-primary);
  background: var(--color-background-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--basics-typography-weight-light);
  color: var(--color-content-primary);
  text-wrap: pretty;
}
h1 { font-size: var(--tipografia-h1); line-height: var(--line-height-display); }
h2 { font-size: var(--tipografia-h2); line-height: var(--line-height-display); }
h3 { font-size: var(--tipografia-h3); line-height: var(--line-height-display); }
h4 { font-size: var(--tipografia-h4); line-height: var(--line-height-heading); }
h5 { font-size: var(--tipografia-h5); line-height: var(--line-height-heading); }
h6 { font-size: var(--tipografia-h6); line-height: var(--line-height-heading); }

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--color-content-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-content-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

/* Documentation label style used across the Figma foundation boards. */
.bf-spec-label {
  font-family: var(--font-mono);
  font-size: var(--tipografia-detail);
  line-height: 100%;
  color: rgb(33, 33, 33);
}
