/* Midpoint marketing chrome + landing page */

:root {
    --mp-green: #5fb425;
    --mp-green-50: #f0fde6;
    --mp-neutral-900: #1a1a1a;
    --mp-neutral-600: #525252;
    --mp-border: #dfe2e6;
    --mp-page-bg: #faf9fc;
    --mp-footer-bg: #141414;
    --mp-radius: 12px;
    --mp-radius-lg: 24px;
}

body.site-shell {
    font-family: Inter, 'Segoe UI', system-ui, sans-serif;
}

/* Brand lockup */
.mp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1;
}

.mp-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mp-green);
    color: #fff;
    font-size: 1rem;
}

.mp-brand-mark-img {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.mp-brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--mp-neutral-900);
}

.mp-brand-footer .mp-brand-text {
    color: #fff;
}

.mp-nav-brand-img {
    display: block;
    height: 32px;
    width: auto;
    max-width: min(220px, 55vw);
}

.mp-footer-brand-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(280px, 100%);
}

.lm-wordmark-img,
.lm-icon-img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* Navbar */
.mp-navbar {
    background: #fff !important;
    min-height: 80px;
    border-bottom: 1px solid var(--mp-border);
    box-shadow: none;
}

.mp-navbar .navbar {
    min-height: 80px;
}

.mp-nav-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 992px) {
    .mp-nav-inner {
        padding-inline: 3rem;
    }
}

.mp-nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mp-neutral-600) !important;
    padding: 0.5rem 0 !important;
    margin-inline: 0.75rem;
    border-bottom: 2px solid transparent;
}

.mp-nav-link:hover,
.mp-nav-link.active {
    color: var(--mp-green) !important;
    font-weight: 600;
    border-bottom-color: var(--mp-green);
}

.mp-nav-cta-group {
    flex-shrink: 0;
}

.mp-nav-cta {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.55rem 1rem;
    white-space: nowrap;
}

.mp-nav-cta.mp-btn-outline {
    border-width: 1.5px;
}

/* Footer */
.mp-footer {
    background: var(--mp-footer-bg);
    color: rgba(255, 255, 255, 0.72);
    padding: 5rem 0 2rem;
}

.mp-footer-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 992px) {
    .mp-footer-inner {
        padding-inline: 3rem;
    }
}

.mp-footer-blurb {
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.mp-footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.mp-footer-links li+li {
    margin-top: 0.75rem;
}

.mp-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
}

.mp-footer-links a:hover {
    color: #fff;
}

.mp-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.mp-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Landing page */
.mp-landing {
    background: var(--mp-page-bg);
    color: var(--mp-neutral-900);
}

.mp-section-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 992px) {
    .mp-section-inner {
        padding-inline: 3rem;
    }
}

.mp-hero {
    padding: 3rem 0 4rem;
}

@media (min-width: 992px) {
    .mp-hero {
        padding: 5rem 0;
    }
}

.mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: var(--mp-green-50);
    color: var(--mp-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.mp-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mp-green);
}

.mp-hero-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.mp-hero-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--mp-neutral-600);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.mp-btn-primary {
    border-radius: 10px;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
}

.mp-btn-outline {
    border-radius: 10px;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    background: #fff;
    border: 1px solid var(--mp-border);
    color: var(--mp-neutral-900);
}

.mp-btn-outline:hover {
    background: #f8fafc;
    color: var(--mp-neutral-900);
    border-color: #cfd4da;
}

.mp-hero-media {
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    aspect-ratio: 520 / 520;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
}

.mp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-stats {
    background: #fff;
    border-top: 1px solid var(--mp-border);
    border-bottom: 1px solid var(--mp-border);
    padding: 2.5rem 0;
}

.mp-stat {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

@media (min-width: 768px) {
    .mp-stat-center {
        justify-content: center;
    }

    .mp-stat-end {
        justify-content: flex-end;
    }
}

.mp-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: var(--mp-green-50);
    color: var(--mp-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.mp-stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.mp-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mp-neutral-600);
}

