/* =====================================================================================================================
   PaySalaryLoan - site-wide design system (psl-site.css)

   One stylesheet for every public page: the static website (index.html, about-us/, ...), the CodeIgniter journey
   templates (templates/header.php, footer.php) and the Apply Now page (public/css/apply-now.css builds on it).

   - Tokens:     custom properties on :root, all prefixed --psl-.
   - Components: classes prefixed .pl- (BEM: .pl-block__element--modifier). The prefix is unique on purpose: the older
                 site stylesheets (assets/styles.css, public/css/style.css, Bootstrap) still load on pages that have not
                 been redesigned yet, so nothing here may collide with them.
   - Base:       page-level typography is scoped to <body class="pl-page">, so adding this file to a page that is not
                 redesigned yet only changes the header and footer.
   - Behaviour:  public/js/psl-site.js (menu, Loans dropdown, tabs, FAQ accordion). No libraries.

   Palette from the PaySalaryLoan logo: navy wordmark, electric blue, mint speed-lines. Mobile-first; breakpoints
   576 / 768 / 992 / 1200 px. Shared header / footer markup lives in tools/site/partials/ (applied by tools/site/layout.py).
===================================================================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
    /* colour */
    --psl-navy-950: #050f2e;
    --psl-navy-900: #071a45;
    --psl-navy-800: #0b2768;
    --psl-blue: #0f62fe;
    --psl-blue-50: #f3f7ff;
    --psl-blue-100: #e6efff;
    --psl-blue-200: #c9dbff;
    --psl-mint: #12b07a;
    --psl-mint-600: #0b8a5e;
    --psl-mint-200: #bfe9d7;
    --psl-mint-50: #e6f7f0;
    --psl-mint-on-navy: #9fe3c8;
    --psl-amber: #b45309;
    --psl-amber-50: #fff4e0;
    --psl-red: #c62828;
    --psl-ink: #0d1b3a;
    --psl-ink-2: #44506b;
    --psl-ink-3: #5f6a84;
    --psl-line: #e3e8f2;
    --psl-white: #fff;
    --psl-on-navy: #c9d4ee;
    --psl-on-navy-2: #9fb0d6;
    --psl-grad: linear-gradient(135deg, var(--psl-blue), var(--psl-mint));
    --psl-grad-bar: linear-gradient(90deg, var(--psl-blue), var(--psl-mint));
    --psl-grad-navy: radial-gradient(circle at 100% 0%, rgba(18, 176, 122, .25), transparent 45%), linear-gradient(150deg, var(--psl-navy-900), var(--psl-navy-800));

    /* type */
    --psl-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --psl-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --psl-fs-xs: .76rem;
    --psl-fs-sm: .875rem;
    --psl-fs-md: 1rem;
    --psl-fs-lg: 1.1rem;
    --psl-fs-h3: 1.1rem;
    --psl-fs-h2: 1.55rem;
    --psl-fs-h1: 2rem;

    /* space (4px grid) */
    --psl-s1: 4px;
    --psl-s2: 8px;
    --psl-s3: 12px;
    --psl-s4: 16px;
    --psl-s5: 24px;
    --psl-s6: 32px;
    --psl-s7: 48px;
    --psl-s8: 64px;
    --psl-gutter: 16px;
    --psl-max: 1180px;

    /* shape */
    --psl-radius-sm: 12px;
    --psl-radius: 16px;
    --psl-radius-lg: 18px;
    --psl-pill: 999px;
    --psl-shadow-sm: 0 1px 2px rgba(7, 26, 69, .06), 0 1px 3px rgba(7, 26, 69, .05);
    --psl-shadow: 0 18px 48px rgba(7, 26, 69, .16);
    --psl-shadow-btn: 0 8px 20px rgba(15, 98, 254, .25);
    --psl-focus: #7aa7ff;
    --psl-header-h: 64px;
}
@media (min-width: 768px) { :root { --psl-gutter: 24px; } }

/* ---------------------------------------------------------------- base (redesigned pages only: <body class="pl-page">) */
.pl-page { margin: 0; font-family: var(--psl-font); font-size: 16px; line-height: 1.6; color: var(--psl-ink); background: var(--psl-white);
    -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
:where(.pl-page) *, :where(.pl-page) *::before, :where(.pl-page) *::after { box-sizing: border-box; }
:where(.pl-page) img { max-width: 100%; height: auto; }
:where(.pl-page) a { color: var(--psl-blue); }
:where(.pl-page) :where(h1, h2, h3, h4) { margin: 0 0 .5em; font-family: var(--psl-font-display); line-height: 1.25; color: var(--psl-ink); }
:where(.pl-page) p { margin: 0 0 1em; }
.pl-page [hidden] { display: none !important; }
:where(.pl-page) :focus-visible { outline: 3px solid var(--psl-focus); outline-offset: 2px; }
html:has(.pl-page) { scroll-behavior: smooth; scroll-padding-top: calc(var(--psl-header-h) + 12px); }
.pl-i { flex: none; }
.pl-wrap { width: 100%; max-width: calc(var(--psl-max) + 2 * var(--psl-gutter)); margin: 0 auto; padding: 0 var(--psl-gutter); }
.pl-skip { position: absolute; left: -999px; top: 8px; z-index: 1100; padding: 8px 14px; border-radius: 8px; color: #fff; background: var(--psl-navy-900); }
.pl-skip:focus { left: 8px; color: #fff; }

/* ---------------------------------------------------------------- text */
.pl-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: var(--psl-fs-xs); font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--psl-mint-600); }
.pl-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--psl-mint); }
.pl-h1 { margin: 0 0 12px; font-family: var(--psl-font-display); font-size: var(--psl-fs-h1); font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
    color: var(--psl-navy-900); }
