@font-face {
    font-family: "NitroFlow Display";
    src: url("./font.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-canvas: #f6f8fc;
    --bg-surface: #ffffff;
    --border-soft: #e4e7ec;
    --border-strong: #c0cad9;
    --text-strong: #0f172a;
    --text-muted: rgba(15, 23, 42, 0.64);
    --accent-green: #30ffa3;
    --accent-green-dark: #16c67c;
    --accent-blue: #2cb3ff;
    --tint-blue: rgba(44, 179, 255, 0.12);
    --tint-green: rgba(48, 255, 163, 0.12);
    --tint-indigo: rgba(78, 91, 255, 0.08);
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.12);
    --shadow-lift: 0 26px 40px rgba(40, 216, 170, 0.35);
    --radius-card: 18px;
    --radius-pill: 999px;
    --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --section-pad: clamp(2.5rem, 5vw, 4rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-base);
    color: var(--text-strong);
    background: var(--bg-canvas);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(48, 255, 163, 0.55);
    outline-offset: 3px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.mf-app-shell {
    min-height: 100vh;
    background: var(--bg-canvas);
}

.mf-top-bar {
    background: #121824;
    color: #f5f7ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem clamp(1.25rem, 4vw, 3.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mf-top-link {
    color: #f5f7ff;
    font-weight: 600;
}

.mf-app-header {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.2rem);
    flex-wrap: wrap;
    padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 0 rgba(15, 23, 42, 0);
    transition: box-shadow 0.2s ease;
}

.mf-app-header.is-scrolled {
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.mf-header-left {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.8vw, 2rem);
    flex: 1 1 750px;
    min-width: 280px;
    flex-wrap: wrap;
}

.mf-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 420px;
    min-width: 300px;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mf-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-right: 0.8rem;
    border-right: 1px solid var(--border-soft);
    min-height: 48px;
}

.mf-brand-pulse {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #b9ffee, #30ffa3 65%, rgba(44, 179, 255, 0.8));
    box-shadow: 0 0 12px rgba(48, 255, 163, 0.75);
}

.mf-brand-name {
    font-family: "NitroFlow Display", var(--font-base);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0;
    display: inline-flex;
    gap: 0.15rem;
    line-height: 1;
}

.mf-brand-nitro,
.mf-brand-flow {
    display: inline-block;
}

.mf-brand-nitro {
    background: linear-gradient(120deg, var(--accent-green), rgba(44, 179, 255, 0.85));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.mf-brand-flow {
    color: var(--text-strong);
}

.mf-primary-nav {
    flex: 1;
    min-width: 240px;
}

.mf-menu-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: var(--bg-surface);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-strong);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mf-menu-toggle:hover {
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
}

.mf-menu-toggle.is-active {
    border-color: rgba(48, 255, 163, 0.6);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.mf-menu-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    display: inline-block;
}

.mf-menu-icon::before,
.mf-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.mf-menu-icon::before {
    top: -6px;
}

.mf-menu-icon::after {
    top: 6px;
}

.mf-menu-toggle.is-active .mf-menu-icon {
    background: transparent;
}

.mf-menu-toggle.is-active .mf-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mf-menu-toggle.is-active .mf-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mf-menu-label {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.mf-nav-list {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.mf-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: var(--bg-surface);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mf-nav-pill:hover,
.mf-nav-pill:focus-visible,
.mf-nav-pill.is-active {
    color: var(--text-strong);
    border-color: rgba(15, 23, 42, 0.28);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08);
}

.mf-nav-pill.is-highlight {
    background: linear-gradient(120deg, #e6fff5, #e8faff 60%, #faffff);
    border-color: rgba(22, 198, 124, 0.65);
    color: #0a182a;
    box-shadow: 0 16px 32px rgba(48, 255, 163, 0.32);
}

.mf-icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(145deg, #f7fffb, #f0f4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f8c7c;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mf-icon-chip svg {
    width: 22px;
    height: 22px;
}

.mf-account-card {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, rgba(209, 255, 242, 0.95), rgba(255, 255, 255, 0.98));
    box-shadow: var(--shadow-soft);
    min-width: 280px;
    flex: 1 1 auto;
}

.mf-account-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(160deg, #e8fffb, #d2f4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f8c7c;
}

.mf-account-icon svg {
    width: 28px;
    height: 28px;
}

.mf-account-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mf-account-email {
    font-weight: 600;
    font-size: 0.92rem;
}

.mf-account-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.mf-ghost-btn {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-strong);
}

