/* laofinfact — Vue 3 SPA · FINTECH minimal
   Deep blue + indigo + teal on cool white. Thin lines, generous space, tabular numerals,
   flat cards. No SVG in design. Icons: Hugeicons + Font Awesome. */
:root {
  --bg: #FFFFFF; --bg-soft: #F6F9FC; --ink: #0A2540; --ink-2: #33475B; --mut: #64748B;
  --line: #E6ECF3; --line-2: #D9E1EA;
  --brand: #635BFF; --brand-2: #4B45C7; --teal: #00B39B; --teal-ink: #0E9E77;
  --blue: #2F6DB5; --amber: #C77D11; --violet: #7C5CFC; --red: #E5484D;
  --navy: #0A2540;
  --sh: 0 1px 2px rgba(10,37,64,.05);
  --sh-2: 0 10px 30px -14px rgba(10,37,64,.28);
  --r: 12px; --wrap: 1120px;
  --f: "Inter","Noto Sans Lao",-apple-system,"Segoe UI",sans-serif;
}
:lang(lo){ font-family: "Phetsarath OT","Phetsarath","Noto Sans Lao",var(--f); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f); color: var(--ink-2); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:lang(lo) { line-height: 1.85; }
[v-cloak] { display: none; }
img, canvas, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--f); color: var(--ink); line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mut { color: var(--mut); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} *{transition:none!important;animation:none!important} }

/* accents */
.ac-teal{--ac:var(--teal)} .ac-brand{--ac:var(--brand)} .ac-blue{--ac:var(--blue)}
.ac-amber{--ac:var(--amber)} .ac-violet{--ac:var(--violet)} .ac-green{--ac:var(--teal-ink)}

