/* ============================================================
   figureslk — brand design system
   Palette sampled from the logo: navy #0d1c3a, teal #1fa5a4,
   aqua #3bbab5, gold #d9aa44, orange #f19231, flame #f16326,
   red #e5422b. Navy-first (dark default) with a light variant.
   Status is always icon + word (never colour alone). WCAG AA.
   ============================================================ */

:root {
    /* Brand */
    --lp-navy: #0d1c3a;
    --lp-navy-2: #12254b;
    --lp-navy-3: #183060;
    --lp-teal: #1fa5a4;
    --lp-aqua: #3bbab5;
    --lp-gold: #d9aa44;
    --lp-orange: #f19231;
    --lp-flame: #f16326;
    --lp-red: #e5422b;
    --lp-ribbon: linear-gradient(90deg, var(--lp-teal), var(--lp-gold) 55%, var(--lp-orange) 78%, var(--lp-red));
    --lp-warm: linear-gradient(135deg, var(--lp-gold), var(--lp-orange) 60%, var(--lp-flame));

    /* Theme (dark navy default) */
    --lp-bg: #0a1730;
    --lp-surface: #0f1f40;
    --lp-card: #12244a;
    --lp-glass: rgba(255, 255, 255, .045);
    --lp-glass-strong: rgba(255, 255, 255, .075);
    --lp-glass-border: rgba(255, 255, 255, .09);
    --lp-border: rgba(255, 255, 255, .10);
    --lp-text: #e9eef6;
    --lp-muted: #98a6b9;
    --lp-primary: #2bb7b5;
    --lp-primary-700: #1fa5a4;
    --lp-accent: var(--lp-gold);
    --lp-accent-soft: rgba(217, 170, 68, .14);
    --lp-link: #5fd0cd;

    --lp-good: #3ddc97;   --lp-good-bg: rgba(61, 220, 151, .13);
    --lp-watch: #f2b84b;  --lp-watch-bg: rgba(242, 184, 75, .14);
    --lp-concern: #ff7462; --lp-concern-bg: rgba(255, 116, 98, .14);
    --lp-unknown: #98a6b9; --lp-unknown-bg: rgba(152, 166, 185, .12);

    /* Shape, depth, motion */
    --lp-radius: 20px;
    --lp-radius-sm: 12px;
    --lp-e1: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 10px rgba(0, 0, 0, .18);
    --lp-e2: 0 8px 30px rgba(0, 0, 0, .32);
    --lp-e3: 0 18px 60px rgba(0, 0, 0, .45);
    --lp-touch: 44px;
    --lp-nav-space: 92px;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-ease-ios: cubic-bezier(0.4, 0, 0.2, 1);
    --lp-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --lp-font-latin: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lp-font-display: "Poppins", var(--lp-font-latin);
    --lp-font-sinhala: "Noto Sans Sinhala", var(--lp-font-latin);
    --lp-font-tamil: "Noto Sans Tamil", var(--lp-font-latin);
    color-scheme: dark;
}

:root[data-theme="light"] {
    color-scheme: light;
    --lp-bg: #f3f6fb;
    --lp-surface: #ffffff;
    --lp-card: #ffffff;
    --lp-glass: rgba(255, 255, 255, .78);
    --lp-glass-strong: #ffffff;
    --lp-glass-border: rgba(13, 28, 58, .09);
    --lp-border: rgba(13, 28, 58, .11);
    --lp-text: #0d1c3a;
    --lp-muted: #56657d;
    --lp-primary: #158a89;
    --lp-primary-700: #0f6f6e;
    --lp-accent-soft: rgba(217, 170, 68, .16);
    --lp-link: #12807f;
    --lp-good: #11845b;   --lp-good-bg: #e3f5ec;
    --lp-watch: #9a6400;  --lp-watch-bg: #fdf1d8;
    --lp-concern: #c5221f; --lp-concern-bg: #fde7e4;
    --lp-unknown: #56657d; --lp-unknown-bg: #eceff4;
    --lp-e1: 0 1px 2px rgba(13, 28, 58, .06), 0 2px 10px rgba(13, 28, 58, .05);
    --lp-e2: 0 8px 30px rgba(13, 28, 58, .10);
    --lp-e3: 0 18px 60px rgba(13, 28, 58, .16);
}