.pl-h2 { margin: 0 0 24px; font-family: var(--psl-font-display); font-size: var(--psl-fs-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.01em;
    color: var(--psl-ink); }
.pl-h3 { margin: 0 0 14px; font-family: var(--psl-font-display); font-size: var(--psl-fs-h3); font-weight: 700; color: var(--psl-ink); }
.pl-lead { max-width: 34em; margin: 0 0 22px; font-size: 1.02rem; color: var(--psl-ink-2); }
.pl-small { margin: 0; font-size: .84rem; color: var(--psl-ink-3); }
.pl-small a { color: var(--psl-blue); font-weight: 600; }
.pl-link { font-size: .92rem; font-weight: 700; color: var(--psl-blue); text-decoration: underline; text-underline-offset: 3px; }
.pl-link:hover { color: var(--psl-navy-800); }
.pl-link--light { color: #fff; }
.pl-link--light:hover { color: var(--psl-mint-on-navy); }
.pl-prose { color: var(--psl-ink-2); }
.pl-prose p:last-child { margin-bottom: 0; }

.pl-h1 em, .pl-h2 em, .pl-cta h2 em { font-style: normal; color: var(--psl-blue); }
.pl-section--navy .pl-h2 em, .pl-cta h2 em { color: var(--psl-mint-on-navy); }

/* the "eyebrow" pill above a hero title */
.pl-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 12px; border-radius: var(--psl-pill); font-size: .78rem;
    font-weight: 600; color: var(--psl-navy-800); background: #fff; border: 1px solid var(--psl-blue-200); }
.pl-eyebrow svg { color: var(--psl-mint-600); }

/* highlighted amount chip inside a heading */
.pl-chip { display: inline-block; padding: 0 .28em; border-radius: 12px; white-space: nowrap; color: #fff; background: var(--psl-grad);
    box-shadow: var(--psl-shadow-btn); }

/* section header: kicker + title (+ optional lead) */
.pl-head { margin-bottom: 24px; }
.pl-head .pl-h2 { margin-bottom: 8px; }
.pl-head .pl-lead { margin-bottom: 0; }
.pl-head--center { text-align: center; }
.pl-head--center .pl-kicker { justify-content: center; }
.pl-head--center .pl-lead { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- buttons */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0;
    border-radius: var(--psl-radius-sm); cursor: pointer; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center;
    text-decoration: none; white-space: nowrap; transition: filter .15s, box-shadow .15s, background-color .15s, color .15s; }
.pl-btn:hover { text-decoration: none; }
.pl-btn--primary, a.pl-btn--primary { color: #fff; background: linear-gradient(135deg, var(--psl-blue), var(--psl-navy-800)); box-shadow: var(--psl-shadow-btn); }
.pl-btn--primary:hover, a.pl-btn--primary:hover { color: #fff; filter: brightness(1.08); }
.pl-btn--mint, a.pl-btn--mint { color: #fff; background: var(--psl-mint-600); box-shadow: 0 8px 20px rgba(11, 138, 94, .28); }
.pl-btn--mint:hover, a.pl-btn--mint:hover { color: #fff; filter: brightness(1.08); }
.pl-btn--ghost, a.pl-btn--ghost { color: var(--psl-navy-800); background: #fff; border: 1.5px solid var(--psl-blue-200); }
.pl-btn--ghost:hover, a.pl-btn--ghost:hover { color: var(--psl-navy-900); background: var(--psl-blue-50); }
.pl-btn--white, a.pl-btn--white { color: var(--psl-navy-900); background: #fff; }
.pl-btn--white:hover, a.pl-btn--white:hover { color: var(--psl-navy-900); background: var(--psl-blue-50); }
.pl-btn--outline-light, a.pl-btn--outline-light { color: #fff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); }
.pl-btn--outline-light:hover, a.pl-btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pl-btn--sm { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.pl-btn--block { display: flex; width: 100%; }
.pl-btn:disabled { cursor: not-allowed; color: #4d5870; background: #dfe4ee; box-shadow: none; filter: none; }
.pl-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- sections */
.pl-section { padding: 48px 0; }
.pl-section--tint { background: var(--psl-blue-50); }
.pl-section--tight { padding: 32px 0; }
.pl-section[id], .pl-section [id] { scroll-margin-top: 76px; }

/* ---------------------------------------------------------------- hero: light band with a navy panel
   Mobile: a navy band with a curved lower edge across the top. From 992px: a diagonal navy panel on the right.
   .pl-hero--simple: a shorter page hero (breadcrumb + title + lead) with the navy panel as a slim diagonal. */
.pl-hero { position: relative; padding: 16px 0 36px; background: var(--psl-blue-50); overflow: hidden; isolation: isolate; }
.pl-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 360px;
    background: radial-gradient(circle at 90% 10%, rgba(18, 176, 122, .28), transparent 40%), linear-gradient(150deg, var(--psl-navy-900), var(--psl-navy-800));
    border-radius: 0 0 50% 50% / 0 0 48px 48px; }
.pl-hero--simple { padding: 20px 0 32px; }
/* phones / tablets: the navy panel shrinks to an accent bar under the hero so it never sits behind the title */
.pl-hero--simple::before { inset: auto 0 0 0; height: 6px; border-radius: 0; background: var(--psl-grad-bar); }
.pl-hero--simple .pl-hero__body > * { max-width: 720px; }
.pl-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pl-hero__panel { position: relative; }   /* the right-hand column that sits on the navy panel */
/* .pl-hero--lead: the intro comes first on phones (the Apply page puts its form first), so below 992px the navy band
   moves from behind the intro to behind the panel */
.pl-hero--lead::before { display: none; }
.pl-hero--lead .pl-hero__panel { padding: 22px 16px; margin: 0 calc(-1 * var(--psl-gutter)); background: var(--psl-grad-navy); }

/* the four points: 2 x 2 icon grid */
.pl-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pl-points li { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--psl-line); }
.pl-points__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--psl-blue); background: var(--psl-blue-100); }
.pl-points li:nth-child(even) .pl-points__ic { color: var(--psl-mint-600); background: var(--psl-mint-50); }
.pl-points strong { display: block; font-size: .9rem; font-weight: 700; line-height: 1.3; color: var(--psl-ink); }
.pl-points small { display: block; margin-top: 2px; font-size: .78rem; color: var(--psl-ink-3); }

/* small trust pills */
.pl-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.pl-trust li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--psl-pill); font-size: .72rem; font-weight: 600;
    color: var(--psl-ink-2); background: var(--psl-blue-50); border: 1px solid var(--psl-line); }
.pl-trust svg { color: var(--psl-mint-600); }
.pl-trust--start { justify-content: flex-start; }

/* ---------------------------------------------------------------- breadcrumb */
.pl-crumbs { margin: 0 0 14px; font-size: .82rem; }
.pl-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.pl-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--psl-ink-3); }
.pl-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.pl-crumbs a { font-weight: 600; color: var(--psl-navy-800); text-decoration: none; }
.pl-crumbs a:hover { color: var(--psl-blue); text-decoration: underline; }
.pl-crumbs [aria-current] { color: var(--psl-ink-2); }

/* ---------------------------------------------------------------- cards */
/* white card with a gradient accent bar on top (the Apply form card) */
.pl-card { position: relative; padding: 26px 18px 18px; border-radius: var(--psl-radius-lg); background: #fff; color: var(--psl-ink);
    box-shadow: var(--psl-shadow); overflow: hidden; }
.pl-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--psl-grad-bar); }

/* plain bordered box (checklist card, document card, info blocks) */
.pl-box { padding: 20px; border-radius: var(--psl-radius); background: #fff; border: 1px solid var(--psl-line); }
.pl-box--soft { background: linear-gradient(180deg, #fff, var(--psl-blue-50)); }
.pl-box > :last-child { margin-bottom: 0; }

/* navy box (documents checklist, "Key facts", "What to have on hand") */
.pl-box--navy { color: #dbe6ff; background: var(--psl-grad-navy); border-color: transparent; }
.pl-box--navy .pl-h3 { color: #fff; }
.pl-box--navy .pl-ticks li { color: #dbe6ff; }
.pl-box--navy .pl-ticks strong { color: #fff; }
.pl-box--navy .pl-tick { color: var(--psl-navy-900); background: var(--psl-mint-on-navy); }

/* two-up grid of boxes */
.pl-duo { display: grid; gap: 14px; }

/* cards with coloured icon badges (3 x 2 on desktop) */
.pl-features { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pl-features > li, .pl-features > a { display: block; padding: 18px; border-radius: var(--psl-radius); background: #fff; border: 1px solid var(--psl-line); color: inherit;
    text-decoration: none; }
.pl-features > a { transition: border-color .15s, box-shadow .15s, transform .15s; }
.pl-features > a:hover { border-color: var(--psl-blue-200); box-shadow: var(--psl-shadow-sm); transform: translateY(-2px); text-decoration: none; }
.pl-features h3 { margin: 12px 0 4px; font-family: var(--psl-font-display); font-size: 1rem; font-weight: 700; color: var(--psl-ink); }
.pl-features p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--psl-ink-2); }
.pl-features--links > li { padding: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pl-features--links > li > a { display: block; height: 100%; padding: 18px; border-radius: inherit; color: inherit; text-decoration: none; }
.pl-features--links > li:hover { border-color: var(--psl-blue-200); box-shadow: var(--psl-shadow-sm); transform: translateY(-2px); }
.pl-features--links > li > a:hover { text-decoration: none; }
.pl-features--links > li > a:focus-visible { outline: 3px solid var(--psl-focus); outline-offset: 2px; }
.pl-features__go { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 700; color: var(--psl-blue); }
.pl-badge { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.pl-badge--blue { color: var(--psl-blue); background: var(--psl-blue-100); }
.pl-badge--mint { color: var(--psl-mint-600); background: var(--psl-mint-50); }
.pl-badge--navy { color: #fff; background: var(--psl-navy-800); }
.pl-badge--amber { color: var(--psl-amber); background: var(--psl-amber-50); }

/* note with a blue accent bar on the left */
.pl-callout { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--psl-radius-sm); font-size: .9rem; line-height: 1.55; color: var(--psl-ink-2);
    background: #fff; border-left: 4px solid var(--psl-blue); }
.pl-callout strong { color: var(--psl-ink); }
.pl-callout--mint { border-left-color: var(--psl-mint); }
.pl-callout--amber { border-left-color: var(--psl-amber); background: var(--psl-amber-50); }

/* checklist: mint ticks */
.pl-ticks { display: grid; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.pl-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--psl-ink-2); }
.pl-ticks strong { display: block; color: var(--psl-ink); }
.pl-tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--psl-mint); }
.pl-tick svg { stroke-width: 2.6; }
.pl-tick--navy { background: var(--psl-navy-800); font-size: .8rem; font-weight: 800; }

/* icon tiles (documents) */
.pl-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.pl-tiles li { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--psl-radius-sm); font-size: .88rem; font-weight: 600; line-height: 1.35;
    background: #fff; border: 1px dashed var(--psl-blue-200); }
.pl-tiles__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--psl-blue); background: var(--psl-blue-100); }

/* ---------------------------------------------------------------- timeline (vertical on mobile, horizontal from 768px) */
.pl-timeline { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.pl-timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 19px; width: 2px; background: linear-gradient(var(--psl-blue), var(--psl-mint)); }
.pl-timeline li { position: relative; padding-left: 58px; }
.pl-timeline__node { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    font-weight: 800; color: #fff; background: var(--psl-navy-800); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--psl-blue-200); }
.pl-section--tint .pl-timeline__node { box-shadow: 0 0 0 5px var(--psl-blue-50), 0 0 0 6px var(--psl-blue-200); }
.pl-timeline li:last-child .pl-timeline__node { background: var(--psl-mint); }
.pl-timeline h3 { margin: 8px 0 4px; font-family: var(--psl-font-display); font-size: 1.02rem; font-weight: 700; color: var(--psl-ink); }
.pl-timeline p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--psl-ink-2); }
.pl-timeline__time { display: block; margin-top: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--psl-mint-600); }
.pl-timeline--4 { --pl-steps: 4; }

/* ---------------------------------------------------------------- tabs: underline tabs with icons and a sliding gradient bar
   Markup: .pl-tabs > .pl-tabs__list[role=tablist] > button[role=tab] ... + span.pl-tabs__bar ; .pl-tabs__panel[role=tabpanel]
   Every panel is in the HTML; psl-site.js hides the inactive ones (without script they are stacked). */
.pl-tabs__list { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin-bottom: 20px;
    border-bottom: 2px solid var(--psl-blue-200); }
.pl-tabs__list [role="tab"] { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 12px; border: 0;
    background: transparent; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; color: var(--psl-ink-3); transition: color .15s; }
.pl-tabs__list [role="tab"]:hover { color: var(--psl-ink); }
.pl-tabs__list [role="tab"][aria-selected="true"] { color: var(--psl-navy-800); }
.pl-tabs__list [role="tab"][aria-selected="true"] svg { color: var(--psl-blue); }
.pl-tabs__list [role="tab"]:focus-visible { outline: 3px solid var(--psl-focus); outline-offset: -3px; border-radius: 8px; }
/* fallback underline (no script); once the script runs the sliding bar takes over */
.pl-tabs__list [role="tab"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--psl-blue); }
.pl-tabs__list.is-ready [role="tab"][aria-selected="true"] { box-shadow: none; }
.pl-tabs__bar { position: absolute; left: 0; bottom: -2px; width: 0; height: 3px; border-radius: 3px; display: none; background: var(--psl-grad-bar);
    transition: transform .25s ease, width .25s ease; }
.pl-tabs__list.is-ready .pl-tabs__bar { display: block; }
.pl-tabs__panel { padding: 0; }
.pl-tabs__panel[hidden] { display: none; }
.pl-tabs__panel + .pl-tabs__panel { margin-top: 32px; }   /* no script: panels stacked */
.pl-tabs__panel[hidden] + .pl-tabs__panel,
.pl-tabs__panel + .pl-tabs__panel[hidden] { margin-top: 0; }

/* ---------------------------------------------------------------- "Loan at a glance": navy stat panel */
.pl-glance { margin-bottom: 24px; overflow: hidden; border-radius: var(--psl-radius-lg); color: #fff; background: var(--psl-grad-navy); }
.pl-glance__title { margin: 0; padding: 16px 18px 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--psl-mint-on-navy); }
/* 1px gaps over a light background = thin dividers between the cells */
.pl-glance__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: rgba(255, 255, 255, .14);
    border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pl-glance__grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 14px 16px; background: var(--psl-navy-900); }
.pl-glance__grid dt { font-size: .76rem; font-weight: 500; color: #b9c8ea; }
.pl-glance__grid dd { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: #fff; }
.pl-glance__grid dd small { display: block; margin-top: 3px; font-size: .72rem; font-weight: 500; color: var(--psl-mint-on-navy); }
.pl-glance__foot { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 18px; font-size: .8rem; color: #dbe6ff; background: rgba(0, 0, 0, .18); }
.pl-glance__foot svg { margin-top: 2px; color: var(--psl-mint-on-navy); }
.pl-glance__foot a { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- statement / receipt rows (label left, amount right) */
.pl-rows { margin: 0; }
.pl-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--psl-line); font-size: .92rem; }
.pl-rows > div:last-child { border-bottom: 0; }
.pl-rows dt { color: var(--psl-ink-2); }
.pl-rows dd { margin: 0; font-weight: 700; text-align: right; color: var(--psl-ink); font-variant-numeric: tabular-nums; }
.pl-rows__sub { border-top: 1px solid var(--psl-line); }
.pl-rows__total dt, .pl-rows__total dd { font-size: 1.02rem; font-weight: 800; color: var(--psl-navy-900); }

/* ---------------------------------------------------------------- tables */
.pl-table-wrap { overflow-x: auto; border-radius: var(--psl-radius); background: #fff; border: 1px solid var(--psl-line); -webkit-overflow-scrolling: touch; }
.pl-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pl-table th, .pl-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--psl-line); }
.pl-table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #fff; background: var(--psl-navy-800); }
.pl-table tbody tr:last-child td { border-bottom: 0; }
.pl-table tbody tr:nth-child(even) td { background: var(--psl-blue-50); }
.pl-table td:first-child { font-weight: 600; color: var(--psl-ink); }
.pl-table td { color: var(--psl-ink-2); }
.pl-table--num td { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* stacked rows on phones: each cell shows its column name (data-label) */
@media (max-width: 575.98px) {
    .pl-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .pl-table--stack tr { display: block; padding: 6px 0; border-bottom: 1px solid var(--psl-line); }
    .pl-table--stack tbody tr:last-child { border-bottom: 0; }
    .pl-table--stack td { position: relative; display: block; padding: 6px 14px 6px calc(40% + 14px); border: 0; white-space: normal; text-align: right; }
    .pl-table--stack td::before { content: attr(data-label); position: absolute; top: 6px; left: 14px; width: 38%; font-weight: 600; text-align: left; color: var(--psl-ink-3); }
    .pl-table--stack td:first-child { font-size: 1rem; }
    .pl-table--stack tbody tr:nth-child(even) td { background: transparent; }
}

/* ---------------------------------------------------------------- FAQ: one card, divided rows, mint accent bar on the open row
   Two markups share the look: <details class="pl-faq__item"><summary class="pl-faq__q">  (static pages, no script needed)
   and .pl-faq__item > h3 > button.pl-faq__q[aria-expanded] + .pl-faq__a (accordion driven by psl-site.js). */
.pl-faq-wrap { display: grid; gap: 20px; }
.pl-faq { overflow: hidden; border-radius: var(--psl-radius); background: #fff; border: 1px solid var(--psl-line); }
.pl-faq__item { position: relative; margin: 0; }
.pl-faq__item + .pl-faq__item { border-top: 1px solid var(--psl-line); }
.pl-faq__item h3 { margin: 0; font-size: 1rem; }
.pl-faq__q { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 16px; border: 0; background: none; cursor: pointer;
    font: inherit; font-weight: 700; text-align: left; color: var(--psl-ink); list-style: none; }
.pl-faq__q::-webkit-details-marker { display: none; }
.pl-faq__q svg { color: var(--psl-blue); }
.pl-faq__q span { flex: 1 1 auto; }
.pl-faq__q::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--psl-ink-3);
    border-bottom: 2px solid var(--psl-ink-3); transform: rotate(45deg); transition: transform .2s; }
.pl-faq__q[aria-expanded="true"]::after, details[open] > .pl-faq__q::after { transform: rotate(-135deg); }
.pl-faq__q[aria-expanded="true"], details[open] > .pl-faq__q { color: var(--psl-navy-800); }
.pl-faq__item:has(.pl-faq__q[aria-expanded="true"])::before,
details.pl-faq__item[open]::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--psl-mint); }
.pl-faq__q:focus-visible { outline: 3px solid var(--psl-focus); outline-offset: -3px; }
.pl-faq__a { padding: 0 16px 18px 48px; font-size: .93rem; color: var(--psl-ink-2); }
.pl-faq__a p { margin: 0; }
.pl-faq__a p + p { margin-top: .6em; }
.pl-faq__a[hidden] { display: none; }

