body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #0b1020;
    color: #f7f7fb;
}

.app-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
}

.mm-logo {
    height: 120px;
    width: auto;
}

.mm-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mm-brand-title {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mm-brand-tagline {
    font-size: 0.75rem;
    color: #9ca3af;
}

.mm-nav {
    gap: 1.25rem;
    display: flex;
    align-items: center;
}

.mm-nav-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #d1d5db;
    padding: 0.25rem 0;
}

    .mm-nav-link:hover {
        color: #ffffff;
    }

.mm-nav-link-cta {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #2563eb;
    color: #e5e7eb;
}

    .mm-nav-link-cta:hover {
        background-color: #2563eb;
        color: #ffffff;
    }

.mm-main {
    flex: 1;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.mm-footer {
    border-top: 1px solid rgba(75, 85, 99, 0.7);
    padding: 1rem 0;
    background: #050815;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Hero */

.mm-hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.mm-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: #38bdf8;
    margin-bottom: 0.75rem;
}

.mm-hero-title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mm-hero-subtitle {
    font-size: 1rem;
    color: #d1d5db;
    max-width: 40rem;
}

.mm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.mm-btn-primary {
    border-radius: 999px;
    padding-inline: 1.5rem;
    padding-block: 0.6rem;
    font-weight: 600;
}

.mm-btn-secondary {
    border-radius: 999px;
    padding-inline: 1.4rem;
    padding-block: 0.6rem;
    font-weight: 500;
}

.mm-hero-footnote {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.mm-hero-card {
    background: radial-gradient(circle at top left, #111827 0, #020617 60%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.7);
}

.mm-hero-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.mm-hero-list {
    padding-left: 1.1rem;
    margin-bottom: 1.25rem;
    color: #e5e7eb;
}

    .mm-hero-list li + li {
        margin-top: 0.3rem;
    }

.mm-hero-card-metric {
    border-top: 1px dashed rgba(75, 85, 99, 0.9);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.mm-metric-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.mm-metric-value {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.mm-metric-caption {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Sections */

.mm-section {
    padding-top: 3rem;
    padding-bottom: 2.75rem;
}

.mm-section-alt {
    background: radial-gradient(circle at top, #020617 0, #020617 45%, #050816 100%);
    border-radius: 1.75rem;
    padding-inline: 1.5rem;
    margin-inline: -0.75rem;
}

.mm-section-header {
    max-width: 42rem;
    margin-bottom: 1.75rem;
}

    .mm-section-header h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    .mm-section-header p {
        color: #d1d5db;
        font-size: 0.96rem;
    }

/* Cards */

.mm-card {
    border-radius: 1rem;
    padding: 1.25rem 1.4rem;
    background: #020617;
    border: 1px solid rgba(55, 65, 81, 0.9);
    height: 100%;
}

.mm-card-outline {
    background: transparent;
    border-style: dashed;
}

.mm-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mm-card p,
.mm-card ul {
    font-size: 0.9rem;
    color: #d1d5db;
}

.mm-card ul {
    padding-left: 1.1rem;
}

    .mm-card ul li + li {
        margin-top: 0.25rem;
    }

/* Contact */

.mm-contact {
    margin-top: 1.5rem;
}

.mm-contact-card {
    background: #020617;
}

.mm-contact-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Anchor-scroll offset to prevent headings from being hidden under the fixed header.
   Adjust --mm-scroll-offset to match your actual header/nav height. */
:root {
  --mm-scroll-offset: 82px; /* desktop default - change if your header is taller/shorter */
}

/* Smaller header on mobile */
@media (max-width: 767.98px) {
  :root {
    --mm-scroll-offset: 66px;
  }
}

/* Apply to any section with an id (your <section id="..."> targets) */
section[id] {
  /* ensures the browser stops scrolling slightly above the element so the title is visible */
  scroll-margin-top: calc(var(--mm-scroll-offset) + 8px);
  /* optional: smooth scrolling experience for fragment links */
  scroll-behavior: smooth;
}

/* If your headings are inside another element, you can also target them directly:
   .mm-section-header { scroll-margin-top: calc(var(--mm-scroll-offset) + 8px); } */
