/*
 * Pricing, checkout and subscription pages: plan cards, the volume estimator, the checkout, the payment result,
 * the subscription page, the public price list and the plan box on the sign-up page.
 * Used inside the app (with robust-light.css) and on pages without it (sign-up), so it carries its own tokens.
 * Headings need !important: public/custom.css colours every heading with !important.
 */
:root {
    --pr-navy: #023047;
    --pr-navy-2: #0A4061;
    --pr-amber: #FFB703;
    --pr-amber-2: #FFC433;
    --pr-amber-tint: #FFF5D6;
    --pr-sky: #219EBC;
    --pr-sky-tint: #E5F3F8;
    --pr-ink: #102A3A;
    --pr-text: #3E5361;
    --pr-muted: #5E707C;
    --pr-bg: #F6F7FB;
    --pr-surface: #FFFFFF;
    --pr-surface-2: #F8F9FC;
    --pr-line: #E6E9F0;
    --pr-line-strong: #D5DBE4;
    --pr-green: #106B3A;
    --pr-green-bg: #E7F6EC;
    --pr-warn: #7A4A00;
    --pr-warn-bg: #FFF4D6;
    --pr-red: #B42318;
    --pr-red-bg: #FDECEA;
    --pr-info: #0B5C78;
    --pr-info-bg: #E5F3F8;
    --pr-radius: 14px;
    --pr-radius-sm: 10px;
    --pr-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
    --pr-shadow-lg: 0 18px 40px rgba(2, 48, 71, .14), 0 2px 6px rgba(2, 48, 71, .06);
    --pr-focus: 0 0 0 3px rgba(255, 183, 3, .55);
    --pr-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --pr-display: 'Outfit', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ---------------------------------------------------------------- Buttons */
.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1.5px solid transparent;
    border-radius: var(--pr-radius-sm);
    background: transparent;
    font-family: var(--pr-font) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.rl-btn .material-symbols-rounded { font-size: 19px; }
.rl-btn:focus-visible { outline: none; box-shadow: var(--pr-focus); }
.rl-btn--primary { background: var(--pr-navy); color: #fff !important; }
.rl-btn--primary:hover { background: var(--pr-navy-2); color: #fff !important; }
.rl-btn--outline { background: var(--pr-surface); border-color: var(--pr-line-strong); color: var(--pr-navy) !important; }
.rl-btn--outline:hover { border-color: var(--pr-navy); color: var(--pr-navy) !important; }
.rl-btn--ghost { color: var(--pr-text) !important; }
.rl-btn--ghost:hover { background: var(--pr-surface-2); color: var(--pr-navy) !important; }
.rl-btn--muted, .rl-btn[disabled], .rl-btn:disabled { background: var(--pr-surface-2); border-color: var(--pr-line); color: var(--pr-muted) !important; cursor: not-allowed; }
.rl-btn--danger { background: var(--pr-surface); border-color: #F1B8B2; color: var(--pr-red) !important; }
.rl-btn--danger:hover { background: var(--pr-red-bg); color: var(--pr-red) !important; }
.rl-btn--small { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.rl-btn--lg { min-height: 52px; font-size: 16px; }
.rl-btn--block { display: flex; width: 100%; }
.rl-btn.is-busy { position: relative; color: transparent !important; }
.rl-btn.is-busy::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rl-spin .7s linear infinite;
}
@keyframes rl-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- Checkout layout */
body.rl-co-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pr-bg) !important;
    color: var(--pr-ink);
    font-family: var(--pr-font);
    font-size: 15px;
}
.rl-co-top { background: var(--pr-surface); border-bottom: 1px solid var(--pr-line); }
.rl-co-top__inner { display: flex; align-items: center; gap: 18px; max-width: 1180px; margin: 0 auto; padding: 14px 20px; }
.rl-co-top__brand img { display: block; height: 30px; width: auto; }
.rl-co-top__secure { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--pr-green-bg); color: var(--pr-green); font-size: 13px; font-weight: 700; }
.rl-co-top__secure .material-symbols-rounded { font-size: 16px; }
.rl-co-top__end { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; }
.rl-co-top__who { color: var(--pr-muted); }
.rl-co-top__link { color: var(--pr-navy) !important; font-weight: 600; }
.rl-co-main { flex: 1; width: 100%; }
.rl-co-alerts { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.rl-co-alerts .alert { margin: 18px 0 0; border-radius: 12px; }
.rl-co-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 26px 20px 34px; color: var(--pr-muted); font-size: 13px; }
.rl-co-foot a { color: var(--pr-muted) !important; }

.rl-co-wrap { max-width: 1180px; margin: 0 auto; padding: 30px 20px 56px; }
.rl-co-wrap--narrow { max-width: 760px; }

.rl-co-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.rl-co-wrap .rl-co-steps { justify-content: center; }
.rl-co-steps li, .rl-co-steps a { display: inline-flex; align-items: center; gap: 8px; color: var(--pr-muted) !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.rl-co-steps li + li::before { content: ''; width: 28px; height: 1.5px; margin-right: 4px; background: var(--pr-line-strong); }
.rl-co-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pr-surface); border: 1.5px solid var(--pr-line-strong); font-size: 13px; }
.rl-co-steps__num .material-symbols-rounded { font-size: 16px; }
.rl-co-steps .is-current { color: var(--pr-navy) !important; }
.rl-co-steps .is-current .rl-co-steps__num { background: var(--pr-navy); border-color: var(--pr-navy); color: #fff; }
.rl-co-steps .is-done .rl-co-steps__num { background: var(--pr-green-bg); border-color: var(--pr-green-bg); color: var(--pr-green); }

.rl-co-head { margin: 0 0 24px; }
.rl-co-head h1 { margin: 0 0 8px; font-family: var(--pr-display) !important; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.15; color: var(--pr-navy) !important; letter-spacing: -0.015em; }
.rl-co-head p { margin: 0; max-width: 640px; color: var(--pr-text); font-size: 16px; line-height: 1.6; }
.rl-co-head--center { text-align: center; }
.rl-co-head--center p { margin: 0 auto; }
.rl-co-head--hero { padding: 14px 0 6px; }
.rl-co-head--hero h1 { font-size: clamp(30px, 5vw, 46px); max-width: 17ch; margin-left: auto; margin-right: auto; }
.rl-co-eyebrow { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--pr-amber-tint); color: var(--pr-warn); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

.rl-co-notice { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--pr-info-bg); color: var(--pr-info); }
.rl-co-notice > .material-symbols-rounded { flex: none; font-size: 22px; }
.rl-co-notice p { flex: 1; margin: 0; color: inherit; font-size: 14.5px; line-height: 1.5; }
.rl-co-notice .rl-btn { flex: none; }
.rl-co-notice--warning { background: var(--pr-warn-bg); color: var(--pr-warn); }
.rl-co-notice--danger { background: var(--pr-red-bg); color: var(--pr-red); }