/* ---------------------------------------------------------------- quick start: mobile number + button (assets/app.js [data-quickstart]) */
.pl-quick { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 0 0 8px; }
.pl-phone { display: flex; flex: 1 1 220px; align-items: stretch; min-width: 0; overflow: hidden; border-radius: var(--psl-radius-sm); background: #fff;
    border: 1.5px solid #c3cbdc; transition: border-color .15s, box-shadow .15s; }
.pl-phone > span { display: flex; align-items: center; padding: 0 12px; font-weight: 600; color: var(--psl-ink-2); background: var(--psl-blue-50);
    border-right: 1px solid var(--psl-line); }
.pl-phone input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 12px; border: 0; outline: 0; background: transparent; font: inherit;
    font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; color: var(--psl-ink); }
.pl-phone input::placeholder { font-weight: 400; letter-spacing: 0; color: #8a93a8; }
.pl-phone:focus-within { border-color: var(--psl-blue); box-shadow: 0 0 0 4px rgba(15, 98, 254, .15); }
.pl-phone.is-invalid { border-color: var(--psl-red); }
.pl-quick .pl-btn { flex: 1 1 auto; min-height: 53px; }
.pl-fine { margin: 0 0 18px; font-size: .82rem; color: var(--psl-ink-3); }

/* small fact row (Decision ~10 min · Tenure 7-40 days ...) */
.pl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 520px; margin: 0; overflow: hidden;
    border-radius: 14px; background: var(--psl-line); border: 1px solid var(--psl-line); }