/* ---------- Base ---------- */
* { -webkit-font-smoothing: antialiased; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--lp-nav-space) + 64px); }
body { font-family: var(--lp-font-latin); background: var(--lp-bg); color: var(--lp-text); line-height: 1.6; overflow-x: hidden; }
[lang="si"] { font-family: var(--lp-font-sinhala); line-height: 1.75; }
[lang="ta"] { font-family: var(--lp-font-tamil); line-height: 1.75; }
h1, h2, h3, .lp-display { font-family: var(--lp-font-display); letter-spacing: -0.02em; }
[lang="si"] h1, [lang="si"] h2, [lang="si"] h3 { font-family: var(--lp-font-sinhala); }
[lang="ta"] h1, [lang="ta"] h2, [lang="ta"] h3 { font-family: var(--lp-font-tamil); }
a { color: var(--lp-link); text-decoration: none; }
a:hover { color: var(--lp-text); }
::selection { background: rgba(31, 165, 164, .35); }
.text-secondary, .text-muted-2 { color: var(--lp-muted) !important; }
.lp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp-icon { display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 3000; padding: .5rem .75rem; background: var(--lp-gold); color: var(--lp-navy); border-radius: 10px; font-weight: 600; }
main { padding-top: var(--lp-nav-space); }

/* Ambient brand glow behind everything (subtle). */
.lp-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(900px 500px at 85% -10%, rgba(31, 165, 164, .10), transparent 60%),
      radial-gradient(700px 400px at -10% 30%, rgba(217, 170, 68, .06), transparent 60%),
      var(--lp-bg); }
:root[data-theme="light"] .lp-ambient { opacity: .55; }

/* Bootstrap harmonisation */
.table { --bs-table-bg: transparent; --bs-table-color: var(--lp-text); --bs-table-border-color: var(--lp-border); }
.alert-info { --bs-alert-bg: var(--lp-glass); --bs-alert-border-color: var(--lp-glass-border); --bs-alert-color: var(--lp-text); border-radius: var(--lp-radius-sm); }
.btn-outline-secondary { --bs-btn-color: var(--lp-text); --bs-btn-border-color: var(--lp-border); --bs-btn-hover-bg: var(--lp-glass-strong); --bs-btn-hover-color: var(--lp-text); --bs-btn-hover-border-color: var(--lp-border); border-radius: 999px; }
.btn-primary { --bs-btn-bg: var(--lp-teal); --bs-btn-border-color: var(--lp-teal); --bs-btn-hover-bg: var(--lp-aqua); --bs-btn-hover-border-color: var(--lp-aqua); border-radius: 999px; font-weight: 600; }
input[type="checkbox"] { accent-color: var(--lp-teal); width: 18px; height: 18px; }

/* =========================================================
   Island navbar
   ========================================================= */
.lp-island-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 12px 12px 0; pointer-events: none; }
.lp-island {
    pointer-events: auto; position: relative; max-width: 1240px; margin: 0 auto;
    min-height: 66px; padding: 8px 10px 8px 14px; border-radius: 22px;
    background: rgba(13, 28, 58, .74);
    -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 40px rgba(3, 10, 26, .35);
    color: #e9eef6; flex-wrap: wrap;
    transition: padding .45s var(--lp-ease), min-height .45s var(--lp-ease), background .45s var(--lp-ease-ios), box-shadow .45s var(--lp-ease-ios), max-width .6s var(--lp-ease);
}
.lp-island::after { /* the logo's ribbon as a living underline */
    content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--lp-teal), var(--lp-gold), var(--lp-orange), var(--lp-red), transparent);
    background-size: 200% 100%; opacity: .75; animation: lp-shimmer 9s linear infinite;
}
@keyframes lp-shimmer { to { background-position: 200% 0; } }
.lp-island-wrap.scrolled .lp-island { min-height: 58px; padding-top: 5px; padding-bottom: 5px; max-width: 1180px; background: rgba(10, 22, 46, .86); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 50px rgba(3, 10, 26, .5); }

