/**
 * Sub-Processors.com pricing page (/pricing).
 * White page, thin rules and the site's navy ink and brand blue. The free account is the
 * navy column of the comparison table, so "free" is the first thing the eye lands on.
 */
body.pricing-page {
    --ink: #14213a;
    --ink-soft: #4a5568;
    --ink-faint: #6b768a;
    --rule: #e6e8ec;
    --rule-strong: #d5d9e0;
    --hl: #f5f7fa;
    --tint: #f7f9fc;
    --brand: #1d5bc4;
    --brand-soft: #e8f0fd;
    --good: #1f8a4c;
    --good-soft: #e5f5eb;
    --display: 'Outfit', 'Inter', system-ui, sans-serif;

    background: #fff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
body.pricing-page .site-header {
    margin-bottom: 0;
}

.pr {
    position: relative;
    isolation: isolate;
}
.pr-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
.pr a:focus-visible,
.pr button:focus-visible,
.pr summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
.pr h2 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
}
.pr-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
}

/* ---------- Buttons ---------- */
.pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.pr-btn-primary {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}
.pr-btn-primary:hover {
    background: #24365c;
    border-color: #24365c;
}
.pr-btn-outline {
    color: var(--ink);
    background: #fff;
    border-color: var(--rule-strong);
    box-shadow: 0 1px 2px rgba(20, 33, 58, 0.05);
}
.pr-btn-outline:hover {
    background: var(--hl);
    border-color: #bfc5cf;
}
.pr-btn-light {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}
.pr-btn-light:hover {
    background: var(--brand-soft);
    border-color: var(--brand-soft);
}
.pr-btn.is-disabled {
    color: var(--ink-faint);
    background: var(--hl);
    box-shadow: none;
    cursor: default;
}

/* ---------- Hero ---------- */
.pr-hero {
    position: relative;
    padding: 88px 0 64px;
    text-align: center;
}
/* Faint grid behind the title that fades out on every side */
.pr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, #eceff3 1px, transparent 1px),
        linear-gradient(to bottom, #eceff3 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 55% 80% at 50% 30%, #000 0%, transparent 100%);
}
.pr-title {
    max-width: 14em;
    margin: 0 auto 20px;
    font-family: var(--display);
    font-size: clamp(38px, 5.2vw, 60px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.pr-title span {
    color: var(--brand);
}
.pr-lede {
    max-width: 35em;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    text-wrap: pretty;
}
.pr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
}
.pr-hero-actions .pr-btn {
    padding: 13px 24px;
    font-size: 15px;
}
.pr-balance {
    font-size: 14px;
    color: var(--ink-faint);
}
.pr-balance strong {
    color: var(--ink);
}

/* ---------- Comparison table ---------- */
.pr-plans {
    padding-bottom: 8px;
    scroll-margin-top: 16px;
}
.pr-notice {
    margin: 0 auto 20px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: center;
    color: #7a5600;
    background: #fff8e5;
    border: 1px solid #f0dda6;
    border-radius: 6px;
}
.pr-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(20, 33, 58, 0.04), 0 12px 32px -20px rgba(20, 33, 58, 0.18);
}
.pr-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
}
.pr-col-label {
    width: 23%;
}
.pr-table th,
.pr-table td {
    padding: 15px 18px;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule);
}
.pr-table tbody tr:last-child th,
.pr-table tbody tr:last-child td {
    border-bottom: 0;
}
.pr-table tbody td.is-hl {
    font-weight: 500;
    color: var(--ink);
    background: var(--hl);
}
.pr-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    font-weight: 500;
    color: var(--ink);
    background: #fff;
}
.pr-row-note {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-faint);
}