/* ---------------------------------------------------------------- Plan cards */
.rl-pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 22px; }
.rl-pc {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
    border: 1.5px solid var(--pr-line);
    border-radius: var(--pr-radius);
    background: var(--pr-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rl-pc.is-featured { border-color: var(--pr-navy); box-shadow: var(--pr-shadow-lg); }
.rl-pc.is-chosen { border-color: var(--pr-navy); }
.rl-pc.is-current { background: var(--pr-surface-2); }
.rl-pc.is-recommended { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--pr-amber), var(--pr-shadow-lg); }
.rl-pc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.rl-pc__name { margin: 0 !important; font-family: var(--pr-display) !important; font-size: 21px !important; font-weight: 700 !important; color: var(--pr-navy) !important; }
.rl-pc__badge { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--pr-amber); color: var(--pr-navy); font-size: 12px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.rl-pc__badge--value { background: var(--pr-green-bg); color: var(--pr-green); }
.rl-pc__badge--current { background: var(--pr-navy); color: #fff; }
.rl-pc__desc { margin: 6px 0 0; min-height: 44px; color: var(--pr-muted); font-size: 14px; line-height: 1.5; }
.rl-pc__price { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 2px; }
.rl-pc__price strong { font-family: var(--pr-display); font-size: 42px; font-weight: 700; line-height: 1; color: var(--pr-navy); letter-spacing: -0.02em; }
.rl-pc__price span { color: var(--pr-muted); font-size: 15px; font-weight: 600; }
.rl-pc__emails { margin: 10px 0 0; color: var(--pr-ink); font-size: 15px; font-weight: 700; }
.rl-pc__per { margin: 2px 0 0; color: var(--pr-muted); font-size: 13px; }
.rl-pc__cta { margin: 18px 0 16px; }
.rl-pc__cta form { margin: 0; }
.rl-pc__note { margin: 8px 0 0; color: var(--pr-text); font-size: 13px; text-align: center; }
.rl-pc__list { display: grid; gap: 8px; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--pr-line); list-style: none; }
.rl-pc__list li { position: relative; padding-left: 26px; color: var(--pr-text); font-size: 14px; line-height: 1.45; }
.rl-pc__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pr-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23106B3A' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------------------------------------------------------------- Volume estimator */
.rl-est {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: center;
    margin: 0 0 26px;
    padding: 20px 22px;
    border: 1px solid var(--pr-line);
    border-radius: var(--pr-radius);
    background: var(--pr-surface);
    box-shadow: var(--pr-shadow);
}
.rl-est__input label { display: block; margin: 0 0 12px; color: var(--pr-navy); font-family: var(--pr-display) !important; font-size: 18px; font-weight: 700; }
.rl-est input[type=range] {
    width: 100%;
    height: 8px;
    margin: 6px 0 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pr-amber) 0, var(--pr-amber) var(--fill, 30%), var(--pr-line) var(--fill, 30%));
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.rl-est input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; background: var(--pr-navy); box-shadow: 0 1px 4px rgba(2, 48, 71, .35); -webkit-appearance: none; }
.rl-est input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%; background: var(--pr-navy); box-shadow: 0 1px 4px rgba(2, 48, 71, .35); }
.rl-est input[type=range]:focus-visible { outline: none; box-shadow: var(--pr-focus); }
.rl-est__help { margin: 0; color: var(--pr-text); font-size: 14px; }
.rl-est__help strong { color: var(--pr-ink); }
.rl-est__result { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--pr-navy); color: #fff; }
.rl-est__label { color: #B7C8D3; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.rl-est__plan { color: #fff; font-family: var(--pr-display); font-size: 20px; }
.rl-est__price span { color: var(--pr-amber); font-family: var(--pr-display); font-size: 30px; font-weight: 700; }
.rl-est__price small { color: #B7C8D3; font-size: 14px; }

.rl-co-more { margin: 4px 0 26px; color: var(--pr-text); text-align: center; }
.rl-co-more a { font-weight: 700; }

.rl-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.rl-assure li { display: inline-flex; align-items: center; gap: 8px; color: var(--pr-text); font-size: 14px; }
.rl-assure .material-symbols-rounded { color: var(--pr-green); font-size: 20px; }
.rl-assure--stack { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 0 4px; }

/* ---------------------------------------------------------------- Checkout */
.rl-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px; align-items: start; }
.rl-co-panels { display: grid; gap: 16px; }
.rl-co-panel { padding: 20px 22px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.rl-co-panel.is-locked { background: var(--pr-surface-2); }
.rl-co-panel.is-locked h2 { color: var(--pr-muted) !important; }
.rl-co-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rl-co-panel__head h2 { margin: 0 !important; font-family: var(--pr-display) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--pr-navy) !important; }
.rl-co-panel__action { margin-left: auto; font-size: 14px; font-weight: 700; }
.rl-co-num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pr-navy); color: #fff; font-size: 13px; font-weight: 800; }
.rl-co-num .material-symbols-rounded { font-size: 17px; }
.rl-co-num.is-done { background: var(--pr-green-bg); color: var(--pr-green); }
.rl-co-panel.is-locked .rl-co-num { background: var(--pr-line); color: var(--pr-muted); }
.rl-co-muted { margin: 0; color: var(--pr-muted); font-size: 14px; }
.rl-co-panel .rl-co-muted { margin-top: 10px; }

