/* Explain: Base reset, typography defaults, and core utility classes. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color-scheme: dark;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--platinum);
}

p,
ul,
ol,
figure,
blockquote {
    margin: 0;
}

img,
svg,
video {
    max-width: 100%;
}

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

button {
    font-family: inherit;
}

sub,
sup {
    font-size: 0.68em;
    line-height: 0;
}

::selection {
    background: rgba(56, 189, 248, 0.28);
    color: var(--platinum);
}

:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 3px;
}

.mm-h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

.mm-h3 {
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.mm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--electric);
    margin-bottom: 1rem;
}

.mm-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.mm-lead {
    margin-top: 1.1rem;
    max-width: 46rem;
    font-size: 1.05rem;
    color: var(--titanium);
}

.mm-prose {
    margin-top: 1rem;
    max-width: 44rem;
    font-size: 0.98rem;
    color: var(--titanium);
}

.mm-note {
    margin-top: 1.5rem;
    max-width: 52rem;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(156, 168, 184, 0.9);
    border-left: 2px solid rgba(56, 189, 248, 0.4);
    padding-left: 0.9rem;
}

.mm-caption {
    margin-top: 0.7rem;
    font-family: var(--font-tech);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: rgba(156, 168, 184, 0.85);
}

.mm-grad {
    background: linear-gradient(102deg, #FFFFFF 6%, #38BDF8 52%, #CBD5E1 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mm-num {
    font-family: var(--font-tech);
    font-variant-numeric: tabular-nums;
}

.mm-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--electric);
    display: inline-block;
}