/* Plan headers */
.pr-plan-row th,
.pr-plan-row td {
    padding: 26px 18px 24px;
    vertical-align: top;
    border-bottom: 1px solid var(--rule-strong);
}
.pr-plan-row td.pr-corner {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    vertical-align: bottom;
    background: #fff;
}
.pr-corner-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.pr-corner-sub {
    max-width: 20em;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-faint);
}
.pr-plan-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.pr-plan-price {
    margin-top: 10px;
    font-family: var(--display);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.pr-plan-sub {
    margin-top: 4px;
    font-size: 13px;
    color: var(--ink-faint);
}
.pr-rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 24px;
    margin: 10px 0 18px;
    font-size: 13px;
    color: var(--ink-soft);
}
.pr-save {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--good);
    background: var(--good-soft);
    border-radius: 999px;
}
.pr-flag {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
}
.pr-plan-row .pr-btn {
    width: 100%;
    max-width: 180px;
    padding-left: 10px;
    padding-right: 10px;
}
.pr-plan-row form {
    display: flex;
    justify-content: center;
}
.pr-plan-row th.is-best .pr-btn-outline {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}
.pr-plan-row th.is-best .pr-btn-outline:hover {
    background: #24365c;
}

/* The free account: a navy header cell above the tinted column */
.pr-plan-row th.pr-free-head {
    color: #fff;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(91, 148, 239, 0.32) 0%, transparent 70%),
        var(--ink);
    border-bottom-color: var(--ink);
}
.pr-free-head .pr-plan-name,
.pr-free-head .pr-plan-price {
    color: #fff;
}
.pr-free-head .pr-plan-sub {
    color: #b9c7de;
}
.pr-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    min-height: 24px;
    align-items: center;
    margin: 10px 0 18px;
}
.pr-dots span {
    width: 8px;
    height: 8px;
    background: #6aa0f5;
    border-radius: 50%;
}

.pr-yes {
    display: inline-block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--good);
    vertical-align: middle;
}
.pr-no {
    color: #a8b0bc;
}

.pr-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 48em;
    margin: 18px auto 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: var(--ink-faint);
}
.pr-footnote svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* ---------- How credits work ---------- */
.pr-how {
    margin-top: 88px;
    padding: 88px 0;
    background: var(--tint);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.pr-how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.pr-how-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 3.2vw, 36px);
}
.pr-how-copy > p {
    max-width: 30em;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.pr-steps {
    display: grid;
    gap: 18px;
    list-style: none;
}
.pr-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.pr-steps strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
}
.pr-step-num {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    background: #fff;
    border: 1px solid #c9d8f2;
    border-radius: 50%;
}

/* Illustrative vendor page: free rows, the cut-off, then a revealed row and hidden rows */
.pr-demo {
    margin: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 24px 48px -28px rgba(20, 33, 58, 0.3);
}
.pr-demo-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 2px 6px 16px;
}
.pr-demo-logo {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--brand), #6aa0f5);
    border-radius: 8px;
}
.pr-demo-title {
    font-size: 14px;
    font-weight: 600;
}
.pr-demo-sub {
    font-size: 12px;
    color: var(--ink-faint);
}
.pr-demo-rows {
    list-style: none;
}
.pr-demo-row {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 0 8px;
    font-size: 13px;
    border-top: 1px solid #eef0f3;
}
.pr-demo-fav {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #e7ebf1;
    border-radius: 6px;
}
.pr-demo-bar {
    height: 9px;
    margin-right: auto;
    background: #cfd6e0;
    border-radius: 5px;
}
.pr-demo-meta {
    font-size: 12px;
    color: var(--ink-faint);
}
.pr-demo-divider {
    position: relative;
    margin: 4px 0;
    padding: 10px 0;
    text-align: center;
}
.pr-demo-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px dashed #c3ccd9;
}
.pr-demo-divider span {
    position: relative;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-faint);
    background: #fff;
}
.pr-demo-row.is-revealed {
    background: var(--brand-soft);
    border-top-color: transparent;
    border-radius: 8px;
}
.pr-demo-row.is-revealed .pr-demo-bar {
    background: #8fb3ec;
}
.pr-demo-row.is-revealed .pr-demo-fav {
    background: #c3d6f6;
}
.pr-demo-row.is-locked .pr-demo-bar {
    background: #dde2ea;
    filter: blur(2px);
}
.pr-demo-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid #c6cedb;
    border-radius: 999px;
}
.pr-demo-pill .pr-yes {
    width: 13px;
    height: 13px;
    color: var(--brand);
}
.pr-demo-pill-done {
    color: var(--brand);
    border-color: #b9cff3;
}