.rl-co-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 12px; background: var(--pr-surface-2); }
.rl-co-plan__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rl-co-plan__text strong { color: var(--pr-navy); font-family: var(--pr-display); font-size: 19px; }
.rl-co-plan__text span { color: var(--pr-text); font-size: 14px; }
.rl-co-plan__price { flex: none; text-align: right; }
.rl-co-plan__price strong { display: block; color: var(--pr-navy); font-family: var(--pr-display); font-size: 24px; line-height: 1.1; }
.rl-co-plan__price span { color: var(--pr-muted); font-size: 13px; }

.rl-co-address { display: flex; flex-direction: column; gap: 2px; font-style: normal; color: var(--pr-text); font-size: 14.5px; line-height: 1.55; }
.rl-co-address strong { color: var(--pr-ink); font-size: 15px; }

.rl-co-form { margin: 0; }
.rl-co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.rl-co-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rl-co-field--wide { grid-column: 1 / -1; }
.rl-co-field label { margin: 0; color: var(--pr-ink); font-size: 14px; font-weight: 600; }
.rl-co-field .form-control, .rl-co-field .form-select { min-height: 44px; border-radius: var(--pr-radius-sm); font-size: 15px; }
.rl-co-field .is-invalid { border-color: var(--pr-red) !important; }
.rl-co-optional { color: var(--pr-muted); font-weight: 500; }
.rl-co-error { color: var(--pr-red); font-size: 13px; }
.rl-co-form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.rl-co-methods { display: grid; gap: 10px; }
.rl-co-method { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 400; padding: 14px 16px; border: 1.5px solid var(--pr-line); border-radius: 12px; background: var(--pr-surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rl-co-method:hover { border-color: var(--pr-line-strong); }
.rl-co-method:has(input:checked) { border-color: var(--pr-navy); box-shadow: 0 0 0 3px rgba(2, 48, 71, .1); }
.rl-co-method input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--pr-navy); }
.rl-co-method__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rl-co-method__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rl-co-method__title strong { color: var(--pr-ink); font-size: 15px; }
.rl-co-method small { color: var(--pr-muted); font-size: 13.5px; line-height: 1.45; }
.rl-co-saved { color: var(--pr-green) !important; font-weight: 600; }
.rl-co-brands { display: inline-flex; gap: 5px; }
.rl-co-brand { display: inline-flex; align-items: center; justify-content: center; height: 20px; min-width: 32px; padding: 0 5px; border: 1px solid var(--pr-line); border-radius: 4px; background: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; }
.rl-co-brand--visa { color: #1A1F71; font-style: italic; }
.rl-co-brand--amex { background: #1F72CD; border-color: #1F72CD; color: #fff; }
.rl-co-brand--mc i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #EB001B; }
.rl-co-brand--mc i + i { margin-left: -5px; background: #F79E1B; mix-blend-mode: multiply; }

.rl-co-summary { position: sticky; top: 22px; }
.rl-co-summary__card { padding: 22px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); box-shadow: var(--pr-shadow); }
.rl-co-summary__card h2 { margin: 0 0 14px !important; font-family: var(--pr-display) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--pr-navy) !important; }
.rl-co-lines { display: grid; gap: 10px; margin: 0; }
.rl-co-lines > div { display: flex; justify-content: space-between; gap: 12px; }
.rl-co-lines dt { color: var(--pr-ink); font-weight: 600; }
.rl-co-lines dd { margin: 0; color: var(--pr-ink); font-weight: 600; white-space: nowrap; }
.rl-co-lines__minor dt, .rl-co-lines__minor dd { color: var(--pr-muted); font-weight: 500; font-size: 14px; }
.rl-co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 6px; padding-top: 14px; border-top: 1px solid var(--pr-line); }
.rl-co-total span { color: var(--pr-ink); font-weight: 700; }
.rl-co-total strong { color: var(--pr-navy); font-family: var(--pr-display); font-size: 30px; line-height: 1; }
.rl-co-next { margin: 0 0 16px; color: var(--pr-muted); font-size: 13.5px; line-height: 1.5; }
.rl-co-summary form { margin: 0; }
.rl-co-fine { display: flex; gap: 8px; margin: 12px 0 0; color: var(--pr-muted); font-size: 12.5px; line-height: 1.5; }
.rl-co-fine .material-symbols-rounded { flex: none; color: var(--pr-green); font-size: 18px; }
.rl-co-fine[hidden] { display: none; }
.rl-co-cancel { display: block; margin-top: 14px; color: var(--pr-muted) !important; font-size: 13.5px; text-align: center; }

