/* =====================================================================================================================
   Home page (index.html) only: the illustrations that exist nowhere else. Everything else is psl-site.css.
   h-offer: the sample offer card in the hero (decorative) · h-ledger: trust strip · h-month: the month timeline ·
   h-calc: the calculator section around the general loan calculator · h-receipt: the example bill · h-never: the numbered
   "never" list.
===================================================================================================================== */

/* ---------------------------------------------------------------- hero: sample offer (aria-hidden) */
.h-offer { max-width: 420px; margin: 0 auto; padding-top: 22px; }
.h-offer__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 700; color: var(--psl-ink); }
.h-offer__top img { border-radius: 8px; }
.h-offer__chip { margin-left: auto; padding: 3px 10px; border-radius: var(--psl-pill); font-size: .74rem; font-weight: 700; color: var(--psl-mint-600);
    background: var(--psl-mint-50); }
.h-offer__label { margin: 0; font-size: .8rem; color: var(--psl-ink-3); }
.h-offer__amount { margin: 0 0 8px; font-family: var(--psl-font-display); font-size: 2.2rem; font-weight: 800; line-height: 1.1; color: var(--psl-navy-900); }
.h-offer__apr { margin: 12px 0; padding: 8px 10px; border-radius: 10px; font-size: .78rem; color: var(--psl-ink-2); background: var(--psl-blue-50); }
.h-offer__next { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: .82rem; font-weight: 600;
    color: var(--psl-ink-2); background: #f4f6fa; border: 1px dashed var(--psl-line); cursor: default; }
.h-offer__next .pl-i { flex: none; color: var(--psl-ink-3); }
.h-offer__caption { max-width: 420px; margin: 8px auto 0; font-size: .72rem; color: rgba(255, 255, 255, .72); text-align: right; }
.h-offer__events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 420px; margin: 12px auto 0; }
.h-offer__toast, .h-offer__payday { padding: 10px 12px; border-radius: 14px; font-size: .8rem; line-height: 1.35; color: var(--psl-ink-2); background: #fff;
    box-shadow: var(--psl-shadow); }
.h-offer__toast { display: flex; gap: 8px; align-items: flex-start; }
.h-offer__toast b, .h-offer__payday b { display: block; color: var(--psl-ink); }
.h-offer__toast small, .h-offer__payday small { display: block; color: var(--psl-ink-3); }
.h-offer__dot { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--psl-mint); box-shadow: 0 0 0 4px var(--psl-mint-50); }
.h-offer__payday span { font-size: .74rem; font-weight: 700; color: var(--psl-mint-600); }