/* ---------- Included with every account ---------- */
.pr-included {
    padding: 88px 0 0;
}
.pr-included h2,
.pr-faq h2 {
    font-size: clamp(28px, 3.2vw, 36px);
    text-align: center;
}
.pr-included h2 {
    margin-bottom: 10px;
}
.pr-included-lede {
    max-width: 36em;
    margin: 0 auto 36px;
    font-size: 16px;
    text-align: center;
    color: var(--ink-soft);
}
.pr-included-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
}
.pr-included-grid li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 -1px -1px 0;
    padding: 24px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.pr-included-grid .pr-yes {
    margin-top: 1px;
}
.pr-included-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
}
.pr-included-grid span {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.pr-faq {
    padding: 96px 0 88px;
}
.pr-faq-inner {
    max-width: 760px;
}
.pr-faq h2 {
    margin-bottom: 36px;
}
.pr-faq h3 {
    margin: 32px 0 12px;
    font-size: 16px;
    font-weight: 600;
}
.pr-faq-group {
    border: 1px solid var(--rule);
    border-radius: 10px;
}
.pr-faq details + details {
    border-top: 1px solid var(--rule);
}
.pr-faq summary {
    position: relative;
    padding: 14px 44px 14px 18px;
    font-size: 15px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}
.pr-faq summary::-webkit-details-marker {
    display: none;
}
.pr-faq summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--ink-soft);
    border-bottom: 1.5px solid var(--ink-soft);
    transform: translateY(-70%) rotate(45deg);
}
.pr-faq details[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}
.pr-faq summary:hover {
    background: var(--hl);
}
.pr-faq details:first-child summary {
    border-radius: 10px 10px 0 0;
}
.pr-faq details:last-child:not([open]) summary {
    border-radius: 0 0 10px 10px;
}
.pr-faq details p {
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.pr-faq details a {
    color: var(--brand);
}

/* ---------- Closing call to action ---------- */
.pr-cta {
    padding-bottom: 96px;
}
.pr-cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 120% at 100% 0%, rgba(91, 148, 239, 0.32) 0%, transparent 70%),
        var(--ink);
    border-radius: 14px;
}
.pr-cta h2 {
    margin-bottom: 6px;
    font-size: clamp(24px, 2.8vw, 30px);
}
.pr-cta p {
    font-size: 15px;
    color: #b9c7de;
}
.pr-cta .pr-btn {
    padding: 13px 24px;
    font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .pr-how-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .pr-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pr-wrap {
        padding: 0 16px;
    }
    .pr-hero {
        padding: 56px 0 40px;
    }
    .pr-lede {
        font-size: 16px;
    }
    .pr-table {
        min-width: 720px;
    }
    .pr-col-label {
        width: 150px;
    }
    .pr-table th,
    .pr-table td {
        padding-left: 12px;
        padding-right: 12px;
    }
    .pr-table tbody th,
    .pr-plan-row td.pr-corner {
        box-shadow: 1px 0 0 var(--rule);
    }
    .pr-corner-title {
        font-size: 17px;
    }
    .pr-how {
        margin-top: 56px;
        padding: 56px 0;
    }
    .pr-demo {
        padding: 14px;
    }
    .pr-included {
        padding-top: 56px;
    }
    .pr-included-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pr-included-grid li {
        padding: 18px;
    }
    .pr-faq {
        padding: 64px 0;
    }
    .pr-cta {
        padding-bottom: 64px;
    }
    .pr-cta-box {
        padding: 32px 22px;
    }
    .pr-cta .pr-btn {
        width: 100%;
    }
}