/* ---------------------------------------------------------------- Payment result */
.rl-co-result { padding: 34px 30px; border: 1px solid var(--pr-line); border-radius: 18px; background: var(--pr-surface); box-shadow: var(--pr-shadow); text-align: center; }
.rl-co-result__icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 16px; border-radius: 50%; background: var(--pr-green-bg); color: var(--pr-green); }
.rl-co-result__icon .material-symbols-rounded { font-size: 38px; font-weight: 700; }
.rl-co-result__icon--wait { background: var(--pr-warn-bg); color: var(--pr-warn); }
.rl-co-result h1 { margin: 0 0 8px !important; font-family: var(--pr-display) !important; font-size: clamp(26px, 4vw, 32px) !important; color: var(--pr-navy) !important; }
.rl-co-result > p { margin: 0 auto; max-width: 480px; color: var(--pr-text); font-size: 16px; }
.rl-co-facts { display: grid; gap: 0; max-width: 460px; margin: 22px auto 0; padding: 4px 16px; border-radius: 12px; background: var(--pr-surface-2); text-align: left; }
.rl-co-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--pr-line); }
.rl-co-facts > div:last-child { border-bottom: 0; }
.rl-co-facts dt { color: var(--pr-muted); font-weight: 500; }
.rl-co-facts dd { margin: 0; color: var(--pr-ink); font-weight: 700; text-align: right; }
.rl-co-facts__sub { display: block; color: var(--pr-muted); font-size: 13px; font-weight: 500; }
.rl-co-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