.lp-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; margin-right: .75rem; }
.lp-brand:hover { color: #fff; }
.lp-brand-mark { width: auto; height: 36px; transition: transform .6s var(--lp-spring); filter: drop-shadow(0 4px 12px rgba(241, 99, 38, .25)); }
.lp-brand:hover .lp-brand-mark { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1; }
.lp-wordmark { font-family: var(--lp-font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: -0.03em; }
.lp-wm-figures { color: #fff; }
.lp-wm-lk { background: linear-gradient(135deg, var(--lp-aqua), var(--lp-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-brand-tag { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: #8b9aab; margin-top: .28rem; font-family: var(--lp-font-latin); font-weight: 600; }
[lang="si"].lp-brand-tag, [lang="ta"].lp-brand-tag { letter-spacing: .02em; font-size: .66rem; text-transform: none; }

/* Burger → X */
.lp-burger { border: 0; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .06); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; margin-left: auto; }
.lp-burger:focus { box-shadow: 0 0 0 3px rgba(31, 165, 164, .4); }
.lp-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--lp-spring), opacity .25s var(--lp-ease-ios); }
.lp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.lp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Links + sliding indicator */
.lp-nav-track { position: relative; }
.lp-nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; position: relative; z-index: 1; }
.lp-nav-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .85rem; border-radius: 999px; color: #b9c5d6; font-weight: 500; font-size: .93rem; white-space: nowrap; transition: color .3s var(--lp-ease-ios); }
.lp-nav-link .lp-icon { opacity: .7; transition: opacity .3s, transform .45s var(--lp-spring); }
.lp-nav-link:hover, .lp-nav-link.active { color: #fff; }
.lp-nav-link:hover .lp-icon { opacity: 1; transform: translateY(-1px) scale(1.12); }
.lp-nav-link.active .lp-icon { opacity: 1; color: var(--lp-gold); }
.lp-nav-indicator { position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; z-index: 0; opacity: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .5s var(--lp-spring), width .5s var(--lp-spring), opacity .3s var(--lp-ease-ios); }

.lp-nav-actions { display: flex; align-items: center; gap: .5rem; }
.lp-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #e9eef6; display: inline-grid; place-items: center; transition: transform .5s var(--lp-spring), background .25s; }
.lp-icon-btn:hover { background: rgba(255, 255, 255, .11); transform: rotate(20deg); }
.lp-icon-btn:active { transform: scale(.9); }
:root:not([data-theme="light"]) .lp-ico-moon { display: none; }
:root[data-theme="light"] .lp-ico-sun { display: none; }
.lp-cta { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--lp-navy); background: var(--lp-warm); box-shadow: 0 6px 20px rgba(241, 146, 49, .28); transition: transform .4s var(--lp-spring), box-shadow .3s; }
.lp-cta:hover { color: var(--lp-navy); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(241, 146, 49, .4); }
.lp-cta:active { transform: scale(.96); }

/* Language switch (glass segmented) */
.lp-lang-toggle { display: inline-flex; gap: 2px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; padding: 3px; }
.lp-lang { padding: .34rem .66rem; border-radius: 999px; font-size: .82rem; color: #b9c5d6; line-height: 1.3; transition: background .3s var(--lp-ease-ios), color .3s; }
.lp-lang:hover { color: #fff; }
.lp-lang.active { background: var(--lp-teal); color: #fff; box-shadow: 0 4px 14px rgba(31, 165, 164, .35); }

@media (min-width: 992px) {
    .lp-island { flex-wrap: nowrap; }
    .lp-nav-sheet { flex: 1 1 auto; min-width: 0; justify-content: space-between; align-items: center; gap: 1rem; }
}
/* Sinhala/Tamil labels run 30–40% longer: the navbar shows the brand without the
   translated tagline (the footer still carries it), and the JS fit-check below
   switches to compact mode if anything would still overflow. */
.lp-brand-tag { white-space: nowrap; }
.lp-island .lp-brand-tag[lang="si"], .lp-island .lp-brand-tag[lang="ta"] { display: none; }
.lp-island.lp-compact .lp-brand-tag, .lp-island.lp-compact .lp-nav-link .lp-icon, .lp-island.lp-compact .lp-cta span { display: none; }
.lp-island.lp-compact .lp-nav-link { padding: 0 .62rem; }
.lp-island.lp-compact .lp-cta { padding: 0 .8rem; }
.lp-island.lp-compact .lp-lang { padding: .34rem .5rem; }
.lp-hero[lang="si"] .lp-hero-title, .lp-hero[lang="ta"] .lp-hero-title { font-size: clamp(1.9rem, 4.1vw, 3.1rem); line-height: 1.28; }

/* Keep one row on mid-size desktops: drop link icons, then the tagline. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .lp-nav-link .lp-icon { display: none; }
    .lp-nav-link { padding: 0 .72rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lp-brand-tag { display: none; }
    .lp-cta span { display: none; }
    .lp-cta { padding: 0 .8rem; }
    .lp-lang { padding: .34rem .5rem; }
}
@media (max-width: 991.98px) {
    .lp-island { border-radius: 20px; }
    .lp-nav-sheet { flex-basis: 100%; }
    .lp-nav-sheet .lp-nav-track { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid rgba(255, 255, 255, .08); }
    .lp-nav-links { flex-direction: column; gap: .2rem; }
    .lp-nav-link { min-height: 50px; font-size: 1.02rem; width: 100%; padding: 0 .9rem; border-radius: 14px; }
    .lp-nav-link:hover, .lp-nav-link.active { background: rgba(255, 255, 255, .07); }
    .lp-nav-indicator { display: none; }
    .lp-nav-actions { flex-wrap: wrap; padding: .8rem 0 .4rem; }
    .lp-nav-actions .lp-cta { flex: 1 1 100%; justify-content: center; min-height: 48px; }
    .lp-nav-sheet.show .lp-nav-links li, .lp-nav-sheet.show .lp-nav-actions { animation: lp-sheet-in .5s var(--lp-ease) both; }
    .lp-nav-sheet.show .lp-nav-links li:nth-child(2) { animation-delay: .04s; }
    .lp-nav-sheet.show .lp-nav-links li:nth-child(3) { animation-delay: .08s; }
    .lp-nav-sheet.show .lp-nav-links li:nth-child(4) { animation-delay: .12s; }
    .lp-nav-sheet.show .lp-nav-links li:nth-child(5) { animation-delay: .16s; }
    .lp-nav-sheet.show .lp-nav-actions { animation-delay: .2s; }
    .lp-brand-tag { display: none; }
}
@keyframes lp-sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Hero
   ========================================================= */
.lp-hero { position: relative; overflow: hidden; isolation: isolate; color: #e9eef6;
    margin-top: calc(-1 * var(--lp-nav-space)); padding: calc(var(--lp-nav-space) + 3.5rem) 0 7.5rem;
    background: linear-gradient(180deg, #0a1730 0%, #0d1c3a 55%, #0f2246 100%); }
.lp-aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; filter: blur(70px); opacity: .9; }
.lp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: lp-drift 18s var(--lp-ease-ios) infinite alternate; }
.lp-aurora span:nth-child(1) { width: 48vw; height: 48vw; left: -8vw; top: 4vw; background: radial-gradient(circle, rgba(31, 165, 164, .55), transparent 65%); }
.lp-aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -6vw; top: -6vw; background: radial-gradient(circle, rgba(241, 99, 38, .38), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.lp-aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 38vw; top: 14vw; background: radial-gradient(circle, rgba(217, 170, 68, .35), transparent 65%); animation-duration: 26s; animation-delay: -11s; }
@keyframes lp-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(4vw, 2vw, 0) scale(1.12); } 100% { transform: translate3d(-3vw, 3vw, 0) scale(.95); } }
.lp-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.lp-hero-inner { position: relative; }
.lp-live-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #cfe9e8; background: rgba(31, 165, 164, .12); border: 1px solid rgba(59, 186, 181, .28); margin-bottom: 1.2rem; }
.lp-live-chip-sm { margin-bottom: 0; font-size: .76rem; color: var(--lp-muted); background: rgba(31, 165, 164, .08); }
.lp-fx { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem; padding: .7rem 1rem; border-radius: 16px; background: var(--lp-glass); border: 1px solid rgba(217, 170, 68, .35); backdrop-filter: blur(10px); font-size: .86rem; color: var(--lp-muted); max-width: 100%; }
.lp-fx .lp-live-dot { align-self: center; background: var(--lp-gold); }
.lp-fx-label { font-weight: 600; color: inherit; }
.lp-fx-pair { font-weight: 500; color: var(--lp-muted); }
.lp-fx-mid { font-size: 1.35rem; font-variant-numeric: tabular-nums; color: #d9aa44; letter-spacing: -.01em; }
.lp-fx-bs b { font-weight: 600; font-variant-numeric: tabular-nums; color: inherit; }
.lp-fx-src { font-size: .76rem; color: var(--lp-muted); text-decoration: underline dotted; }
[data-theme="light"] .lp-fx-mid { color: #a87a17; }
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-aqua); box-shadow: 0 0 0 0 rgba(59, 186, 181, .7); animation: lp-pulse 2.2s infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 186, 181, .6); } 70% { box-shadow: 0 0 0 10px rgba(59, 186, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 186, 181, 0); } }
.lp-hero-title { font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.06; margin: 0 0 1.1rem; color: #fff; }
.lp-gradient-text { background: linear-gradient(100deg, var(--lp-aqua) 0%, var(--lp-gold) 45%, var(--lp-orange) 75%, var(--lp-flame) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lp-shine 8s ease-in-out infinite alternate; }
@keyframes lp-shine { to { background-position: 100% center; } }
.lp-hero-lead { color: #b6c3d4; max-width: 40rem; font-size: 1.12rem; margin-bottom: 1.8rem; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.lp-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 50px; padding: 0 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .45s var(--lp-spring), box-shadow .3s, background .3s; }
.lp-btn:active { transform: scale(.96); }
.lp-btn-primary { color: var(--lp-navy); background: var(--lp-warm); box-shadow: 0 10px 30px rgba(241, 146, 49, .32); }
.lp-btn-primary:hover { color: var(--lp-navy); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(241, 146, 49, .45); }
.lp-btn-primary .lp-icon { transition: transform .45s var(--lp-spring); }
.lp-btn-primary:hover .lp-icon { transform: translate(3px, -3px); }
.lp-btn-glass { color: #e9eef6; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .11); transform: translateY(-2px); }

/* KPI glass panel */
.lp-kpi-panel { position: relative; border-radius: 26px; padding: 1.1rem; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(3, 10, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .08); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform .8s var(--lp-ease); }
.lp-kpi-panel:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.lp-kpi-panel-head { display: flex; align-items: center; gap: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--lp-gold); padding: .2rem .4rem .8rem; }
.lp-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.lp-kpi { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2rem; padding: .9rem .95rem .6rem; border-radius: 18px; color: #e9eef6; background: rgba(13, 28, 58, .55); border: 1px solid rgba(255, 255, 255, .08); transition: transform .45s var(--lp-spring), border-color .3s, background .3s; }
.lp-kpi:hover { color: #fff; transform: translateY(-3px); border-color: rgba(59, 186, 181, .45); background: rgba(13, 28, 58, .75); }
.lp-kpi-label { font-size: .78rem; color: #9fb0c4; font-weight: 600; }
.lp-kpi-value { font-family: var(--lp-font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-kpi-unit { font-size: .72rem; font-weight: 600; color: #9fb0c4; font-family: var(--lp-font-latin); letter-spacing: 0; }
.lp-kpi-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .4rem; font-size: .7rem; margin-top: .15rem; }
.lp-kpi-spark { width: 100%; height: 30px; margin-top: .3rem; }
.lp-kpi .lp-status-sm { font-size: .68rem; padding: .08rem .42rem; white-space: normal; max-width: 100%; }
@media (max-width: 991.98px) {
    .lp-kpi-panel, .lp-kpi-panel:hover { transform: none; }
    .lp-hero { padding-bottom: 6.5rem; }
}
@media (max-width: 420px) {
    .lp-kpi { padding: .8rem .75rem .5rem; }
    .lp-kpi-value { font-size: 1.32rem; }
}

/* Rising ribbon */
.lp-hero-ribbon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; z-index: -1; overflow: visible; }
.lp-ribbon-path { fill: none; stroke: url(#lp-ribbon); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: lp-draw 2.6s var(--lp-ease) .3s forwards; filter: drop-shadow(0 0 10px rgba(217, 170, 68, .45)); }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp-ribbon-nodes circle { fill: #0d1c3a; stroke: var(--lp-gold); stroke-width: 2.5; opacity: 0; animation: lp-node .5s var(--lp-spring) forwards; }
.lp-ribbon-nodes circle:nth-child(1) { animation-delay: 1.0s; stroke: var(--lp-aqua); }
.lp-ribbon-nodes circle:nth-child(2) { animation-delay: 1.35s; }
.lp-ribbon-nodes circle:nth-child(3) { animation-delay: 1.7s; }
.lp-ribbon-nodes circle:nth-child(4) { animation-delay: 2.05s; stroke: var(--lp-orange); }
.lp-ribbon-nodes circle:nth-child(5) { animation-delay: 2.4s; stroke: var(--lp-red); fill: var(--lp-red); }
@keyframes lp-node { from { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; } to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; } }

/* =========================================================
   Sticky category chips (scroll-spy)
   ========================================================= */
.lp-chipbar { position: sticky; top: calc(var(--lp-nav-space) - 10px); z-index: 1010; margin-top: -2.2rem; pointer-events: none; }
.lp-chips { pointer-events: auto; display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: .45rem; border-radius: 999px; background: color-mix(in srgb, var(--lp-surface) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border: 1px solid var(--lp-glass-border); box-shadow: var(--lp-e2); }
.lp-chips::-webkit-scrollbar { display: none; }
.lp-chip { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; min-height: 38px; padding: 0 .9rem; border-radius: 999px; color: var(--lp-muted); font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background .35s var(--lp-ease-ios), color .3s; }
.lp-chip:hover { color: var(--lp-text); background: var(--lp-glass-strong); }
.lp-chip.active { color: var(--lp-navy); background: linear-gradient(135deg, var(--lp-aqua), var(--lp-teal)); box-shadow: 0 6px 18px rgba(31, 165, 164, .35); }
.lp-chip-count { font-size: .7rem; min-width: 1.4rem; text-align: center; padding: .05rem .35rem; border-radius: 999px; background: var(--lp-glass-strong); }
.lp-chip.active .lp-chip-count { background: rgba(13, 28, 58, .18); }

/* =========================================================
   Category sections + cards
   ========================================================= */
.lp-cat-section { margin-top: 3rem; }
.lp-cat-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.lp-cat-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cat-c, var(--lp-teal)); background: color-mix(in srgb, var(--cat-c, var(--lp-teal)) 16%, transparent); border: 1px solid color-mix(in srgb, var(--cat-c, var(--lp-teal)) 35%, transparent); box-shadow: 0 8px 24px color-mix(in srgb, var(--cat-c, var(--lp-teal)) 22%, transparent); }
.lp-cat-title { font-size: 1.35rem; font-weight: 700; margin: 0; }
.lp-cat-count { font-size: .8rem; color: var(--lp-muted); }
.lp-cat-link { margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--lp-link); padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--lp-glass-border); transition: background .3s, transform .4s var(--lp-spring); }
.lp-cat-link:hover { background: var(--lp-glass-strong); transform: translateX(2px); }
.lp-card-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .lp-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .lp-card-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-empty { padding: 3rem; text-align: center; color: var(--lp-muted); border: 1px dashed var(--lp-border); border-radius: var(--lp-radius); }

.lp-card { position: relative; isolation: isolate; border-radius: var(--lp-radius); overflow: hidden;
    background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border);
    box-shadow: var(--lp-e1); transition: transform .5s var(--lp-ease), box-shadow .5s var(--lp-ease); }
:root[data-theme="light"] .lp-card { background: #fff; }
.lp-card::before { /* cursor spotlight */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 186, 181, .16), transparent 45%); }
.lp-card::after { /* gradient border on hover */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
    background: linear-gradient(135deg, var(--lp-aqua), var(--lp-gold) 55%, var(--lp-flame));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity .45s var(--lp-ease-ios); }
.lp-card:hover { transform: translateY(-5px); box-shadow: var(--lp-e3); }
.lp-card:hover::before, .lp-card:hover::after { opacity: 1; }
.lp-card-link { display: block; padding: 1.2rem 1.25rem 1rem; color: inherit; height: 100%; }
.lp-card-link:hover { color: inherit; }
.lp-card-head { display: flex; align-items: start; justify-content: space-between; gap: .5rem; }
.lp-card-title { font-family: var(--lp-font-latin); font-size: .95rem; font-weight: 600; margin: 0; color: var(--lp-muted); letter-spacing: 0; }
.lp-card-value { font-family: var(--lp-font-display); font-size: 2.05rem; font-weight: 700; margin: .5rem 0 .2rem; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--lp-text); }
.lp-card-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .88rem; }
.lp-card-change { color: var(--lp-muted); }
.lp-card-spark { width: 100%; height: 44px; margin: .7rem 0 .3rem; }
.lp-card-meaning { color: var(--lp-muted); font-size: .88rem; margin: .1rem 0 .7rem; }
.lp-card-foot { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; border-top: 1px solid var(--lp-glass-border); padding-top: .6rem; font-size: .8rem; }

/* Status + trend */
.lp-status { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .62rem; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.lp-status-sm { font-size: .74rem; padding: .14rem .52rem; }
.lp-status.status-good { color: var(--lp-good); background: var(--lp-good-bg); }
.lp-status.status-watch { color: var(--lp-watch); background: var(--lp-watch-bg); }
.lp-status.status-concern { color: var(--lp-concern); background: var(--lp-concern-bg); }
.lp-status.status-unknown { color: var(--lp-unknown); background: var(--lp-unknown-bg); }
.lp-trend { display: inline-flex; align-items: center; gap: .2rem; font-weight: 600; font-size: .85rem; }
.lp-trend-up { color: var(--lp-good); }
.lp-trend-down { color: var(--lp-concern); }
.lp-trend-flat { color: var(--lp-muted); }
.lp-review-badge { font-size: .68rem; font-weight: 600; color: var(--lp-watch); background: var(--lp-watch-bg); border-radius: 6px; padding: .06rem .4rem; }
.lp-prov-flag, .lp-prov { color: var(--lp-watch); }
.lp-source { color: var(--lp-muted); }

/* =========================================================
   Detail page
   ========================================================= */
.lp-detail nav[aria-label="Breadcrumb"] a { color: var(--lp-muted); }
.lp-detail nav[aria-label="Breadcrumb"] a:hover { color: var(--lp-text); }
.lp-detail-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.lp-detail-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
.lp-detail-meaning { color: var(--lp-muted); max-width: 48rem; font-size: 1.06rem; }
.lp-layer1 { position: relative; overflow: hidden; border-radius: 24px; padding: 1.6rem 1.7rem; border: 1px solid var(--lp-glass-border);
    background: radial-gradient(600px 240px at 100% 0%, rgba(241, 146, 49, .14), transparent 60%), radial-gradient(500px 220px at 0% 100%, rgba(31, 165, 164, .16), transparent 60%), linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass));
    box-shadow: var(--lp-e2); }
.lp-big-value { font-family: var(--lp-font-display); font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; font-variant-numeric: tabular-nums; }
.lp-big-meta { display: flex; align-items: center; gap: 1rem; margin: .5rem 0 .95rem; flex-wrap: wrap; }
.lp-detail-chart { margin: 1.6rem 0; border-radius: 24px; padding: 1.2rem; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); box-shadow: var(--lp-e1); }
.lp-chart-canvas-wrap { position: relative; width: 100%; height: clamp(300px, 46vw, 460px); }
.lp-chart-canvas { width: 100% !important; height: 100% !important; }
.lp-chart-actions { margin-top: .85rem; }
.lp-chart-fallback summary { display: inline-flex !important; min-height: 34px !important; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--lp-glass-border); background: var(--lp-glass); color: var(--lp-text); font-size: .85rem; font-weight: 600; margin-top: .9rem; list-style: none; transition: background .3s; }
.lp-chart-fallback summary::-webkit-details-marker { display: none; }
.lp-chart-fallback summary:hover { background: var(--lp-glass-strong); }

