@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }

:root {
  --bg: #f3f6f3; --bg-2: #e9efe9; --panel: #ffffff; --panel-2: #f8faf8; --ink: #11231a; --muted: #5a6e61; --faint: #8a9c90; --line: #dfe7e1; --soft: #eef3ef;
  --brand: #104a25; --brand-2: #1b6a39; --brand-deep: #0a3118; --gold: #ffcc00; --gold-2: #f5b800; --gold-ink: #3d2f00; --brand-ink: #fff; --tint: #e5f1e8;
  --good: #15803d; --good-bg: #dcf3e3; --warn: #8a5a00; --warn-bg: #fff3c4; --bad: #b42318; --bad-bg: #fde4e1; --info: #1d5fb8; --info-bg: #e2ecfb;
  --shadow-sm: 0 1px 2px rgb(10 40 20 / .05), 0 2px 8px rgb(10 40 20 / .04);
  --shadow: 0 1px 2px rgb(10 40 20 / .05), 0 10px 30px -8px rgb(10 40 20 / .14);
  --shadow-lg: 0 30px 70px -20px rgb(6 30 14 / .45);
  --radius: 18px;
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --display: "Space Grotesk", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #07170d; --bg-2: #0b2013; --panel: #0e2617; --panel-2: #112d1b; --ink: #e8f2ea; --muted: #a2b8a8; --faint: #6f8a77; --line: #1f4029; --soft: #133220;
  --brand: #ffcc00; --brand-2: #ffd633; --brand-ink: #10331b; --tint: #193d25;
  --good: #5fd88f; --good-bg: #123d22; --warn: #f0c04d; --warn-bg: #3a300c; --bad: #ff8a80; --bad-bg: #431816; --info: #8ab8ff; --info-bg: #142a4a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3); --shadow: 0 12px 34px -10px rgb(0 0 0 / .55); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.01em; margin: 0; }
a { color: inherit; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; letter-spacing: .01em; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { opacity: .5; cursor: default; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 500;
  background: var(--brand); color: var(--brand-ink); transition: transform .15s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; text-decoration: none; }
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn.gold { background: var(--gold); color: #10331b; }
.btn.ghost { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.btn.danger { background: var(--bad-bg); color: var(--bad); }
.btn.small { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.btn.block { width: 100%; height: 50px; font-size: 15px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--muted); position: relative; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.link { color: var(--brand-2); font-weight: 500; text-decoration: none; }
:root[data-theme="dark"] .link { color: var(--gold); }
.link:hover { text-decoration: underline; }

input, select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 22%, transparent); }
:root[data-theme="dark"] input:focus-visible, :root[data-theme="dark"] select:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 4px rgb(255 204 0 / .18); }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.field small.ok { color: var(--good); }
.field small.bad { color: var(--bad); }
.with-icon { position: relative; }
.with-icon > .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--faint); pointer-events: none; }
.with-icon input { padding-left: 42px; height: 50px; }
.with-icon .reveal { position: absolute; right: 6px; top: 50%; translate: 0 -50%; }
.error { color: var(--bad); font-size: 13.5px; min-height: 1.3em; margin: 6px 0 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Login ---------- */
.login { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr); background: var(--panel); }
.hero { position: relative; overflow: clip; color: #fff; background: #0e4a24; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; background: url(img/hero.jpg) right top / cover no-repeat; transform: scale(1.06); animation: drift 26s ease-in-out infinite alternate; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 0% 100%, rgb(9 49 24 / .96) 30%, transparent 70%),
  linear-gradient(90deg, rgb(10 52 26 / .94) 0%, rgb(10 52 26 / .55) 45%, rgb(10 52 26 / .05) 75%); }