.mf-primary-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mf-solid-btn,
.mf-outline-btn,
.mf-icon-btn {
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    font-size: 0.92rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mf-solid-btn {
    background: linear-gradient(120deg, var(--accent-green), var(--accent-blue));
    border: none;
    color: #042b20;
    box-shadow: var(--shadow-lift);
}

.mf-solid-btn:hover {
    transform: translateY(-1px);
}

.mf-outline-btn {
    border: 1px solid var(--border-soft);
    background: var(--bg-surface);
    color: var(--text-strong);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.05);
}

.mf-outline-btn:hover {
    border-color: rgba(15, 23, 42, 0.25);
}

.mf-icon-btn {
    width: 52px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-strong);
    border-radius: 16px;
}

.mf-icon-btn svg {
    width: 24px;
    height: 24px;
}

.mf-section-placeholder {
    padding: clamp(2rem, 6vw, 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 35vh;
    text-align: center;
}

.mf-placeholder-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
    font-weight: 500;
    max-width: 520px;
    text-align: center;
}

.mf-main {
    padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6rem);
}

[data-nav-section] {
    scroll-margin-top: 120px;
}

.mf-hero {
    margin-top: clamp(1rem, 2vw, 2rem);
    padding: clamp(2.5rem, 5vw, 4.5rem);
    border-radius: 28px;
    background: radial-gradient(circle at 8% 12%, rgba(48, 255, 163, 0.28), transparent 45%),
        radial-gradient(circle at 75% 10%, rgba(44, 179, 255, 0.25), transparent 55%),
        #fdfefe;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 45px 65px rgba(15, 23, 42, 0.12);
}

.mf-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.mf-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mf-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin: 0;
    line-height: 1.1;
}

.mf-hero-copy {
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.84);
    max-width: 48ch;
}

.mf-hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    margin: 0.5rem 0 0;
}

.mf-hero-bullets li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    color: var(--text-muted);
}

.mf-hero-bullets li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent-green), var(--accent-blue));
    box-shadow: 0 0 10px rgba(48, 255, 163, 0.35);
    margin-top: 0.35rem;
}

.mf-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.mf-hero-primary {
    padding-inline: 1.9rem;
}

.mf-hero-secondary {
    padding-inline: 1.6rem;
}

.mf-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.mf-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
}

.mf-meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.mf-hero-panel {
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.15);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-muted);
}

.mf-panel-status {
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(48, 255, 163, 0.18);
    color: var(--accent-green-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mf-panel-metric {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(247, 252, 255, 0.75);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mf-panel-metric > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mf-panel-metric + .mf-panel-metric {
    margin-top: -0.4rem;
}

.mf-metric-label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mf-metric-value {
    margin: 0.3rem 0 0;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-strong);
}

.mf-metric-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.mf-progress {
    height: 8px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    margin-top: 0.8rem;
    overflow: hidden;
}

.mf-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, var(--accent-green), var(--accent-blue));
}

.mf-progress.is-secondary span {
    background: linear-gradient(120deg, #8b7bff, var(--accent-blue));
}

.mf-panel-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
}

.mf-panel-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mf-panel-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-strong);
}

.mf-list-label {
    color: var(--text-muted);
}

.mf-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(48, 255, 163, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(48, 255, 163, 0.25);
    gap: 1rem;
    flex-wrap: wrap;
}

.mf-foot-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.mf-foot-value {
    display: block;
    font-weight: 600;
}

.mf-foot-pill {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
}

.mf-foot-pill.is-ghost {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-muted);
}

.mf-mode-anchor {
    display: block;
    height: 0;
    margin: 0;
}

.mf-mode-compare {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(44, 179, 255, 0.08));
}

.mf-mode-head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mf-mode-head p {
    margin: 0;
    color: var(--text-muted);
}

.mf-mode-head h2 {
    margin: 0.25rem 0 0.4rem;
}

.mf-mode-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mf-mode-highlights li {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}

.mf-mode-highlights span {
    display: block;
    font-weight: 600;
}

.mf-mode-highlights small {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
}

.mf-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mf-mode-tier {
    position: relative;
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--bg-surface);
    box-shadow: 0 30px 55px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mf-mode-tier::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.mf-mode-tier.is-integrated {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(48, 255, 163, 0.12));
    border-color: rgba(48, 255, 163, 0.35);
}