.pl-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 12px; background: #fff; }
.pl-stats dt { font-size: .74rem; color: var(--psl-ink-3); }
.pl-stats dd { margin: 0; font-family: var(--psl-font-display); font-size: 1.1rem; font-weight: 800; color: var(--psl-navy-900); }

/* ---------------------------------------------------------------- card head + quick-start card in a hero
   .pl-card__badge / __title / __sub: the head of a hero card (product, amount, purpose, city, calculator and repay pages).
   .pl-start-card: the hero card with the mobile-number quick-start form (.pl-start-card__form), consent / fine print and a
   link down to the general loan calculator (.pl-start-card__calc -> #calculator). The calculator itself is
   public/css/psl-calculator.css (markup: tools/site/partials/calculator.html between the psl:calculator markers). */
.pl-card__badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 4px 10px; border-radius: var(--psl-pill);
    font-size: var(--psl-fs-xs); font-weight: 700; line-height: 1.35; color: var(--psl-mint-600); background: var(--psl-mint-50); }
.pl-card__title { margin: 0 0 2px; font-family: var(--psl-font-display); font-size: 1.28rem; font-weight: 800; line-height: 1.25; color: var(--psl-navy-900); }
.pl-card__sub { margin: 0 0 16px; font-size: var(--psl-fs-sm); color: var(--psl-ink-3); }
.pl-start-card__form { max-width: none; }
.pl-start-card__form .pl-btn { gap: 8px; }
.pl-start-card__consent { margin: 4px 0 0; font-size: .78rem; color: var(--psl-ink-3); }
.pl-start-card__fine { margin: 0; }
.pl-start-card__consent a, .pl-start-card__fine a { font-weight: 600; color: var(--psl-navy-800); }
.pl-start-card__calc { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 12px 0 0;
    border-top: 1px dashed var(--psl-line); font-size: var(--psl-fs-sm); font-weight: 700; color: var(--psl-blue); text-decoration: none; }
