@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #111111;
  --bg-2: #141414;
  --card: #1a1a1a;
  --card-2: #1f1f1f;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f2f2f2;
  --muted: #8a8a8a;
  --dim: #5e5e5e;
  --lime: #d9f56b;
  --lime-dim: rgba(217, 245, 107, 0.14);
  --red: #e25555;
  --radius: 22px;
  --font: "Geist", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
/* Chrome pill button (from the reference video): black body, liquid-metal rim,
   a dark knob with a liquid-metal chevron on the left. On hover the knob grows
   to fill the pill and a track of liquid-metal chevrons scrolls across.
   The metal is one Paper "LiquidMetal" WebGL canvas per button, masked to
   (rim ring + chevrons). See the module script in index.html. */
.btn {
  --h: 58px; --rim: 3px; --k: 46px; --kx: 8px;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='58' viewBox='0 0 38 58'%3E%3Cpath d='M11 13 26 29 11 45' fill='none' stroke='%23000' stroke-width='8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
  --tile: calc(var(--h) * .655);
  --trail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='58' viewBox='0 0 760 58'%3E%3Cpath d='M11 13 26 29 11 45M49 13 64 29 49 45M87 13 102 29 87 45M125 13 140 29 125 45M163 13 178 29 163 45M201 13 216 29 201 45M239 13 254 29 239 45M277 13 292 29 277 45M315 13 330 29 315 45M353 13 368 29 353 45M391 13 406 29 391 45M429 13 444 29 429 45M467 13 482 29 467 45M505 13 520 29 505 45M543 13 558 29 543 45M581 13 596 29 581 45M619 13 634 29 619 45M657 13 672 29 657 45M695 13 710 29 695 45M733 13 748 29 733 45' fill='none' stroke='%23000' stroke-width='8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 calc(var(--kx) + var(--k) + 22px);
  border-radius: 999px; border: 0; background: #8d8d92;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03);
  font-size: 17px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap;
  color: #7a7478;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn--sm { --h: 40px; --k: 31px; --kx: 5px; font-size: 13px; }
.btn--block { width: 100%; }
.btn__body { /* black pill, inset by the rim */
  position: absolute; inset: var(--rim); border-radius: 999px; z-index: 0;
  background: radial-gradient(120% 160% at 50% 50%, #000 40%, #0b0b0c);
  box-shadow: inset 0 3px 10px rgba(0,0,0,.9), inset 0 -1px 0 rgba(255,255,255,.05);
}
.btn__knob { /* dark disc under the chevron; grows to fill the pill on hover */
  position: absolute; z-index: 1; left: var(--kx); top: 50%;
  width: var(--k); height: var(--k); transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(160deg, #2b2b2e, #19191b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 -3px 6px rgba(0,0,0,.5), 0 3px 8px rgba(0,0,0,.7);
  transition: left .6s cubic-bezier(.65,0,.25,1);
}
.btn__trail { /* lighter inner pill revealed behind the swiping knob */
  position: absolute; z-index: 0; left: var(--rim); top: var(--rim); bottom: var(--rim);
  width: calc(var(--kx) - var(--rim) + var(--k) / 2); border-radius: 999px; opacity: 0;
  background: linear-gradient(180deg, #2e2e31, #1f1f21);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), inset 0 -4px 10px rgba(0,0,0,.45), inset 0 4px 10px rgba(255,255,255,.04);
  transition: width .6s cubic-bezier(.65,0,.25,1), opacity .2s ease;
}
.btn__label { position: relative; z-index: 0; transition: opacity .15s ease; }
/* Metal layer: rim ring + knob chevron + chevron track, all revealing the shader canvas */
.btn__metal {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: var(--rim) solid transparent; border-radius: 999px;
  --cw: calc(var(--k) * .655);
  transition: mask-position .6s cubic-bezier(.65,0,.25,1), -webkit-mask-position .6s cubic-bezier(.65,0,.25,1);
  -webkit-mask-image: var(--chev), var(--trail), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
          mask-image: var(--chev), var(--trail), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
          mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  -webkit-mask-size: var(--cw) var(--k), auto var(--h), 100% 100%, 100% 100%;
          mask-size: var(--cw) var(--k), auto var(--h), 100% 100%, 100% 100%;
  -webkit-mask-position: calc(var(--kx) - var(--rim) + (var(--k) - var(--cw)) / 2) 50%, calc(var(--kx) - var(--rim) - var(--tile) * 20) 50%, 0 0, 0 0;
          mask-position: calc(var(--kx) - var(--rim) + (var(--k) - var(--cw)) / 2) 50%, calc(var(--kx) - var(--rim) - var(--tile) * 20) 50%, 0 0, 0 0;
  -webkit-mask-origin: padding-box, padding-box, padding-box, border-box;
          mask-origin: padding-box, padding-box, padding-box, border-box;
  -webkit-mask-clip: padding-box, padding-box, padding-box, border-box;
          mask-clip: padding-box, padding-box, padding-box, border-box;
  -webkit-mask-composite: source-over, source-over, xor, source-over;
          mask-composite: add, add, exclude, add;
}
.btn__canvas { position: absolute; inset: calc(var(--rim) * -1); border-radius: inherit; overflow: hidden; }
.btn__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

.btn:hover { transform: translateY(-1px); }
/* Hover: the knob swipes from the left end to the right end, taking its chevron with it */
.btn:hover .btn__knob { left: calc(100% - var(--kx) - var(--k)); }
.btn:hover .btn__metal {
  -webkit-mask-position: calc(100% + var(--rim) - var(--kx) - var(--k) / 2 + var(--cw) / 2) 50%, calc(100% + var(--rim) - var(--kx) - var(--k)) 50%, 0 0, 0 0;
          mask-position: calc(100% + var(--rim) - var(--kx) - var(--k) / 2 + var(--cw) / 2) 50%, calc(100% + var(--rim) - var(--kx) - var(--k)) 50%, 0 0, 0 0;
}
.btn:hover .btn__trail { width: calc(100% - var(--rim) * 2); opacity: 1; }
.btn:hover .btn__label { opacity: 0; }

/* ---------- Pill tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: #1a1a1a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 6px 16px -6px rgba(0,0,0,.8);
  font-size: 12px; font-weight: 400; color: #e5e5e5;
}
.tag b {
  font-weight: 400; color: #111; background: var(--lime);
  padding: 3px 9px; border-radius: 999px; font-size: 11px;
}

/* ---------- Titles ---------- */
.title {
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
  background: linear-gradient(180deg, #d8d8d8 0%, #9c9c9c 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.title--xl { font-size: clamp(48px, 7.4vw, 84px); line-height: 1.04; }
.title--lg { font-size: clamp(34px, 4.4vw, 50px); }
.title strong { font-weight: 400; color: #f4f4f4; -webkit-text-fill-color: #eaeaea; }

.section { padding: 120px 0; }
.section-head { text-align: center; display: grid; justify-items: center; gap: 22px; margin-bottom: 56px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(14px);
}
.nav__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.logo svg { width: 24px; height: 24px; }
.nav__links { display: flex; gap: 32px; font-size: 13px; color: #b4b4b4; }
.nav__links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 112px 0 96px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% 10% auto; height: 120%;
  background: radial-gradient(50% 45% at 50% 55%, rgba(255,255,255,0.055), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(920px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}
.hero > * { position: relative; }
.hero .title { margin: 28px auto 26px; max-width: 760px; }
.hero p { font-size: 13px; color: var(--muted); max-width: 440px; margin: 0 auto 40px; line-height: 1.75; }
.hero__ctas { display: flex; justify-content: center; gap: 14px; }

/* ---------- Logos ---------- */
.logos { display: flex; justify-content: center; align-items: center; gap: clamp(32px, 7vw, 68px); padding: 40px 0 0; flex-wrap: wrap; }
.logos span { font-size: 17px; font-weight: 600; color: #6a6a6a; letter-spacing: -0.02em; transition: color .3s, text-shadow .3s; }
.logos span.is-active, .logos span:hover { color: var(--lime); text-shadow: 0 0 18px rgba(217,245,107,.55); }

/* ---------- Blog list ---------- */
.blog-list { list-style: none; }
.blog-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 12px; border-bottom: 1px solid var(--line);
  font-size: 15px; color: #7c7c7c; transition: color .25s, border-color .25s;
}
.blog-list a svg { width: 14px; height: 14px; }
.blog-list a:hover, .blog-list a.is-active { color: #f0f0f0; border-color: rgba(255,255,255,.35); }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; text-align: center;
  background: linear-gradient(180deg, #1b1b1b, #171717);
  border-radius: var(--radius);
  padding: 44px 28px 36px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 40px -20px rgba(0,0,0,.9);
  overflow: hidden;
  transition: transform .3s ease;
}
.svc:hover { transform: translateY(-4px); }
.svc::after { /* dashed "ghost" tile revealed on hover, like the mockup detail */
  content: ""; position: absolute; top: 44px; left: calc(50% - 32px);
  width: 64px; height: 64px; border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.22);
  opacity: 0; transform: translate(0, 0);
  transition: opacity .35s ease, transform .35s ease;
}
.svc:hover::after { opacity: 1; transform: translate(-22px, 22px); }
.svc .icon-tile { z-index: 1; transition: transform .35s ease; }
.svc::before { /* soft halo behind icon */
  content: ""; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.035), transparent);
}
.icon-tile {
  position: relative; margin: 0 auto 36px;
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(180deg, #2a2a2a, #1c1c1c);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
}
.icon-tile::before, .icon-tile::after { /* crosshair ticks */
  content: ""; position: absolute; background: rgba(217,245,107,.25);
}
.icon-tile::before { width: 1px; height: 100%; left: 50%; top: 0; mask: linear-gradient(#000 0 18%, transparent 18% 82%, #000 82%); }
.icon-tile::after { height: 1px; width: 100%; top: 50%; left: 0; mask: linear-gradient(90deg, #000 0 18%, transparent 18% 82%, #000 82%); }
.icon-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--lime);
  box-shadow: 0 0 14px rgba(217,245,107,.55), inset 0 0 8px rgba(217,245,107,.25);
  display: grid; place-items: center; background: #161616;
}
.icon-ring svg { width: 16px; height: 16px; color: #eaeaea; }
.svc h3 { font-size: 17px; font-weight: 400; margin-bottom: 10px; letter-spacing: -0.01em; }
.svc p { font-size: 12px; color: var(--dim); line-height: 1.8; max-width: 230px; margin: 0 auto; }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature__num { font-size: 12px; color: var(--dim); margin-bottom: 18px; }
.feature h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 18px; max-width: 380px; }
.feature p { font-size: 12px; color: var(--dim); max-width: 380px; line-height: 1.8; margin-bottom: 28px; }

.mock-frame { background: #181818; border-radius: var(--radius); padding: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.mock { background: linear-gradient(180deg, #1f1f1f, #1a1a1a); border-radius: 16px; border: 1px solid var(--line); padding: 20px; font-size: 11px; color: var(--muted); }
.mock__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock__head h4 { color: #e8e8e8; font-weight: 400; font-size: 13px; }
.legend { display: flex; gap: 14px; font-size: 9px; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.days { display: flex; justify-content: space-between; margin: 18px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 9px; color: var(--dim); }
.chart { position: relative; height: 150px; }
.chart svg { width: 100%; height: 100%; }
.chart__tip {
  position: absolute; left: 27%; top: 8px;
  background: #262626; border: 1px solid var(--line-2); border-radius: 6px;
  padding: 4px 8px; font-size: 9px; color: #ddd; line-height: 1.3;
}
.chart__tip small { color: var(--dim); display: block; font-size: 8px; }

/* expense stacked cards */
.stack { position: relative; height: 230px; }
.stack .mock { position: absolute; width: 74%; }
.stack .s1 { left: 0; top: 0; opacity: .85; }
.stack .s2 { left: 16%; top: 44px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.9); }
.stack .s3 { left: 30%; top: 140px; opacity: .25; filter: blur(.4px); }
.chip-red { display: inline-flex; gap: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(226,85,85,.12); color: var(--red); font-size: 9px; }
.chip-green { display: inline-flex; padding: 2px 8px; border-radius: 6px; background: var(--lime-dim); color: var(--lime); font-size: 9px; }
.big-num { font-size: 26px; color: #eee; font-weight: 300; letter-spacing: -0.02em; margin-top: 4px; }
.big-num small { font-size: 11px; color: var(--dim); }

/* payment rows */
.pay-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pay-row:first-of-type { margin-top: 14px; }
.pay-logo { width: 28px; height: 28px; border-radius: 7px; background: #0e0e0e; display: grid; place-items: center; color: #e50914; font-weight: 700; font-size: 15px; }
.pay-row div { flex: 1; color: #ddd; font-size: 11px; line-height: 1.3; }
.pay-row div small { display: block; color: var(--dim); font-size: 9px; }
.pay-row .amt { font-size: 11px; }
.amt.pos { color: var(--lime); } .amt.neg { color: var(--red); }
.amt small { font-size: 8px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center; }
.plan {
  background: linear-gradient(180deg, #1e1e1e, #1a1a1a);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 30px 50px -24px rgba(0,0,0,.9);
  display: flex; flex-direction: column; min-height: 540px;
}
.plan--featured { min-height: 590px; background: linear-gradient(180deg, #212121, #1b1b1b); }
.plan__top { display: flex; justify-content: space-between; align-items: center; height: 40px; margin-bottom: 26px; }
.plan__top svg { width: 30px; height: 30px; color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,245,107,.09); color: var(--lime); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 400; }
.badge svg { width: 14px !important; height: 14px !important; color: var(--lime) !important; }
.plan h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.plan > p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 26px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price strong { font-size: 52px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 22px; margin-bottom: 40px; }
.plan li { display: flex; gap: 14px; align-items: center; font-size: 13px; color: #c9c9c9; }
.plan li svg { width: 11px; height: 11px; flex: none; color: #fff; }
.plan .btn { margin-top: auto; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter p.sub { font-size: 12px; color: var(--dim); max-width: 300px; margin: -24px auto 36px; line-height: 1.8; }
.subscribe { display: flex; justify-content: center; align-items: center; gap: 16px; }
.subscribe input {
  width: 280px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 4px; font-size: 13px; outline: none; color: #ddd;
}
.subscribe input::placeholder { color: var(--dim); }
.subscribe input:focus { border-color: var(--lime); }
.subscribe button {
  width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--lime); color: #111; display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(217,245,107,.35);
}
.subscribe button svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 64px; }
.footer__card {
  background: #1a1a1a; border-radius: var(--radius);
  padding: 40px 40px 32px;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px;
}
.footer__addr { font-size: 17px; line-height: 1.45; color: #e8e8e8; max-width: 300px; font-weight: 400; }
.footer__col h5 { font-size: 13px; font-weight: 400; color: #eee; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.footer__col a:hover { color: var(--lime); }
.footer__copy { grid-column: 1 / -1; font-size: 11px; color: var(--dim); margin-top: 36px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .services, .pricing { grid-template-columns: 1fr; }
  .plan, .plan--featured { min-height: 0; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .footer__card { grid-template-columns: 1fr 1fr; }
  .section { padding: 88px 0; }
}
@media (max-width: 520px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .subscribe input { width: 200px; }
  .footer__card { grid-template-columns: 1fr; }
}

/* ---------- Dashboard showcase ---------- */
.showcase { padding: 8px 0 24px; position: relative; }
.showcase::before { /* soft glow behind the frame */
  content: ""; position: absolute; inset: -40px 6% auto; height: 70%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(217,245,107,.12), transparent 70%); filter: blur(30px); pointer-events: none;
}
.dash {
  position: relative; background: #0d0d0e; border-radius: 28px; padding: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 60px 90px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  font-size: 12px; color: #bdbdbd;
}
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dash__logo { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.dash__logo svg { width: 18px; height: 18px; }
.dash__nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #1c1c1d; }
.dash__nav span, .dash__nav b { padding: 7px 14px; border-radius: 999px; font-weight: 400; font-size: 12px; color: #9a9a9a; }
.dash__nav b { background: #f2f2f2; color: #111; }
.dash__me { display: flex; align-items: center; gap: 8px; }
.dash__me .dot { width: 34px; height: 34px; border-radius: 50%; background: #1c1c1d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 500; color: #111; background: linear-gradient(145deg, #f3d7c2, #c9936f); }
.dash__grid { display: grid; grid-template-columns: 1fr 1.5fr 1.25fr; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card { background: #1b1b1c; border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #d6d6d6; font-size: 12.5px; }
.card__head .sel { margin-left: auto; margin-right: 8px; font-size: 11px; color: #9a9a9a; }
.lbl { color: #d6d6d6; font-size: 12.5px; }
.num { color: #fff; font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.num small { font-size: .55em; color: #7a7a7a; font-weight: 300; }
.num--xl { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.035em; margin-top: 30px; color: #111; }
.num--xl small { color: #8c9a60; }
.num--lg { font-size: 30px; margin-top: 34px; }
.card--row { display: flex; align-items: center; justify-content: space-between; }
.card--row .num { margin-top: 8px; }
.pill, .chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 8px; background: #2b2b2c; color: #cfcfcf; font-size: 10px; white-space: nowrap; }
.round { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #2a2a2b; color: #e8e8e8; }
.round .ic { width: 12px; height: 12px; }
.round--sq { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
.round--light { background: #fff; color: #111; }
.round--glass { background: rgba(255,255,255,.12); }

.card--gauge { display: flex; flex-direction: column; }
.gauge { width: 88%; margin: 8px auto 0; }
.gauge__val { text-align: center; color: #fff; font-size: 20px; margin-top: -34px; letter-spacing: -.01em; }
.legend2 { list-style: none; margin-top: 16px; display: grid; gap: 7px; font-size: 10.5px; color: #9a9a9a; }
.legend2 li { display: flex; align-items: center; gap: 7px; }
.legend2 i { width: 6px; height: 6px; border-radius: 50%; }
.legend2 b { margin-left: auto; font-weight: 400; color: #cfcfcf; }
.quick { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.quick .avatar { width: 40px; height: 40px; border-radius: 12px; }
.a2 { background: linear-gradient(145deg, #f6d0bd, #d28c6a); } .a3 { background: linear-gradient(145deg, #e9d7c8, #b98a68); }

.card--balance { background: linear-gradient(135deg, #fbffe9 0%, #e6f7a6 55%, #cfee6a 100%); color: #26300c; min-height: 190px; display: flex; flex-direction: column; }
.card--balance .card__head { color: #26300c; }
.balance__foot { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 14px; }
.card--balance .chip { background: rgba(255,255,255,.85); color: #26300c; }
.spark { margin-left: auto; display: flex; align-items: flex-end; gap: 2px; height: 28px; width: 38%; }
.spark i { flex: 1; background: #2b3a0a; border-radius: 1px; opacity: .85; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair .card { display: flex; flex-direction: column; justify-content: space-between; min-height: 118px; }
.pair .num { margin-top: auto; }
.card--goal { background: linear-gradient(90deg, #2d2d2f 0 50%, #1b1b1c 50%); }
.card--budget { flex: 1; }
.bars { display: flex; align-items: stretch; gap: 8px; height: 150px; margin-top: 16px; }
.axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 18px; color: #666; font-size: 9px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar { justify-content: flex-end; }
.bar__stack { flex: none; width: 100%; display: flex; flex-direction: column-reverse; gap: 2px; justify-content: flex-start; }
.bar__stack i:nth-child(4) { opacity: .9; }
.bar__stack i { display: block; border-radius: 3px; }
.bar__stack i:nth-child(1) { background: #3a4046; } .bar__stack i:nth-child(2) { background: #555c63; }
.bar__stack i:nth-child(3) { background: #7a828a; } .bar__stack i:nth-child(4) { background: #d9f56b; }
.bar small { font-size: 9px; color: #777; }
.legend3 { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 9px; color: #888; }
.legend3 i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; }

.card--tx { flex: 1; }
.tabs { display: flex; align-items: center; gap: 4px; margin: 14px 0 6px; padding: 3px; border-radius: 999px; background: #2a2a2b; font-size: 10.5px; color: #9a9a9a; }
.tabs b { padding: 4px 12px; border-radius: 999px; background: #f2f2f2; color: #111; font-weight: 400; }
.tabs span { padding: 4px 8px; }
.tabs em { margin-left: auto; padding-right: 8px; font-style: normal; color: #cfcfcf; }
.tx { list-style: none; }
.tx li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #ececec; font-size: 11px; }
.tx li:last-child { border-bottom: 0; }
.tx li div { flex: 1; line-height: 1.35; }
.tx small { display: block; color: #777; font-size: 9px; }
.tx b { font-weight: 400; color: #e8e8e8; }
.tx b.pos { color: var(--lime); }
.tx__logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #2c2c2d; color: #d9d9d9; font-weight: 500; font-size: 12px; }
.card--visa { min-height: 150px; background: linear-gradient(160deg, #8d93a1 0%, #2a2e3a 45%, #14161c 100%); display: flex; flex-direction: column; }
.card--visa .visa { color: #fff; font-style: italic; font-weight: 600; letter-spacing: .02em; font-size: 15px; }
.card--visa .chip--glass { margin-top: 14px; align-self: flex-start; background: rgba(0,0,0,.35); color: #ddd; }

@media (max-width: 900px) {
  .dash__nav { display: none; }
  .dash__grid { grid-template-columns: 1fr 1fr; }
  .col:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .dash__grid { grid-template-columns: 1fr; }
  .num--xl { margin-top: 20px; }
}

/* ---------- Floating dashboard fragments around the H1 ---------- */
.floats { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.float { position: absolute; width: 210px; font-size: 12px; color: #bdbdbd;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 50px -20px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05);
  animation: float-bob 7s ease-in-out infinite alternate; }
.float .num--sm { font-size: 24px; margin-top: 20px; color: #111; }
.float .num--sm small { color: #8c9a60; }
.float .tx li { padding: 9px 0; }
.f-l1 { left: calc(50% - 660px); top: 92px; transform: rotate(-5deg); }
.f-l2 { left: calc(50% - 560px); top: 250px; width: 190px; transform: rotate(3deg); animation-delay: -2s; opacity: .85; }
.f-l3 { left: calc(50% - 690px); top: 400px; width: 200px; transform: rotate(-2deg); animation-delay: -4s; opacity: .55; filter: blur(.6px); }
.f-r1 { left: calc(50% + 450px); top: 80px; width: 230px; transform: rotate(5deg); animation-delay: -1s; }
.f-r2 { left: calc(50% + 480px); top: 305px; width: 230px; transform: rotate(-3deg); animation-delay: -3s; opacity: .85; }
.f-r3 { left: calc(50% + 430px); top: 450px; width: 220px; transform: rotate(4deg); animation-delay: -5s; opacity: .6; filter: blur(.6px); }
@keyframes float-bob { to { translate: 0 -10px; } }
@media (max-width: 1240px) { .floats { display: none; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* Depth: near / mid / far layers (scale, blur, opacity, parallax strength) */
.float { margin-left: calc(var(--mx, 0) * var(--d, 12) * 1px); margin-top: calc(var(--my, 0) * var(--d, 12) * 1px); transition: margin .25s ease-out; }
.f-l1, .f-r1 { --d: 30; scale: 1.18; z-index: 3; opacity: 1; filter: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 50px 70px -18px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.07); }
.f-l2, .f-r2 { --d: 15; scale: 1; z-index: 2; opacity: .9; filter: blur(.4px); }
.f-l3, .f-r3 { --d: 6; scale: .84; z-index: 1; opacity: .5; filter: blur(2.2px); }
.f-l1 { top: 70px; left: calc(50% - 690px); }
.f-r1 { top: 60px; left: calc(50% + 440px); }
.f-r3 { top: 470px; left: calc(50% + 470px); }
.f-l3 { top: 420px; left: calc(50% - 700px); }

/* ---------- Dashboard: interactive states ---------- */
:where(.dash) button { font: inherit; color: inherit; border: 0; cursor: pointer; }
:where(.dash) button:where(:not(.avatar):not(.round)) { background: none; }
.dash__nav button { padding: 7px 14px; border-radius: 999px; font-size: 12px; color: #9a9a9a; transition: background .25s, color .25s; }
.dash__nav button:hover { color: #fff; }
.dash__nav button.is-active { background: #f2f2f2; color: #111; }
.tabs button { padding: 4px 12px; border-radius: 999px; color: #9a9a9a; font-size: 10.5px; transition: background .25s, color .25s; }
.tabs button:hover { color: #fff; }
.tabs button.is-active { background: #f2f2f2; color: #111; }
.tx li[hidden] { display: none; }
.dash .card { transition: transform .3s ease, box-shadow .3s ease; }
.dash .card:hover { transform: translateY(-2px); }
.round { transition: background .2s, transform .2s; }
.dash .round:not(.round--sq):hover { background: #3a3a3c; transform: scale(1.08); }
.dash .round--light:hover { background: #e9f7b0; }
.round.is-pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.25) rotate(8deg); } }
.selwrap { position: relative; margin-left: auto; margin-right: 8px; }
.card__head .sel { margin: 0; padding: 4px 8px; border-radius: 8px; }
.sel:hover { background: #2a2a2b; }
.sel__menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; list-style: none; min-width: 92px; padding: 4px; border-radius: 10px; background: #262627; box-shadow: 0 14px 30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.sel__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.sel__menu li { padding: 6px 10px; border-radius: 7px; font-size: 11px; color: #bdbdbd; cursor: pointer; }
.sel__menu li:hover { background: #333; color: #fff; }
.sel__menu li.is-on { color: var(--lime); }
.legend3 button { display: inline-flex; align-items: center; font-size: 9px; color: #888; padding: 2px 4px; border-radius: 6px; transition: opacity .2s, color .2s; }
.legend3 button:hover { color: #ddd; }
.legend3 button:not(.is-on) { opacity: .4; text-decoration: line-through; }
.bar__stack i { transition: opacity .3s; }
.bars.hide-1 .bar__stack i:nth-child(1), .bars.hide-2 .bar__stack i:nth-child(2),
.bars.hide-3 .bar__stack i:nth-child(3), .bars.hide-4 .bar__stack i:nth-child(4) { opacity: .08; }
.bar:hover .bar__stack { filter: brightness(1.25); }
.quick .avatar { border: 0; transition: transform .2s, box-shadow .2s; }
.quick .avatar:hover { transform: translateY(-2px); }
.quick .avatar.is-sel { box-shadow: 0 0 0 2px #1b1b1c, 0 0 0 4px var(--lime); }
.quick .round--sq:hover { background: #3a3a3c; }
.dash button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ---------- Translucent lime card ---------- */
.card--balance {
  background: linear-gradient(135deg, rgba(251,255,233,.62) 0%, rgba(230,247,166,.5) 55%, rgba(207,238,106,.42) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 1px 0 rgba(255,255,255,.5), 0 30px 50px -24px rgba(0,0,0,.8);
  color: #1d2608;
}
.card--balance .card__head, .num--xl { color: #11160a; }

/* ---------- Dashboard views ---------- */
.dash__body { min-height: 640px; }
.view { display: none; }
.view.is-active { display: block; animation: viewin .35s ease both; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } }
.vgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; align-items: start; }
.card--full { min-height: 600px; }
.sub { display: block; color: #777; font-size: 10px; margin-top: 2px; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #2a2a2b; }
.seg button { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; color: #9a9a9a; }
.seg button.is-active { background: #f2f2f2; color: #111; }
.chart2__val { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.chart2__val b { font-size: 30px; font-weight: 400; color: #fff; letter-spacing: -.02em; }
.chart2__val em { font-style: normal; font-size: 12px; color: #4ade80; }
.chart2 { width: 100%; height: 190px; margin-top: 8px; overflow: visible; }
.chart2__x { display: flex; justify-content: space-between; font-size: 10px; color: #777; margin-top: 6px; }
.cats { list-style: none; display: grid; gap: 14px; margin-top: 16px; }
.cats li { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px; font-size: 11px; color: #bdbdbd; }
.cats i { display: block; height: 6px; border-radius: 99px; background: #2a2a2b; position: relative; overflow: hidden; }
.cats i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: inherit; }
.cats b { font-weight: 400; text-align: right; color: #e8e8e8; }
.search { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #2a2a2b; color: #9a9a9a; }
.search svg { width: 13px; height: 13px; }
.search input { background: none; border: 0; outline: 0; color: #eee; font: inherit; font-size: 12px; width: 160px; }
.tabs--w { width: max-content; margin: 14px 0 6px; }
.tx--full li { padding: 14px 0; font-size: 12.5px; }
.empty { padding: 30px 0; text-align: center; color: #777; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.act { padding: 12px 6px; border-radius: 14px; background: #262627; color: #ddd; font-size: 12px; transition: background .2s, color .2s; }
.act:hover { background: #333; }
.act.is-active { background: var(--lime); color: #131808; }
.payform { margin-top: 18px; padding: 16px; border-radius: 14px; background: #141415; display: grid; gap: 12px; }
.payform__t { color: #fff; font-size: 14px; }
.payform label { display: grid; gap: 6px; font-size: 11px; color: #8a8a8a; }
.payform input { background: #222; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; color: #fff; font: inherit; font-size: 14px; outline: 0; }
.payform input:focus { border-color: var(--lime); }
.send { padding: 11px; border-radius: 12px; background: #f2f2f2; color: #111; font-size: 13px; }
.send:hover { background: #fff; }
.payform__ok { font-size: 11.5px; color: var(--lime); }
.bills { list-style: none; margin-top: 10px; }
.bills li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #ececec; font-size: 12px; }
.bills li:last-child { border-bottom: 0; }
.bills li div { flex: 1; } .bills small { display: block; color: #777; font-size: 10px; }
.bills b { font-weight: 400; }
.paid { padding: 6px 12px; border-radius: 999px; background: #2a2a2b; color: #ddd; font-size: 11px; }
.paid:hover { background: #3a3a3c; }
.bills li.is-paid { opacity: .55; } .bills li.is-paid .paid { background: rgba(217,245,107,.16); color: var(--lime); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.planbtn { padding: 14px 10px; border-radius: 14px; background: #262627; text-align: left; display: grid; gap: 4px; transition: background .2s, box-shadow .2s; }
.planbtn b { font-weight: 400; color: #eee; font-size: 12.5px; } .planbtn small { color: #8a8a8a; font-size: 10.5px; }
.planbtn:hover { background: #2f2f31; }
.planbtn.is-active { box-shadow: inset 0 0 0 1.5px var(--lime); background: rgba(217,245,107,.07); }
.plan-big { margin-top: 22px; color: #9a9a9a; }
.meter { height: 10px; border-radius: 99px; background: #2a2a2b; margin-top: 16px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #a8d63a, #d9f56b); border-radius: inherit; transition: width .5s ease; }
.meter__t { margin-top: 10px; font-size: 11.5px; color: #9a9a9a; } .meter__t b { color: #fff; font-weight: 400; }
.bankcard { position: relative; display: block; width: 100%; height: 170px; border-radius: 20px; padding: 18px 20px; text-align: left; color: #fff; background: linear-gradient(150deg, #5d6577 0%, #2a2f3d 50%, #15171d 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 24px 40px -22px rgba(0,0,0,.9); transition: transform .3s, box-shadow .3s, filter .3s; }
.bankcard--mc { background: linear-gradient(150deg, #5a6a80 0%, #2a3140 50%, #14171e 100%); margin-top: 0; }
.bankcard.is-active { box-shadow: inset 0 0 0 1.5px var(--lime), 0 24px 40px -22px rgba(0,0,0,.9); transform: translateY(-2px); }
.bankcard.is-frozen { filter: grayscale(1) brightness(.7); }
.bankcard__brand { font-weight: 500; font-size: 15px; display: block; } .bankcard__brand small { display: block; color: #aab; font-size: 9px; font-weight: 400; }
.bankcard__num { position: absolute; left: 20px; bottom: 18px; font-size: 13px; letter-spacing: .04em; color: #dde; }
.bankcard__tag { position: absolute; right: 20px; bottom: 16px; font-style: italic; font-weight: 600; font-size: 15px; }
.rowset { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; color: #ddd; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #3a3a3c; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch.is-on { background: #7fae1e; } .switch.is-on i { transform: translateX(16px); }
.limit { display: grid; gap: 10px; margin-top: 16px; font-size: 12px; color: #ddd; }
.limit b { color: #fff; font-weight: 400; float: right; }
.limit input { accent-color: #d9f56b; }
.state { margin-top: 14px; font-size: 11.5px; color: var(--lime); }
.col > .bankcard + .bankcard { margin-top: 0; }

/* ---------- More visible balance ---------- */
.card--balance .balance__lbl { font-size: 14px; font-weight: 500; color: #10150a; }
.card--balance .num--xl { font-size: clamp(44px, 5.6vw, 68px); font-weight: 500; letter-spacing: -.045em; margin-top: 22px; color: #0b0f06; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.card--balance .num--xl small { font-size: .42em; font-weight: 400; color: #4a5a1a; }
.balance__delta { margin-top: 6px; font-size: 13px; color: #2f3a12; }
.balance__delta b { font-weight: 600; color: #0f6b2d; }
.card--balance { min-height: 220px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: 1fr; } .cats li { grid-template-columns: 96px 1fr 40px; } }

/* ---------- Fill the empty space in every view ---------- */
.vgrid { align-items: stretch; }
.vgrid--b { margin-top: 10px; }
.vgrid--3 { grid-template-columns: 1.3fr 1fr .8fr; }
.vgrid > .col > .card:last-child, .vgrid > .col > .pair { flex: 1; }
.card--chart { display: flex; flex-direction: column; }
.card--chart .chart2 { flex: 1; min-height: 190px; }
.pair .card { min-height: 0; }
.mini-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; color: #8a8a8a; }
.mini-leg i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-left: 6px; }
.duos { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 18px; }
.duo { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; position: relative; padding-bottom: 16px; }
.duo i { width: 38%; max-width: 14px; border-radius: 4px 4px 2px 2px; background: #d9f56b; }
.duo i + i { background: #6a7078; }
.duo small { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 9px; color: #777; }
.cats--m li { grid-template-columns: 96px 1fr 44px; }
.card--ring { display: flex; flex-direction: column; }
.ring { position: relative; width: 130px; margin: 14px auto 0; }
.ring svg { width: 100%; }
.ring__v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__v b { font-weight: 400; font-size: 22px; color: #fff; } .ring__v small { font-size: 9px; color: #888; }
.contacts { list-style: none; margin-top: 8px; }
.contacts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #ececec; font-size: 12px; }
.contacts li:last-child { border-bottom: 0; } .contacts li div { flex: 1; } .contacts small { display: block; color: #777; font-size: 10px; }
.contacts .avatar { width: 34px; height: 34px; border-radius: 50%; }
.bills--sw li .switch { margin-left: 4px; }
.checks { list-style: none; display: grid; gap: 13px; margin-top: 16px; font-size: 12px; color: #d6d6d6; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 14px; height: 14px; flex: none; color: var(--lime); padding: 0; }
.status { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; background: #2a2a2b; color: #9a9a9a; }
.status.ok { background: rgba(217,245,107,.14); color: var(--lime); }

/* Glass bank cards (Kama Infinite) */
.bankcard { height: 190px; padding: 22px 24px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(52,98,220,.55), transparent 60%),
    linear-gradient(150deg, rgba(110,120,140,.45) 0%, rgba(30,36,56,.9) 38%, rgba(16,20,36,.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(190,205,240,.28), inset 0 1px 0 rgba(255,255,255,.35), 0 26px 44px -24px rgba(0,0,0,.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.bankcard--mc { background:
    radial-gradient(120% 90% at 100% 100%, rgba(120,130,160,.4), transparent 60%),
    linear-gradient(150deg, rgba(120,128,150,.45) 0%, rgba(34,38,54,.92) 40%, rgba(22,24,36,.96) 100%); }
.bankcard.is-active { box-shadow: inset 0 0 0 1.5px var(--lime), inset 0 1px 0 rgba(255,255,255,.35), 0 26px 44px -24px rgba(0,0,0,.95); }
.bc__logo { display: flex; align-items: center; gap: 10px; }
.bc__logo svg { width: 34px; height: 34px; }
.bc__logo b { display: block; font-size: 21px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.bc__logo small { display: block; font-size: 12px; color: #b9c0d4; margin-top: 3px; }
.bc__mark { position: absolute; top: 24px; right: 26px; width: 58px; height: 34px; }
.bc__mark i { position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(120,124,132,.8); }
.bc__mark i:first-child { left: 0; } .bc__mark i:last-child { right: 0; background: rgba(200,205,214,.6); }
.bc__mark--blue i:last-child { background: rgba(32,170,255,.95); }
.bc__num { position: absolute; left: 24px; bottom: 56px; display: flex; gap: 34px; font-size: 20px; letter-spacing: .02em; }
.bc__num em { font-style: normal; }
.bc__num2 { position: absolute; left: 24px; bottom: 20px; font-size: 18px; color: #b6b9dc; }
.bc__num2 u { text-decoration: none; margin-left: 10px; font-size: 14px; }
.bankcard__tag { right: 24px; bottom: 18px; font-size: 24px; font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.bankcard__tag--mc { display: block; width: 62px; height: 40px; font-style: normal; }
.bankcard__tag--mc i { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; }
.bankcard__tag--mc i:first-child { left: 6px; background: #f00; } .bankcard__tag--mc i:last-child { left: 22px; background: rgba(255,170,0,.92); }
.bankcard__tag--mc small { position: absolute; bottom: -2px; left: 0; right: 0; text-align: center; font-size: 9px; font-weight: 500; }
.col > .bankcard { flex: 1; min-height: 160px; }
@media (max-width: 900px) { .vgrid--3 { grid-template-columns: 1fr; } .bc__num { font-size: 16px; gap: 18px; } }

/* fixes: card layout + no forced empty space */
.bankcard { position: relative; text-align: left; display: block; }
.bc__logo { position: absolute; top: 22px; left: 24px; }
.dash__body { min-height: 0; }

/* Bank cards: MeshGradient shader background */
.bankcard, .bankcard--mc { background: #0b0b0e; }
.bc__bg { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; }
.bc__bg canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.bankcard > span:not(.bc__bg) { z-index: 1; }
.bankcard.is-active { box-shadow: 0 26px 44px -24px rgba(0,0,0,.95); }
.bankcard { box-shadow: 0 26px 44px -24px rgba(0,0,0,.95); }

/* Nav: links truly centered */
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav__inner .logo { justify-self: start; }
.nav__inner .btn { justify-self: end; }

/* Hero floating card = the glass Kama Infinite card (no blur) */
.float.bankcard { width: 250px; height: 158px; padding: 0; cursor: default; opacity: 1; filter: none; }
.f-r3.bankcard { left: calc(50% + 440px); top: 440px; scale: .9; --d: 8; }
.float.bankcard .bc__logo { top: 16px; left: 18px; } .float.bankcard .bc__logo svg { width: 26px; height: 26px; }
.float.bankcard .bc__logo b { font-size: 16px; } .float.bankcard .bc__logo small { font-size: 10px; }
.float.bankcard .bc__mark { top: 18px; right: 18px; transform: scale(.75); transform-origin: top right; }
.float.bankcard .bc__num { left: 18px; bottom: 46px; font-size: 15px; gap: 22px; }
.float.bankcard .bc__num2 { left: 18px; bottom: 16px; font-size: 14px; }
.float.bankcard .bankcard__tag { right: 18px; bottom: 14px; font-size: 19px; }

/* Balance card: Heatmap shader background, light text */
.card--balance, .float.card--balance { position: relative; overflow: hidden; background: #000; color: #e9eefc;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 50px -24px rgba(0,0,0,.8); }
.bal__bg { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; }
.bal__bg canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.card--balance > *:not(.bal__bg) { position: relative; z-index: 1; }
.card--balance .card__head, .card--balance .balance__lbl { color: #f2f5ff; }
.card--balance .num--xl, .card--balance .num--sm { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.card--balance .num--xl small, .card--balance .num--sm small { color: rgba(255,255,255,.6); }
.balance__delta { color: rgba(255,255,255,.75); }
.balance__delta b { color: #6ef0a0; }
.card--balance .chip { background: rgba(0,0,0,.45); color: #f0f3ff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spark i { background: rgba(255,255,255,.85); }
.card--balance .round--light { background: #fff; color: #111; }

/* Home dashboard: glass card replaces the old VISA tile */
.bankcard--home { height: 170px; flex: none; cursor: default; }
.bankcard--home:hover { transform: none; }

/* ---------- LiquidGlass on the Budget card ---------- */
.glassroot { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 6px; margin: -6px; }
.glassroot__bg { position: absolute; inset: 0; border-radius: 26px; z-index: 0;
  background:
    radial-gradient(60% 55% at 12% 20%, rgba(217,245,107,.55), transparent 70%),
    radial-gradient(55% 60% at 92% 78%, rgba(79,140,255,.5), transparent 70%),
    radial-gradient(40% 45% at 55% 105%, rgba(239,111,208,.38), transparent 70%),
    #14141a; }
.glassroot > .glass-card { position: relative; z-index: 1; flex: 1; background: transparent; box-shadow: none; }
.dash .glass-card:hover { transform: none; }

/* H1: Inter 4.1 (variable) */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.hero h1.title { font-family: "Inter", system-ui, sans-serif; font-weight: 300; letter-spacing: -0.035em; }
.f-r2 { top: 272px; }
.f-r3.bankcard { top: 385px; }
.float.bankcard { position: absolute; }
.f-r3.bankcard { top: 430px; }

/* =====================================================================
   AUDIT FIXES (P0–P3)
   ===================================================================== */

/* ---- Tokens ---- */
:root {
  --dim: #8c8c8c;                       /* was #5e5e5e (2.9:1) → 5.7:1 on #111 */
  --r-sm: 12px; --r-md: 18px; --r-lg: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tap: 44px;
}

/* ---- Accessibility: skip link + global focus ring ---- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: #111; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
/* small text that was below 4.5:1 */
.sub, .duo small, .bar small, .axis small, .tx small, .contacts small, .bills small, .chart2__x, .chart__tip small, .mini-leg, .legend3 button, .legend2 li { color: #8f8f8f; }
.svc p, .feature p { font-size: 14px; line-height: 1.7; }
.newsletter p.sub { font-size: 15px; max-width: 420px; margin-top: -24px; }
.footer__copy { font-size: 12px; }
.footer__col a { font-size: 13px; }
.feature__num { font-size: 13px; }

/* ---- Hero: clearer promise, no JS-dependent LCP ---- */
.hero p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; max-width: 540px; color: #a8a8a8; font-weight: 300; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .6s var(--ease) both; }
.hero .tag.reveal { animation-delay: .05s; } .hero h1.reveal { animation-delay: .12s; }
.hero p.reveal { animation-delay: .2s; } .hero__ctas.reveal { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero .reveal { animation: none; } }

/* ---- Header: lighter CTA, burger, mobile menu ---- */
.nav .btn, .mobile-menu .btn { --h: 48px; --k: 38px; --kx: 6px; font-size: 15px; }
.nav__toggle { display: none; width: var(--tap); height: var(--tap); border-radius: 50%; border: 1px solid var(--line-2); background: #1a1a1a; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: #eee; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; padding: 12px 24px 28px; background: rgba(17,17,17,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 4px; max-width: 520px; margin: 0 auto; }
.mobile-menu nav a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: #e8e8e8; }
.mobile-menu .btn { justify-self: start; margin-top: 16px; }
@media (max-width: 900px) {
  .nav__inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav__inner > .btn { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; max-width: 100%; }
  .btn { padding-left: calc(var(--kx) + var(--k) + 14px); padding-right: calc(var(--kx) + var(--k) + 14px); }
}

/* ---- Reassurance strip (replaces the text "logos") ---- */
.assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 28px 0 8px; font-size: 14px; color: #a8a8a8; }
.assure li::before { content: "✓"; margin-right: 8px; color: var(--lime); }

/* ---- How it works ---- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: linear-gradient(180deg, #1b1b1b, #171717); border-radius: var(--radius); padding: 32px 28px 36px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 40px -20px rgba(0,0,0,.9); }
.step__n { display: inline-block; font-size: 13px; color: var(--lime); margin-bottom: 40px; letter-spacing: .04em; }
.step h3 { font-size: 20px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 12px; }
.step p { font-size: 14px; line-height: 1.7; color: #a0a0a0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---- Sign-up message ---- */
.form__msg { margin-top: 14px; min-height: 1.5em; font-size: 14px; color: var(--lime); text-align: center; }

/* ---- Floating dashboard cards: 4 cards, placed so they never clip or collide ---- */
.f-l1 { left: calc(50% - 650px); top: 84px; }
.f-l2 { left: calc(50% - 580px); top: 262px; }
.f-r1 { left: calc(50% + 430px); top: 64px; }
.f-r3.bankcard { left: calc(50% + 410px); top: 360px; }
@media (max-width: 1360px) { .floats { display: none; } }

/* ---- Dashboard on tablet/phone: tabs stay reachable (scrollable), not hidden ---- */
@media (max-width: 900px) {
  .dash__top { flex-wrap: wrap; }
  .dash__nav { display: flex; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dash__nav::-webkit-scrollbar { display: none; }
  .dash__nav button { flex: none; }
}
/* touch targets ≥ 44px on coarse pointers */
@media (pointer: coarse) {
  .dash__nav button, .tabs button, .seg button, .act, .paid, .sel, .legend3 button, .planbtn, .quick .avatar, .quick .round--sq, .sel__menu li { min-height: var(--tap); min-width: var(--tap); }
}
.switch::before { content: ""; position: absolute; inset: -11px -4px; }

/* ---- Mobile polish ---- */
@media (max-width: 520px) {
  .section { padding: 72px 0; }
  .dash { padding: 12px; border-radius: 22px; }
  .hero { padding: 72px 0 64px; }
}
.mobile-menu { background: #111; }
/* Logo mark (X) */
.logo svg { width: 26px; height: 26px; }
.dash__logo svg { width: 20px; height: 20px; }
.logo svg { width: 30px; height: 26px; }
.dash__logo svg { width: 22px; height: 19px; }
.bc__logo svg { width: 38px; height: 32px; }
.float.bankcard .bc__logo svg { width: 28px; height: 24px; }
