/* ==========================================================================
   Personal services landing (v4) — "Two details"
   Blue aurora hero with a glowing two-field form card (Full name + Mobile),
   floating labels, a scrolling ribbon, a 4-step track that draws in, an
   animated NBFC matching hub, eligibility cards, values list, FAQ, closing.
   Light CSS animation only (no library, no photos). JS adds classes for
   scroll reveals and count-ups. Everything stops for prefers-reduced-motion.
   ========================================================================== */
.ps { background: #fff; color: var(--ink-2); }
html:has(body.ps) { background: #0b4d8c; }

/* ---------- Header ---------- */
.ps-top { position: relative; z-index: 3; background: #0b4d8c; color: #fff; }
.ps-top__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 85px; }
.ps-brand { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: #fff; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; text-decoration: none; }
.ps-brand:hover { color: #fff; }
.ps-brand__tile { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; min-height: 64px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35); }
.ps-brand__tile img { width: auto; height: 54px; max-height: 54px; object-fit: contain; }
.ps-top__right { display: flex; align-items: center; gap: 10px; }
.ps-call { display: inline-flex; align-items: center; gap: 10px; padding: 6px 4px; color: #fff; font-family: var(--font-display); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ps-call:hover { color: #ecca92; }
.ps-call small { display: block; color: rgba(255, 255, 255, 0.7); font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.ps-call__ring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ps-call__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(236, 202, 146, 0.8); animation: ps-ring 2.4s ease-out infinite; }
@keyframes ps-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ps-call__ring svg { width: 18px; height: 18px; }
.ps-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; color: var(--brand); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast); }
.ps-login:hover { background: #ecca92; color: var(--ink); }

/* ---------- Hero ---------- */
.ps-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 1rem + 3vw, 4.5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); background: linear-gradient(165deg, #0b4d8c 0%, #083c70 55%, #06305a 100%); color: #fff; }
.ps-aurora i { position: absolute; z-index: -2; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.ps-aurora i:nth-child(1) { width: 460px; height: 460px; left: -120px; top: -140px; background: #1aa7c9; animation: ps-drift1 14s ease-in-out infinite alternate; }
.ps-aurora i:nth-child(2) { width: 380px; height: 380px; right: 8%; top: 30%; background: #a57d45; opacity: 0.4; animation: ps-drift2 16s ease-in-out infinite alternate; }
.ps-aurora i:nth-child(3) { width: 520px; height: 520px; left: 30%; bottom: -300px; background: #2f7bd0; animation: ps-drift1 18s ease-in-out infinite alternate-reverse; }
@keyframes ps-drift1 { to { transform: translate(80px, 40px) scale(1.1); } }
@keyframes ps-drift2 { to { transform: translate(-60px, -50px) scale(0.9); } }
.ps-grid-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px; -webkit-mask: radial-gradient(ellipse 80% 70% at 30% 40%, #000, transparent 80%); mask: radial-gradient(ellipse 80% 70% at 30% 40%, #000, transparent 80%); }
.ps-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }

.ps-hero__copy > * { animation: ps-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ps-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.ps-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.ps-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
@keyframes ps-rise { from { opacity: 0; transform: translateY(26px); } }
.ps-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); font-size: var(--fs-sm); font-weight: 700; }
.ps-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(63, 176, 98, 0.7); animation: ps-dot 2s ease-out infinite; }
@keyframes ps-dot { to { box-shadow: 0 0 0 10px rgba(63, 176, 98, 0); } }
.ps-hero h1 { margin-top: 20px; color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.3rem); line-height: 1.04; letter-spacing: -0.045em; }
.ps-hl { position: relative; white-space: nowrap; background: linear-gradient(90deg, #f6dfae, #e0b574 50%, #f6dfae); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ps-shimmer 5s linear infinite; }
.ps-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; border-radius: 1em; background: #e0b574; transform: scaleX(0); transform-origin: left; animation: ps-under 0.9s 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes ps-shimmer { to { background-position: -200% 0; } }
@keyframes ps-under { to { transform: scaleX(1); } }
.ps-lede { max-width: 34rem; margin-top: 20px; color: rgba(255, 255, 255, 0.82); font-size: var(--fs-md); line-height: 1.6; }
.ps-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ps-stats > div { min-width: 132px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ps-stats dt { color: rgba(255, 255, 255, 0.7); font-size: var(--fs-xs); font-weight: 600; }
.ps-stats dd { margin: 2px 0 0; white-space: nowrap; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.03em; }
.ps-stats dd small { font-size: var(--fs-sm); font-weight: 600; opacity: 0.75; }

/* ---------- Form card ---------- */
@property --ps-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.apply { position: relative; padding: 2px; border-radius: 32px; background: conic-gradient(from var(--ps-a), rgba(255, 255, 255, 0.2), #ecca92, #5ec4de, rgba(255, 255, 255, 0.2) 60%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); animation: ps-spin 6s linear infinite, ps-card 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; scroll-margin-top: 20px; }
@keyframes ps-spin { to { --ps-a: 360deg; } }
@keyframes ps-card { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
.apply__card { padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: #fff; color: var(--ink-2); }
.apply__head { display: flex; align-items: center; gap: 14px; }
.apply__badge { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #0b4d8c, #1aa7c9); color: #fff; }
.apply__badge svg { width: 26px; height: 26px; }
.apply__title { color: var(--ink); font-size: var(--fs-xl); letter-spacing: -0.03em; }
.apply__sub { color: var(--muted); font-size: var(--fs-sm); }
.apply__form { display: grid; gap: 10px; margin-top: 22px; }
.apply__form [hidden] { display: none !important; }
html:not(.js) .apply__form { display: none; }
.apply__form .consent { margin-top: 6px; }
.apply__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.apply__trust li { display: inline-flex; align-items: center; gap: 6px; }
.apply__trust svg { width: 16px; height: 16px; color: var(--green); }

/* Floating-label fields */
.fl { position: relative; }
.fl__input { width: 100%; height: 62px; padding: 24px 46px 6px 48px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); font: inherit; font-size: var(--fs-md); font-weight: 600; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.fl--tel .fl__input { padding-left: 64px; letter-spacing: 0.04em; }
.fl__input:hover { border-color: var(--line-strong); }
.fl__input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(11, 77, 140, 0.14); }
.fl__label { position: absolute; left: 48px; top: 50%; color: var(--muted); font-size: var(--fs-base); font-weight: 500; transform: translateY(-50%); transform-origin: left center; pointer-events: none; transition: top 0.2s, transform 0.2s, color 0.2s; }
.fl--tel .fl__label { transition: top 0.2s, left 0.2s, transform 0.2s, color 0.2s; }
.fl--tel:focus-within .fl__label, .fl--tel:has(.fl__input:not(:placeholder-shown)) .fl__label { left: 64px; }
.fl__icon--tel { transition: opacity 0.2s, color 0.2s; }
.fl--tel:focus-within .fl__icon--tel, .fl--tel:has(.fl__input:not(:placeholder-shown)) .fl__icon--tel { opacity: 0; }
.fl__input:focus + .fl__label, .fl__input:not(:placeholder-shown) + .fl__label { top: 18px; transform: translateY(-50%) scale(0.78); color: var(--brand); font-weight: 700; }
.fl__icon, .fl__pre { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color 0.2s; }
.fl__icon svg { display: block; width: 20px; height: 20px; }
.fl__pre { top: auto; bottom: 9px; transform: none; color: var(--ink); font-size: var(--fs-md); font-weight: 700; opacity: 0; transition: opacity 0.2s; }
.fl--tel .fl__pre::after { content: ""; display: inline-block; width: 1px; height: 18px; margin-left: 9px; vertical-align: -3px; background: var(--line-strong); }
.fl--tel:focus-within .fl__pre, .fl--tel:has(.fl__input:not(:placeholder-shown)) .fl__pre { opacity: 1; }
.fl:focus-within .fl__icon { color: var(--brand); }
.fl__ok { position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; transform: translateY(-50%) scale(0); transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); }
.fl__ok svg { width: 14px; height: 14px; }
.fl.is-valid .fl__ok { transform: translateY(-50%) scale(1); }
.fl__input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-50); }
.fl__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192, 48, 45, 0.14); }
.fl.is-shake { animation: ps-shake 0.42s; }
@keyframes ps-shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.apply__form .field__hint { margin-top: -2px; padding-left: 4px; }
.apply__form .field__error { padding-left: 4px; }

/* Main button */
.ps-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; margin-top: 6px; padding: 0 30px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #c79d5c, #a57d45 55%, #8a6634); color: #fff; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 16px 30px -16px rgba(165, 125, 69, 0.9); transition: transform var(--t-fast), box-shadow var(--t-fast); }
.ps-btn::before { content: ""; position: absolute; top: 0; left: -60%; z-index: -1; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transform: skewX(-20deg); animation: ps-sweep 3.6s 1.2s ease-in-out infinite; }
@keyframes ps-sweep { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.ps-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 34px -16px rgba(165, 125, 69, 0.95); }
.ps-btn__icon { width: 20px; height: 20px; transition: transform 0.25s; }
.ps-btn:hover .ps-btn__icon { transform: translateX(4px); }
.apply__form .ps-btn { width: 100%; }
.ps-btn[aria-busy="true"] { cursor: progress; opacity: 0.88; }
.ps-btn[aria-busy="true"] .spinner { display: block; animation: spin 0.8s linear infinite; }
.ps-btn[aria-busy="true"] .ps-btn__icon { display: none; }
.ps-btn--light { background: #fff; color: var(--brand); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6); }
.ps-btn--light:hover { color: var(--brand-700); }
.ps-btn--light::before { background: linear-gradient(90deg, transparent, rgba(11, 77, 140, 0.12), transparent); }

/* ---------- Ribbon ---------- */
.ribbon { overflow: hidden; padding: 16px 0; background: #ecca92; color: #3d2b12; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; white-space: nowrap; }
.ribbon__track { display: inline-flex; align-items: center; gap: 26px; padding-left: 26px; animation: ps-marquee 32s linear infinite; }
.ribbon i { color: #a57d45; font-style: normal; }
@keyframes ps-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.ps-sec { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.ps-head h2 { margin-top: 10px; color: var(--ink); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; letter-spacing: -0.04em; }
.ps-head > p:not(.ps-kicker) { max-width: 36rem; margin-top: 12px; color: var(--muted); font-size: var(--fs-md); }
.ps-head--center { text-align: center; }
.ps-head--center > p { margin-inline: auto; }
.ps-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ps-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.ps-kicker--light { color: #ecca92; }
.ps-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brand-100); }
.ps-link::after { content: "→"; transition: transform 0.25s; }
.ps-link:hover::after { transform: translateX(4px); }

/* Scroll reveal (only with JS; content stays visible without it) */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--i, 0) * 0.08s); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* How it works */
.ps-how { background: #f6f9fc; }
.how { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.how::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #1aa7c9, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.how.is-in::before { transform: scaleX(1); }
html:not(.js) .how::before { transform: scaleX(1); }
.how__step { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 8px; text-align: center; }
.how__n { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: #fff; color: var(--brand); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800; box-shadow: 0 14px 30px -16px rgba(11, 77, 140, 0.6), inset 0 0 0 1.5px var(--brand-100); }
html.js .how .how__n { transform: scale(0.4); opacity: 0; transition: transform 0.5s cubic-bezier(0.2, 1.6, 0.4, 1), opacity 0.3s; transition-delay: calc(0.3s + var(--i) * 0.28s); }
html.js .how.is-in .how__n { transform: none; opacity: 1; }
.how__step:last-child .how__n { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -16px rgba(165, 125, 69, 0.9); }
.how__step h3 { margin-top: 10px; color: var(--ink); font-size: var(--fs-md); }
.how__step p { color: var(--muted); font-size: var(--fs-sm); }

/* Matching hub */
.ps-hub__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hub { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__lines path { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 6 8; opacity: 0.55; animation: ps-flow 1.2s linear infinite; }
.hub__lines path:nth-of-type(2n) { stroke: var(--accent); }
@keyframes ps-flow { to { stroke-dashoffset: -28; } }
.hub__ring { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 2 10; transform-origin: 200px 200px; animation: ps-turn 40s linear infinite; }
@keyframes ps-turn { to { transform: rotate(360deg); } }
.hub__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 20px 40px -18px rgba(11, 77, 140, 0.7), inset 0 0 0 2px var(--brand-100); transform: translate(-50%, -50%); }
.hub__core::before, .hub__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(11, 77, 140, 0.35); animation: ps-ripple 3s ease-out infinite; }
.hub__core::after { animation-delay: 1.5s; }
@keyframes ps-ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
.hub__core img { width: 46%; height: auto; }
.hub__label { position: absolute; left: 50%; top: 66%; padding: 4px 12px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; transform: translateX(-50%); white-space: nowrap; }
.hub__node { position: absolute; left: var(--x); top: var(--y); padding: 8px 14px; border-radius: 14px; background: #fff; color: var(--brand); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 12px 24px -14px rgba(11, 77, 140, 0.6), inset 0 0 0 1.5px var(--brand-100); transform: translate(-50%, -50%); animation: ps-node 3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.6s); }
@keyframes ps-node { 0%, 100% { box-shadow: 0 12px 24px -14px rgba(11, 77, 140, 0.6), inset 0 0 0 1.5px var(--brand-100); } 50% { box-shadow: 0 12px 24px -14px rgba(11, 77, 140, 0.6), inset 0 0 0 1.5px var(--brand), 0 0 0 6px rgba(11, 77, 140, 0.08); } }
.ps-ticks { display: grid; gap: 10px; margin-top: 20px; }
.ps-ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ps-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 8px; background: #e4f5ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312702f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Eligibility */
.ps-elig { background: linear-gradient(180deg, #fff, #fbf6ee); }
.elig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.elig__card { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 28px; background: #fff; }
html.js .elig__card.reveal { transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s; transition-delay: calc(var(--i) * 0.12s), calc(var(--i) * 0.12s), 0s, 0s; }
.elig__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 77, 140, 0.1), transparent 70%); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.elig__card--alt::after { background: radial-gradient(circle, rgba(165, 125, 69, 0.16), transparent 70%); }
.elig__card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-3); }
.elig__card:hover::after { transform: scale(1.8); }
.elig__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand-50); color: var(--brand); transition: transform 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
.elig__card--alt .elig__icon { background: var(--accent-50); color: var(--accent-text); }
.elig__card:hover .elig__icon { transform: rotate(-10deg) scale(1.08); }
.elig__icon svg { width: 28px; height: 28px; }
.elig__tag { margin-top: 18px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.elig__card h3 { margin-top: 6px; color: var(--ink); font-size: var(--fs-xl); letter-spacing: -0.02em; }
.elig__card p:last-child { margin-top: 10px; color: var(--muted); line-height: 1.65; }

/* Why choose us */
.ps-why { background: var(--grad-night); color: var(--on-night); }
.ps-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.ps-why .ps-head h2 { color: #fff; }
.ps-quote { margin: 24px 0 0; padding: 22px 24px; border-left: 3px solid #ecca92; border-radius: 0 18px 18px 0; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.86); font-size: var(--fs-md); line-height: 1.6; }
.values { display: grid; gap: 10px; }
.values li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #fff; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; }
html.js .values li.reveal { transform: translateX(30px); transition: opacity 0.6s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s; transition-delay: calc(var(--i) * 0.07s), calc(var(--i) * 0.07s), 0s; }
html.js .values li.reveal.is-in { transform: none; }
.values li:hover { background: rgba(255, 255, 255, 0.1); }
.values span { color: #ecca92; font-size: var(--fs-sm); font-weight: 800; }

/* FAQ */
.ps-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.ps-faq .ps-head a { font-weight: 700; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-2); }
.faq summary { position: relative; display: block; padding: 20px 60px 20px 22px; color: var(--ink); font-family: var(--font-display); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 10px; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4d8c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }
.faq details[open] p { animation: ps-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

/* Closing */
.ps-close { position: relative; overflow: hidden; padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; background: linear-gradient(120deg, #0b4d8c, #1a6fb8 60%, #0b4d8c); background-size: 200% 100%; color: #fff; animation: ps-pan 12s ease-in-out infinite alternate; }
@keyframes ps-pan { to { background-position: 100% 0; } }
.ps-close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ps-close h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.045em; }
.ps-close h2 span { color: #ecca92; }
.ps-close__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.ps-close__call { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.ps-close__call:hover { color: #fff; }

/* Footer */
.ps-foot { padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0; background: var(--night); color: var(--on-night-muted); font-size: var(--fs-sm); }
.ps-foot__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.7fr; gap: 32px; }
.ps-foot__about p { max-width: 26rem; margin-top: 16px; line-height: 1.65; }
.ps-foot__contact { display: grid; gap: 14px; }
.ps-foot__contact small { display: block; color: #ecca92; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ps-foot__contact a { color: #fff; font-weight: 700; }
.ps-foot__contact span { color: rgba(255, 255, 255, 0.85); }
.ps-foot__links { display: grid; align-content: start; gap: 6px; }
.ps-foot__links a { padding: 4px 0; color: rgba(255, 255, 255, 0.85); }
.ps-foot__links a:hover { color: #ecca92; }
.ps-foot__bottom { margin-top: 40px; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-xs); text-align: center; }

/* Mobile bar */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: none; align-items: center; gap: 10px; padding: 8px; border-radius: 22px; background: rgba(4, 18, 42, 0.92); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: ps-up 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes ps-up { from { transform: translateY(120%); } }
.mbar__call { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.mbar__call svg { width: 22px; height: 22px; }
.mbar__cta { flex: 1; min-height: 52px; margin: 0; }
.mbar[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .ps-hero__grid {
    display: flex;
    flex-direction: column;
  }
  .ps-hero__copy {
    display: contents;
  }
  .ps-chip {
    order: 1;
    align-self: flex-start;
  }
  .ps-hero h1 {
    order: 2;
  }
  .apply {
    order: 3;
    max-width: 560px;
    width: 100%;
    margin-top: 24px;
  }
  .ps-lede {
    order: 4;
    margin-top: 24px;
  }
  .ps-stats {
    order: 5;
    margin-top: 20px;
  }
  .ps-hub__grid, .ps-why__grid, .ps-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .ps-foot__grid { grid-template-columns: 1fr 1fr; }
  .ps-foot__about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mbar { display: flex; }
  .ps-login { display: none; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .how::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--brand), #1aa7c9, var(--accent)); }
  .how.is-in::before, html:not(.js) .how::before { transform: scaleY(1); }
  .how__step { grid-template-columns: 64px 1fr; justify-items: start; column-gap: 18px; padding: 0; text-align: left; }
  .how__n { grid-row: span 2; }
  .how__step h3 { margin-top: 6px; }
  .elig { grid-template-columns: minmax(0, 1fr); }
  .ps-foot { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .ps-call small { display: none; }
  .ps-call__ring { width: 36px; height: 36px; }
  .ps-brand__name { display: none; }
  .ps-stats > div { flex: 1 1 0; min-width: 0; padding: 12px; }
  .ps-stats dd { font-size: var(--fs-lg); }
  .ps-stats dd small { font-size: 11px; }
  .ps-stats dt { font-size: 11px; white-space: nowrap; }
  .ps-stats { gap: 8px; }
  .ps-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hub__node { padding: 6px 10px; font-size: var(--fs-xs); }
  .values li { font-size: var(--fs-md); padding: 16px 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ps-call__ring::after, .ps-aurora i, .ps-hero__copy > *, .ps-chip__dot, .ps-hl, .ps-hl::after, .apply, .ps-btn::before, .ribbon__track, .hub__lines path, .hub__ring, .hub__core::before, .hub__core::after, .hub__node, .fl.is-shake, .faq details[open] p, .ps-close, .mbar { animation: none !important; }
  .ps-hl::after { transform: scaleX(1); }
  .ribbon__track { flex-wrap: wrap; justify-content: center; white-space: normal; padding: 0 var(--gutter); }
  .ribbon__track > :nth-child(n + 11) { display: none; }
  html.js .reveal, html.js .how .how__n, html.js .values li.reveal { opacity: 1; transform: none; transition: none; }
  .how::before { transform: none !important; transition: none; }
  .fl__ok, .fl__label, .ps-btn, .ps-btn__icon, .elig__card::after, .elig__icon, .faq summary::after { transition: none !important; }
}