.pl-start-card__calc:hover span { text-decoration: underline; }

/* the general loan calculator in its own section under the hero; .pl-calc-host may carry data-psl-calc-* start values */
.pl-calc-section { border-top: 1px solid var(--psl-line); }
.pl-calc-host { min-width: 0; }
.pl-calc-host[id] { scroll-margin-top: calc(var(--psl-header-h) + 12px); }

/* ---------------------------------------------------------------- link pills (other amounts / cities / areas) */
.pl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pl-pills--center { justify-content: center; }
.pl-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--psl-pill); font-size: .9rem;
    font-weight: 600; color: var(--psl-navy-800); background: #fff; border: 1px solid var(--psl-blue-200); text-decoration: none;
    transition: background-color .15s, color .15s, border-color .15s; }
a.pl-pill:hover { color: #fff; background: var(--psl-navy-800); border-color: var(--psl-navy-800); text-decoration: none; }
.pl-pill--static { min-height: 34px; padding: 4px 12px; font-size: .86rem; color: var(--psl-ink-2); background: var(--psl-blue-50); border-color: var(--psl-line); }
.pl-pill--static svg { width: 14px; height: 14px; color: var(--psl-mint-600); }

/* ---------------------------------------------------------------- quote */
.pl-quote { margin: 0; padding: 22px; border-radius: var(--psl-radius); background: #fff; border: 1px solid var(--psl-line); border-top: 4px solid var(--psl-mint); }
.pl-quote blockquote { margin: 0 0 14px; font-family: var(--psl-font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--psl-ink); }
.pl-quote figcaption { font-size: .88rem; color: var(--psl-ink-2); }
.pl-quote figcaption b { color: var(--psl-ink); }
.pl-quote__note { margin: 12px 0 0; font-size: .76rem; color: var(--psl-amber); }

/* two columns: copy + box (stacked on phones) */
.pl-split { display: grid; gap: 28px; }
.pl-split > * { min-width: 0; }

/* navy section (dark band inside a page) */
.pl-section--navy { color: #dbe6ff; background: var(--psl-grad-navy); }
.pl-section--navy .pl-h2 { color: #fff; }
.pl-section--navy .pl-kicker { color: var(--psl-mint-on-navy); }
.pl-section--navy .pl-lead { color: #dbe6ff; }

/* ---------------------------------------------------------------- CTA band ("Check your eligibility") */
.pl-cta { position: relative; display: grid; gap: 18px; padding: 28px 22px; overflow: hidden; border-radius: var(--psl-radius-lg); color: #fff; background: var(--psl-grad-navy); }
.pl-cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(18, 176, 122, .22); pointer-events: none; }
.pl-cta h2 { margin: 0 0 6px; font-family: var(--psl-font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.25; color: #fff; }
.pl-cta p { margin: 0; color: #dbe6ff; }
.pl-cta .pl-btns { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- floating WhatsApp button */
.pl-wa { position: fixed; right: 16px; bottom: 16px; z-index: 1031; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    color: #fff; background: #25d366; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: opacity .2s, transform .2s, visibility .2s; }
.pl-wa:hover { color: #fff; background: #1ebe5b; }
.pl-wa.is-hidden { visibility: hidden; opacity: 0; transform: translateY(12px); pointer-events: none; }

/* mobile sticky "Apply" bar (markup .mobile-cta, shown by assets/app.js) on redesigned pages */
.pl-page .mobile-cta { display: none; }
@media (max-width: 991.98px) {
    .pl-page .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--psl-line);
        box-shadow: 0 -8px 24px -12px rgba(7, 26, 69, .2); transform: translateY(110%); transition: transform .25s ease; }
    .pl-page .mobile-cta.is-visible { transform: none; }
    .pl-page .mobile-cta div { flex: 1; font-size: .78rem; line-height: 1.3; color: var(--psl-ink-3); }
    .pl-page .mobile-cta strong { display: block; font-size: .95rem; color: var(--psl-navy-900); }
    .pl-page .mobile-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--psl-radius-sm); font-weight: 700;
        color: #fff; background: linear-gradient(135deg, var(--psl-blue), var(--psl-navy-800)); text-decoration: none; }
}

/* =====================================================================================================================
   SITE HEADER (tools/site/partials/header.html). Self-contained: it also renders inside Bootstrap / older stylesheets.
===================================================================================================================== */
.pl-topbar { font-family: var(--psl-font); font-size: .8rem; line-height: 1.4; color: var(--psl-on-navy); background: var(--psl-navy-950); }
.pl-topbar__in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
.pl-topbar p { display: flex; align-items: center; gap: 6px; margin: 0; }
.pl-topbar svg { color: var(--psl-mint-on-navy); }
.pl-topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pl-topbar a:hover { color: var(--psl-mint-on-navy); }
.pl-topbar__extra { display: none !important; }

.pl-header { position: sticky; top: 0; z-index: 1020; font-family: var(--psl-font); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--psl-line);
    transition: box-shadow .2s; }
.pl-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(7, 26, 69, .35); }
.pl-header *, .pl-header *::before, .pl-header *::after { box-sizing: border-box; }
.pl-header__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--psl-header-h); }
.pl-header__logo { display: block; flex: none; }
.pl-header__logo img { display: block; width: 136px; height: auto; max-width: none; }
.pl-header__actions { display: flex; align-items: center; gap: 8px; }
.pl-header__repay { display: none; padding: 8px 10px; font-size: .92rem; font-weight: 600; color: var(--psl-navy-800); text-decoration: none; }
.pl-header__repay:hover { color: var(--psl-blue); text-decoration: underline; }
.pl-header .pl-btn--sm { min-height: 40px; padding: 0 12px; font-size: .86rem; }

/* hamburger (mobile) */
.pl-menu { display: inline-grid; place-content: center; gap: 4px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--psl-line); border-radius: 10px;
    background: #fff; cursor: pointer; }
.pl-menu span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--psl-navy-900); transition: transform .2s, opacity .2s; }
.pl-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pl-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pl-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.pl-menu:focus-visible, .pl-nav__link:focus-visible, .pl-mega a:focus-visible { outline: 3px solid var(--psl-focus); outline-offset: 2px; }

/* nav: a drop-down panel on mobile, inline from 992px */
.pl-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--psl-header-h)); overflow-y: auto; padding: 8px var(--psl-gutter) 20px; background: #fff;
    border-top: 1px solid var(--psl-line); box-shadow: 0 18px 30px -18px rgba(7, 26, 69, .35); }
