/* Unified, balanced detail layout for MobyCoach feature & solution pages */
:root {
    --fp-ink: #122033;
    --fp-text: #334155;
    --fp-muted: #64748b;
    --fp-brand: #f05d00;
    --fp-brand-dark: #d85100;
    --fp-line: #e6edf5;
    --fp-bg: #f8fafc;
}

.fp-wrap {
    background: var(--fp-bg);
    padding: 36px 0 72px;
    color: var(--fp-text);
}

/* Override global style.css inline-block rules that break inline links & wrapped text */
.fp-wrap p a,
.fp-wrap li a:not(.fp-link-card):not(.fp-access-btn):not(.fp-topic-link) {
    display: inline;
    color: var(--fp-brand);
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: rgba(240, 93, 0, 0.35) !important;
}

.fp-wrap p a:hover,
.fp-wrap li a:not(.fp-link-card):not(.fp-access-btn):not(.fp-topic-link):hover {
    color: var(--fp-brand-dark);
    text-decoration-color: var(--fp-brand-dark) !important;
}

.fp-wrap p span,
.fp-wrap .fp-breadcrumb a,
.fp-wrap .fp-breadcrumb span {
    display: inline;
}

/* Breadcrumb */
.fp-breadcrumb {
    font-size: 13.5px;
    color: var(--fp-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.fp-breadcrumb a {
    color: var(--fp-brand);
    font-weight: 600;
}

.fp-breadcrumb a:hover {
    color: var(--fp-brand-dark);
}

/* Hero */
.fp-hero {
    background: #ffffff;
    border: 1px solid var(--fp-line);
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.04);
    margin-bottom: 32px;
}

.fp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff4ed;
    color: #c24900;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 14px;
}

.fp-hero h1 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 16px;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.fp-hero p.lead-text {
    font-size: 16.5px;
    color: var(--fp-text);
    line-height: 1.65;
    margin: 0 0 24px;
}

.fp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-btn-primary,
.fp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fp-btn-primary {
    background: var(--fp-brand);
    color: #ffffff !important;
    border: 1px solid var(--fp-brand);
    box-shadow: 0 8px 20px rgba(240, 93, 0, 0.22);
}

.fp-btn-primary:hover {
    background: var(--fp-brand-dark);
    border-color: var(--fp-brand-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(240, 93, 0, 0.28);
}

.fp-btn-secondary {
    background: #f5f9ff;
    color: #163a5c !important;
    border: 1px solid #d5e4f6;
}

.fp-btn-secondary:hover {
    background: #eaf3ff;
    border-color: #b7d2f2;
    color: #0e2c48 !important;
    transform: translateY(-1px);
}

.fp-hero-media {
    background: #f8fafc;
    border: 1px solid var(--fp-line);
    border-radius: 18px;
    padding: 10px;
}

.fp-hero-img,
.fp-hero video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
}

.fp-hero-caption {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--fp-muted);
    text-align: center;
    line-height: 1.45;
}

/* Main Content Cards */
.fp-content-section {
    background: #ffffff;
    border: 1px solid var(--fp-line);
    border-radius: 22px;
    padding: 36px 36px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.035);
    margin-bottom: 28px;
}

.fp-content-section h2 {
    font-size: 21px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 18px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.fp-content-section p {
    font-size: 15.5px;
    color: var(--fp-text);
    line-height: 1.7;
    margin: 0 0 14px;
}

.fp-content-section p:last-child {
    margin-bottom: 0;
}

.fp-divider {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin: 28px 0;
}

.fp-subhead {
    font-size: 18px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 16px;
    line-height: 1.3;
}

/* Lists */
.fp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 13px;
    font-size: 15px;
    color: var(--fp-ink);
    font-weight: 500;
    line-height: 1.55;
}

.fp-list li:last-child {
    margin-bottom: 0;
}

.fp-list li i {
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.fp-list li > span {
    display: block;
    flex: 1;
    min-width: 0;
}

/* Two-column Grids */
.fp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.fp-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fp-topic-card {
    background: #f8fafc;
    border: 1px solid #e7eef6;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-topic-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0;
    line-height: 1.35;
}

.fp-topic-card p {
    font-size: 14px;
    color: var(--fp-text);
    line-height: 1.55;
    margin: 0;
}

.fp-topic-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: var(--fp-brand);
    font-size: 13.5px;
    font-weight: 800;
}

.fp-topic-link:hover {
    color: var(--fp-brand-dark);
}

/* Steps */
.fp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--fp-text);
    line-height: 1.6;
}

.fp-steps li:last-child {
    margin-bottom: 0;
}

.fp-steps li .step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.fp-steps li .step-text {
    flex: 1;
    min-width: 0;
    padding-top: 3px;
}

.fp-steps li .step-text strong {
    color: var(--fp-ink);
}

/* Constructive Note Callout */
.fp-note-box {
    background: #fff9f5;
    border: 1px solid #fde0cc;
    border-left: 4px solid var(--fp-brand);
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 20px;
}

.fp-note-box h3 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 6px;
}

