/* ==========================================================================
   un-do DESIGN — Base element defaults
   Applies the brand families and a few resets. Tokens come from the files
   imported ahead of this one in styles.css.
   ========================================================================== */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-medium);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  color: var(--text-body);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--text-heading);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); line-height: var(--leading-tight); }
h2 { font-size: var(--text-h2); line-height: var(--leading-snug); }
h3 { font-size: var(--text-h3); line-height: var(--leading-snug); }
h4 { font-size: var(--text-h4); line-height: var(--leading-normal); }
h5 { font-size: var(--text-h5); line-height: var(--leading-normal); }
h6 { font-size: var(--text-h6); line-height: var(--leading-normal); }

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

a { color: inherit; text-decoration: none; }

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

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

/* ---- Eyebrow label — the recurring uppercase English section kicker.
   Small, very widely tracked, set above a Japanese heading. ---- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-label);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}
