/* Public plan cards (homepage + question bank page). FRCEM palette, Inter. */
.pr-section { --pr-blue: #115fc5; --pr-blue-dk: #0e4da0; --pr-navy: #0e3062; --pr-ink: #1a1a1a; --pr-muted: #52647a; --pr-line: #e0e8f4; position: relative; padding: clamp(60px, 7vw, 96px) 0; background: #fff; color: var(--pr-ink); font-family: 'Inter', system-ui, sans-serif; scroll-margin-top: 90px; }
.pr-section *, .pr-section *::before, .pr-section *::after { box-sizing: border-box; }
.pr-inner { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); }

.pr-header { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.pr-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 12px; border: 1px solid #d4e1f3; border-radius: 999px; background: #edf3fc; color: var(--pr-blue-dk); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .035em; text-transform: uppercase; }
.pr-pill > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pr-title { margin: 0; color: var(--pr-ink); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.pr-lead { margin: 14px 0 0; color: var(--pr-muted); font-size: 16px; line-height: 1.75; text-wrap: balance; }

.pr-grid { display: grid; gap: 20px; align-items: center; margin-inline: auto; }
.pr-grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.pr-grid--2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 24px; }
.pr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pr-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 28px 28px; border: 1px solid var(--pr-line); border-radius: 18px; background: #fff; box-shadow: 0 3px 5px rgba(14, 48, 98, .03); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pr-card:not(.pr-card--featured):hover { border-color: #c9d8ec; box-shadow: 0 18px 32px -24px rgba(14, 48, 98, .3); transform: translateY(-2px); }


.pr-card__name { margin: 0; color: var(--pr-ink); font-size: 20px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: anywhere; }
.pr-card__duration { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0; color: var(--pr-muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.pr-card__duration svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--pr-blue); }

.pr-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; margin-top: 22px; }
.pr-card__currency { color: var(--pr-ink); font-size: 23px; font-weight: 600; line-height: 1; }
.pr-card__amount { color: var(--pr-ink); font-size: 46px; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.pr-card__once { margin-left: 7px; color: var(--pr-muted); font-size: 13px; line-height: 1.5; }

.pr-card__access { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 11px 13px; border-radius: 9px; background: #f0f5fd; color: var(--pr-blue); font-size: 13px; font-weight: 600; line-height: 1.5; }
.pr-card__access svg { flex: 0 0 17px; width: 17px; height: 17px; }

.pr-card__list { flex: 1; display: grid; align-content: start; gap: 14px; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid #e8eef6; list-style: none; }
.pr-card__list li { display: flex; align-items: flex-start; gap: 9px; color: #465a70; font-size: 14px; line-height: 1.6; }
.pr-card__list svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: #e8effb; color: var(--pr-blue); }

.pr-card__btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 18px; border: 1px solid #c7d6ea; border-radius: 9px; background: #fff; color: var(--pr-blue); font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s, border-color .18s, color .18s; }
.pr-card__btn svg { width: 18px; height: 18px; transition: transform .18s; }
.pr-card__btn:hover { border-color: var(--pr-blue); background: var(--pr-blue); color: #fff; }
.pr-card__btn:hover svg { transform: translateX(3px); }
.pr-card__btn:focus-visible, .pr-trust a:focus-visible, .pr-empty a:focus-visible { outline: 3px solid var(--pr-blue); outline-offset: 4px; }

/* Featured (centre) plan: solid brand blue, white type and a white button. */
.pr-card--featured { z-index: 1; padding-block: 38px; border-color: transparent; background: linear-gradient(160deg, #1a6ad2 0%, #0e4da0 100%); box-shadow: 0 28px 48px -26px rgba(14, 77, 160, .7); }
.pr-card--featured .pr-card__name, .pr-card--featured .pr-card__currency, .pr-card--featured .pr-card__amount { color: #fff; }
.pr-card--featured .pr-card__duration, .pr-card--featured .pr-card__once { color: #dbe7fb; }
.pr-card--featured .pr-card__duration svg { color: #fff; }
.pr-card--featured .pr-card__access { background: rgba(255, 255, 255, .14); color: #fff; }
.pr-card--featured .pr-card__list { border-top-color: rgba(255, 255, 255, .18); }
.pr-card--featured .pr-card__list li { color: #eef4ff; }
.pr-card--featured .pr-card__list svg { background: rgba(255, 255, 255, .18); color: #fff; }
.pr-card--featured .pr-card__btn { border-color: #fff; background: #fff; color: var(--pr-blue-dk); }
.pr-card--featured .pr-card__btn:hover { background: #edf3fc; color: var(--pr-navy); }
.pr-card--featured .pr-card__btn:focus-visible { outline-color: #fff; }

.pr-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--pr-line); list-style: none; }
.pr-trust li { display: flex; align-items: center; gap: 8px; color: #52647a; font-size: 12px; line-height: 1.5; }
.pr-trust svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--pr-blue); }
.pr-trust a, .pr-empty a { color: var(--pr-blue); font-weight: 500; text-underline-offset: 3px; }

.pr-empty { max-width: 620px; margin: auto; padding: 32px; border: 1px solid var(--pr-line); border-radius: 14px; background: #fff; text-align: center; color: var(--pr-muted); line-height: 1.7; }
.pr-empty__title { margin: 0 0 10px; color: var(--pr-ink); font-size: 20px; font-weight: 600; line-height: 1.4; }

@media (min-width: 761px) and (max-width: 1000px) {
    .pr-grid--3 { gap: 14px; }
    .pr-card { padding: 30px 20px 28px; }
    .pr-card--featured { padding-block: 38px; }
    .pr-card__name { font-size: 19px; }
    .pr-card__amount { font-size: 40px; }
}
@media (max-width: 760px) {
    .pr-inner { padding-inline: 22px; }
    .pr-title { font-size: clamp(27px, 6vw, 34px); }
    .pr-lead { font-size: 15px; }
    .pr-grid, .pr-grid--1, .pr-grid--2, .pr-grid--3 { grid-template-columns: minmax(0, 1fr); align-items: stretch; max-width: 500px; gap: 20px; }
    .pr-card { padding: 28px 24px; }
    .pr-card--featured { padding-block: 30px; }
    .pr-card__amount { font-size: 44px; }
    .pr-trust { max-width: 500px; margin-inline: auto; justify-content: flex-start; gap: 14px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .pr-card, .pr-card__btn, .pr-card__btn svg { transition: none; }
    .pr-card:hover, .pr-card__btn:hover svg { transform: none; }
}

/* Dashboard mode: note under the button. */
.pr-card__payment-note { margin: 11px 0 0; color: #6b7c8f; text-align: center; font-size: 11px; line-height: 1.6; }
.pr-card--featured .pr-card__payment-note { color: rgba(255, 255, 255, .82); }
.pr-card__btn:is(button) { width: 100%; font-family: inherit; cursor: pointer; }
.pr-card__btn:disabled { cursor: wait; opacity: .6; }
