

html {
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--text);
  background: var(--bg);
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h1);      line-height: var(--lh-loose); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

strong { font-weight: var(--fw-semibold); }


:where(.prose, article) a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}




.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-content);
}


.container--wide {
  max-width: var(--container-full);
  padding-inline: var(--gutter-page);
}

.section {
  padding-block: var(--space-12);
}

.section--tight { padding-block: var(--space-10); }


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


.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: var(--z-overlay);
  background: var(--surface-1);
  color: var(--text);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-card);
}
.skip-link:focus {
  top: var(--space-4);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  line-height: 1.4;
  letter-spacing: var(--ls-normal);
  padding: 0.625rem 1.25rem;          
  border-radius: var(--radius-3);
  min-height: 2.5rem;                
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-button);
}
.btn--primary:hover { background: var(--brand-strong); }

.btn--lg {
  font-size: var(--fs-lead);
  padding: 0.75rem 1.5rem;
  min-height: 3.5rem;                
  border-radius: var(--radius-1);
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.25rem 0.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: var(--ls-tight);
  background: rgba(113, 113, 122, 0.15);
  color: var(--gray-500);
  border-radius: var(--radius-2);
}