/* buttons */
.btn{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.94rem; border:1px solid transparent; border-radius:8px; padding:11px 20px; cursor:pointer; transition:.15s; }
.btn-primary{ background:var(--brand); color:#fff; border-color:var(--brand); }
.btn-primary:hover{ background:var(--brand-2); border-color:var(--brand-2); }
.btn-ghost{ background:#fff; color:var(--ink); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-sm{ padding:7px 14px; font-size:.85rem; }
.btn[disabled]{ opacity:.55; cursor:wait; }

/* progress bar */
.prog{ position:fixed; top:0; left:0; height:2px; width:0; background:var(--brand); z-index:200; transition:width .1s linear; }

/* header */
.nav{ position:sticky; top:0; z-index:60; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.nav-row{ display:flex; align-items:center; min-height:62px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; color:var(--ink); font-weight:700; }
.brand .mk{ width:34px; height:34px; border-radius:8px; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:.95rem; }
.brand small{ display:block; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--mut); font-weight:600; line-height:1.2; }
.nav-links{ display:flex; gap:6px; margin-left:auto; }
.nav-links a{ color:var(--ink-2); font-size:.9rem; font-weight:500; padding:8px 12px; border-radius:7px; }
.nav-links a:hover{ background:var(--bg-soft); color:var(--ink); }
.nav-links a.on{ color:var(--brand); background:var(--bg-soft); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.lang{ display:inline-flex; gap:6px; align-items:center; }
.lang button{ background:none; border:0; color:var(--mut); font:inherit; font-size:.85rem; font-weight:600; cursor:pointer; padding:3px 2px; }
.lang button.on{ color:var(--brand); border-bottom:2px solid var(--brand); }
.lang .sep{ color:var(--line-2); }
.burger{ display:none; margin-left:auto; background:none; border:1px solid var(--line-2); border-radius:8px; color:var(--ink); font-size:1.1rem; width:40px; height:40px; cursor:pointer; }
.menu{ display:none; }
@media (max-width:880px){
  .nav-links, .nav-cta{ display:none; }
  .burger{ display:block; }
  .menu{ display:block; border-top:1px solid var(--line); background:#fff; }
  .menu a{ display:block; color:var(--ink); font-weight:500; padding:14px 24px; border-bottom:1px solid var(--line); }
  .menu a.on{ color:var(--brand); }
  /* language switch BELOW the hamburger menu */
  .menu .lang{ padding:16px 24px; gap:14px; }
  .menu .lang button{ font-size:1rem; }
}

/* hero */
.hero{ padding:72px 0 40px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.eyebrow{ display:inline-flex; align-items:center; gap:7px; color:var(--brand); font-weight:600; font-size:.85rem; background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:5px 13px; margin-bottom:20px; }
.hero h1{ font-size:clamp(2.3rem,5vw,3.6rem); letter-spacing:-.03em; }
.hero h1 .ac{ color:var(--brand); }
.hero-sub{ font-size:1.12rem; color:var(--ink-2); max-width:32em; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.chip{ font-size:.72rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-2); background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:5px 12px; }

/* stat strip */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:28px 0; margin-top:28px; }
.stat .v{ font-size:2rem; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
.stat .l{ color:var(--mut); font-size:.9rem; }

/* sections */
.sec{ padding:72px 0; }
.sec.alt{ background:var(--bg-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.sec-head{ max-width:44em; margin-bottom:36px; }
.sec-head .eyebrow{ margin-bottom:14px; }
.sec-head h2{ font-size:clamp(1.5rem,3vw,2.1rem); }
.sec-head p{ color:var(--mut); }

/* NEW minimal card */
.grid{ display:grid; gap:18px; }
.g2{ grid-template-columns:repeat(2,1fr); } .g3{ grid-template-columns:repeat(3,1fr); } .g4{ grid-template-columns:repeat(4,1fr); }
.mcard{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column; transition:border-color .15s, transform .15s, box-shadow .15s; }
.mcard:hover{ border-color:var(--line-2); transform:translateY(-3px); box-shadow:var(--sh-2); }
.mcard .body{ padding:20px; flex:1; }
.mcard h3{ font-size:1.06rem; }
.mcard .body p{ color:var(--mut); font-size:.9rem; margin:0; }
.mcard .tag{ color:var(--ac,var(--brand)); font-size:.7rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; margin-bottom:4px; }
.mcard ul.b li{ position:relative; padding:5px 0 5px 18px; color:var(--ink-2); font-size:.9rem; }
.mcard ul.b li::before{ content:""; position:absolute; left:2px; top:12px; width:6px; height:6px; border-radius:50%; background:var(--ac,var(--brand)); }
/* icon-only minimal card (values) */
.icard{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; border-top:3px solid var(--ac,var(--brand)); }
.icard .ic{ font-size:1.7rem; color:var(--ac,var(--brand)); margin-bottom:12px; }
.icard h3{ font-size:1.04rem; } .icard p{ color:var(--mut); font-size:.9rem; margin:0; }
/* link card (home nav) */
.lcard{ display:flex; flex-direction:column; }
.lcard .more{ margin-top:auto; color:var(--ac,var(--brand)); font-weight:600; font-size:.88rem; }

/* quote */
.quote{ max-width:52em; margin:0 auto; text-align:center; }
.quote h2{ font-size:clamp(1.3rem,2.6vw,1.7rem); font-weight:600; }
.quote p{ color:var(--brand); }

/* roadmap */
.road{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.rstep{ border:1px solid var(--line); border-top:3px solid var(--ac,var(--brand)); border-radius:var(--r); padding:18px; background:#fff; }
.rstep .w{ color:var(--ac,var(--brand)); font-weight:700; font-size:.78rem; letter-spacing:.05em; }
.rstep h3{ font-size:1.08rem; margin:3px 0 6px; } .rstep p{ color:var(--mut); font-size:.83rem; margin:0; }

/* pack */
.pack{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.pack li{ border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:.85rem; background:#fff; }
.pack li i{ color:var(--teal-ink); margin-right:7px; }

/* note / war strip */
.note{ border:1px solid var(--line); border-left:3px solid var(--brand); background:var(--bg-soft); border-radius:10px; padding:15px 20px; color:var(--ink-2); margin-top:28px; }
.war{ background:var(--navy); color:#8FE9DC; border-radius:10px; text-align:center; padding:14px 18px; font-weight:600; margin-top:22px; font-size:.92rem; }
.war i{ margin-right:8px; }

/* charts */
.charts{ display:grid; grid-template-columns:1.4fr 1fr; gap:18px; }
.ccard{ border:1px solid var(--line); border-radius:var(--r); padding:22px; background:#fff; }
.ccard h3{ font-size:1.08rem; } .ccard .cs{ color:var(--mut); font-size:.86rem; margin-bottom:12px; }
.cbox{ position:relative; height:280px; }
.donut-wrap{ display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.donut-box{ position:relative; width:200px; height:200px; }
.donut-box canvas{ width:200px!important; height:200px!important; }
.donut-c{ position:absolute; inset:0; display:grid; place-content:center; text-align:center; pointer-events:none; }
.donut-c .v{ font-size:1.9rem; font-weight:700; color:var(--ink); } .donut-c .l{ color:var(--mut); font-size:.8rem; }
.legend{ flex:1; min-width:160px; }
.legend li{ display:flex; align-items:center; gap:10px; padding:8px 2px; border-bottom:1px solid var(--line); font-size:.9rem; }
.legend li:last-child{ border-bottom:0; }
.legend .sw{ width:11px; height:11px; border-radius:3px; }
.legend .pc{ margin-left:auto; font-weight:700; color:var(--ink); }

/* media */
.media-grid{ display:grid; grid-template-columns:1.7fr 1fr; gap:18px; }
.video{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:#000; }
.mside{ display:grid; gap:14px; }
.mfig{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:#fff; }
.mfig figcaption{ padding:10px 14px; font-size:.82rem; color:var(--mut); border-top:1px solid var(--line); }

/* contact */
.contact-grid{ display:grid; grid-template-columns:5fr 7fr; gap:48px; align-items:start; }
.form{ border:1px solid var(--line); border-radius:var(--r); padding:26px; background:#fff; }
.fld{ margin-bottom:15px; }
.fld label{ display:block; font-weight:600; font-size:.88rem; color:var(--ink); margin-bottom:6px; }
.fld input, .fld textarea{ width:100%; border:1px solid var(--line-2); border-radius:8px; padding:11px 13px; font:inherit; color:var(--ink); background:var(--bg-soft); }
.fld input:focus, .fld textarea:focus{ outline:none; border-color:var(--brand); background:#fff; box-shadow:0 0 0 3px rgba(99,91,255,.14); }
.hp{ position:absolute; left:-9999px; }
.fmsg{ min-height:1.3em; font-weight:600; margin:10px 0 0; }
.fmsg.ok{ color:var(--teal-ink); } .fmsg.err{ color:var(--red); }

/* cta band + pager */
.cta{ background:var(--navy); border-radius:16px; padding:38px 40px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.cta h2{ color:#fff; margin:0 0 4px; } .cta p{ color:#B9C6D6; margin:0; }
.pager{ display:flex; justify-content:space-between; gap:14px; padding:26px 0 8px; border-top:1px solid var(--line); margin-top:40px; }
.pgbtn{ border:1px solid var(--line); border-radius:10px; padding:11px 16px; display:inline-flex; gap:10px; align-items:center; color:var(--ink); background:#fff; }
.pgbtn:hover{ border-color:var(--brand); } .pgbtn small{ display:block; color:var(--mut); font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; } .pgbtn b{ font-size:.95rem; }
.pgbtn i{ color:var(--brand); } .pg-next{ margin-left:auto; text-align:right; }

/* footer */
.foot{ background:var(--navy); color:#93A3B5; }
.foot-top{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; padding:40px 24px; }
.foot-top .fb{ color:#fff; font-weight:700; }
.foot-nav{ display:flex; flex-wrap:wrap; gap:6px 18px; }
.foot-nav a{ color:#93A3B5; font-size:.88rem; } .foot-nav a:hover{ color:#8FE9DC; }
.foot-base{ border-top:1px solid rgba(255,255,255,.1); padding:14px 24px; font-size:.82rem; display:flex; justify-content:space-between; }

/* reveal */
.rv{ opacity:0; transform:translateY(12px); transition:opacity .5s, transform .5s; }
.rv.in{ opacity:1; transform:none; }

/* responsive */
@media (max-width:1000px){
  .hero-grid{ grid-template-columns:1fr; gap:32px; }
  .g4{ grid-template-columns:repeat(2,1fr); } .g3{ grid-template-columns:repeat(2,1fr); }
  .charts, .media-grid, .contact-grid{ grid-template-columns:1fr; }
  .road{ grid-template-columns:repeat(2,1fr); } .pack{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  .stats{ grid-template-columns:1fr; } .g2,.g3,.g4{ grid-template-columns:1fr; }
  .road,.pack{ grid-template-columns:1fr; } .cta{ flex-direction:column; align-items:flex-start; }
  .sec{ padding:52px 0; } .hero{ padding:48px 0 32px; }
}

/* ============ v8 — icon cards + HTML hero panel ============ */
.mcard{ border-top:3px solid var(--ac,var(--brand)); }
.ic-badge{ display:inline-flex; font-size:1.9rem; line-height:1; color:var(--ac,var(--brand)); background:none; border:0; margin-bottom:14px; }
.mcard .body{ padding:22px; }

/* HTML hero panel (real text, proportional — replaces baked image) */
.hero-panel{ background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-2); padding:18px; }
.hp-bar{ display:flex; align-items:center; gap:8px; padding-bottom:14px; border-bottom:1px solid var(--line); margin-bottom:16px; }
.hp-bar .dot{ width:9px; height:9px; border-radius:50%; }
.d1{ background:#E5484D } .d2{ background:#E8A13A } .d3{ background:#00B39B }
.hp-title{ color:var(--mut); font-size:.82rem; margin-left:6px; }
.hp-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.hp-kpi{ background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; padding:14px 14px 16px; }
.hp-kpi .k{ display:block; color:var(--mut); font-size:.68rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px; }
.hp-kpi b{ font-size:clamp(1.3rem,2.4vw,1.7rem); font-weight:700; color:var(--ac,var(--ink)); line-height:1; }
.hp-chart{ margin-top:16px; height:130px; }
@media (max-width:400px){ .hp-kpis{ grid-template-columns:1fr } }

/* v10 — trust + hero note */
.hero-trust{ display:inline-flex; align-items:center; gap:8px; color:var(--mut); font-size:.84rem; margin-top:18px; }
.hero-trust i{ color:var(--teal-ink); }
.hp-note{ text-align:right; color:var(--mut); font-size:.7rem; margin:8px 2px 0; }

/* ================= impeccable pass — AA contrast + full states ================= */
/* darker secondary text for AA on both surfaces */
:root{ --mut:#586576; }
/* accent + accessible ink variant (text/icon >= AA / 3:1 graphics) */
.ac-teal{ --ac:#00B39B; --ac-ink:#0B7A6A; }
.ac-brand{ --ac:#635BFF; --ac-ink:#4B45C7; }
.ac-blue{ --ac:#2F6DB5; --ac-ink:#255C9C; }
.ac-amber{ --ac:#C77D11; --ac-ink:#8A5A0E; }
.ac-violet{ --ac:#7C5CFC; --ac-ink:#5A43C7; }
.ac-green{ --ac:#0E9E77; --ac-ink:#0B7A5C; }
/* links & interactive text at AA */
a{ color:var(--brand-2); }
.eyebrow{ color:var(--brand-2); }
.nav-links a.on, .menu a.on, .lang button.on{ color:var(--brand-2); }
.lang button.on{ border-bottom-color:var(--brand-2); }
/* accent used AS TEXT/ICON → ink variant */
.ic-badge, .nc-ic, .icard .ic{ color:var(--ac-ink,var(--brand-2)); }
.mcard .tag, .nav-cell .more, .road-w, .rstep .w{ color:var(--ac-ink,var(--brand-2)); }
.hp-kpi b{ color:var(--ac-ink,var(--ink)); }
/* full interaction state set */
.btn:active{ transform:translateY(0); filter:brightness(.95); }
.btn-primary:focus-visible, .btn-ghost:focus-visible{ outline:2px solid var(--brand-2); outline-offset:2px; }
.nav-links a:active, .menu a:active{ opacity:.75; }
a.nav-cell:focus-visible, .pgbtn:focus-visible, .mcard a:focus-visible{ outline:2px solid var(--brand-2); outline-offset:2px; }
.nav-cell:focus-within, .mcard:focus-within{ border-color:var(--brand); }
.lang button:focus-visible, .burger:focus-visible{ outline:2px solid var(--brand-2); outline-offset:2px; }
/* consistent elevation/radius already tokenised; keep motion <=200ms (all .15s) */

/* ================= ui-audit-hard pass (v13) ================= */
/* remaining accent-as-text → AA ink variant (audit found these) */
.lcard .more{ color:var(--ac-ink,var(--brand-2)); }
.quote p{ color:var(--brand-2); }
.pgbtn i{ color:var(--brand-2); }
/* touch targets >= 44px */
.burger{ width:44px; height:44px; }
.lang button{ min-height:36px; }
@media (max-width:880px){
  .menu .lang{ align-items:center; }
  .menu .lang button{ min-height:44px; padding:8px 12px; display:inline-flex; align-items:center; }
}
/* honeypot fully hidden from AT + layout */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* v15 — brand emblem logo (replaces LF text box) */
.brand img.mk{ width:38px; height:38px; background:none; border-radius:0; display:block; object-fit:contain; }

/* v16 — market donut section + illustrations */
.mkt-grid{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; }
.illus{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:#fff; }
.illus img{ width:100%; height:auto; }
.illus figcaption{ padding:10px 14px; font-size:.82rem; color:var(--mut); border-top:1px solid var(--line); }
.mkt-note{ font-size:.78rem; margin:16px 0 0; }
@media (max-width:1000px){ .mkt-grid{ grid-template-columns:1fr; gap:24px; } }
