/* Partial submissions feature page. Shared Rowform tokens and components live in front-page.css. */

.rf-partial-page {
    background: #ffffff;
}

.rf-partial-page .rf-section {
    padding: 104px 0;
}

.rf-ps-hero {
    position: relative;
    overflow: hidden;
    padding: calc(134px + clamp(38px, 6vw, 76px)) 0 84px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.rf-ps-hero::before {
    position: absolute;
    top: -330px;
    right: -230px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.18), rgba(24, 119, 242, 0.05) 48%, transparent 70%);
    content: "";
    pointer-events: none;
}

.rf-ps-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    align-items: center;
    gap: clamp(54px, 7vw, 96px);
}

.rf-ps-hero-copy {
    position: relative;
    z-index: 2;
}

.rf-ps-breadcrumb {
    margin-bottom: 24px;
}

.rf-ps-breadcrumb:hover {
    border-color: #8ebcff;
    background: #ffffff;
}

.rf-ps-hero h1 {
    max-width: 650px;
    margin: 0 0 26px;
    color: var(--rf-ink);
    font-size: clamp(49px, 5.1vw, 72px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

.rf-ps-hero h1 span {
    color: var(--rf-brand);
}

.rf-ps-hero-lead {
    max-width: 610px;
    margin-bottom: 28px;
    color: #526176 !important;
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.65 !important;
}

.rf-ps-plan-note {
    display: flex;
    max-width: 580px;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    color: #526176;
    font-size: 13px;
    line-height: 1.55;
}

.rf-ps-plan-note i {
    display: grid;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    place-items: center;
    border-radius: 50%;
    color: var(--rf-green);
    background: var(--rf-green-light);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.rf-ps-plan-note strong {
    color: var(--rf-ink);
}

.rf-ps-hero-visual {
    min-height: 610px;
}

.rf-ps-hero-visual::before {
    inset: 42px 35px 32px 10px;
}

.rf-ps-proof {
    border-top: 1px solid var(--rf-line);
    border-bottom: 1px solid var(--rf-line);
    background: #ffffff;
}

.rf-ps-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.rf-ps-proof-grid > div {
    padding: 27px 30px;
    border-right: 1px solid var(--rf-line);
    text-align: center;
}

.rf-ps-proof-grid > div:last-child {
    border-right: 0;
}

.rf-ps-proof-grid strong,
.rf-ps-proof-grid span {
    display: block;
}

.rf-ps-proof-grid strong {
    margin-bottom: 4px;
    color: var(--rf-ink);
    font-size: 16px;
}

.rf-ps-proof-grid span {
    color: var(--rf-muted);
    font-size: 13px;
}

.rf-ps-how,
.rf-ps-use-cases,
.rf-ps-faq {
    background: var(--rf-bg);
}

.rf-ps-section-intro {
    max-width: 780px;
    margin: 0 auto 50px;
}

.rf-ps-section-intro .rf-eyebrow + h2 {
    margin-top: 19px;
}

.rf-ps-section-intro .rf-lead {
    margin: 0 auto;
}

.rf-ps-step-grid,
.rf-ps-use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rf-ps-step-card {
    position: relative;
    min-height: 330px;
}

.rf-ps-step-card::after {
    position: absolute;
    top: 53px;
    right: -19px;
    z-index: 2;
    width: 20px;
    height: 2px;
    background: #b7d2f5;
    content: "";
}

.rf-ps-step-card:last-child::after {
    display: none;
}

.rf-ps-step-card .rf-card-icon {
    font-size: 13px;
    font-weight: 800;
}

.rf-ps-card-label {
    margin-bottom: 12px;
    color: var(--rf-brand-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rf-ps-step-card h3 {
    max-width: 280px;
    font-size: 25px;
}

.rf-ps-step-card p {
    margin-top: auto;
    margin-bottom: 0;
}

.rf-ps-response-section {
    background: #ffffff;
}

.rf-ps-response-section .rf-feature-row {
    margin-bottom: 0;
}

.rf-ps-response-board {
    min-height: 520px;
    padding: 0;
    background: #f6f9fd;
}

.rf-ps-board-top {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--rf-line);
    background: #ffffff;
}

.rf-ps-board-top span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--rf-ink);
    font-size: 14px;
    font-weight: 700;
}

.rf-ps-board-top span i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--rf-brand);
    box-shadow: 0 0 0 5px var(--rf-brand-light);
}