.lp-chart-controls { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .lp-chart-controls { flex-direction: row; align-items: center; flex-wrap: wrap; } }
.lp-freq-toggle { display: inline-flex; background: var(--lp-glass); border: 1px solid var(--lp-glass-border); border-radius: 999px; padding: 3px; flex: 0 0 auto; }
.lp-freq { border: 0; background: transparent; color: var(--lp-muted); font-weight: 600; font-size: .85rem; padding: .42rem .95rem; border-radius: 999px; min-height: 36px; cursor: pointer; transition: background .3s var(--lp-ease-ios), color .3s, transform .3s var(--lp-ease-ios); }
.lp-freq.active { background: var(--lp-teal); color: #fff; box-shadow: 0 4px 14px rgba(31, 165, 164, .35); }
.lp-freq:active { transform: scale(.95); }

.lp-pres-toggle { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 600; color: var(--lp-muted); cursor: pointer; flex: 0 0 auto; }
.lp-pres-check { position: absolute; opacity: 0; width: 0; height: 0; }
.lp-switch { width: 44px; height: 26px; border-radius: 999px; background: var(--lp-glass-strong); border: 1px solid var(--lp-glass-border); position: relative; transition: background .35s var(--lp-ease-ios); flex: 0 0 auto; }
.lp-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .45s var(--lp-spring); }
.lp-pres-check:checked + .lp-switch { background: linear-gradient(135deg, var(--lp-teal), var(--lp-gold)); }
.lp-pres-check:checked + .lp-switch::after { transform: translateX(18px); }
.lp-pres-check:focus-visible + .lp-switch { outline: 3px solid rgba(31, 165, 164, .45); outline-offset: 2px; }

