/* MyPass DRM — base element styling */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  color: var(--text-3);
  background: var(--bg);
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--text-1);
  letter-spacing: var(--ls-h2);
}

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-display);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-black); line-height: var(--lh-heading); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-black); line-height: var(--lh-heading); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: 0; }

p { color: var(--text-3); }

strong, b { color: var(--text-2); font-weight: var(--fw-semibold); }

a { color: var(--color-primary); transition: color var(--t-fast); }
a:hover { color: var(--color-primary-dark); }

/* Visible, consistent focus for keyboard users */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: var(--z-skip);
  background: var(--color-primary);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  transition: top var(--t-base);
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

/* Utility text */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow.on-dark { color: var(--color-secure-bright); }

.lead {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
  color: var(--text-3);
}

.text-secure { color: var(--color-secure); }
.text-muted { color: var(--text-muted); }

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