.fp-note-box p {
    font-size: 14.5px;
    color: var(--fp-text);
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Cards */
.fp-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--fp-line);
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.03);
    margin-bottom: 22px;
}

.fp-sidebar-card:last-child {
    margin-bottom: 0;
}

.fp-sidebar-card h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 16px;
    line-height: 1.3;
}

.fp-sidebar-card .fp-list li {
    font-size: 14.5px;
    margin-bottom: 11px;
}

.fp-sidebar-card .fp-list li i {
    font-size: 16px;
    margin-top: 2px;
}

/* Sidebar Package & Access Card */
.fp-access-card {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #d5e5f7;
    border-top: 4px solid var(--fp-brand);
    border-radius: 20px;
    padding: 24px 24px;
    box-shadow: 0 8px 24px rgba(18, 32, 51, 0.04);
    margin-bottom: 22px;
}

.fp-access-card h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 10px;
}

.fp-access-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.fp-pkg-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff3eb;
    color: #b54500;
    font-size: 12px;
    font-weight: 800;
}

.fp-access-card p {
    font-size: 14px;
    color: var(--fp-text);
    line-height: 1.6;
    margin: 0 0 14px;
}

.fp-access-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fp-access-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d7e4f3;
    color: #163a5c !important;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.fp-access-btn:hover {
    border-color: var(--fp-brand);
    color: var(--fp-brand) !important;
    background: #fffaf6;
}

/* Sidebar Related Links */
.fp-sidebar-links {
    background: transparent;
    border: 1px solid #dfe7f1;
    box-shadow: none;
}

.fp-link-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--fp-ink) !important;
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s ease;
}

.fp-link-card:hover {
    border-color: var(--fp-brand);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    color: var(--fp-brand) !important;
    transform: translateY(-1px);
}

/* Full-Width Scenarios Showcase */
.fp-showcase-section {
    background: #ffffff;
    border: 1px solid var(--fp-line);
    border-radius: 24px;
    padding: 38px 36px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin: 8px 0 28px;
}

.fp-showcase-head {
    max-width: 740px;
    margin-bottom: 24px;
}

.fp-showcase-head h2 {
    font-size: 23px;
    font-weight: 800;
    color: var(--fp-ink);
    margin: 0 0 8px;
    letter-spacing: -0.015em;
}

.fp-showcase-head p {
    font-size: 15.5px;
    color: var(--fp-text);
    line-height: 1.6;
    margin: 0;
}

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

.fp-scenario-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp-scenario-card {
    background: #f8fbff;
    border: 1px solid #dce8f6;
    border-radius: 18px;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.fp-scenario-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fff3eb;
    color: #b54500;
    font-size: 12px;
    font-weight: 800;
}

.fp-scenario-step {
    padding-top: 10px;
    border-top: 1px solid #e4eef9;
}

.fp-scenario-step:first-of-type {
    padding-top: 2px;
    border-top: 0;
}

.fp-scenario-row {
    font-size: 14.5px;
    color: var(--fp-text);
    line-height: 1.6;
    margin: 0;
}

.fp-scenario-row strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #163a5c;
    margin-bottom: 3px;
}

/* FAQ */
.fp-faq .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.fp-faq .accordion-item:last-child {
    margin-bottom: 0;
}

.fp-faq .accordion-button {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--fp-ink);
    padding: 18px 20px;
    background: #ffffff;
}

.fp-faq .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: var(--fp-brand);
    box-shadow: none;
}

.fp-faq .accordion-body {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--fp-text);
    line-height: 1.65;
    background: #f8fafc;
}

/* CTA Box */
.fp-cta-box {
    background: linear-gradient(135deg, #122033 0%, #1a2f4c 100%);
    border-radius: 24px;
    padding: 50px 36px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(18, 32, 51, 0.14);
    margin-top: 8px;
}

.fp-cta-box h2 {
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff;
    line-height: 1.25;
}

.fp-cta-box p {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 600px;
}

.fp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.fp-cta-outline,
.fp-cta-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fp-cta-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.fp-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.fp-cta-solid {
    background: #ffffff;
    color: #173a59 !important;
    border: 1px solid #ffffff;
}

.fp-cta-solid:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .fp-scenario-grid,
    .fp-scenario-grid.cols-2 {
        grid-template-columns: 1fr;
    }
    .fp-hero {
        padding: 32px 24px;
    }
    .fp-content-section,
    .fp-showcase-section {
        padding: 28px 22px;
    }
}

@media (max-width: 767.98px) {
    .fp-wrap {
        padding: 24px 0 56px;
    }
    .fp-grid-2,
    .fp-topic-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .fp-hero {
        padding: 26px 18px;
        margin-bottom: 24px;
    }
    .fp-content-section,
    .fp-showcase-section {
        padding: 24px 18px;
        margin-bottom: 20px;
    }
    .fp-sidebar-card,
    .fp-access-card {
        padding: 22px 18px;
    }
    .fp-cta-box {
        padding: 36px 20px;
    }
    .fp-btn-primary,
    .fp-btn-secondary,
    .fp-cta-outline,
    .fp-cta-solid {
        width: 100%;
    }
}