.lp-range { flex: 1 1 260px; min-width: 0; }
.lp-range-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.lp-range-title { font-size: .74rem; color: var(--lp-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lp-range-value { font-family: var(--lp-font-display); font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-range-reset { margin-left: auto; border: 1px solid var(--lp-glass-border); background: var(--lp-glass); color: var(--lp-link); border-radius: 999px; font-size: .76rem; font-weight: 600; padding: .25rem .75rem; min-height: 32px; cursor: pointer; transition: background .3s, transform .3s var(--lp-ease-ios); }
.lp-range-reset:hover { background: var(--lp-glass-strong); }
.lp-range-reset:active { transform: scale(.94); }
.lp-range-slider { position: relative; height: 38px; }
.lp-range-track { position: absolute; top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%); background: var(--lp-glass-strong); border-radius: 999px; }
.lp-range-fill { position: absolute; top: 50%; height: 6px; transform: translateY(-50%); background: var(--lp-ribbon); border-radius: 999px; box-shadow: 0 0 14px rgba(217, 170, 68, .35); }
.lp-range-input { position: absolute; top: 0; left: 0; width: 100%; height: 38px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.lp-range-input::-webkit-slider-runnable-track { background: transparent; height: 38px; }
.lp-range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 7px; border-radius: 50%; background: #fff; border: 3px solid var(--lp-teal); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); cursor: grab; transition: transform .3s var(--lp-spring); }
.lp-range-input::-webkit-slider-thumb:active { transform: scale(1.18); cursor: grabbing; }
.lp-range-input-hi::-webkit-slider-thumb { border-color: var(--lp-orange); }
.lp-range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--lp-teal); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); cursor: grab; }
.lp-range-input-hi::-moz-range-thumb { border-color: var(--lp-orange); }
.lp-range-input:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(31, 165, 164, .5); }