.rl-co-next-steps { margin-top: 30px; }
.rl-co-next-steps h2 { margin: 0 0 14px !important; font-family: var(--pr-display) !important; font-size: 19px !important; color: var(--pr-navy) !important; text-align: center; }
.rl-co-next-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rl-co-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); color: var(--pr-text) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.rl-co-tile:hover { border-color: var(--pr-line-strong); box-shadow: var(--pr-shadow); }
.rl-co-tile .material-symbols-rounded { align-self: flex-start; color: var(--pr-sky); font-size: 28px; transform: none; }
.rl-co-tile strong { color: var(--pr-navy); font-size: 15px; }
.rl-co-tile span:last-child { font-size: 13.5px; line-height: 1.5; }

/* ---------------------------------------------------------------- Subscription page (inside the app) */
/* One column that never grows past the screen (a plain "auto" column grows to fit its widest content) */
.rl-sub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1100px; }
.rl-sub > * { min-width: 0; }
.rl-sub .rl-co-notice { margin: 0; }
.rl-sub-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rl-sub-head h2 { margin: 0 0 4px !important; }
.rl-sub-head p { margin: 0; color: var(--pr-text); }
.rl-sub-plan { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); box-shadow: var(--pr-shadow); }
.rl-sub-plan__main { flex: 1 1 420px; min-width: 0; }
.rl-sub-plan__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rl-sub-plan__title h2 { margin: 0 !important; font-size: 26px !important; }
.rl-sub-plan__price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 2px; }
.rl-sub-plan__price strong { color: var(--pr-navy); font-family: var(--pr-display); font-size: 32px; line-height: 1; }
.rl-sub-plan__price span { color: var(--pr-muted); font-weight: 600; }
.rl-sub-plan__when { margin: 6px 0 0; color: var(--pr-text); }
.rl-sub-plan__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rl-sub-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--pr-surface-2); color: var(--pr-text); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.rl-sub-chip--active { background: var(--pr-green-bg); color: var(--pr-green); }
.rl-sub-chip--ending { background: var(--pr-warn-bg); color: var(--pr-warn); }

