.mpl-lab,
.mpl-simulator-page {
    --mpl-blue: #2f5de5;
    --mpl-blue-dark: #173a9c;
    --mpl-ink: #0d1b3e;
    --mpl-muted: #66738f;
    --mpl-line: #dbe4f3;
    --mpl-soft: #f5f8fd;
    color: var(--mpl-ink);
    font-family: inherit;
}

.mpl-lab * , .mpl-simulator-page * { box-sizing: border-box; }

.mpl-hero {
    padding: clamp(30px, 6vw, 72px);
    border: 1px solid var(--mpl-line);
    border-radius: 28px;
    background: linear-gradient(135deg, #f7faff 0%, #edf3ff 100%);
    margin-bottom: 24px;
}

.mpl-eyebrow {
    display: block;
    color: var(--mpl-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 10px;
}

.mpl-hero h1,
.mpl-simulator-header h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
}

.mpl-hero p,
.mpl-category-heading p {
    margin: 0;
    color: var(--mpl-muted);
    font-size: 17px;
}

.mpl-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.mpl-jump a {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid var(--mpl-line);
    border-radius: 999px;
    color: var(--mpl-ink);
    background: #fff;
    text-decoration: none;
    font-weight: 650;
}

.mpl-jump a:hover { border-color: var(--mpl-blue); color: var(--mpl-blue); }

.mpl-category { scroll-margin-top: 110px; margin: 0 0 52px; }
.mpl-category-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.mpl-category-heading h2 { margin: 0 0 4px; font-size: clamp(25px, 3vw, 36px); }

.mpl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mpl-card {
    min-height: 220px;
    padding: 22px;
    display: flex;
    gap: 16px;
    border: 1px solid var(--mpl-line);
    border-radius: 20px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mpl-card.is-available:hover {
    transform: translateY(-3px);
    border-color: #aebff5;
    box-shadow: 0 15px 34px rgba(38, 77, 166, .10);
}

.mpl-card.is-coming { background: var(--mpl-soft); }

.mpl-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--mpl-blue);
    background: #edf2ff;
    font-size: 20px;
    font-weight: 800;
}

.mpl-card-content { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mpl-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mpl-card h3 { margin: 3px 0 10px; font-size: 19px; line-height: 1.25; }
.mpl-card p { margin: 0 0 18px; color: var(--mpl-muted); line-height: 1.55; }

.mpl-status {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: var(--mpl-muted);
    background: #e9eef7;
}

.is-available .mpl-status { color: #174ca9; background: #e8f0ff; }

.mpl-card-link,
.mpl-card-disabled {
    margin-top: auto;
    font-weight: 750;
}

.mpl-card-link { color: var(--mpl-blue); text-decoration: none; }
.mpl-card-disabled { color: #8a96ad; }

.mpl-simulator-header { margin: 0 0 24px; }
.mpl-simulator-header > a { display: inline-block; margin-bottom: 26px; color: var(--mpl-blue); text-decoration: none; font-weight: 700; }
.mpl-simulator-header h1 { font-size: clamp(32px, 4vw, 50px); }

.mpl-notice {
    padding: 24px;
    border: 1px solid var(--mpl-line);
    border-radius: 16px;
    background: var(--mpl-soft);
}

@media (max-width: 980px) {
    .mpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .mpl-grid { grid-template-columns: 1fr; }
    .mpl-card { min-height: 0; }
    .mpl-card-title-row { display: block; }
    .mpl-status { display: inline-block; margin-bottom: 8px; }
}