/* Disclosure (progressive layers) */
.lp-disclosure { border-radius: 18px; padding: .35rem 1.15rem; margin-bottom: .8rem; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); transition: border-color .35s, box-shadow .35s; }
.lp-disclosure[open] { border-color: rgba(59, 186, 181, .35); box-shadow: var(--lp-e1); }
.lp-disclosure > summary, .lp-chart-fallback summary { cursor: pointer; min-height: var(--lp-touch); display: flex; align-items: center; gap: .55rem; list-style: none; }
.lp-disclosure > summary::-webkit-details-marker { display: none; }
.lp-disclosure > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--lp-muted); border-bottom: 2px solid var(--lp-muted); transform: rotate(45deg); transition: transform .45s var(--lp-spring); }
.lp-disclosure[open] > summary::after { transform: rotate(225deg); }
.lp-disclosure-summary { font-weight: 600; }
.lp-disclosure-summary .lp-icon { color: var(--lp-gold); }
.lp-disclosure-body { padding: .2rem 0 .9rem; color: var(--lp-text); }
.lp-disclosure[open] .lp-disclosure-body { animation: lp-sheet-in .45s var(--lp-ease) both; }

.lp-section-h { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.lp-section-h .lp-icon { color: var(--lp-gold); }
.lp-detail-forecast, .lp-related { margin-top: 1.8rem; }
.lp-forecast { border-radius: 20px; padding: 1.2rem; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); }
.lp-forecast-disclaimer { border-top: 1px dashed var(--lp-border); padding-top: .65rem; }
.lp-related-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.lp-related-list li { background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); border-radius: 14px; padding: .75rem .95rem; transition: transform .4s var(--lp-spring), border-color .3s; }
.lp-related-list li:hover { transform: translateX(4px); border-color: rgba(59, 186, 181, .35); }
.lp-data-table { color: var(--lp-text); }
.lp-data-table th { color: var(--lp-muted); font-weight: 600; }

