/* ============================================
   CIPO Landing Page Styles
   Add to: Appearance → Customize → Additional CSS
   ============================================ */

/* --- Capability rows (icon + text) --- */
.cipo-capability {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
    max-width: 1000px;
}

.cipo-capability:last-child {
    margin-bottom: 0;
}

.cipo-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #203051;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.cipo-capability-content h3 {
    font-size: 24px;
    color: #203051;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.3;
}

.cipo-capability-content p {
    color: #4a4a4a;
    margin-bottom: 0;
    line-height: 1.6;
}

.cipo-capability-content p.cipo-highlight {
    color: #203051;
    font-size: 20px;
    margin-top: 12px;
}

/* --- Engagement tier table (dark background) --- */
.engagement-tier-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.engagement-tier-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

.engagement-tier-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.engagement-tier-table tbody tr:last-child {
    border-bottom: none;
}

.engagement-tier-table td {
    padding: 24px 20px;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.75);
}

.engagement-tier-table td.tier-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    width: 200px;
    white-space: nowrap;
}

.engagement-tier-table td.tier-link {
    white-space: nowrap;
    vertical-align: middle;
    width: 140px;
}

.engagement-tier-table td.tier-link a {
    color: #0093d0;
    font-size: 18px;
    text-decoration: none;
}

.engagement-tier-table td.tier-link a:hover {
    color: #4dbde8;
}

/* --- Mistake cards (for sub-pages) --- */
.mistake-card {
    border-left: 4px solid #c0392b;
    padding: 24px 28px;
    margin-bottom: 24px;
    background: #ffffff;
}

.mistake-card h3 {
    color: #203051;
    font-size: 22px;
    margin-bottom: 12px;
}

.mistake-card p {
    color: #4a4a4a;
    margin-bottom: 0;
}

/* --- Engagement deliverables table (dark background, sub-pages) --- */
.engagement-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.engagement-detail-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.engagement-detail-table tbody tr:last-child {
    border-bottom: none;
}

.engagement-detail-table td {
    padding: 20px 20px;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.75);
}

.engagement-detail-table td.detail-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    width: 240px;
    white-space: nowrap;
}

/* --- Pricing table (dark background, sub-pages) --- */
.pricing-table {
    border-collapse: collapse;
    margin: 32px 0;
    max-width: 520px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 16px 20px;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.75);
}

.pricing-table td.price-label {
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    white-space: nowrap;
}

.pricing-table td.price-value {
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cipo-capability {
        flex-direction: column;
        gap: 16px;
    }

    .engagement-tier-table thead {
        display: none;
    }

    .engagement-tier-table,
    .engagement-tier-table tbody,
    .engagement-tier-table tr,
    .engagement-tier-table td {
        display: block;
        width: 100%;
    }

    .engagement-tier-table tbody tr {
        padding: 20px 0;
    }

    .engagement-tier-table td {
        padding: 4px 0;
    }

    .engagement-tier-table td.tier-name {
        white-space: normal;
        width: 100%;
        padding-bottom: 8px;
    }

    .engagement-tier-table td.tier-link {
        width: 100%;
        white-space: normal;
    }

    .engagement-detail-table td.detail-name {
        white-space: normal;
        width: 100%;
        padding-bottom: 4px;
    }

    .engagement-detail-table,
    .engagement-detail-table tbody,
    .engagement-detail-table tr,
    .engagement-detail-table td {
        display: block;
        width: 100%;
    }

    .engagement-detail-table tbody tr {
        padding: 16px 0;
    }

    .engagement-detail-table td {
        padding: 4px 0;
    }

    .pricing-table td.price-label {
        white-space: normal;
    }
}