.rl-sub-usage { max-width: 520px; margin-top: 18px; }
.rl-sub-usage__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.rl-sub-usage__head span { color: var(--pr-muted); }
.rl-sub-usage__head strong { color: var(--pr-ink); }
.rl-sub-usage__bar { height: 10px; border-radius: 999px; background: var(--pr-line); overflow: hidden; }
.rl-sub-usage__bar span { display: block; height: 100%; border-radius: inherit; background: var(--pr-sky); }
.rl-sub-usage.is-high .rl-sub-usage__bar span { background: #E8590C; }
.rl-sub-usage__hint { margin: 8px 0 0; color: #9A3412; font-size: 13.5px; }

.rl-sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rl-sub-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); }
.rl-sub-card h3 { margin: 0 !important; font-size: 17px !important; }
.rl-sub-card--flat { padding: 16px 18px; }
.rl-sub-card--table { align-items: stretch; }
.rl-sub-card__row { display: flex; align-items: center; gap: 12px; width: 100%; }
.rl-sub-card__row > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.rl-sub-card__row strong { color: var(--pr-ink); }
.rl-sub-card__row span { color: var(--pr-muted); font-size: 13.5px; }
.rl-sub-cardicon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--pr-sky-tint); color: var(--pr-info); }
.rl-sub-card__help { margin: 0; color: var(--pr-muted); font-size: 14px; }
.rl-sub-card__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-sub-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.rl-sub-link .material-symbols-rounded { font-size: 18px; }

.rl-sub-table-wrap { width: 100%; overflow-x: auto; }
.rl-sub-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rl-sub-table th { padding: 0 12px 10px 0; border-bottom: 1px solid var(--pr-line); color: var(--pr-muted); font-size: 12.5px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.rl-sub-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--pr-line); color: var(--pr-text); vertical-align: middle; }
.rl-sub-table tr:last-child td { border-bottom: 0; }
.rl-sub-table td strong { color: var(--pr-ink); font-weight: 600; }
.rl-sub-table__sub { display: block; color: var(--pr-muted); font-size: 12.5px; }
.rl-sub-table .is-num { text-align: right; white-space: nowrap; }
.rl-sub-table .is-nowrap { white-space: nowrap; }
.rl-sub-table .is-actions { text-align: right; }
.rl-sub-table__mdate { display: none; }

.rl-sub-more { padding: 16px 22px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); }
.rl-sub-more summary { color: var(--pr-navy); font-weight: 700; cursor: pointer; }
.rl-sub-log { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; }
.rl-sub-log li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; color: var(--pr-text); }
.rl-sub-log time { color: var(--pr-muted); }
.rl-sub-danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid #F6D2CE; border-radius: 12px; background: #FFF8F7; }
.rl-sub-danger div { display: flex; flex-direction: column; gap: 2px; }
.rl-sub-danger strong { color: var(--pr-red); }
.rl-sub-danger span { color: var(--pr-text); font-size: 13.5px; }
.rl-sub-explain { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--pr-info-bg); color: var(--pr-info); }
.rl-sub-explain p { margin: 0; color: inherit; font-size: 14px; line-height: 1.5; }

