/*
Theme Name: Loans-Payday 2026
Theme URI: https://www.loans-payday.com/
Author: Loans-Payday.com
Description: Custom lightweight theme for Loans-Payday.com. Amount picker hero, ZeroParallel apply page, responsive, no jQuery on content pages.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lp2026
*/

:root {
  --lp-navy: #0A3D91;
  --lp-blue: #0B5FC4;
  --lp-teal: #0FA3B1;
  --lp-ink: #10233F;
  --lp-muted: #4A5B78;
  --lp-line: #D6E3F5;
  --lp-tint: #F2F7FF;
  --lp-on-dark: #DCE9FF;
  --lp-footer: #071F49;
  --lp-cta: #FFB020;
  --lp-gradient: linear-gradient(135deg, #0A3D91 0%, #0B5FC4 55%, #0FA3B1 100%);
  --lp-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --lp-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --lp-wrap: 1200px;
  --lp-read: 820px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--lp-body); font-size: 18px; line-height: 1.65; color: var(--lp-ink); background: #FFFFFF; }
img { max-width: 100%; height: auto; }
a { color: var(--lp-blue); }
a:hover { color: var(--lp-navy); }
:focus-visible { outline: 3px solid var(--lp-cta); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--lp-display); line-height: 1.2; text-wrap: balance; color: var(--lp-navy); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.lp-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: #FFFFFF; color: var(--lp-ink); padding: 10px 16px; border-radius: 8px; }

.lp-wrap { max-width: var(--lp-wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lp-read { max-width: var(--lp-read); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--lp-cta); color: var(--lp-ink); font-family: var(--lp-body); font-weight: 800; font-size: 19px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(10, 61, 145, 0.22); transition: transform .15s ease, box-shadow .15s ease; }
.lp-btn:hover { color: var(--lp-ink); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(10, 61, 145, 0.28); }
.lp-btn svg { width: 20px; height: 20px; }
.lp-btn--sm { min-height: 46px; padding: 0 24px; font-size: 17px; font-weight: 700; }
.lp-center { display: flex; justify-content: center; margin: 32px 0 8px; }

/* Header */
.lp-hero, .lp-band { background: var(--lp-gradient); color: #FFFFFF; position: relative; overflow: hidden; }
.lp-header { display: flex; align-items: center; gap: 32px; padding-top: 20px; padding-bottom: 20px; position: relative; z-index: 2; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-family: var(--lp-display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; white-space: nowrap; }
.lp-logo:hover { color: #FFFFFF; }
.lp-logo img { max-height: 44px; width: auto; }
.lp-nav { flex: 1; display: flex; justify-content: center; }
.lp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.lp-nav a { color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 17px; white-space: nowrap; }
.lp-nav a:hover, .lp-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; color: #FFFFFF; }
.lp-header .lp-btn { margin-left: auto; }
.lp-menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: transparent; border: 0; color: #FFFFFF; cursor: pointer; }
.lp-menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.lp-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 64px; position: relative; z-index: 1; }
.lp-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-hero h1 { margin: 0; color: #FFFFFF; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.lp-hero__lead { margin: 0; font-size: 20px; color: var(--lp-on-dark); max-width: 560px; }
.lp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chips li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 5px 14px; font-size: 15px; font-weight: 600; }
.lp-chips svg { width: 16px; height: 16px; flex-shrink: 0; }

.lp-apply { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.lp-apply label { font-weight: 600; font-size: 18px; }
.lp-apply__row { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-select { position: relative; flex: 1 1 220px; max-width: 280px; }
.lp-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 60px; border: 0; border-radius: 999px; padding: 0 48px 0 24px; font-family: var(--lp-body); font-size: 20px; font-weight: 600; color: var(--lp-ink); background: #FFFFFF; cursor: pointer; }
.lp-select svg { position: absolute; right: 22px; top: 21px; width: 18px; height: 18px; pointer-events: none; color: var(--lp-ink); }
.lp-apply .lp-btn { min-height: 60px; font-size: 20px; min-width: 200px; }
.lp-fine { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--lp-on-dark); max-width: 620px; }
.lp-fine strong, .lp-fine a { color: #FFFFFF; }

.lp-hero__media { flex: 1 1 400px; min-width: 0; max-width: 520px; position: relative; }
.lp-blob { aspect-ratio: 4 / 3.3; max-width: 100%; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; overflow: hidden; border: 6px solid rgba(255,255,255,0.35); background: linear-gradient(160deg, #E9F2FF 0%, #BFD8FF 100%); display: flex; align-items: center; justify-content: center; }
.lp-blob img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-blob svg { width: 62%; height: auto; }
.lp-dot { position: absolute; border-radius: 50%; }
.lp-dot--a { width: 58px; height: 58px; background: rgba(255,255,255,0.22); left: -18px; top: 60%; }
.lp-dot--b { width: 24px; height: 24px; background: var(--lp-cta); right: 24px; top: -6px; }
.lp-wave { display: block; width: 100%; height: 60px; }

/* Stat strip */
.lp-strip { max-width: 1100px; margin: -6px auto 0; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lp-strip__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; background: var(--lp-tint); border-radius: 24px; padding: 26px 30px; }
.lp-stat { display: flex; gap: 14px; align-items: center; }
.lp-stat svg { width: 40px; height: 40px; flex-shrink: 0; }
.lp-stat strong { display: block; font-family: var(--lp-display); font-size: 22px; }
.lp-stat span { font-size: 15px; color: var(--lp-muted); }

/* Content */
.lp-main { padding-top: 56px; padding-bottom: 24px; }
.lp-sections { display: flex; flex-direction: column; gap: 56px; }
.lp-content > *:first-child { margin-top: 0; }
.lp-content h2, .lp-section h2 { font-size: clamp(28px, 3vw, 36px); margin: 1.6em 0 0.5em; }
.lp-content h3 { font-size: clamp(23px, 2.4vw, 28px); margin: 1.6em 0 0.5em; }
.lp-content p, .lp-content ul, .lp-content ol { margin: 0 0 1.1em; }
.lp-content li { margin-bottom: 0.4em; }
.lp-section > h2:first-child { margin-top: 0; }
.lp-section p { margin: 0 0 1em; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.lp-steps li { background: var(--lp-tint); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.lp-steps .lp-num { width: 40px; height: 40px; border-radius: 50%; background: var(--lp-blue); color: #FFFFFF; font-family: var(--lp-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-steps strong { font-size: 20px; }
.lp-steps span { color: var(--lp-muted); font-size: 16px; }

.lp-elig { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--lp-navy), var(--lp-blue)); color: #FFFFFF; border-radius: 28px; padding: 36px; }
.lp-elig h2 { color: #FFFFFF; margin: 0 0 8px; font-size: 32px; }
.lp-elig p { margin: 0; color: var(--lp-on-dark); font-size: 16px; }
.lp-elig > div { flex: 1 1 320px; }
.lp-elig ul { flex: 1 1 320px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-elig li { background: rgba(255,255,255,0.12); border-radius: 14px; padding: 14px; font-weight: 600; }

.lp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lp-tile { border: 1px solid var(--lp-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.lp-tile strong { font-size: 19px; }
.lp-tile span { color: var(--lp-muted); font-size: 16px; }

.lp-table { overflow-x: auto; border: 1px solid var(--lp-line); border-radius: 16px; margin: 0 0 12px; }
.lp-table table { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.lp-table th { background: var(--lp-tint); text-align: left; padding: 14px 18px; }
.lp-table td { padding: 14px 18px; border-top: 1px solid var(--lp-line); }
.lp-note { font-size: 15px; color: var(--lp-muted); }

.lp-checks { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.lp-checks li { display: flex; gap: 12px; }
.lp-checks svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }

.lp-faq details { border-bottom: 1px solid var(--lp-line); padding: 16px 0; }
.lp-faq summary { font-weight: 700; font-size: 20px; cursor: pointer; }
.lp-faq details p { margin: 10px 0 0; color: var(--lp-muted); }

/* Inner page header band */
.lp-band__inner { padding-top: 24px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.lp-band__inner > * { max-width: 900px; }
.lp-band h1 { margin: 0; color: #FFFFFF; font-size: clamp(32px, 3.6vw, 46px); }
.lp-crumbs { font-size: 15px; color: var(--lp-on-dark); }
.lp-crumbs a { color: #FFFFFF; }

/* Apply page */
.lp-apply-card { background: #FFFFFF; border-radius: 24px; box-shadow: 0 20px 50px rgba(10, 61, 145, 0.14); padding: 28px; margin: -40px auto 0; position: relative; z-index: 2; max-width: 620px; }

/* Closing CTA + footer */
.lp-cta-band { margin-top: 56px; }
.lp-cta-band__inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.lp-cta-band h2 { color: #FFFFFF; margin: 0 0 6px; font-size: 34px; }
.lp-cta-band p { margin: 0; color: var(--lp-on-dark); }
.lp-footer { background: var(--lp-footer); color: #C7D6F0; font-size: 15px; }
.lp-footer__inner { padding-top: 44px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 22px; }
.lp-footer a { color: #FFFFFF; }
.lp-footer h2 { color: #FFFFFF; font-size: 18px; margin: 0 0 10px; }
.lp-footer__links ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.lp-footer__links li { margin-bottom: 8px; break-inside: avoid; }
.lp-footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lp-footer__policy { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; }

/* Mobile */
@media (max-width: 900px) {
  .lp-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lp-header > .lp-btn { display: none; }
  .lp-nav { display: none; position: absolute; top: 100%; left: 12px; right: 12px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); padding: 12px; z-index: 10; }
  .lp-nav.is-open { display: block; }
  .lp-nav ul { flex-direction: column; gap: 0; }
  .lp-nav a { display: block; color: var(--lp-ink); padding: 12px 14px; border-radius: 10px; }
  .lp-nav a:hover { background: var(--lp-tint); color: var(--lp-ink); }
  .lp-hero__media { display: none; }
  .lp-hero__grid { padding-top: 8px; padding-bottom: 40px; }
  .lp-select { max-width: none; flex-basis: 100%; }
  .lp-apply .lp-btn { width: 100%; }
  .lp-elig ul { grid-template-columns: 1fr 1fr; }
  .lp-apply-card { padding: 12px; border-radius: 16px; }
}
@media (max-width: 480px) {
  .lp-header { gap: 10px; }
  .lp-logo { font-size: 16px; gap: 8px; }
  .lp-logo svg { width: 26px; height: 26px; }
  .lp-chips li { font-size: 14px; padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) { .lp-btn { transition: none; } .lp-btn:hover { transform: none; } }