.rf-ps-board-top b {
    padding: 6px 10px;
    border-radius: 99px;
    color: #a15c08;
    background: #fff5df;
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.rf-ps-response-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px;
    padding: 17px;
    border: 1px solid var(--rf-line);
    border-radius: 15px;
    background: #ffffff;
}

.rf-ps-response-person > i {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    background: var(--rf-brand);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.rf-ps-response-person span,
.rf-ps-response-person strong,
.rf-ps-response-person small {
    display: block;
}

.rf-ps-response-person strong {
    color: var(--rf-ink);
    font-size: 14px;
}

.rf-ps-response-person small {
    color: var(--rf-muted);
    font-size: 11px;
}

.rf-ps-response-person em {
    margin-left: auto;
    color: var(--rf-soft);
    font-size: 10px;
    font-style: normal;
}

.rf-ps-response-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 20px 14px;
}

.rf-ps-response-status span {
    padding: 14px 15px;
    border: 1px solid var(--rf-line);
    border-radius: 13px;
    background: #ffffff;
}

.rf-ps-response-status small,
.rf-ps-response-status strong {
    display: block;
}

.rf-ps-response-status small {
    margin-bottom: 3px;
    color: var(--rf-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rf-ps-response-status strong {
    color: var(--rf-ink);
    font-size: 13px;
}

.rf-ps-answer-list {
    margin: 0 20px 20px;
    border: 1px solid var(--rf-line);
    border-radius: 15px;
    background: #ffffff;
}

.rf-ps-answer-list > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 73px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--rf-line);
}

.rf-ps-answer-list > div:last-child {
    border-bottom: 0;
}

.rf-ps-answer-list > div > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    color: var(--rf-brand-dark);
    background: var(--rf-brand-light);
    font-size: 9px;
    font-weight: 800;
}

.rf-ps-answer-list p,
.rf-ps-answer-list small,
.rf-ps-answer-list strong {
    display: block;
    margin: 0;
}

.rf-ps-answer-list small {
    color: var(--rf-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rf-ps-answer-list strong {
    overflow: hidden;
    color: var(--rf-ink);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-ps-answer-list > div > i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--rf-green);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.rf-ps-answer-list .is-empty {
    background: #fbfcfe;
}

.rf-ps-answer-list .is-empty > span,
.rf-ps-answer-list .is-empty > i {
    color: var(--rf-soft);
    background: #eef2f7;
}

.rf-ps-answer-list .is-empty strong {
    color: var(--rf-soft);
    font-weight: 550;
}

.rf-ps-use-case-card {
    min-height: 365px;
}

.rf-ps-use-case-card:nth-child(2) .rf-card-icon {
    color: var(--rf-green);
    background: var(--rf-green-light);
}

.rf-ps-use-case-card:nth-child(3) .rf-card-icon {
    color: #7a58c8;
    background: #f0eaff;
}

.rf-ps-use-case-card h3 {
    font-size: 26px;
}

.rf-ps-use-case-outcome {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-top: auto;
    padding: 8px 11px;
    border-radius: 9px;
    color: var(--rf-brand-dark);
    background: var(--rf-brand-light);
    font-size: 11px;
    font-weight: 750;
}

.rf-ps-practice {
    background: #ffffff;
}

.rf-ps-practice-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
    align-items: center;
    gap: clamp(50px, 7vw, 92px);
}

.rf-ps-practice-copy .rf-eyebrow + h2 {
    margin-top: 19px;
}

.rf-ps-practice-copy .rf-lead {
    margin-bottom: 26px;
}

.rf-ps-practice-list {
    overflow: hidden;
    border: 1px solid var(--rf-line);
    border-radius: 24px;
    background: var(--rf-bg);
    box-shadow: var(--rf-shadow-sm);
}

.rf-ps-practice-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    padding: 26px;
    border-bottom: 1px solid var(--rf-line);
}