.mf-mode-tier-head h3 {
    margin: 0.5rem 0 0.4rem;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.mf-mode-tier-head p {
    margin: 0;
    color: var(--text-muted);
}

.mf-mode-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mf-mode-body p {
    margin: 0 0 0.5rem;
    color: var(--text-muted);
}

.mf-mode-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mf-mode-feature-list li {
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 255, 0.9);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}

.mf-mode-tier .mf-mode-feature-list li {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 255, 0.9);
}

.mf-mode-tier:not(.is-integrated) .mf-mode-feature-list li {
    border-color: rgba(44, 179, 255, 0.25);
    background: rgba(44, 179, 255, 0.08);
}

.mf-mode-tier.is-integrated .mf-mode-feature-list li {
    border-color: rgba(48, 255, 163, 0.25);
    background: rgba(48, 255, 163, 0.1);
}

.mf-mode-feature-list strong {
    display: block;
    font-size: 0.95rem;
}

.mf-mode-feature-list small {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.mf-mode-meta {
    margin: 0;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.04);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 1rem;
}

.mf-mode-tier:not(.is-integrated) .mf-mode-meta {
    background: rgba(44, 179, 255, 0.08);
    border: 1px solid rgba(44, 179, 255, 0.22);
}

.mf-mode-tier.is-integrated .mf-mode-meta {
    background: rgba(48, 255, 163, 0.08);
    border: 1px solid rgba(48, 255, 163, 0.22);
}

.mf-meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.mf-meta-value {
    margin: 0;
    font-weight: 600;
}