.hero::after { content: ""; position: absolute; width: 900px; height: 680px; left: -260px; bottom: -330px; background: url(img/pattern-gold.png) center / contain no-repeat; opacity: .28; z-index: -1; animation: spin 80s linear infinite; }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, 1%); } }
@keyframes spin { to { rotate: 360deg; } }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 44px 52px; }
.hero .brand-logo { height: 64px; width: auto; align-self: flex-start; filter: drop-shadow(0 6px 18px rgb(0 0 0 / .25)); }
.hero-copy { margin-top: auto; max-width: 520px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; font-weight: 700; margin: 18px 0 0; }
.hero h1 em { font-style: normal; color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--gold); opacity: .35; border-radius: 4px; transform-origin: left; animation: underline 1.2s .6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero p { font-size: 17px; color: rgb(255 255 255 / .82); max-width: 46ch; margin: 18px 0 0; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: 13.5px; color: rgb(255 255 255 / .85); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--gold); }
.hero-foot { display: flex; justify-content: space-between; margin-top: 38px; font-size: 12.5px; color: rgb(255 255 255 / .6); }
.hero-foot b { color: #fff; font: 500 14px var(--display); }


.auth { position: relative; display: grid; place-items: center; padding: 32px 24px; overflow-y: auto; overflow-x: hidden; background:
  radial-gradient(900px 500px at 120% 110%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%), var(--panel); }
.auth::before { content: ""; position: absolute; right: -180px; top: -140px; width: 620px; height: 460px; background: url(img/pattern-green.png) center / contain no-repeat; opacity: .35; pointer-events: none; }
:root[data-theme="dark"] .auth::before { opacity: .12; }
.auth-box { position: relative; width: min(410px, 100%); }
.auth-logo { height: 54px; margin-bottom: 28px; display: none; }
.auth h2 { font-size: 30px; font-weight: 700; }
.auth .lead { color: var(--muted); margin: 6px 0 28px; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; margin: -2px 0 22px; font-size: 13.5px; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; color: var(--muted); }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--muted); font-size: 13.5px; }
.back:hover { color: var(--ink); }
.step-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 20px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--gold); box-shadow: 0 14px 30px -12px var(--brand); }
:root[data-theme="dark"] .step-badge { background: linear-gradient(135deg, #1b5a31, #0f3a1d); }
.step-badge .icon { width: 26px; height: 26px; }
.digits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 6px 0 4px; }
.digits input { height: 60px; padding: 0; text-align: center; font: 600 26px var(--display); border-radius: 14px; caret-color: var(--brand-2); }
.digits input.filled { border-color: var(--brand-2); background: var(--tint); }
.digits.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.resend { margin: 16px 0 22px; font-size: 13.5px; color: var(--muted); }
.dev-hint { margin-top: 14px; padding: 8px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 12.5px; }
.rise { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #1b6a39, #0a3118 70%); color: #fff; text-align: center; animation: fadeout .5s 1.5s forwards; }
.welcome svg { width: 92px; height: 92px; }
.welcome circle { stroke: var(--gold); stroke-width: 4; fill: none; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .7s var(--ease) forwards; }
.welcome path { stroke: #fff; stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .4s .55s var(--ease) forwards; }
.welcome h2 { font-size: 28px; margin-top: 18px; animation: rise .5s .5s both; }
.welcome p { color: rgb(255 255 255 / .7); animation: rise .5s .65s both; margin: 6px 0 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeout { to { opacity: 0; visibility: hidden; } }

/* ---------- Shell ---------- */
.shell { min-height: 100vh; padding-left: 272px; }
.side { position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 40; display: flex; flex-direction: column; padding: 22px 16px 16px; color: #dfeae2; overflow: clip;
  background: linear-gradient(180deg, #0f4723 0%, #0a3118 100%); }
.side::after { content: ""; position: absolute; width: 520px; height: 390px; left: -150px; bottom: -170px; background: url(img/pattern-gold.png) center / contain no-repeat; opacity: .16; pointer-events: none; }
.side > * { position: relative; z-index: 1; }
.side .brand-logo { height: 44px; width: auto; margin: 0 8px 6px; align-self: flex-start; }
.side-tag { margin: 0 10px 20px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.client-chip { display: flex; gap: 10px; align-items: center; margin: 0 4px 18px; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.client-chip .mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: #10331b; font: 700 14px var(--display); flex: none; }
.client-chip b { display: block; font-size: 13px; font-weight: 500; color: #fff; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.client-chip small { color: rgb(255 255 255 / .55); font-size: 11.5px; }
.nav { flex: 1; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 2px; }
.nav h6 { margin: 16px 12px 6px; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .42); }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: rgb(255 255 255 / .78); font-size: 14.5px; transition: background .15s, color .15s; }
.nav a:hover { background: rgb(255 255 255 / .07); color: #fff; }
.nav a.on { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.nav a.on::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.nav a.on .icon { color: var(--gold); }
.nav .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: #10331b; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px 6px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #ffe066, #f5b800); color: #10331b; font: 700 14px var(--display); }
.me b { display: block; font-size: 13.5px; font-weight: 500; color: #fff; }
.me small { color: rgb(255 255 255 / .55); font-size: 12px; }
.me .icon-btn { margin-left: auto; color: rgb(255 255 255 / .7); }
.me .icon-btn:hover { background: rgb(255 255 255 / .1); color: #fff; }

.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: 72px; padding: 0 32px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(160%); }
.topbar .menu-btn { display: none; }
.crumb h1 { font-size: 22px; font-weight: 700; }
.crumb p { margin: 0; font-size: 13px; color: var(--muted); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search-btn { display: flex; align-items: center; gap: 10px; height: 40px; width: 250px; padding: 0 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); font-size: 13.5px; margin-right: 6px; }
.search-btn kbd { margin-left: auto; font: 11px var(--sans); padding: 2px 6px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.dot-badge { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px var(--bg); }
.main { padding: 4px 32px 48px; max-width: 1440px; }
.view-enter { animation: rise .4s var(--ease) both; }

/* ---------- Cards & layout ---------- */
.grid { display: grid; gap: 20px; }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); }
.card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); padding: 22px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h3 { font-size: 16.5px; font-weight: 700; }
.card-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Hero balance */
.wealth { position: relative; overflow: clip; color: #fff; border-radius: 26px; padding: 28px 30px; isolation: isolate;
  background: radial-gradient(130% 140% at 100% 0%, #1f7a42 0%, #104a25 45%, #0a3118 100%); box-shadow: var(--shadow-lg); }
.wealth::before { content: ""; position: absolute; width: 640px; height: 480px; right: -170px; top: -190px; background: url(img/pattern-gold.png) center / contain no-repeat; opacity: .35; z-index: -1; animation: spin 120s linear infinite; }
.wealth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .07) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.wealth-top { display: flex; align-items: center; gap: 10px; }
.wealth-top small { color: rgb(255 255 255 / .72); font-size: 13.5px; }
.eye { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: rgb(255 255 255 / .8); background: rgb(255 255 255 / .1); }
.eye:hover { background: rgb(255 255 255 / .18); color: #fff; }
.totals { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 10px; }
.total .ccy { font: 500 13px var(--display); color: var(--gold); letter-spacing: .08em; }
.total strong { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1.1 var(--display); letter-spacing: -.025em; }
.total strong .cents { font-size: .55em; opacity: .7; }
.total small { color: rgb(255 255 255 / .6); font-size: 12.5px; }
.masked { letter-spacing: .1em; }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.quick a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; text-decoration: none; color: #fff; font-size: 13px; font-weight: 500;
  background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(6px); transition: transform .2s var(--ease), background .2s; }
.quick a:hover { transform: translateY(-3px); background: rgb(255 255 255 / .15); }
.quick a i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--gold); color: #10331b; }
.quick a:first-child i { box-shadow: 0 0 0 0 rgb(255 204 0 / .6); animation: ping 2.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(255 204 0 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 204 0 / 0); } }

/* Account cards */
.acct-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.acct { position: relative; overflow: clip; scroll-snap-align: start; border-radius: 22px; padding: 20px; min-height: 182px; color: #fff; text-decoration: none; display: flex; flex-direction: column; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s; box-shadow: var(--shadow); }
.acct:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.acct::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: url(img/pattern-r.png) 120% 40% / 140% no-repeat; mix-blend-mode: soft-light; }
.acct.c0 { background: linear-gradient(135deg, #17643a, #0b3519); }
.acct.c1 { background: linear-gradient(135deg, #f7c600, #e0a100); color: #10331b; }
.acct.c2 { background: linear-gradient(135deg, #1f2a24, #0b120e); }
.acct.c3 { background: linear-gradient(135deg, #2b7a78, #134e4a); }
.acct-top { display: flex; justify-content: space-between; align-items: flex-start; }
.acct-type { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.acct-ccy { font: 700 13px var(--display); padding: 4px 9px; border-radius: 8px; background: rgb(255 255 255 / .16); }
.acct.c1 .acct-ccy { background: rgb(16 51 27 / .12); }
.chip-img { width: 38px; height: 28px; border-radius: 6px; margin: 14px 0 10px; background: linear-gradient(135deg, #ffe9a3, #d6a400 60%, #fff3c2); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); position: relative; }
.chip-img::after { content: ""; position: absolute; inset: 7px 10px; border: 1px solid rgb(0 0 0 / .2); border-radius: 3px; }
.acct-bal { font: 700 26px var(--display); letter-spacing: -.02em; margin-top: auto; }
.acct-no { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .8; margin-top: 2px; }
.acct svg.spark { position: absolute; right: 16px; bottom: 54px; width: 110px; height: 34px; opacity: .8; }

/* Lists */
.txn-list { display: flex; flex-direction: column; }
.txn { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 6px; border-radius: 14px; cursor: pointer; transition: background .15s; text-align: left; width: 100%; }
.txn:hover { background: var(--soft); }
.txn + .txn { border-top: 1px dashed var(--line); }
.txn-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--brand-2); }
:root[data-theme="dark"] .txn-ico { color: var(--gold); }
.txn-ico.t-EXTER { background: var(--info-bg); color: var(--info); }
.txn-ico.t-EXTRA { background: #efe6ff; color: #6d28d9; }
:root[data-theme="dark"] .txn-ico.t-EXTRA { background: #2a1d47; color: #c4a8ff; }
.txn-ico.t-AIRTIME, .txn-ico.t-LRA, .txn-ico.t-APMT, .txn-ico.t-SCLFEE { background: var(--warn-bg); color: var(--warn); }
.txn-main b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txn-main small { color: var(--muted); font-size: 12.5px; }
.txn-amt { text-align: right; }
.txn-amt b { display: block; font: 600 15px var(--display); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.completed { background: var(--good-bg); color: var(--good); }
.pill.processing { background: var(--info-bg); color: var(--info); }
.pill.pending { background: var(--warn-bg); color: var(--warn); }
.pill.pending::before { animation: blink 1.2s infinite; }
.pill.rejected { background: var(--bad-bg); color: var(--bad); }
.pill.failed { background: var(--bad-bg); color: var(--bad); }
.pill.checking { background: var(--warn-bg); color: var(--warn); }
.pill.checking::before { animation: blink 1.2s infinite; }
.post-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.post-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.post-note.failed { background: var(--bad-bg); color: var(--bad); }
.post-note.checking { background: var(--warn-bg); color: var(--warn); }
@keyframes blink { 50% { opacity: .2; } }
.empty { padding: 34px 10px; text-align: center; color: var(--muted); }
.empty .icon { width: 34px; height: 34px; color: var(--faint); margin-bottom: 8px; }

/* Approvals card */
.approve-card { padding: 16px; border-radius: 16px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.approve-card + .approve-card { margin-top: 10px; }
.approve-card .amount { font: 700 22px var(--display); }
.approve-card .actions { display: flex; gap: 8px; margin-top: 12px; }
.alert-glow { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 60%, transparent), 0 10px 40px -16px rgb(255 204 0 / .6); }

/* Charts */
.chart { width: 100%; height: 220px; display: block; overflow: visible; }
.chart .bar { transition: opacity .2s; transform-box: fill-box; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.chart .bar:hover { opacity: .8; }
.chart text { fill: var(--muted); font: 11.5px var(--sans); }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; }
@keyframes grow { from { transform: scaleY(0); } }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 132px; height: 132px; flex: none; }
.donut circle { fill: none; stroke-width: 16; transform: rotate(-90deg); transform-origin: center; animation: dash 1.2s var(--ease) both; }
@keyframes dash { from { stroke-dasharray: 0 999; } }
.mix-list { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; min-width: 0; }
.mix-list div { display: flex; align-items: center; gap: 8px; }
.mix-list i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.mix-list span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* FX & promos */
.fx { display: flex; flex-direction: column; }
.fx-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 62px 62px; text-align: right; gap: 10px; align-items: center; padding: 9px 0; font-size: 13.5px; }
.fx-row + .fx-row { border-top: 1px solid var(--line); }
.fx-row > span:nth-child(2) { text-align: left; }
.flag { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--soft); font: 700 12px var(--display); color: var(--brand-2); }
:root[data-theme="dark"] .flag { color: var(--gold); }
.fx-row .up { color: var(--good); font-size: 12px; } .fx-row .down { color: var(--bad); font-size: 12px; }
.promo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; box-shadow: var(--shadow); background: #0b3519; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s, transform 6s linear; }
.promo img.on { opacity: 1; transform: scale(1); }
.promo-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.promo-dots button { width: 7px; height: 7px; border-radius: 999px; background: rgb(255 255 255 / .55); transition: width .3s; padding: 0; }
.promo-dots button.on { width: 22px; background: var(--gold); }

/* Tables */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); transition: all .15s; }
.chips button:hover { color: var(--ink); }
.chips button.on { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.toolbar .with-icon { flex: 1; min-width: 220px; max-width: 360px; margin-left: auto; }
.toolbar .with-icon input { height: 40px; }
.table-wrap { overflow-x: auto; margin: 0 -22px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 22px; } th:last-child, td:last-child { padding-right: 22px; }
tbody tr { transition: background .12s; }
tbody tr.click { cursor: pointer; }
tbody tr.click:hover { background: var(--panel-2); }
td.r, th.r { text-align: right; }
.cell-2 b { display: block; font-weight: 500; }
.cell-2 small { color: var(--muted); font-size: 12.5px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pager div { display: flex; gap: 6px; }
.credit { color: var(--good); } .debit { color: var(--ink); }

/* Transfer wizard */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps div { flex: 1; }
.steps i { display: block; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; position: relative; }
.steps i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-2), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.steps div.on i::after { transform: scaleX(1); }
.steps span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.steps div.on span { color: var(--ink); font-weight: 500; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.type { position: relative; overflow: hidden; text-align: left; padding: 20px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.type:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--brand-2), var(--shadow); }
:root[data-theme="dark"] .type:hover { box-shadow: inset 0 0 0 1.5px var(--gold), var(--shadow); }
.type i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--tint); color: var(--brand-2); margin-bottom: 14px; }
:root[data-theme="dark"] .type i { color: var(--gold); }
.type b { display: block; font: 700 16px var(--display); }
.type small { color: var(--muted); font-size: 13px; }
.type .tag { position: absolute; top: 16px; right: 16px; font-size: 11px; color: var(--muted); }
.acct-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.acct-opt { text-align: left; padding: 14px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; }
.acct-opt b { display: block; font: 600 16px var(--display); margin-top: 6px; }
.acct-opt small { color: var(--muted); font-size: 12.5px; }
.acct-opt.on { box-shadow: inset 0 0 0 2px var(--brand-2); background: var(--tint); }
:root[data-theme="dark"] .acct-opt.on { box-shadow: inset 0 0 0 2px var(--gold); }
.amount-box { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.amount-box:focus-within { box-shadow: inset 0 0 0 2px var(--brand-2); }
.amount-box span { font: 700 22px var(--display); color: var(--muted); }
.amount-box input { border: 0; box-shadow: none !important; font: 700 34px var(--display); height: 74px; padding: 0; background: none; letter-spacing: -.02em; }
.chips-quick { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.chips-quick button { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 12.5px; color: var(--muted); }
.chips-quick button:hover { color: var(--ink); }
.name-ok { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-size: 13.5px; margin-top: 8px; }
.receipt { position: relative; padding: 24px; border-radius: 20px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.receipt::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; height: 16px; background: radial-gradient(circle at 8px 0, transparent 7px, var(--panel-2) 8px) 0 0 / 16px 16px repeat-x; }
.receipt h4 { font-size: 13px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.receipt .big { font: 700 38px var(--display); letter-spacing: -.02em; margin: 4px 0 16px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.side-info { position: sticky; top: 88px; }
.limit-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; margin: 8px 0 4px; }
.limit-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--gold)); transition: width .6s var(--ease); }
.success { text-align: center; padding: 24px 0 8px; }
.success svg { width: 96px; height: 96px; }
.success circle { stroke: var(--good); stroke-width: 4; fill: var(--good-bg); stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .7s var(--ease) forwards; }
.success path { stroke: var(--good); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .4s .5s var(--ease) forwards; }
.success.failed circle { stroke: var(--bad); fill: var(--bad-bg); }
.success.failed path { stroke: var(--bad); }
.success.checking circle { stroke: var(--warn); fill: var(--warn-bg); }
.success.checking path { stroke: var(--warn); }
.success h2 { font-size: 26px; margin-top: 12px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--r)); } }

/* Mandate timeline */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: 10px; position: relative; padding-bottom: 14px; font-size: 13.5px; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tl i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--faint); }
.tl i .icon { width: 14px; height: 14px; }
.tl.done i { background: var(--good-bg); color: var(--good); }
.tl.rej i { background: var(--bad-bg); color: var(--bad); }
.tl small { display: block; color: var(--muted); font-size: 12px; }

/* Drawer, modal, toast, palette */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgb(4 20 10 / .45); backdrop-filter: blur(3px); animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(480px, 100%); background: var(--panel); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slidein .35s var(--ease) both; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.drawer-foot .btn { flex: 1; }
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.modal > .scrim { z-index: 0; }
.modal-card { position: relative; z-index: 1; width: min(440px, 100%); background: var(--panel); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.modal-card h3 { font-size: 21px; margin-bottom: 6px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
.toasts { position: fixed; z-index: 99; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; gap: 10px; align-items: center; min-width: 280px; max-width: 420px; padding: 13px 16px; border-radius: 14px; background: #10331b; color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; animation: rise .35s var(--ease) both; }
.toast .icon { color: var(--gold); }
.toast.bad { background: #5c1410; }
.palette { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; padding-top: 12vh; }
.palette-card { width: min(560px, calc(100% - 32px)); background: var(--panel); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .25s var(--ease) both; align-self: flex-start; }
.palette-card input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; height: 58px; padding: 0 20px; font-size: 16px; box-shadow: none !important; }
.palette-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.palette-list a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-size: 14.5px; }
.palette-list a.on, .palette-list a:hover { background: var(--tint); }
.palette-list small { margin-left: auto; color: var(--muted); font-size: 12px; }

/* Beneficiaries */
.bene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bene { padding: 20px; border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; transition: transform .2s var(--ease); }
.bene:hover { transform: translateY(-3px); }
.bene .avatar { width: 50px; height: 50px; font-size: 17px; margin-bottom: 10px; }
.bene .avatar.alt { background: linear-gradient(135deg, #1b6a39, #0b3519); color: var(--gold); }
.bene b { font: 600 16px var(--display); }
.bene small { color: var(--muted); font-size: 13px; }
.bene .actions { display: flex; gap: 8px; margin-top: 12px; }

/* Statement */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { padding: 16px 18px; border-radius: 16px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.stat small { color: var(--muted); font-size: 12.5px; }
.stat b { display: block; font: 700 21px var(--display); margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat.in b { color: var(--good); }
.print-only { display: none; }

.idle { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; background: rgb(4 20 10 / .5); backdrop-filter: blur(4px); }
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--soft) 25%, var(--panel-2) 50%, var(--soft) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .g-main, .wizard { grid-template-columns: minmax(0, 1fr); }
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-info { position: static; }
}
@media (max-width: 980px) {
  .login { grid-template-columns: 1fr; }
  .hero { display: none; }
  .auth-logo { display: block; }
  .shell { padding-left: 0; }
  .side { transform: translateX(-100%); transition: transform .3s var(--ease); }
  .side.open { transform: none; box-shadow: var(--shadow-lg); }
  .topbar { padding: 0 16px; }
  .topbar .menu-btn { display: grid; }
  .search-btn { width: auto; } .search-btn span, .search-btn kbd { display: none; }
  .main { padding: 4px 16px 40px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wealth { padding: 22px 20px; border-radius: 22px; }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .types { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .crumb p { display: none; }
  .crumb h1 { font-size: 19px; }
  .digits { gap: 6px; } .digits input { height: 52px; font-size: 22px; }
  .card { padding: 18px; } .table-wrap { margin: 0 -18px; }
  .toasts { left: 16px; right: 16px; bottom: 16px; } .toast { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media print {
  .side, .topbar, .toolbar, .no-print, .toasts { display: none !important; }
  .shell { padding: 0; } .main { padding: 0; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  .print-only { display: block; }
}

/* Profile photo */
.avatar { overflow: hidden; }
.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-lg { width: 84px; height: 84px; font-size: 28px; }
.me-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.me-text { min-width: 0; flex: 1; }
.me-text p { overflow-wrap: anywhere; }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.photo-actions .btn .icon { width: 16px; height: 16px; }
.tl-detail { display: block; color: var(--ink); opacity: .8; font-size: 13px; overflow-wrap: anywhere; }

/* Bulk payment history */
.bulk-tabs { margin-bottom: 16px; }
.tl.wait i { background: var(--warn-bg); color: var(--warn); }
.tl.skip { opacity: .62; }
.bh-appr b { font-weight: 600; }
.bh-appr small { max-width: 260px; overflow-wrap: anywhere; }
.bh-group { margin-top: 28px; }
.bh-group h4 { margin: 0 0 4px; }
.bh-group > p.muted { font-size: 13px; margin: 0 0 6px; }
.bh-group .timeline { margin-top: 14px; }
.bulk-cols { margin: 0 0 12px; padding-left: 22px; font: 12px/1.7 var(--mono, ui-monospace, monospace); }
.side-info a.btn { text-decoration: none; }

/* Busy overlay: blocks the page while a screen loads, with a ring in the colours of the payments donut. */
.busy { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(2px); cursor: progress; animation: fade .2s both; }
.busy-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 28px; border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.ring { width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(#ffcc00 0 26%, #1b6a39 26% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  animation: spin-ring .9s linear infinite; }
@keyframes spin-ring { to { transform: rotate(1turn); } }
/* A loading ring must turn even when the device asks for less motion (Windows with animation effects off): the rule above stops all animation, so this one wins over it, only slower. */
@media (prefers-reduced-motion: reduce) { .busy .ring { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; } }

/* Terms & policies footer: under the sign-in form and under every screen in the app (same look as legal.css). */
.auth { grid-template-rows: 1fr auto; }
.legal-foot { text-align: center; padding: 18px 16px 24px; color: var(--muted); font-size: 13.5px; }
.shell > .legal-foot { max-width: 1440px; padding: 8px 32px 28px; border-top: 1px solid var(--line); margin: 0 32px; }
.legal-foot nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.legal-foot nav a { color: var(--muted); text-decoration: none; padding-top: 10px; }
.legal-foot nav a:hover { color: var(--brand); text-decoration: underline; }
.legal-foot nav i { width: 2px; height: 14px; margin-top: 10px; background: var(--gold); border-radius: 1px; }
.legal-foot nav i:nth-of-type(even) { background: var(--info); }
.legal-foot p { margin: 2px 0; font-size: 12.5px; color: var(--faint); }
@media (max-width: 980px) { .shell > .legal-foot { margin: 0 16px; padding: 8px 0 24px; } }
@media print { .legal-foot { display: none; } }

/* Sign-in hero: the messages take turns, fading over one another in the same place. */
.hero-msgs { display: grid; }
.hero-msg { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.hero-msg.on { opacity: 1; transform: none; pointer-events: auto; }
.hero-msg:not(.on) h1 em::after { animation: none; transform: scaleX(0); }
.hero-dots { display: flex; gap: 8px; margin-top: 22px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; background: rgb(255 255 255 / .35); transition: width .4s var(--ease), background .4s; }
.hero-dots button.on { width: 26px; background: var(--gold); }
.hero-dots:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-msg { transition: none; transform: none; } }
