/* Reusable UI components extracted from homepage styling */

.rc-section-intro {
    max-width: 34rem;
}

.home-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-section .section-title {
    margin-bottom: 1.85rem;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    line-height: 1.14;
    letter-spacing: -0.018em;
    font-weight: 700;
}

.home-card-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: #152033;
}

.rc-card-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
    color: #152033;
}

.rc-section-heading {
    margin: 0;
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #152033;
}

.rc-body-copy {
    margin: 0;
    color: #6b7280;
}

.rc-meta-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
}

.rc-meta-value {
    margin: 0;
    line-height: 1.55;
    font-size: 0.97rem;
    font-weight: 600;
    color: #152033;
}

.rc-meta-copy {
    color: #6b7280;
    line-height: 1.55;
}

.rc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
}

.rc-soft-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.rc-button {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.rc-button:active {
    transform: translateY(0) scale(0.985);
}

.rc-inline-action {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rc-inline-action:hover,
.rc-inline-action:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.rc-action-link,
.home-cta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    color: #f28c28;
}

.rc-action-link:hover,
.rc-action-link:focus,
.home-cta-text:hover,
.home-cta-text:focus {
    color: #dc7d20;
}

.rc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    line-height: 1.3;
}

.rc-status {
    --rc-status-color: #152033;
    --rc-status-bg: rgba(148, 163, 184, 0.12);
    --rc-status-border: rgba(148, 163, 184, 0.24);
    --rc-status-dot: #cbd5e1;
    min-height: 0;
    margin-top: 0.85rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.86rem;
    line-height: 1.35;
    color: var(--rc-status-color);
    background: var(--rc-status-bg);
    border: 1px solid var(--rc-status-border);
    backdrop-filter: blur(10px);
}

.rc-status::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--rc-status-dot);
}

.rc-status.is-visible {
    display: inline-flex;
}

.rc-status.is-loading {
    --rc-status-color: #152033;
    --rc-status-bg: rgba(191, 219, 254, 0.5);
    --rc-status-border: rgba(96, 165, 250, 0.45);
    --rc-status-dot: #93c5fd;
}

.rc-status.is-loading::before {
    box-shadow: 0 0 0 0 rgba(147, 197, 253, 0.4);
    animation: rcStatusPulse 1.5s ease infinite;
}

.rc-status.is-success {
    --rc-status-color: #152033;
    --rc-status-bg: rgba(209, 250, 229, 0.65);
    --rc-status-border: rgba(52, 211, 153, 0.38);
    --rc-status-dot: #6ee7b7;
}

.rc-status.is-error {
    --rc-status-color: #152033;
    --rc-status-bg: rgba(254, 240, 138, 0.52);
    --rc-status-border: rgba(245, 158, 11, 0.42);
    --rc-status-dot: #fbbf24;
}

@keyframes rcStatusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 197, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 0.45rem rgba(147, 197, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(147, 197, 253, 0);
    }
}

.home-cta-primary,
.home-cta-secondary {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-cta-primary {
    background: #f28c28;
    border-color: #f28c28;
    color: #fff;
    box-shadow: 0 10px 22px rgba(242, 140, 40, 0.2);
}

.home-cta-primary:hover,
.home-cta-primary:focus {
    background: #dc7d20;
    border-color: #dc7d20;
    color: #fff;
    box-shadow: 0 14px 26px rgba(242, 140, 40, 0.24);
    transform: translateY(-1px);
}

.home-cta-secondary {
    color: #152033;
    border-color: rgba(21, 32, 51, 0.14);
    background: #fff;
}

.home-cta-secondary:hover,
.home-cta-secondary:focus {
    color: #152033;
    border-color: rgba(242, 140, 40, 0.42);
    background: #fff8f1;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.rc-section-kicker {
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7280;
}

.rc-surface-panel {
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 249, 252, 0.98) 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.rc-elevated-card {
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {
    .home-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .home-section .section-title {
        margin-bottom: 1.5rem;
        font-size: clamp(1.55rem, 4vw, 1.95rem);
    }

    .home-card-title {
        font-size: 1.02rem;
    }
}

@media (max-width: 575.98px) {
    .home-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .home-section .section-title {
        margin-bottom: 1.25rem;
        font-size: 1.45rem;
        line-height: 1.18;
    }

    .home-card-title {
        font-size: 1rem;
        line-height: 1.28;
    }

    .rc-card-title {
        font-size: 0.95rem;
    }

    .rc-section-heading {
        line-height: 1.2;
    }

    .rc-meta-value {
        font-size: 0.94rem;
    }

    .rc-status {
        font-size: 0.82rem;
    }
}