*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-h1);
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
  letter-spacing: -0.025em;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1.4rem;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--color-link);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
img,
svg,
video,
iframe {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
figure {
  margin: 0;
}
button {
  color: inherit;
}
::selection {
  background: var(--color-accent);
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.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;
}
.mi-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 12px 20px;
  transform: translateY(-180%);
}
.mi-skip:focus {
  transform: none;
}
.mi-muted {
  color: var(--color-text-muted);
}
.mi-eyebrow {
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.4rem;
}
.mi-eyebrow--signal::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 12px;
}
.mi-lead {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 620px;
}
.mi-prose {
  max-width: 760px;
  overflow-wrap: anywhere;
}
.mi-prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-link);
}
.mi-prose h2 {
  font-size: 2.25rem;
  margin-top: 3rem;
}
.mi-prose h3 {
  margin-top: 2.5rem;
}
.mi-prose p,
.mi-prose li {
  color: var(--color-text-muted);
}
.mi-prose blockquote {
  margin: 2rem 0;
  border-left: 3px solid var(--color-accent);
  padding: 1rem 2rem;
  font-size: 1.5rem;
}
.mi-prose pre {
  padding: 1.5rem;
  overflow: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.mi-prose code {
  font-size: 0.9em;
}
.mi-prose .alignwide {
  max-width: 100%;
}
.mi-prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.mi-prose td,
.mi-prose th {
  border: 1px solid var(--color-border);
  padding: 12px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 48px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
textarea {
  resize: vertical;
  min-height: 160px;
}
[aria-invalid="true"] {
  border-color: var(--color-danger) !important;
}
.mi-error {
  color: var(--color-danger);
}
.mi-success {
  color: var(--color-success);
}
.mi-loading {
  opacity: 0.7;
}
.mi-feedback {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