.mp-section {
    padding: 5rem 0;
}

.mp-section-muted {
    background: #fff;
}

.mp-section-header {
    margin-bottom: 2.5rem;
    max-width: 44rem;
}

.mp-eyebrow {
    color: var(--mp-green);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.mp-section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.mp-section-sub {
    color: var(--mp-neutral-600);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.mp-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    overflow: hidden;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
    color: inherit;
}

.mp-event-cover {
    aspect-ratio: 352 / 180;
    overflow: hidden;
}

.mp-event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-event-body {
    padding: 1.25rem;
    flex: 1;
}

.mp-event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.mp-chip {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: var(--mp-green-50);
    color: var(--mp-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mp-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mp-neutral-600);
}

.mp-event-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.mp-event-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--mp-neutral-600);
    margin-bottom: 0.4rem;
}

.mp-event-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--mp-border);
    color: var(--mp-neutral-600);
    font-size: 0.875rem;
    font-weight: 600;
}

.mp-step-card {
    background: var(--mp-page-bg);
    border-radius: var(--mp-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid transparent;
}

.mp-section-muted .mp-step-card {
    background: var(--mp-page-bg);
}

.mp-step-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.mp-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--mp-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.mp-step-num {
    font-size: 2rem;
    font-weight: 800;
    color: #d4d4d4;
    line-height: 1;
}

.mp-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mp-step-text {
    color: var(--mp-neutral-600);
    margin-bottom: 0;
    line-height: 1.6;
}

.mp-cat-card {
    display: block;
    position: relative;
    border-radius: var(--mp-radius);
    overflow: hidden;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.mp-cat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.72) 100%);
    color: #fff;
}

.mp-cat-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.mp-cat-count {
    font-size: 0.875rem;
    opacity: 0.9;
}

.mp-quote-card {
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    padding: 2rem;
    height: 100%;
    margin: 0;
}

.mp-section-muted .mp-quote-card {
    background: #fff;
}

.mp-quote-icon {
    font-size: 2rem;
    color: var(--mp-green);
    opacity: 0.7;
}

.mp-quote-text {
    margin: 1rem 0 1.5rem;
    color: var(--mp-neutral-600);
    line-height: 1.6;
    min-height: 5.5rem;
}

.mp-quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mp-border);
}

.mp-quote-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.mp-quote-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.mp-quote-role {
    font-size: 0.85rem;
    color: var(--mp-neutral-600);
}

.mp-cta-banner {
    background: var(--mp-green);
    color: #fff;
    border-radius: var(--mp-radius-lg);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .mp-cta-banner {
        padding: 4.5rem 3rem;
    }
}

.mp-cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.85rem;
}

.mp-cta-sub {
    max-width: 34rem;
    margin: 0 auto 1.75rem;
    opacity: 0.95;
    font-size: 1.05rem;
}

.mp-cta-btn-light {
    background: #fff;
    color: var(--mp-green);
    font-weight: 700;
    border-radius: 10px;
    border: none;
}

.mp-cta-btn-light:hover {
    background: #f4ffe8;
    color: var(--mp-green);
}

.mp-cta-btn-outline {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.mp-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* Keep marketing surfaces readable even if site theme is dark */
[data-bs-theme="dark"] .mp-landing,
[data-bs-theme="dark"] .mp-landing * {
    --mp-page-bg: #faf9fc;
}

[data-bs-theme="dark"] .mp-navbar {
    background: #fff !important;
}

[data-bs-theme="dark"] .mp-brand-text {
    color: var(--mp-neutral-900);
}

[data-bs-theme="dark"] .mp-footer .mp-brand-text {
    color: #fff;
}

@media (max-width: 767.98px) {
    .mp-section {
        padding: 3.5rem 0;
    }

    .mp-hero {
        padding: 2rem 0 2.5rem;
    }

    .mp-quote-text {
        min-height: 0;
    }
}