/* Compare / categories / prose */
.lp-compare-form, .lp-compare-chart { border-radius: 22px; padding: 1.2rem; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); box-shadow: var(--lp-e1); }
.lp-compare-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .35rem; }
.lp-compare-option { display: flex; align-items: center; gap: .55rem; min-height: var(--lp-touch); padding: 0 .55rem; border-radius: 12px; cursor: pointer; transition: background .25s; }
.lp-compare-option:hover { background: var(--lp-glass-strong); }
.lp-compare-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; border-top: 1px solid var(--lp-glass-border); padding-top: .9rem; }

.lp-cat-card { position: relative; display: block; border-radius: var(--lp-radius); padding: 1.4rem; color: inherit; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); box-shadow: var(--lp-e1); transition: transform .5s var(--lp-ease), box-shadow .5s var(--lp-ease), border-color .3s; }
.lp-cat-card:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--lp-e3); border-color: rgba(217, 170, 68, .4); }
.lp-cat-card .lp-icon { color: var(--lp-gold); background: var(--lp-accent-soft); padding: 10px; border-radius: 14px; box-sizing: content-box; }

.lp-prose { max-width: 48rem; }
.lp-prose section { margin-top: 1.9rem; }
.lp-glossary-item { padding: .9rem 0; border-bottom: 1px solid var(--lp-glass-border); }
.lp-glossary dt { font-weight: 700; }
.lp-diagram { width: 100%; max-width: 360px; color: var(--lp-teal); margin: .6rem 0; }
.lp-howto { display: grid; gap: 1.1rem; padding-left: 1.2rem; }
.lp-howto li { border-radius: 18px; padding: 1.1rem 1.3rem; background: linear-gradient(160deg, var(--lp-glass-strong), var(--lp-glass)); border: 1px solid var(--lp-glass-border); }
.lp-source-list { display: grid; gap: .85rem; padding-left: 1rem; }