.rf-ps-practice-list article:last-child {
    border-bottom: 0;
}

.rf-ps-practice-list article > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--rf-brand-dark);
    background: var(--rf-brand-light);
    font-size: 12px;
    font-weight: 800;
}

.rf-ps-practice-list h3 {
    margin: 1px 0 6px;
    font-size: 18px;
}

.rf-ps-practice-list p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.rf-ps-faq .rf-ps-section-intro {
    margin-bottom: 38px;
}

.rf-ps-faq .rf-faq-question:hover {
    color: var(--rf-brand-dark);
}

.rf-ps-final-card {
    background: linear-gradient(135deg, var(--rf-brand), var(--rf-brand-dark));
}

.rf-ps-final-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 99px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1060px) {
    .rf-ps-hero-grid,
    .rf-ps-practice-grid {
        grid-template-columns: 1fr;
    }

    .rf-ps-hero-copy,
    .rf-ps-practice-copy {
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .rf-ps-hero h1,
    .rf-ps-hero-lead,
    .rf-ps-plan-note {
        margin-inline: auto;
    }

    .rf-ps-hero-copy .rf-actions,
    .rf-ps-practice-copy .rf-actions {
        justify-content: center;
    }

    .rf-ps-hero-visual {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .rf-ps-practice-list {
        width: min(100%, 780px);
        margin-inline: auto;
    }
}

@media (max-width: 760px) {
    .rf-partial-page .rf-section {
        padding: 78px 0;
    }

    .rf-ps-hero {
        padding-top: 145px;
        padding-bottom: 68px;
    }

    .rf-ps-hero-grid {
        gap: 36px;
    }

    .rf-ps-hero h1 {
        font-size: clamp(42px, 12.5vw, 56px);
    }

    .rf-ps-hero-copy .rf-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rf-ps-hero-copy .rf-btn {
        width: 100%;
    }

    .rf-ps-plan-note {
        text-align: left;
    }

    .rf-ps-hero-visual {
        min-height: 470px;
    }

    .rf-ps-proof-grid,
    .rf-ps-step-grid,
    .rf-ps-use-case-grid {
        grid-template-columns: 1fr;
    }

    .rf-ps-proof-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--rf-line);
    }

    .rf-ps-proof-grid > div:last-child {
        border-bottom: 0;
    }

    .rf-ps-step-card,
    .rf-ps-use-case-card {
        min-height: 290px;
    }

    .rf-ps-step-card::after {
        top: auto;
        right: 50%;
        bottom: -19px;
        width: 2px;
        height: 20px;
    }

    .rf-ps-response-board {
        min-height: 0;
    }

    .rf-ps-practice-grid {
        gap: 38px;
    }
}

@media (max-width: 480px) {
    .rf-ps-hero {
        padding-top: 130px;
    }

    .rf-ps-hero h1 {
        font-size: 40px;
    }

    .rf-ps-hero-visual {
        min-height: 420px;
    }

    .rf-ps-response-person em {
        display: none;
    }

    .rf-ps-response-status {
        grid-template-columns: 1fr;
    }

    .rf-ps-answer-list > div {
        gap: 9px;
        padding-inline: 12px;
    }

    .rf-ps-practice-list article {
        padding: 22px 18px;
    }

    .rf-ps-practice-copy .rf-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rf-ps-practice-copy .rf-btn {
        width: 100%;
    }
}