.pl-nav.is-open { display: block; }
.pl-nav__list { margin: 0; padding: 0; list-style: none; }
.pl-nav__list > li { margin: 0; border-bottom: 1px solid var(--psl-line); }
.pl-nav__link { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 14px 4px; border: 0; background: none;
    cursor: pointer; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.3; text-align: left; color: var(--psl-ink); text-decoration: none; }
.pl-nav__link:hover { color: var(--psl-blue); text-decoration: none; }
.pl-nav__link[aria-current="page"] { color: var(--psl-blue); }
.pl-nav__btn svg { transition: transform .2s; }
.pl-nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pl-nav__cta { margin-top: 16px; }

/* Loans panel */
.pl-mega { display: none; padding: 4px 0 14px; }
.pl-nav__drop.is-open .pl-mega { display: grid; gap: 14px; }
.pl-mega ul { margin: 0; padding: 0; list-style: none; }
.pl-mega__label { margin: 6px 0 6px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--psl-mint-600); }
.pl-mega__product { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--psl-ink); text-decoration: none; }
.pl-mega__product:hover { background: var(--psl-blue-50); text-decoration: none; color: var(--psl-ink); }
.pl-mega__product b { display: block; font-size: .92rem; font-weight: 700; line-height: 1.3; }
.pl-mega__product small { display: block; font-size: .78rem; color: var(--psl-ink-3); }
.pl-mega__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: var(--psl-blue); background: var(--psl-blue-100); }
.pl-mega__product:nth-child(even) .pl-mega__ic, li:nth-child(even) > .pl-mega__product .pl-mega__ic { color: var(--psl-mint-600); background: var(--psl-mint-50); }
.pl-mega__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-mega__chips a { display: inline-block; padding: 6px 10px; border-radius: var(--psl-pill); font-size: .82rem; font-weight: 600; color: var(--psl-navy-800);
    background: #fff; border: 1px solid var(--psl-blue-200); text-decoration: none; }
.pl-mega__chips a:hover { color: #fff; background: var(--psl-navy-800); border-color: var(--psl-navy-800); text-decoration: none; }
.pl-mega__soft { padding: 12px; border-radius: 14px; background: var(--psl-blue-50); }

/* =====================================================================================================================
   SITE FOOTER (tools/site/partials/footer.html): compact navy band
===================================================================================================================== */
.pl-footer { font-family: var(--psl-font); font-size: .86rem; line-height: 1.6; color: var(--psl-on-navy); background: var(--psl-navy-950); }
.pl-footer *, .pl-footer *::before, .pl-footer *::after { box-sizing: border-box; }
.pl-footer .pl-wrap { padding-top: 40px; padding-bottom: 24px; }
.pl-footer a { color: #fff; text-decoration: none; }
.pl-footer a:hover { color: var(--psl-mint-on-navy); text-decoration: underline; }
.pl-footer p { margin: 0 0 10px; }
.pl-footer ul { margin: 0; padding: 0; list-style: none; }
.pl-footer__top { display: grid; gap: 28px; padding-bottom: 28px; }
.pl-footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--psl-font-display); font-size: 1.25rem;
    font-weight: 800; color: #fff; }
.pl-footer__brand img { display: block; width: 36px; height: 36px; border-radius: 9px; background: #fff; }
.pl-footer__brand b { color: var(--psl-mint-on-navy); }
.pl-footer__brand:hover { text-decoration: none !important; }
.pl-footer__about > p { max-width: 30em; }
.pl-footer__safe { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: .82rem; color: #dbe6ff; background: rgba(255, 255, 255, .06);
    border-left: 3px solid var(--psl-mint); }
.pl-footer__safe svg { margin-top: 3px; color: var(--psl-mint-on-navy); }
.pl-footer__contact { display: grid; gap: 8px; margin: 14px 0 !important; }
.pl-footer__contact li { display: flex; align-items: flex-start; gap: 8px; }
.pl-footer__contact svg { margin-top: 3px; color: var(--psl-mint-on-navy); }
.pl-footer__contact small { color: var(--psl-on-navy-2); }
.pl-footer__social { display: flex; gap: 8px; }
.pl-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: .74rem; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .22); }
.pl-footer__social a:hover { color: var(--psl-navy-950); background: var(--psl-mint-on-navy); border-color: var(--psl-mint-on-navy); text-decoration: none; }
.pl-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.pl-footer__h { margin: 0 0 10px; font-family: var(--psl-font); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    line-height: 1.4; color: var(--psl-mint-on-navy); }
.pl-footer__col li + li { margin-top: 6px; }
.pl-footer__seo { display: grid; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.pl-footer__seo .pl-footer__h { margin-bottom: 6px; }
.pl-footer__seo p { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.pl-footer__seo a { color: var(--psl-on-navy); }
.pl-footer__legal { padding: 18px 0; font-size: .8rem; color: var(--psl-on-navy-2); border-top: 1px solid rgba(255, 255, 255, .12); }
.pl-footer__legal h5 { margin: 0 0 8px; font-family: var(--psl-font); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--psl-mint-on-navy); }
.pl-footer__legal p, .pl-footer__legal .small { margin: 0 0 8px; font-size: .8rem; }
.pl-footer__legal p:last-child { margin-bottom: 0; }
.pl-footer__legal strong { color: #fff; }
.pl-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-top: 16px; font-size: .8rem; color: var(--psl-on-navy-2);
    border-top: 1px solid rgba(255, 255, 255, .12); }
.pl-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 576px) {
    .pl-card { padding: 30px 26px 22px; }
    .pl-glance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pl-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pl-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-topbar__extra { display: flex !important; }
    .pl-topbar__in { justify-content: space-between; }
    .pl-header__logo img { width: 150px; }
    .pl-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pl-cta { padding: 32px; }
}
@media (min-width: 768px) {
    :root { --psl-fs-h2: 1.8rem; }
    .pl-section { padding: 64px 0; }
    .pl-section--tight { padding: 40px 0; }
    .pl-hero--simple { padding: 28px 0 44px; }
    .pl-timeline { grid-template-columns: repeat(var(--pl-steps, 3), minmax(0, 1fr)); gap: 28px; }
    .pl-timeline::before { top: 19px; bottom: auto; left: 20px; right: calc(100% / var(--pl-steps, 3) - 20px); width: auto; height: 2px; background: var(--psl-grad-bar); }
    .pl-timeline li { padding: 58px 12px 0 0; }
    .pl-box--navy { padding: 24px; }
    .pl-tabs__list { max-width: 560px; }
    .pl-tabs__list [role="tab"] { flex-direction: row; justify-content: center; gap: 8px; font-size: 1rem; }
    .pl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-faq-wrap { grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 40px; }
    .pl-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 36px 40px; }
    .pl-cta h2 { font-size: 1.7rem; }
    .pl-footer__seo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 992px) {
    :root { --psl-fs-h1: 3rem; --psl-header-h: 72px; }
    .pl-hero { padding: 56px 0 64px; }
    /* navy diagonal panel on the right */
    .pl-hero::before { inset: 0 0 0 auto; width: 46%; height: auto; border-radius: 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
    .pl-hero--simple { padding: 40px 0 56px; }
    .pl-hero--simple::before { inset: 0 0 0 auto; width: 34%; height: auto;
        background: radial-gradient(circle at 90% 10%, rgba(18, 176, 122, .28), transparent 40%), linear-gradient(150deg, var(--psl-navy-900), var(--psl-navy-800));
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
    .pl-hero--simple .pl-hero__body > * { max-width: min(720px, 60%); }
    .pl-hero__grid { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 48px; align-items: center; }
    .pl-hero--lead::before { display: block; }
    .pl-hero--lead .pl-hero__panel { padding: 0; margin: 0; background: none; }
    .pl-lead { font-size: 1.12rem; }
    .pl-points li { flex-direction: row; align-items: center; gap: 12px; }
    .pl-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pl-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .pl-header__logo img { width: 160px; }
    .pl-menu { display: none; }
    .pl-nav { position: static; display: block; max-height: none; overflow: visible; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; }
    .pl-nav__list { display: flex; align-items: center; gap: 2px; }
    .pl-nav__list > li { position: relative; border: 0; }
    .pl-nav__link { width: auto; padding: 10px 10px; font-size: .94rem; border-radius: 8px; }
    .pl-nav__link:hover { background: var(--psl-blue-50); }
    .pl-nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--psl-blue); border-radius: 0; }
    .pl-nav__mobile, .pl-nav__cta { display: none !important; }
    .pl-mega { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 5; width: 640px; padding: 16px; border-radius: var(--psl-radius);
        background: #fff; border: 1px solid var(--psl-line); box-shadow: var(--psl-shadow); }
    .pl-nav__drop.is-open .pl-mega { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
    /* hover opens the panel without script on pointer devices */
    .pl-nav__drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }   /* hover bridge */
}
@media (min-width: 992px) and (hover: hover) {
    .pl-nav__drop:hover .pl-mega { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
}
@media (min-width: 992px) {
    .pl-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
    .pl-split--top { align-items: start; }
    .pl-split--wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .pl-footer__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr); gap: 48px; }
}
@media (min-width: 1200px) {
    .pl-header__repay { display: inline-block; }
    .pl-nav__link { padding: 10px 12px; }
    .pl-hero__grid { grid-template-columns: minmax(0, 1fr) 450px; column-gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .pl-page *, .pl-header *, .pl-footer * { transition: none !important; }
    html:has(.pl-page) { scroll-behavior: auto; }
}

/* =====================================================================================================================
   RESPONSIVE GUARANTEES (tools/site/responsive_audit.py): 320-1440 px and landscape phones.
   - tap targets: nav, footer and form links / buttons are at least 40 px in both directions;
   - text: nothing under 14 px below 768 px; form controls 16 px (iOS does not zoom on focus);
   - fixed elements (WhatsApp, back-to-top, sticky Apply bar) leave room at the end of the page, so nothing stays covered.
===================================================================================================================== */
.pl-header__logo { display: flex; align-items: center; min-height: 44px; }
.pl-nav__link { min-height: 44px; }
.pl-mega__product { min-height: 44px; }
.pl-mega__chips a { display: inline-flex; align-items: center; min-height: 40px; }
.pl-crumbs a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.pl-footer__brand img { object-fit: contain; }
.pl-footer__col li + li { margin-top: 0; }
.pl-footer__col a, .pl-footer__contact a, .pl-footer__bottom nav a, .pl-footer__seo a { display: inline-flex; align-items: center; min-height: 40px; }
.pl-footer__seo p { gap: 0 14px; }
.pl-footer__bottom nav { gap: 0 18px; }
.pl-footer__social a { width: 40px; height: 40px; }
/* the WhatsApp button, back-to-top and the sticky Apply bar float over the bottom of the page: room under the footer */
body:has(.pl-wa, .back-to-top, .mobile-cta) .pl-footer .pl-wrap { padding-bottom: 96px; }
@media (min-width: 1200px) { .pl-header__repay { display: inline-flex; align-items: center; min-height: 44px; } }

/* phones (< 768 px): body text at least 14 px */
@media (max-width: 767.98px) {
    .pl-topbar, .pl-header .pl-btn--sm, .pl-kicker, .pl-eyebrow, .pl-fine, .pl-small, .pl-trust li, .pl-points small, .pl-stats dt,
    .pl-card__badge, .pl-card__sub, .pl-start-card__consent, .pl-timeline__time, .pl-tick--navy, .pl-glance__title, .pl-glance__grid dt,
    .pl-glance__grid dd small, .pl-glance__foot, .pl-pill--static, .pl-mega__label, .pl-mega__product small, .pl-mega__chips a, .pl-quote__note,
    .pl-crumbs, .pl-table, .pl-table thead th, .pl-rows > div, .pl-callout, .pl-features p, .pl-timeline p, .pl-ticks li, .pl-tiles li,
    .pl-faq__a, .pl-link, .pl-quote figcaption,
    .pl-footer, .pl-footer small, .pl-footer__safe, .pl-footer__social a, .pl-footer__h, .pl-footer__legal, .pl-footer__legal p,
    .pl-footer__legal .small, .pl-footer__legal h5, .pl-footer__bottom, .pl-page .mobile-cta div { font-size: .875rem; }
    .pl-points strong { font-size: .9375rem; }
    /* very narrow phones: a smaller logo so the header CTA + menu still fit */
    .pl-header__in { gap: 8px; }
    .pl-header__logo img { width: 120px; }
    .pl-header .pl-btn--sm { padding: 0 10px; }
}
@media (max-width: 359.98px) {
    .pl-header__actions .pl-btn--sm { display: none; }   /* the same "Check Eligibility" is in the menu and the sticky bar */
}
.pl-footer__col a, .pl-footer__contact a, .pl-footer__bottom nav a, .pl-footer__seo a, .pl-crumbs a { min-width: 40px; }
/* fact rows: three across when they fit, otherwise two + one full-width (long amounts such as ₹2,50,000+ on phones) */
.pl-stats { display: flex; flex-wrap: wrap; }
.pl-stats > div { flex: 1 1 104px; min-width: 0; }
@media (max-width: 575.98px) { .pl-stats > div { flex-basis: 130px; } }
.pl-rows dd { min-width: 0; overflow-wrap: anywhere; }