.mf-mode-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mf-mode-card[data-mode-panel="standalone"] .mf-solid-btn {
    background: linear-gradient(120deg, #2cb3ff, #3df6c4);
}

.mf-mode-card[data-mode-panel="integrated"] .mf-solid-btn {
    background: linear-gradient(120deg, #2ddf91, #22c1c3);
}

.mf-section {
    margin-top: clamp(3rem, 7vw, 5.5rem);
    padding: var(--section-pad);
    border-radius: 28px;
    background: var(--bg-surface);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}


.mf-section-head {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.mf-section-copy {
    flex: 1;
    min-width: 260px;
}

.mf-section-copy h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.mf-section-copy p {
    margin: 0;
    color: var(--text-muted);
    max-width: 60ch;
}

.mf-signal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mf-signal-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    background: linear-gradient(160deg, #fbfeff, #f7fbff);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-signal-card header h3 {
    margin: 0.25rem 0 0.5rem;
}

.mf-signal-card header p {
    margin: 0;
    color: var(--text-muted);
}

.mf-source-list,
.mf-output-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.mf-source-list li,
.mf-output-list li {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mf-source-list span {
    font-weight: 600;
}

.mf-source-list small {
    color: var(--text-muted);
}

.mf-output-list li div {
    flex: 1;
}

.mf-output-list strong {
    display: block;
    font-size: 1rem;
}

.mf-output-list p {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mf-output-chip {
    align-self: center;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(44, 179, 255, 0.1);
    color: #0f4c70;
    font-size: 0.78rem;
    font-weight: 600;
}

.mf-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.mf-signal-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.mf-section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.mf-playbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mf-playbook-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    background: linear-gradient(165deg, #ffffff, #f7fbff 65%, #f4fff8);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-playbook-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.mf-playbook-steps li {
    border: 1px dashed rgba(15, 23, 42, 0.15);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.mf-step-label {
    font-weight: 600;
    display: block;
}

.mf-playbook-steps small {
    color: var(--text-muted);
}

.mf-field-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-field-task {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.mf-field-task strong {
    display: block;
}

.mf-field-task p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.mf-field-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.mf-field-meta li {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(247, 252, 255, 0.8);
}

.mf-field-meta span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.mf-field-meta strong {
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.mf-governed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mf-governed-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    background: linear-gradient(170deg, #fbfeff, #f5f7fb 55%, #eefcf6);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-policy-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.mf-policy-list li {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.mf-policy-list strong {
    display: block;
}

.mf-policy-list p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.mf-audit-feed {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mf-audit-feed div {
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.mf-audit-feed p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.mf-governed-meta {
    margin-top: 1rem;
}

.mf-rollout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mf-rollout-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    background: linear-gradient(160deg, #ffffff, #f8fbff 60%, #f1fff6);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-rollout-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.mf-rollout-list li {
    border: 1px dashed rgba(15, 23, 42, 0.15);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.mf-rollout-list strong {
    display: block;
}

.mf-rollout-list p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.mf-rollout-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mf-rollout-timeline div {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.mf-rollout-timeline p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.mf-rollout-meta {
    margin-top: 1rem;
}

.mf-footer {
    margin-top: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(160deg, #0f172a, #111b2e 55%, #0a1220);
    color: #f5f7ff;
    border-radius: 32px 32px 0 0;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
}

.mf-footer a {
    color: inherit;
}

.mf-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 2rem;
}

.mf-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: "NitroFlow Display", var(--font-base);
    font-size: 1.2rem;
    letter-spacing: 0;
}

.mf-footer-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(48, 255, 163, 0.8), rgba(44, 179, 255, 0.7));
    box-shadow: 0 0 12px rgba(48, 255, 163, 0.65);
}

.mf-footer-wordmark {
    display: inline-flex;
    gap: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1;
    font-weight: 700;
    font-size: 1.1rem;
}

.mf-footer-logo .mf-brand-flow {
    color: #f5f7ff;
}

.mf-footer-logo .mf-brand-nitro {
    background: linear-gradient(120deg, rgba(111, 255, 216, 0.95), rgba(111, 214, 255, 0.95));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.mf-footer-brand p {
    margin: 0.85rem 0;
    color: rgba(245, 247, 255, 0.8);
    max-width: 32ch;
}

.mf-footer-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(48, 255, 163, 0.15);
    font-weight: 600;
    color: #b5ffe3;
    font-size: 0.85rem;
}

.mf-footer-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    color: rgba(245, 247, 255, 0.6);
    margin: 0 0 0.8rem;
}

.mf-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mf-footer-links a {
    color: rgba(245, 247, 255, 0.9);
    font-weight: 600;
}

.mf-footer-links a.is-active {
    color: var(--accent-green);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.mf-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mf-footer-email {
    font-size: 1rem;
    font-weight: 600;
}

.mf-footer-cta {
    width: fit-content;
}

.mf-footer-legacy {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(245, 247, 255, 0.85);
}

.mf-footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.7);
}

.mf-footer-meta-links {
    display: flex;
    gap: 1rem;
}

.mf-footer-meta-links a {
    color: rgba(245, 247, 255, 0.8);
    font-weight: 500;
}

.mf-policy-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    gap: 2rem;
}

.mf-policy-hero {
    background: var(--bg-surface);
    border-radius: 28px;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.mf-policy-hero h1 {
    margin: 0.4rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.mf-policy-updated {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mf-policy-content {
    background: var(--bg-surface);
    border-radius: 28px;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mf-policy-content section h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.mf-policy-content ul {
    margin: 0.45rem 0 0;
    padding-left: 1.2rem;
}

.mf-policy-footer {
    display: flex;
    justify-content: flex-end;
}

.mf-login-shell {
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(48, 255, 163, 0.12), rgba(44, 179, 255, 0.1)) var(--bg-canvas);
}

.mf-login-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 3rem);
    padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4.5rem);
    align-items: flex-start;
}

.mf-login-hero {
    background: var(--bg-surface);
    border-radius: 32px;
    padding: clamp(1.8rem, 4vw, 3rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mf-login-copy {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 70ch;
}

.mf-login-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.mf-login-highlights li {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mf-login-highlights strong {
    display: block;
    font-size: 0.95rem;
}

.mf-login-highlights small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.mf-login-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.mf-login-panel {
    background: var(--bg-surface);
    border-radius: 32px;
    padding: clamp(1.8rem, 4vw, 3rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mf-login-panel-head p {
    margin-top: 0;
    color: var(--text-muted);
}

.mf-login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mf-choice-grid {
    border: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.mf-choice-card {
    position: relative;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.mf-choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mf-choice-content {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.mf-choice-card:hover .mf-choice-content {
    transform: translateY(-1px);
}

.mf-choice-card input:checked + .mf-choice-content {
    border: 2px solid rgba(48, 255, 163, 0.6);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    background: linear-gradient(120deg, rgba(48, 255, 163, 0.08), rgba(44, 179, 255, 0.12));
}

.mf-choice-content h3 {
    margin: 0;
    font-size: 1.05rem;
}

.mf-choice-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.mf-choice-pill {
    align-self: flex-start;
    border-radius: var(--radius-pill);
    background: rgba(48, 255, 163, 0.2);
    color: #0f5132;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.2rem 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mf-choice-pill.is-ghost {
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
}

.mf-mode-panel {
    border-radius: 20px;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    padding: 1.2rem 1.35rem;
    background: rgba(255, 255, 255, 0.9);
}

.mf-login-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--text-strong);
}

.mf-login-field input,
.mf-login-field select {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: rgba(246, 248, 252, 0.7);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-login-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.4) 50%), linear-gradient(135deg, rgba(15, 23, 42, 0.4) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 4px), calc(100% - 14px) calc(50% - 4px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.mf-login-field input:focus,
.mf-login-field select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(44, 179, 255, 0.2);
    outline: none;
}

.mf-login-hint {
    margin: -0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mf-login-submit {
    width: 100%;
    justify-content: center;
}

.mf-login-divider {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.mf-login-divider::before,
.mf-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(15, 23, 42, 0.12);
}

.mf-login-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mf-login-secondary-actions .mf-outline-btn {
    flex: 1 1 240px;
    justify-content: center;
}

.mf-ghost-link {
    font-weight: 600;
    color: var(--accent-blue);
}

.mf-login-status {
    font-size: 0.92rem;
    color: var(--text-muted);
    min-height: 1.2rem;
}

.mf-login-error {
    font-size: 0.92rem;
    color: #d6455d;
    min-height: 1.2rem;
}

.mf-login-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.mf-login-note a {
    font-weight: 600;
    color: var(--accent-blue);
}

.mf-login-support {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 clamp(1.5rem, 6vw, 4.5rem) clamp(2rem, 6vw, 4rem);
}

.mf-login-support-card {
    background: var(--bg-surface);
    border-radius: 28px;
    padding: 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.mf-login-support-card h3 {
    margin-top: 0;
}

.mf-login-support-card ul {
    margin: 0.85rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.mf-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(1.5rem, 6vw, 4.5rem) 3rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.mf-login-footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mf-login-footer-links a {
    font-weight: 600;
}

@media (min-width: 960px) {
    .mf-login-main {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    html.js-enabled .mf-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    html.js-enabled .mf-primary-nav {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease, margin 0.2s ease;
    }

    html.js-enabled .mf-primary-nav.is-open {
        max-height: 480px;
        opacity: 1;
        pointer-events: auto;
        padding-top: 0.65rem;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    html.js-enabled .mf-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    html.js-enabled .mf-nav-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .mf-header-left,
    .mf-header-right {
        flex: 0 1 auto;
        min-width: 0;
        width: 100%;
    }

    .mf-app-header {
        flex-direction: column;
        align-items: stretch;
    }

    .mf-header-right {
        justify-content: space-between;
    }

    .mf-account-card,
    .mf-primary-actions {
        width: 100%;
    }

    .mf-primary-actions {
        justify-content: flex-start;
    }

    .mf-hero {
        padding: clamp(2rem, 6vw, 4rem);
    }

    .mf-hero-grid {
        grid-template-columns: 1fr;
    }

    .mf-hero-panel {
        order: -1;
    }
}

@media (max-width: 640px) {
    .mf-brand {
        border-right: none;
        padding-right: 0;
    }

    .mf-icon-chip {
        order: 2;
    }

    .mf-account-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .mf-ghost-btn {
        align-self: stretch;
        width: 100%;
        text-align: center;
    }

    .mf-primary-actions {
        flex-direction: column;
    }

    .mf-solid-btn,
    .mf-outline-btn,
    .mf-icon-btn {
        width: 100%;
        justify-content: center;
    }

    .mf-hero-cta {
        flex-direction: column;
    }

    .mf-hero-meta {
        grid-template-columns: 1fr;
    }

    .mf-login-secondary-actions {
        flex-direction: column;
    }

    .mf-login-secondary-actions .mf-outline-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mf-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mf-top-link {
        width: 100%;
        text-align: left;
    }

    .mf-nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .mf-main,
    .mf-hero,
    .mf-mode-tier {
        padding: 1.5rem;
    }

    .mf-hero h1 {
        font-size: 2.2rem;
    }

    .mf-hero-meta,
    .mf-mode-highlights,
    .mf-mode-grid,
    .mf-login-support,
    .mf-footer-grid {
        grid-template-columns: 1fr;
    }

    .mf-mode-tier {
        gap: 1rem;
    }

    .mf-login-main,
    .mf-login-support {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mf-login-hero,
    .mf-login-panel {
        padding: 1.25rem;
    }

    .mf-login-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .mf-top-bar,
    .mf-app-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mf-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mf-hero {
        padding: 1.25rem;
    }

    .mf-hero h1 {
        font-size: 1.8rem;
    }

    .mf-hero-copy {
        font-size: 0.95rem;
    }
}