/* ---------------------------------------------------------------- trust strip under the hero */
.h-ledger { padding: 14px 0; background: #fff; border-bottom: 1px solid var(--psl-line); }
.h-ledger__list { margin: 0; }
.h-ledger__list li { font-size: .78rem; }

/* ---------------------------------------------------------------- the month timeline (role="img") */
.h-month { margin-top: 8px; }
.h-month__track { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: 2px; }
.h-month__day { display: grid; place-items: center; height: 34px; border-radius: 4px; background: var(--psl-blue-50); }
.h-month__day i { font-style: normal; font-size: .62rem; font-weight: 600; color: var(--psl-ink-3); }
.h-month__day.is-pay { color: #fff; background: var(--psl-mint); }
.h-month__day.is-pay i { color: #fff; }
.h-month__day.is-covered { background: linear-gradient(180deg, var(--psl-blue), var(--psl-navy-800)); }
.h-month__day.is-covered i { color: #dbe6ff; }
.h-month__day.is-start { box-shadow: 0 0 0 2px var(--psl-amber); }
.h-month__marks { display: grid; gap: 10px; margin-top: 14px; }
.h-month__mark { padding-left: 10px; border-left: 3px solid var(--psl-blue); }
.h-month__mark b { display: block; font-family: var(--psl-font-display); color: var(--psl-ink); }
.h-month__mark small { font-size: .82rem; color: var(--psl-ink-2); }
.h-month__mark--pay { border-left-color: var(--psl-mint); }
.h-month__mark--hit { border-left-color: var(--psl-amber); }
.h-month__caption { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .9rem; font-weight: 600; color: var(--psl-navy-800); }
.h-month__caption span { flex: none; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, var(--psl-blue), var(--psl-navy-800)); }
@media (max-width: 575.98px) {
    .h-month__track { gap: 1px; }
    .h-month__day { height: 26px; border-radius: 2px; }
    .h-month__day i { display: none; }   /* too narrow for numbers; the marks below name the days */
}
@media (min-width: 768px) {
    .h-month__marks { position: relative; display: block; height: 56px; }
    .h-month__mark { position: absolute; top: 0; height: 100%; }
    .h-month__mark--pay { left: 0; }
    .h-month__mark--hit { left: calc(18 / 31 * 100%); }
    .h-month__mark--end { right: 0; padding: 0 10px 0 0; border-left: 0; border-right: 3px solid var(--psl-blue); text-align: right; }
}

/* ---------------------------------------------------------------- the example bill */
.h-receipt { padding-top: 24px; }
.h-receipt__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; padding-bottom: 12px;
    border-bottom: 2px dashed var(--psl-line); font-size: .8rem; color: var(--psl-ink-3); }
.h-receipt__head b { letter-spacing: .12em; color: var(--psl-navy-900); }
.h-receipt__apr dt, .h-receipt__apr dd { color: var(--psl-mint-600); }
.h-receipt__foot { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .84rem; color: var(--psl-ink-2); background: var(--psl-mint-50); }

/* ---------------------------------------------------------------- "never" list */
.h-never { margin: 0; }
.h-never li { align-items: center; font-size: .98rem; color: var(--psl-ink); }

@media (min-width: 992px) {
    .h-offer { margin: 0 0 0 auto; }
    .h-offer__events { margin: 12px 0 0 auto; }
    .h-offer__caption { margin: 8px 0 0 auto; }
}
.h-steps { --pl-steps: 4; }

/* ---------------------------------------------------------------- calculator section: head + ticks, then the general loan calculator */
.h-calc-head { margin-bottom: 24px; }
.h-calc-head .pl-lead { margin-bottom: 0; }
.h-calc-head .pl-ticks { margin: 0; }
.h-calc__cta { margin: 20px 0 0; text-align: center; }
.h-calc__more { margin: 12px 0 0; text-align: center; }
.h-calc__more a { font-weight: 600; color: var(--psl-blue); text-decoration: underline; text-underline-offset: 3px; }
.h-calc-head .pl-lead { max-width: 46rem; }
@media (min-width: 992px) {
    .h-calc-head { align-items: end; margin-bottom: 32px; }
}

/* responsive audit: 14 px minimum text on phones */
@media (max-width: 767.98px) {
    .h-offer__chip, .h-offer__label, .h-offer__apr, .h-offer__toast, .h-offer__payday, .h-offer__toast b, .h-offer__payday b, .h-offer__toast small, .h-offer__payday small, .h-offer__payday span, .h-ledger__list li, .h-month__mark small, .h-receipt__head, .h-receipt__head b, .h-receipt__head span, .h-receipt__foot { font-size: .875rem; }
}

/* CA content v2: annualised rate under the offer card's interest line; full cost list under the calculator heading */
.h-offer .pl-rows dt small { display: block; font-size: .875rem; color: var(--psl-ink-3); }
.h-costs li { align-items: flex-start; }
.h-costs .h-costs__more a { font-weight: 600; color: var(--psl-blue); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; min-height: 40px; align-items: center; }

/* Hero story (owner, 23 Oct 2026): a bill, salary days away, apply on the phone, money lands. Replaces the number card;
   the costs stay lower on the page (calculator, cost list) and in the footer example. Steps appear one by one. */
.h-story { position: relative; max-width: 360px; margin: 0 auto; }
.h-story__phone { position: relative; padding: 14px 13px 15px; border: 7px solid var(--psl-navy-900); border-radius: 30px; background: #fff;
    box-shadow: 0 30px 60px -20px rgba(3, 12, 40, .55); }
.h-story__notch { width: 90px; height: 18px; margin: -18px auto 14px; border-radius: 0 0 12px 12px; background: var(--psl-navy-900); }
.h-story__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-story__step { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--psl-line); border-radius: 13px; background: var(--psl-blue-50); }
.h-story__step b { display: block; font-size: .92rem; line-height: 1.25; color: var(--psl-ink); }
.h-story__step small { display: block; margin-top: 2px; font-size: .875rem; color: var(--psl-ink-2); }
.h-story__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; }
.h-story__step--bill .h-story__ic { background: #d13438; }
.h-story__step--wait .h-story__ic { background: #b45309; }
.h-story__step--apply .h-story__ic { background: var(--psl-blue); }
.h-story__step--paid { border-color: var(--psl-mint-200); background: var(--psl-mint-50); }
.h-story__step--paid .h-story__ic { background: var(--psl-mint-600); }
@media (prefers-reduced-motion: no-preference) {
    .h-story__steps > li { animation: h-story-in .5s ease both; }
    .h-story__steps > li:nth-child(2) { animation-delay: .6s; }
    .h-story__steps > li:nth-child(3) { animation-delay: 1.2s; }
    .h-story__steps > li:nth-child(4) { animation-delay: 1.8s; }
    .h-story__steps > li:nth-child(5) { animation-delay: 2.4s; }
    .h-story__step--paid { animation: h-story-in .5s ease 2.4s both, h-story-pop .6s ease 3s 1; }
}
@keyframes h-story-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes h-story-pop { 50% { transform: scale(1.03); box-shadow: 0 10px 24px -10px rgba(7, 112, 74, .45); } }

/* owner, 23 Oct 2026: the lender line under the hero form moved to "Who is the lender?"; keep air between the form and the stats */
.pl-hero .pl-quick + .pl-stats { margin-top: 20px; }

/* trust chips moved into the hero's left column (balances the column against the phone, owner 30 Oct 2026) */
.h-hero-trust { margin-top: 24px; gap: 10px 18px; }
.h-hero-trust li { font-size: .875rem; }
@media (min-width: 992px) { .h-hero-trust { max-width: 480px; } .h-hero-trust li { font-size: .8rem; } }
