/* CELPIP uses the light public pricing palette shared by the DET and PTE offers. */
.celpip-pricing {
    --ink: #222822;
    --muted: #555e54;
    --green: #37553f;
    --line: #d9ddd3;
    color: var(--ink);
    background: linear-gradient(155deg, #f7f5ee 0%, #fafbf7 46%, #fff 80%);
    padding: clamp(2rem, 4vw, 3.25rem) 1.25rem 4.5rem;
}
.celpip-pricing-shell { max-width: 1160px; margin: 0 auto; }
.celpip-pricing-hero { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.celpip-pricing-hero h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.65rem, 5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 400;
    margin: 0 0 .85rem;
}
.celpip-pricing-hero em { font-family: inherit; color: var(--green); }
.celpip-pricing-hero > p { color: var(--muted); max-width: 660px; line-height: 1.65; margin: 0 auto; }
.celpip-assurances, .celpip-included-copy ul { list-style: none; padding: 0; }
.celpip-assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin: 1rem 0 0; }
.celpip-assurances li { display: flex; align-items: center; gap: .3rem; font-size: .79rem; color: var(--green); }
.celpip-assurances svg, .celpip-included-copy li svg { width: 17px; height: 17px; flex: none; }

.celpip-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.celpip-plan {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 2.1vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 18px rgb(31 48 35 / 5%);
}
.celpip-plan.is-featured { border-color: var(--green); box-shadow: inset 0 3px 0 var(--green), inset 0 0 0 1px var(--green); }
.celpip-plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .5rem; margin-bottom: 1.25rem; }
.celpip-plan-heading h2 { font-size: 1.12rem; font-weight: 600; margin: 0; line-height: 1.5; }
.celpip-value, .celpip-plan-comparison > span:last-child {
    border-radius: 20px;
    padding: .2rem .55rem;
    font-size: .71rem;
    font-weight: 600;
    white-space: nowrap;
}
.celpip-value { color: var(--green); background: #e9efe6; }
.celpip-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; margin: 0; }
.celpip-plan-price strong {
    color: var(--green);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(2.55rem, 3.4vw, 3.15rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.055em;
    font-variant-numeric: tabular-nums;
}
.celpip-plan-price span, .celpip-plan-comparison s { font-size: .85rem; color: var(--muted); }
.celpip-plan-comparison { display: flex; align-items: center; gap: .45rem; min-height: 1.8rem; margin-top: .25rem; }
.celpip-plan-comparison > span:last-child { color: #72500c; background: #fcf0c5; }
.celpip-plan-description { font-size: .88rem; line-height: 1.6; margin: .85rem 0 1.2rem; }
.celpip-renewal { margin: auto 0 .7rem; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.celpip-checkout {
    border: 1.5px solid var(--green);
    border-radius: 10px;
    min-height: 46px;
    padding: .65rem;
    background: white;
    color: var(--green);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: .9rem;
}
.is-featured .celpip-checkout, .celpip-checkout:hover { background: var(--green); color: white; }
.is-featured .celpip-checkout:hover { background: #263e2d; }
.celpip-checkout:disabled { opacity: .65; cursor: wait; }
.celpip-pricing :focus-visible { outline: 3px solid #9c6806; outline-offset: 3px; }
.celpip-checkout-error { color: #923626; font-size: .82rem; margin: .55rem 0 0; }
.celpip-checkout-error:empty { margin: 0; }
.celpip-plan-benefits {
    display: grid;
    align-content: start;
    gap: .8rem;
    margin: .5rem 0 1.25rem;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}
.celpip-plan-benefits li { display: flex; align-items: flex-start; gap: .55rem; color: var(--ink); font-size: .85rem; line-height: 1.5; }
.celpip-plan-benefits svg { flex: none; width: 17px; height: 17px; margin-top: .12rem; color: var(--green); }
@media (min-width: 661px) {
    /* Share row heights when a title, price, or renewal wraps in one card. */
    .celpip-plan-grid { row-gap: 0; }
    .celpip-plan { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; }
    .celpip-plan-heading, .celpip-plan-price { align-content: start; }
}
.celpip-free-link { font-size: .86rem; color: var(--muted); margin: 1.25rem 0 2.25rem; text-align: center; }
.celpip-pricing a { color: var(--green); text-decoration: underline; text-underline-offset: .2em; font-weight: 600; }

.celpip-pricing-included {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.4rem, 3.4vw, 2.75rem);
    border-radius: 18px;
    background: #304838;
    color: white;
}
.celpip-included-copy h2, .celpip-pricing-faq > h2, .celpip-pricing-team h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    letter-spacing: -.025em;
    line-height: 1.1;
    margin: 0 0 .75rem;
}
.celpip-included-copy > p { font-size: .94rem; line-height: 1.65; color: #edf2eb; }
.celpip-included-copy ul { display: grid; gap: .7rem; margin: 1.1rem 0; }
.celpip-included-copy li { display: flex; align-items: baseline; gap: .5rem; font-size: .84rem; line-height: 1.65; }
.celpip-included-copy li svg { align-self: flex-start; margin-top: .15rem; color: #d8e7b9; }
.celpip-pricing-included a { color: white; font-size: .85rem; }
.celpip-feedback-preview { margin: 0; min-width: 0; }
.celpip-feedback-preview > a { display: block; border-radius: 10px; overflow: hidden; }
.celpip-feedback-preview img { display: block; width: 100%; height: auto; }
.celpip-feedback-preview figcaption, .celpip-feedback-preview figcaption a { font-size: .75rem; line-height: 1.6; }
.celpip-feedback-preview figcaption { margin-top: .55rem; color: #e4ede4; }
.celpip-pricing-team { display: flex; align-items: center; gap: 1.75rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.celpip-team-portraits { display: flex; flex: none; padding-left: .55rem; }
.celpip-team-portraits img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 2px solid white; margin-left: -.55rem; }
.celpip-pricing-team h2 { font-size: 1.8rem; margin-bottom: .35rem; }
.celpip-pricing-team p { max-width: 790px; font-size: .86rem; line-height: 1.65; color: var(--muted); margin: 0 0 .35rem; }
.celpip-pricing-team a { font-size: .82rem; }

.celpip-pricing-faq { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 2rem; padding-top: 2.75rem; }
.celpip-faq-list { padding: 0 1.3rem; background: white; border: 1px solid var(--line); border-radius: 16px; }
.celpip-faq-list details + details { border-top: 1px solid var(--line); }
.celpip-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; cursor: pointer; font-weight: 600; font-size: .9rem; list-style: none; }
.celpip-faq-list summary::-webkit-details-marker { display: none; }
.celpip-faq-list summary::after { content: ''; flex: none; width: .5rem; height: .5rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }
.celpip-faq-list details[open] summary::after { transform: rotate(225deg); }
.celpip-faq-answer { color: var(--muted); font-size: .85rem; line-height: 1.75; padding-bottom: 1rem; }

@media (max-width: 800px) {
    .celpip-plan-grid { column-gap: .7rem; }
    .celpip-plan { padding: 1.05rem; }
    .celpip-plan-heading { align-content: start; min-height: 3.25rem; }
    .celpip-pricing-included, .celpip-pricing-faq { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 660px) {
    .celpip-pricing { padding: 1.75rem 1rem 3rem; }
    .celpip-pricing-hero { margin-bottom: 1.25rem; }
    .celpip-pricing-hero > p { font-size: .9rem; }
    .celpip-plan-grid { grid-template-columns: 1fr; }
    .celpip-plan { padding: 1.2rem; }
    .celpip-plan-heading { min-height: 0; margin-bottom: .65rem; }
    .celpip-plan-comparison:empty { display: none; }
    .celpip-plan-description { margin: .55rem 0 .75rem; }
    .celpip-free-link { margin-bottom: 1.5rem; }
    .celpip-pricing-team { align-items: start; flex-direction: column; gap: .75rem; padding: 1.75rem 0; }
}
