/* platform.spendprofile.app — shared with the pg- shell in components/site/SitePage.tsx (B2C + B2B). */
:root {
  --ink: #0B1F14; --ink-2: #1D3326; --grey: #6F8277; --muted: #44564B; --mint: #E6F3EB; --mint-2: #D3EBDD; --line: rgba(11,31,20,0.1);
  --emerald: #036431; --green: #0E8A4A; --lime: #CCFF33; --lime-soft: #EEFFB8; --sky: #D6E9FF; --sky-ink: #1E4E8C; --peach: #FFE2D1; --peach-ink: #9A3B12;
  --lilac-soft: #E9E2FF; --lilac-ink: #5B3CC4;
  --shadow: 0 1px 2px rgba(11,31,20,0.04), 0 12px 32px -12px rgba(11,31,20,0.18); --ease: cubic-bezier(.22,1,.36,1);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
html { scroll-behavior: smooth; }
body { margin: 0; }
.pg-root { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #FFFFFF; min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.pg-root *, .pg-root *::before, .pg-root *::after { box-sizing: border-box; }
.pg-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.pg-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #FFF; font-weight: 600; text-decoration: none; }
.pg-skip:focus { top: 12px; }
.pg-root :focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
code, pre { font-family: var(--mono); }

/* nav */
.pg-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s; }
.pg-nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.pg-topbar { border-bottom: 1px solid var(--line); }
.pg-topbar-row { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.pg-topbar-links { display: flex; gap: 22px; }
.pg-topbar-links a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.pg-topbar-links a:hover { color: var(--ink); }
.sp-aud-switch { position: relative; display: flex; }
.sp-aud-switch > a, .sp-aud-switch > span:not(.sp-aud-ind) { position: relative; z-index: 1; text-decoration: none; transition: color .2s; }
.sp-aud-ind { position: absolute; left: 0; width: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease); }
.sp-aud-switch.is-tabs { gap: 22px; height: 100%; }
.sp-aud-switch.is-tabs .sp-aud-ind { bottom: 0; height: 2px; border-radius: 2px; background: var(--emerald); }
.sp-aud-switch.is-tabs a, .sp-aud-switch.is-tabs span:not(.sp-aud-ind) { display: flex; align-items: center; height: 40px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sp-aud-switch.is-tabs > .is-lit:not(.sp-aud-ind) { color: var(--ink); }
.sp-aud-switch.is-pill { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(11,31,20,.06); align-self: stretch; margin-bottom: 8px; }
.sp-aud-switch.is-pill .sp-aud-ind { top: 4px; bottom: 4px; border-radius: 999px; background: var(--ink); }
.sp-aud-switch.is-pill a, .sp-aud-switch.is-pill span:not(.sp-aud-ind) { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--ink); }
.sp-aud-switch.is-pill > .is-lit:not(.sp-aud-ind) { color: #FFFFFF; }
.sp-aud-switch.is-pill > a, .sp-aud-switch.is-pill > span:not(.sp-aud-ind) { flex: 1; padding: 10px 12px; font-size: 14px; text-align: center; }
.pg-nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.pg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.pg-brand svg { flex: none; }
.pg-brand-light { color: #FFFFFF; }
.pg-brand-tag { padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12.5px; font-style: normal; font-weight: 750; letter-spacing: 0; }
.pg-nav-links { display: flex; gap: 30px; margin: 0 auto; }
.pg-navlink { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .15s; }
.pg-navlink:hover, .pg-navlink.is-on { color: var(--emerald); }
.pg-nav-cta { display: flex; align-items: center; gap: 20px; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: inherit; font-size: 16px; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.pg-btn:hover { transform: translateY(-1px); }
.pg-btn:active { transform: scale(.97); }
.pg-btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.pg-btn-full { width: 100%; margin-top: 8px; }
.pg-btn-ink { background: var(--ink); color: #FFFFFF; box-shadow: 0 8px 20px -8px rgba(11,31,20,.5); } .pg-btn-ink:hover { background: var(--ink-2); }
.pg-btn-lime { background: var(--lime); color: var(--ink); } .pg-btn-lime:hover { background: #D8FF5C; }
.pg-btn-ghost { background: rgba(255,255,255,.8); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .pg-btn-ghost:hover { background: #FFFFFF; }
.pg-btn-glass { background: rgba(255,255,255,.1); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); } .pg-btn-glass:hover { background: rgba(255,255,255,.18); }
.pg-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.pg-burger span, .pg-burger span::before, .pg-burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; content: ""; }
.pg-burger span { top: 21px; } .pg-burger span::before { left: 0; top: -7px; } .pg-burger span::after { left: 0; top: 7px; }
.pg-burger[aria-expanded="true"] span { background: transparent; }
.pg-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.pg-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.pg-mobile { display: none; max-height: 0; overflow: hidden; background: #FFFFFF; transition: max-height .35s var(--ease); }
.pg-mobile.is-open { max-height: calc(100vh - 72px); overflow-y: auto; border-top: 1px solid var(--line); }
.pg-mobile .pg-wrap { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; padding-bottom: 24px; }
.pg-mobile .pg-navlink { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .pg-desk { display: none !important; } .pg-burger { display: block; } .pg-mobile { display: block; } }

/* sub-page hero + documents */
.pg-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #F2FAF5 0%, var(--mint) 60%, var(--mint-2) 100%); padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.pg-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(3,100,49,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(3,100,49,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 85%); }
.pg-hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pg-crumbs { display: flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--grey); }
.pg-crumbs a { color: var(--emerald); text-decoration: none; } .pg-crumbs a:hover { text-decoration: underline; }
.pg-h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; max-width: 900px; text-wrap: balance; }
.pg-grey { color: var(--emerald); }
.pg-lead { margin: 0; max-width: 640px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); }
.pg-lead a { color: var(--emerald); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(3,100,49,.35); }
.pg-meta { margin: 0; font-size: 14px; font-weight: 600; color: var(--grey); }
.pg-h3 { position: relative; margin: 0 0 14px; font-size: clamp(21px, 2.2vw, 25px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; }
.pg-anchor { position: absolute; left: -26px; top: 0; color: var(--mint-2); text-decoration: none; opacity: 0; transition: opacity .15s; }
.pg-h3:hover .pg-anchor { opacity: 1; color: var(--emerald); }
.pg-summary { width: 100%; max-width: 920px; margin-top: 14px; padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: #FFFFFF; box-shadow: var(--shadow); }
.pg-summary-h { margin: 0 0 16px; font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--emerald); }
.pg-summary ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-summary li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--mint); }
.pg-summary-tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.pg-summary-t { display: block; min-width: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.pg-summary-t strong { font-weight: 700; }
.pg-summary-t a { color: var(--emerald); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(3,100,49,.35); }
.pg-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 680px) { .pg-summary ul { grid-template-columns: 1fr; } }
.pg-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.pg-toc { position: sticky; top: 132px; align-self: start; max-height: calc(100vh - 150px); overflow-y: auto; }
.pg-toc-h { margin: 0 0 12px; font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--grey); }
.pg-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--mint-2); }
.pg-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color .15s, border-color .2s; }
.pg-toc a:hover { color: var(--ink); }
.pg-toc a.is-on { color: var(--emerald); font-weight: 650; border-left-color: var(--emerald); }
.pg-doc-body { max-width: 760px; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 48px); }
.pg-doc-sec { scroll-margin-top: 130px; }
@media (max-width: 900px) { .pg-doc { grid-template-columns: minmax(0, 1fr); } .pg-toc { position: static; max-height: none; padding: 18px 20px; border-radius: 18px; background: var(--mint); } .pg-toc ol { border-left: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .pg-toc a { margin-left: 0; padding: 6px 0; border-left: 0; } .pg-doc-sec { scroll-margin-top: 90px; } .pg-anchor { display: none; } }
.pg-prose { font-size: 16.5px; line-height: 1.75; color: #2F4237; overflow-wrap: anywhere; }
.pg-prose > * { margin: 0; }
.pg-prose > * + * { margin-top: 14px; }
.pg-prose strong { color: var(--ink); font-weight: 650; }
.pg-prose a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(3,100,49,.3); text-underline-offset: 3px; }
.pg-prose a:hover { text-decoration-color: currentColor; }
.pg-prose ul { list-style: disc; padding-left: 22px; }
.pg-prose ul li { padding-left: 4px; }
.pg-prose li + li { margin-top: 8px; }
.pg-prose ul li::marker { color: var(--emerald); }
.pg-prose ol { list-style: none; padding: 0; counter-reset: pg-step; display: flex; flex-direction: column; gap: 10px; }
.pg-prose ol li { counter-increment: pg-step; position: relative; margin: 0; padding: 12px 16px 12px 52px; border-radius: 14px; background: var(--mint); line-height: 1.55; }
.pg-prose ol li::before { content: counter(pg-step); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-size: 13px; font-weight: 750; }
.pg-prose code { font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--mint); color: var(--emerald); overflow-wrap: anywhere; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.pg-prose th, .pg-prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg-prose td:first-child, .pg-prose th:first-child { white-space: nowrap; padding-right: 24px; }
.pg-prose th { font-size: 13px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; }
.pg-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: clamp(20px, 3vw, 28px); border-radius: 24px; }
.pg-callout.is-mint { background: var(--mint); } .pg-callout.is-peach { background: var(--peach); } .pg-callout.is-lime { background: var(--lime-soft); } .pg-callout.is-sky { background: var(--sky); }
.pg-callout.is-ink { background: var(--ink); color: #FFFFFF; } .pg-callout.is-ink .pg-callout-b { color: #B8C7BE; }
.pg-callout-h { margin: 0; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.pg-callout-b { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.pg-callout-a { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-faq { display: flex; flex-direction: column; gap: 10px; }
.pg-faq-item { border-radius: 20px; background: var(--mint); transition: background .25s; scroll-margin-top: 130px; }
.pg-faq-item[open] { background: #FFFFFF; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.pg-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 650; color: var(--ink); cursor: pointer; letter-spacing: -0.01em; list-style: none; }
.pg-faq-item summary::-webkit-details-marker { display: none; }
.pg-faq-item i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; transition: background .2s, transform .3s var(--ease); }
.pg-faq-item[open] i { background: var(--lime); transform: rotate(45deg); }
.pg-faq-item i::before, .pg-faq-item i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.pg-faq-item i::after { transform: rotate(90deg); }
.pg-faq-item .pg-prose { padding: 0 22px 22px; font-size: 15.5px; color: var(--muted); }
.pg-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 900px; margin-top: 10px; }
.pg-topic { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.pg-topic:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pg-topic strong { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.pg-topic span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pg-topic.is-sky { background: var(--sky); } .pg-topic.is-lime { background: var(--lime-soft); } .pg-topic.is-peach { background: var(--peach); }
.pg-support { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); max-width: 880px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.pg-support-group { scroll-margin-top: 130px; }
@media (max-width: 680px) { .pg-topics { grid-template-columns: 1fr; } }

/* footer */
.pg-footer { background: var(--ink); color: #FFFFFF; padding: 72px 0 40px; }
.pg-footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.pg-footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.pg-footer-brand p { margin: 0; color: #9DB0A4; font-size: 15px; line-height: 1.55; }
.pg-socials { display: flex; gap: 18px; }
.pg-socials a { color: #9DB0A4; font-size: 14px; font-weight: 600; text-decoration: none; } .pg-socials a:hover { color: var(--lime); }
.pg-footer-cols { display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.pg-footer-h { margin: 0 0 14px; color: #7F9487; font-size: 14px; }
.pg-footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-footer-cols a { color: #FFFFFF; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pg-footer-cols a:hover { color: var(--lime); }
.pg-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.pg-footer-bottom p, .pg-footer-bottom a { margin: 0; color: #7F9487; font-size: 14px; text-decoration: none; }
.pg-footer-bottom a:hover { color: #FFFFFF; }
@media (max-width: 560px) { .pg-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; } .pg-footer-cols a { white-space: normal; } }

/* audience-switch curtain (see AudienceSwitch.tsx) */
.sp-curtain { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: none; }
.sp-curtain[hidden] { display: none; }
.sp-curtain.is-leaving { pointer-events: auto; animation: spc-sweep 560ms cubic-bezier(.7,0,.25,1) both; }
.sp-curtain.is-arriving { animation: spc-lift .75s .12s cubic-bezier(.7,0,.25,1) both; }
@keyframes spc-sweep { from { clip-path: circle(0px at var(--cx) var(--cy)); } to { clip-path: circle(150vmax at var(--cx) var(--cy)); } }
@keyframes spc-lift { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
.sp-curtain-brand { display: flex; align-items: center; gap: 10px; font: 700 24px/1 Inter, system-ui, sans-serif; letter-spacing: -0.03em; }
.sp-curtain-brand em { font-style: normal; font-size: 13px; letter-spacing: 0; padding: 4px 9px; border-radius: 999px; background: #CCFF33; color: #0B1F14; }
.sp-curtain-brand em:empty { display: none; }
.sp-curtain-brand svg { display: block; }
.sp-curtain.is-leaving .sp-curtain-brand { animation: spc-brand-in .35s .2s cubic-bezier(.22,1,.36,1) both; }
.sp-curtain.is-arriving .sp-curtain-brand { animation: spc-brand-out .3s cubic-bezier(.22,1,.36,1) both; }
@keyframes spc-brand-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes spc-brand-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-12px); } }

/* ── landing ─────────────────────────────────────────────────────────────── */
.pl-section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.pl-band-mint { background: var(--mint); }
.pl-band-emerald { background: radial-gradient(90% 70% at 85% 30%, rgba(204,255,51,.14), transparent 60%), var(--emerald); color: #FFFFFF; }
.pl-band-emerald .pl-kicker, .pl-band-emerald .pg-grey { color: var(--lime); }
.pl-band-emerald .pl-sub { color: #C9DDD0; }
.pl-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.pl-kicker { margin: 0; font-size: 14px; font-weight: 650; color: var(--emerald); }
.pl-h1 { margin: 0; font-size: clamp(40px, 4.6vw, 68px); font-weight: 850; letter-spacing: -0.05em; line-height: 0.98; }
.pl-h1 span { display: block; }
.pl-h2 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.pl-h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.pl-sub { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.pl-mono { font-family: var(--mono); }
.pl-sub a { color: var(--emerald); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(3,100,49,.35); }
.pl-band-emerald .pl-sub a { color: var(--lime); }

.pl-hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #F2FAF5 0%, var(--mint) 50%, var(--mint-2) 100%); padding: clamp(64px, 8vw, 104px) 0 0; }
.pl-hero-grid { position: absolute; inset: 0 0 -120px; pointer-events: none; background-image: linear-gradient(rgba(3,100,49,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(3,100,49,.08) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 25%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 25%, transparent 85%); }
.pl-aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; pointer-events: none; }
.pl-aurora-a { width: 520px; height: 420px; right: 6%; top: 4%; background: rgba(204,255,51,.75); animation: pl-drift 16s ease-in-out infinite; }
.pl-aurora-b { width: 460px; height: 380px; left: 8%; top: 40%; background: rgba(214,233,255,.95); animation: pl-drift 19s -6s ease-in-out infinite reverse; }
@keyframes pl-drift { 0%, 100% { translate: 0 0; } 33% { translate: 40px -30px; } 66% { translate: -30px 24px; } }
.pl-hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.pl-hero-copy .pl-sub { max-width: 660px; font-size: clamp(17px, 1.4vw, 19px); }
.pl-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--emerald); }
.pl-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pl-pulse 2s ease-out infinite; flex: none; }
@keyframes pl-pulse { 0% { box-shadow: 0 0 0 0 rgba(14,138,74,.45); } 100% { box-shadow: 0 0 0 9px rgba(14,138,74,0); } }
.pl-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.pl-ticks { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 4px 0 0; }
.pl-ticks li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; color: var(--muted); }
.pl-ticks svg { color: var(--emerald); }
.pl-in { animation: pl-rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes pl-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* hero stage: an API console that runs off the bottom of the hero */
.pl-stage { position: relative; z-index: 1; max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0; }
.pl-clip { height: clamp(300px, 34vw, 400px); overflow: hidden; padding: 0 12px; margin: 0 -12px; }
.pl-console { border-radius: 18px 18px 0 0; overflow: hidden; background: #0E2318; color: #DCEBE1; box-shadow: 0 -10px 60px -20px rgba(11,31,20,.4), 0 0 0 1px rgba(11,31,20,.2); animation: pl-shot 1.2s .25s var(--ease) both; }
@keyframes pl-shot { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
.pl-console-top { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #0B1D14; border-bottom: 1px solid rgba(255,255,255,.07); }
.pl-console-top i { width: 10px; height: 10px; border-radius: 50%; }
.pl-console-top i:nth-child(1) { background: #FF6B5B; } .pl-console-top i:nth-child(2) { background: #FFC94A; } .pl-console-top i:nth-child(3) { background: #3DD68C; }
.pl-console-top span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: rgba(255,255,255,.06); font: 11.5px var(--mono); color: #8FA89A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.pl-console-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pl-pane { padding: 22px 24px; min-width: 0; }
.pl-pane + .pl-pane { border-left: 1px solid rgba(255,255,255,.07); }
.pl-pane-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #7F9A8B; }
.pl-pane-h b { padding: 2px 8px; border-radius: 6px; background: rgba(204,255,51,.14); color: var(--lime); font: 600 11.5px var(--mono); letter-spacing: 0; text-transform: none; }
.pl-pre { margin: 0; font-size: 13px; line-height: 1.7; white-space: pre; overflow-x: auto; color: #DCEBE1; }
.pl-pre .k { color: #9BD3FF; } .pl-pre .s { color: var(--lime); } .pl-pre .n { color: #FFB48A; } .pl-pre .c { color: #6E8A7B; } .pl-pre .p { color: #7F9A8B; } .pl-pre .m { color: #3DD68C; font-weight: 600; }
.pl-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 14px; background: #FFFFFF; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pl-float img { width: 28px; height: 28px; border-radius: 8px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); padding: 3px; object-fit: contain; }
.pl-float small { display: block; font-size: 11.5px; font-weight: 550; color: var(--grey); }
.pl-float b { font-weight: 800; }
.pl-float-a { left: 5%; top: -26px; animation: pl-pop .7s 1s var(--ease) both, pl-bob 6s 1.7s ease-in-out infinite; }
.pl-float-b { right: -4%; top: 44%; background: var(--sky); animation: pl-pop .7s 1.2s var(--ease) both, pl-bob 7s 1.9s ease-in-out infinite reverse; }
.pl-float-b small { color: var(--sky-ink); }
@keyframes pl-pop { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pl-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 980px) { .pl-float-a { left: 2%; top: -24px; } .pl-float-b { right: 2%; top: auto; bottom: 14%; } }
@media (max-width: 760px) { .pl-console-body { grid-template-columns: minmax(0, 1fr); } .pl-pane + .pl-pane { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); } .pl-float-b { display: none; } .pl-pre { font-size: 12px; } }

/* bank strip */
.pl-strip { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pl-strip p { margin: 0 0 20px; text-align: center; font-size: 15px; color: var(--muted); }
.pl-strip p strong { color: var(--ink); }
.pl-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pl-marquee-track { display: flex; gap: 12px; width: max-content; animation: pl-marquee 50s linear infinite; }
.pl-marquee:hover .pl-marquee-track { animation-play-state: paused; }
@keyframes pl-marquee { to { transform: translateX(-50%); } }
.pl-bankchip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--mint); font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: none; }
.pl-bankchip img { width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; padding: 4px; object-fit: contain; }

/* products */
.pl-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pl-product { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; scroll-margin-top: 130px; }
.pl-product.is-lime { background: var(--lime-soft); } .pl-product.is-sky { background: var(--sky); }
.pl-product .pl-sub { font-size: 16.5px; }
.pl-product-tag { display: inline-flex; width: fit-content; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12.5px; font-weight: 650; }
.pl-fields { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pl-fields li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 600; }
.pl-endpoints { display: flex; flex-direction: column; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pl-endpoints li { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.7); font: 13.5px var(--mono); min-width: 0; }
.pl-endpoints b { flex: none; font-size: 11.5px; font-weight: 700; color: var(--emerald); }
.pl-endpoints span { overflow-wrap: anywhere; }
.pl-rate { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pl-rate strong { font-size: clamp(44px, 5vw, 64px); font-weight: 850; letter-spacing: -0.04em; line-height: 1; color: var(--sky-ink); font-variant-numeric: tabular-nums; }
.pl-rate span { font-size: 14px; font-weight: 600; color: var(--sky-ink); }
.pl-product-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 860px) { .pl-products { grid-template-columns: minmax(0, 1fr); } }

/* try it */
.pl-try { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pl-try-form { display: flex; flex-direction: column; gap: 14px; }
.pl-try-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.pl-try-field input:focus, .pl-try-field input:focus-visible { outline: none; }
.pl-try-field input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.pl-try-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-try-chips button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); font: 600 13.5px var(--mono); color: var(--ink); cursor: pointer; transition: background .15s; }
.pl-try-chips button:hover { background: var(--lime-soft); }
.pl-try-out { border-radius: 22px; overflow: hidden; background: #0E2318; box-shadow: var(--shadow); }
.pl-try-out .pl-pane { max-height: 460px; overflow: auto; }
.pl-try-url { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.07); font: 13px var(--mono); color: #8FA89A; min-width: 0; }
.pl-try-url b { flex: none; color: var(--lime); }
.pl-try-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-try-url em { flex: none; margin-left: auto; font-style: normal; font-weight: 600; color: #3DD68C; }
.pl-try-url em.is-err { color: #FFB48A; }
@media (max-width: 860px) { .pl-try { grid-template-columns: minmax(0, 1fr); } }

/* use cases */
.pl-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pl-use { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.pl-use-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); font-size: 14px; font-weight: 800; }
.pl-use strong { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; }
.pl-use p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.pl-use code { white-space: nowrap; font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: var(--mint); color: var(--emerald); }
@media (max-width: 1040px) { .pl-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pl-uses { grid-template-columns: minmax(0, 1fr); } }

/* reference */
.pl-ref { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #FFFFFF; }
.pl-ref th, .pl-ref td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.pl-ref tr:last-child td { border-bottom: 0; }
.pl-ref th { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--grey); background: var(--mint); }
.pl-ref td:first-child { white-space: nowrap; font: 600 14px var(--mono); }
.pl-ref td:first-child b { margin-right: 10px; font-size: 11.5px; color: var(--emerald); }
.pl-ref td:last-child { color: var(--muted); }
.pl-ref-wrap { overflow-x: auto; border-radius: 22px; }
.pl-sub code { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .pl-ref thead { display: none; }
  .pl-ref, .pl-ref tbody, .pl-ref tr, .pl-ref td { display: block; }
  .pl-ref tr { border-bottom: 1px solid var(--line); }
  .pl-ref tr:last-child { border-bottom: 0; }
  .pl-ref td { border-bottom: 0; }
  .pl-ref td:first-child { padding-bottom: 4px; white-space: normal; overflow-wrap: anywhere; }
  .pl-ref td:last-child { padding-top: 0; }
}
.pl-ref-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.pl-ref-note a { color: var(--emerald); font-weight: 650; }

/* same data band */
.pl-same { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pl-same-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pl-same-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pl-same-list li span:first-child { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.pl-same-list strong { display: block; font-size: 16.5px; font-weight: 700; }
.pl-same-list small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: #C9DDD0; }
.pl-same-list code { font-size: 13px; color: var(--lime); }
@media (max-width: 860px) { .pl-same { grid-template-columns: minmax(0, 1fr); } }

/* faq + final */
.pl-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .pl-faq { grid-template-columns: minmax(0, 1fr); } }
.pl-final { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 32px; background: var(--lime); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pl-final .pl-sub { color: var(--ink-2); }
.pl-final-mark { position: absolute; right: -40px; bottom: -50px; opacity: .14; pointer-events: none; }

/* ── directories (banks. / rates.spendprofile.app) ───────────────────────── */
.dir-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dir-search { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; height: 58px; margin-top: 8px; padding: 0 22px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); color: var(--grey); }
.dir-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.dir-search input:focus, .dir-search input:focus-visible { outline: none; }
.dir-search input::-webkit-search-cancel-button { cursor: pointer; }
.dir-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--grey); }
.dir-link { padding: 0; border: 0; background: none; font: inherit; color: var(--emerald); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(3,100,49,.35); cursor: pointer; }
.dir-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(72px, 9vw, 120px); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.dir-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 24px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; scroll-margin-top: 130px; }
.dir-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.dir-card[hidden] { display: none; }
.dir-card-h { display: flex; align-items: center; gap: 12px; }
.dir-logo { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); }
.dir-logo img { width: 32px; height: 32px; object-fit: contain; }
.dir-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dir-name strong { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.dir-name small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); text-transform: capitalize; }
.dir-swatch { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(11,31,20,.12); }
.dir-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--lime-soft); color: var(--emerald); font-size: 12px; font-weight: 700; }
.dir-badge svg { width: 13px; height: 13px; }
.dir-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dir-code { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; background: var(--mint); min-width: 0; }
.dir-code-k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--grey); }
.dir-code-v { padding: 0; border: 0; background: none; text-align: left; font: 600 14px var(--mono); color: var(--ink); cursor: copy; overflow-wrap: anywhere; transition: color .15s; }
.dir-code-v:hover, .dir-code-v.is-copied { color: var(--emerald); }
.dir-web { font-size: 14px; font-weight: 600; color: var(--emerald); text-decoration: none; }
.dir-web:hover { text-decoration: underline; }
.dir-empty { margin: 0; padding: 40px 0; text-align: center; color: var(--muted); }
.dir-note { max-width: 720px; margin: 40px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.dir-note code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--mint); color: var(--emerald); }
.dir-note a { color: var(--emerald); font-weight: 650; }
.dir-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(11,31,20,.55); transition: transform .2s var(--ease); }
.dir-fab:hover { transform: translateY(-2px); }
.dir-fab svg { color: var(--lime); }
.dir-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; background: rgba(11,31,20,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dir-modal[hidden] { display: none; }
.dir-modal-box { position: relative; width: 100%; max-width: 520px; margin: auto; padding: clamp(24px, 4vw, 32px); border-radius: 28px; background: #FFFFFF; box-shadow: 0 40px 80px -30px rgba(11,31,20,.5); animation: pl-pop .35s var(--ease) both; }
.dir-modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mint); font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; }
.dir-modal-lead { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.dir-form { display: flex; flex-direction: column; gap: 14px; }
.dir-field { display: flex; flex-direction: column; gap: 6px; }
.dir-field span { font-size: 14px; font-weight: 650; }
.dir-field em { font-style: normal; font-weight: 500; color: var(--grey); }
.dir-field input[type=text], .dir-field input[type=email] { height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--mint); font: inherit; font-size: 15.5px; color: var(--ink); }
.dir-field input:focus, .dir-field input:focus-visible { outline: none; }
.dir-field input[type=file] { padding: 14px; border-radius: 14px; background: var(--mint); font: inherit; font-size: 14px; color: var(--muted); }
.dir-form-note { margin: 0; font-size: 13px; color: var(--grey); }
.dir-form-note a { color: var(--emerald); font-weight: 650; }
.dir-form .pg-btn { align-self: flex-start; }
.dir-form .pg-btn:disabled { opacity: .55; cursor: default; }
.dir-msg { display: none; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.dir-msg.is-ok { display: block; background: var(--lime-soft); color: var(--emerald); }
.dir-msg.is-err { display: block; background: var(--peach); color: var(--peach-ink); }
.dir-rate-card { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 560px; margin-top: 10px; padding: clamp(22px, 3vw, 30px); border-radius: 28px; background: #FFFFFF; box-shadow: var(--shadow); }
.dir-rate-k, .dir-rate-m { margin: 0; font-size: 14px; font-weight: 600; color: var(--grey); }
.dir-rate-v { margin: 0; font-size: clamp(56px, 9vw, 96px); font-weight: 850; letter-spacing: -0.05em; line-height: 1; color: var(--emerald); font-variant-numeric: tabular-nums; }
.dir-history { max-width: 760px; scroll-margin-top: 130px; }
.dir-num { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }
@media (max-width: 560px) { .dir-fab { right: 14px; bottom: 14px; height: 46px; padding: 0 18px; font-size: 14px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pg-root *, .pg-root *::before, .pg-root *::after { animation: none !important; transition: none !important; }
}