/* ---------------------------------------------------------------- Public price list */
.rl-pp-section { margin-top: 46px; }
.rl-pp-section h2 { margin: 0 0 6px !important; font-family: var(--pr-display) !important; font-size: 26px !important; color: var(--pr-navy) !important; text-align: center; }
.rl-pp-section__lead { margin: 0 auto 20px; max-width: 620px; color: var(--pr-text); text-align: center; }
.rl-pp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 26px; margin: 0; padding: 22px 24px; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); background: var(--pr-surface); list-style: none; }
.rl-pp-features li { position: relative; padding-left: 26px; color: var(--pr-text); font-size: 14.5px; }
.rl-pp-features li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--pr-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23106B3A' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rl-pp-faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.rl-pp-faq details { padding: 14px 18px; border: 1px solid var(--pr-line); border-radius: 12px; background: var(--pr-surface); }
.rl-pp-faq summary { color: var(--pr-ink); font-weight: 700; cursor: pointer; }
.rl-pp-faq p { margin: 10px 0 0; color: var(--pr-text); line-height: 1.6; }

/* ---------------------------------------------------------------- Plan box on the sign-up page */
.rl-reg-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 20px; padding: 14px 16px; border: 1.5px solid var(--pr-navy); border-radius: 12px; background: #F4F8FB; font-family: var(--pr-font); }
.rl-reg-plan__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.rl-reg-plan__label { color: var(--pr-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.rl-reg-plan__text strong { color: var(--pr-navy); font-family: var(--pr-display); font-size: 20px; }
.rl-reg-plan__text span:last-child { color: var(--pr-text); font-size: 14px; }
.rl-reg-plan__change { color: var(--pr-navy) !important; font-size: 14px; font-weight: 700; }
.rl-reg-plan__note { flex-basis: 100%; margin: 6px 0 0; color: var(--pr-muted); font-size: 13px; }

/* ---------------------------------------------------------------- Smaller screens */
@media (max-width: 1100px) {
    .rl-co-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 991.98px) {
    .rl-pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-co-grid { grid-template-columns: minmax(0, 1fr); }
    .rl-co-summary { position: static; }
    .rl-pp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .rl-est { grid-template-columns: minmax(0, 1fr); }
    .rl-sub-grid { grid-template-columns: minmax(0, 1fr); }
    .rl-co-next-steps__grid { grid-template-columns: minmax(0, 1fr); }
    .rl-sub-log li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 575.98px) {
    .rl-co-top__inner { gap: 10px; padding: 12px 16px; }
    .rl-co-top__who { display: none; }
    .rl-co-top__secure { padding: 4px 8px; font-size: 12px; }
    .rl-co-wrap { padding: 22px 16px 44px; }
    .rl-pc-grid { grid-template-columns: minmax(0, 1fr); }
    .rl-pc__desc { min-height: 0; }
    .rl-co-fields { grid-template-columns: minmax(0, 1fr); }
    .rl-co-panel, .rl-co-summary__card { padding: 18px 16px; }
    .rl-co-plan { flex-direction: column; align-items: flex-start; }
    .rl-co-plan__price { text-align: left; }
    .rl-co-result { padding: 26px 18px; }
    .rl-pp-features { grid-template-columns: minmax(0, 1fr); }
    .rl-sub-plan { padding: 18px 16px; }
    .rl-sub-plan__actions { width: 100%; }
    .rl-sub-plan__actions .rl-btn { flex: 1 1 100%; }
    .rl-co-notice { flex-wrap: wrap; }
    .rl-co-steps li + li::before { width: 14px; }
    /* Invoices on a phone: the date goes under the invoice name, "Download" becomes its icon */
    .rl-sub-table .is-date { display: none; }
    .rl-sub-table__mdate { display: block; }
    .rl-sub-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .rl-sub-table td, .rl-sub-table th { padding-right: 8px; }
}

/* ---------------------------------------------------------------- Pay outside the app (bank transfer) */
.rl-co-instructions { padding: 14px 16px; border-radius: 12px; background: var(--pr-surface-2); color: var(--pr-text); font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.rl-co-instructions p { margin: 0 0 8px; }
.rl-co-instructions > :last-child { margin-bottom: 0; }
.rl-co-wrap--narrow .rl-co-lines { margin-bottom: 4px; }
