/* MCCP Base Reset and Typography Foundation */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--mccp-ink);
  font-family: var(--mccp-font-body);
  font-size: var(--mccp-text-base);
  line-height: 1.7;
  background: var(--mccp-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--mccp-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mccp-font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.55em;
  font-weight: 700;
  color: var(--mccp-ink);
}

/* Graduated weight scale — heavy only where impactful */
h1 { font-size: var(--mccp-text-display); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: var(--mccp-text-3xl);   line-height: 1.1;  letter-spacing: -0.03em; font-weight: 750; }
h3 { font-size: var(--mccp-text-xl);    line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
h4 { font-size: var(--mccp-text-lg);    line-height: 1.35; letter-spacing: -0.01em;  font-weight: 600; }
h5 { font-size: var(--mccp-text-md);    line-height: 1.4;  font-weight: 600; }
h6 { font-size: var(--mccp-text-base);  line-height: 1.45; font-weight: 600; }

p {
  margin: 0 0 1.15em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.mccp-skip-link {
  position: absolute;
  z-index: 9999;
  left: 14px;
  top: -100px;
  background: var(--mccp-yellow);
  color: var(--mccp-ink);
  padding: 12px 20px;
  border-radius: var(--mccp-radius-sm);
  font-weight: 800;
  box-shadow: var(--mccp-shadow-md);
  transition: top 0.2s ease;
}

.mccp-skip-link:focus {
  top: 14px;
}

:focus-visible {
  outline: 3px solid var(--mccp-yellow);
  outline-offset: 3px;
}

.mccp-container {
  width: min(var(--mccp-content), calc(100% - 2 * var(--mccp-gutter)));
  margin-inline: auto;
}

.mccp-main {
  min-height: 50vh;
}

.mccp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mccp-purple);
  font-family: var(--mccp-font-display);
  font-size: var(--mccp-text-xs);
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mccp-lead {
  font-size: var(--mccp-text-lg);
  line-height: 1.75;
  color: var(--mccp-muted);
}

/* Button Component System */
.mccp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: var(--mccp-radius-full);
  background: var(--mccp-purple);
  color: #fff;
  font-family: var(--mccp-font-display);
  font-size: var(--mccp-text-sm);
  font-weight: 750;
  letter-spacing: 0.02em;
  box-shadow: var(--mccp-shadow-sm);
  transition: transform 0.2s var(--mccp-ease), background 0.2s ease, box-shadow 0.2s ease;
  border: 0;
}

.mccp-button:hover {
  color: #fff;
  background: var(--mccp-deep);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--mccp-shadow-md);
}

.mccp-button:active {
  transform: translateY(0);
}

.mccp-button--yellow {
  background: var(--mccp-yellow);
  color: var(--mccp-ink);
  box-shadow: 0 4px 18px rgba(246, 201, 0, 0.25);
}

.mccp-button--yellow:hover {
  background: var(--mccp-yellow-hover);
  color: var(--mccp-ink);
  box-shadow: 0 8px 24px rgba(246, 201, 0, 0.35);
}

.mccp-button--outline {
  background: transparent;
  color: var(--mccp-purple);
  border: 1.5px solid currentColor;
  box-shadow: none;
}

.mccp-button--outline:hover {
  background: var(--mccp-purple);
  color: #fff;
  border-color: var(--mccp-purple);
}

.mccp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mccp-font-display);
  font-weight: 700;
  color: var(--mccp-purple);
  transition: gap 0.2s ease;
}

.mccp-text-link:hover {
  text-decoration: underline;
  gap: 9px;
}