/* Navy zones (hero, footer) always use the dark tokens, in either theme. */
.lp-hero, .lp-footer {
    --lp-text: #e9eef6; --lp-muted: #98a6b9; --lp-link: #5fd0cd;
    --lp-glass: rgba(255, 255, 255, .045); --lp-glass-strong: rgba(255, 255, 255, .075);
    --lp-glass-border: rgba(255, 255, 255, .09); --lp-border: rgba(255, 255, 255, .10);
    --lp-good: #3ddc97;   --lp-good-bg: rgba(61, 220, 151, .13);
    --lp-watch: #f2b84b;  --lp-watch-bg: rgba(242, 184, 75, .14);
    --lp-concern: #ff7462; --lp-concern-bg: rgba(255, 116, 98, .14);
    --lp-unknown: #98a6b9; --lp-unknown-bg: rgba(152, 166, 185, .12);
}

/* =========================================================
   Footer (navy in both themes)
   ========================================================= */
.lp-footer { position: relative; margin-top: 5rem; padding: 3.2rem 0 1.6rem; color: #c3cfdf; background: linear-gradient(180deg, #0d1c3a, #08142b); }
.lp-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--lp-ribbon); opacity: .8; }
.lp-brand-footer .lp-brand-mark { height: 42px; }
.lp-footer-note { color: #98a6b9; font-size: .9rem; max-width: 26rem; }
.lp-footer-h { font-family: var(--lp-font-latin); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--lp-gold); font-weight: 700; margin-bottom: .9rem; }
.lp-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.lp-footer-links a { color: #c3cfdf; font-size: .92rem; transition: color .25s, padding .35s var(--lp-ease); }
.lp-footer-links a:hover { color: #fff; padding-left: 4px; }
.lp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: #8b9aab; }

/* =========================================================
   Motion: iOS-style scroll reveal + press feedback
   ========================================================= */
html.js-reveal .lp-reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .8s var(--lp-ease), transform .8s var(--lp-ease); }
html.js-reveal .lp-reveal.in-view { opacity: 1; transform: none; }
html.js-reveal .lp-card.lp-reveal.in-view:hover { transform: translateY(-5px); }
.lp-cat-card:active, .lp-card:active, .lp-kpi:active { transform: scale(.985); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .lp-ribbon-path { stroke-dashoffset: 0; }
    .lp-ribbon-nodes circle { opacity: 1; }
    .lp-kpi-panel { transform: none; }
    html.js-reveal .lp-reveal { opacity: 1 !important; transform: none !important; }
}
