:root {
  color-scheme: dark;
  --page: #0a100e;
  --surface: #101915;
  --surface-2: #15211b;
  --surface-3: #1b2a22;
  --ink: #eff8f2;
  --muted: #95a99d;
  --line: #26372d;
  --accent: #52e0a1;
  --accent-ink: #052014;
  --warning: #f3c86a;
  --radius: 16px;
  --shadow: 0 22px 65px rgb(0 0 0 / 22%);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); color: var(--ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button, a { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { color: inherit; }
::selection { color: var(--accent-ink); background: var(--accent); }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { transform: none; }
.topbar { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgb(10 16 14 / 88%); backdrop-filter: blur(18px); }
.topbar-inner { width: min(1440px, 100%); min-height: 72px; display: flex; align-items: center; gap: 22px; margin: auto; padding: 12px 32px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font: 800 16px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgb(82 224 161 / 36%); border-radius: 12px; background: linear-gradient(145deg, rgb(82 224 161 / 22%), rgb(82 224 161 / 5%)); color: var(--accent); }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 4px rgb(243 200 106 / 12%); }
.topbar-link { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; font-weight: 700; transition: border-color .2s, background .2s, transform .2s; }
.topbar-link:hover { transform: translateY(-1px); border-color: var(--accent); background: var(--surface-2); }
.shell { display: grid; width: min(1440px, calc(100% - 48px)); min-height: calc(100vh - 104px); grid-template-columns: 244px minmax(0, 1fr); gap: 20px; margin: 24px auto 40px; padding: 18px; border: 1px solid #293a30; border-radius: 24px; background: linear-gradient(145deg, rgb(17 26 21 / 96%), rgb(10 16 14 / 98%)); box-shadow: 0 28px 90px rgb(0 0 0 / 30%); }
.shell.is-nav-interactive { transition: grid-template-columns .32s cubic-bezier(.2,.8,.2,1), gap .32s cubic-bezier(.2,.8,.2,1); }
.shell.is-collapsed { grid-template-columns: 72px minmax(0, 1fr); gap: 22px; }
.sidebar { position: sticky; top: 94px; align-self: start; height: calc(100vh - 152px); min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 13px 10px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(165deg, #111c16, #0c1310); }
.side-toggle { min-height: 42px; display: flex; align-items: center; gap: 10px; margin-bottom: 23px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; cursor: pointer; }
.toggle-arrow { display: inline-block; color: var(--accent); transition: transform .25s; }
.side-title { margin: 0 0 10px 12px; color: #71877a; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { min-width: 0; min-height: 43px; display: flex; align-items: center; gap: 12px; overflow: hidden; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s, border-color .2s, transform .2s, gap .25s, padding .25s; }
.side-nav a:hover { transform: translateX(2px); color: var(--ink); background: var(--surface); }
.side-nav a[aria-current="page"] { border-color: rgb(82 224 161 / 14%); background: rgb(82 224 161 / 9%); color: var(--accent); }
.nav-icon { width: 20px; flex: 0 0 20px; display: grid; place-items: center; font-size: 16px; }
.nav-label, .side-title, .side-foot, .side-toggle span:last-child, .side-nav a > span:not(.nav-icon) { transition: opacity .16s ease, max-width .25s ease, margin .25s ease; }
.side-nav .kyc-nav-link > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.nav-status { flex: 0 0 auto; margin-left: auto; padding: 3px 6px; border: 1px solid rgb(243 200 106 / 20%); border-radius: 7px; color: var(--warning); font-size: 9px; line-height: 1.2; }
.nav-status[title^="Demo step marked complete"] { border-color: rgb(82 224 161 / 20%); color: var(--accent); }
.side-foot { margin: auto 10px 0; padding-top: 18px; border-top: 1px solid var(--line); color: #74897d; font-size: 11px; }
.is-collapsed .side-toggle { justify-content: center; padding-inline: 0; }
.is-collapsed .toggle-arrow { transform: rotate(180deg); }
.is-collapsed .side-toggle span:last-child, .is-collapsed .side-title, .is-collapsed .side-foot, .is-collapsed .side-nav a > span:not(.nav-icon) { max-width: 0; margin: 0; opacity: 0; overflow: hidden; }
.is-collapsed .side-nav a { justify-content: center; gap: 0; padding-inline: 0; }
.workspace { min-width: 0; padding: clamp(18px, 2.5vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: rgb(10 16 14 / 72%); }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: 2px 0 24px; }
.back-link { display: inline-flex; align-items: center; min-height: 34px; margin: 0 0 18px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 700; transition: color .2s, border-color .2s, background .2s; }
.back-link:hover { border-color: var(--accent); background: var(--surface); color: var(--accent); }
.eyebrow { display: block; margin-bottom: 7px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { margin-bottom: 6px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.055em; line-height: 1.12; }
.page-head p { max-width: 640px; margin: 0; color: var(--muted); }
.head-date { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid rgb(243 200 106 / 22%); border-radius: 13px; background: rgb(243 200 106 / 6%); }
.banner-symbol { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 7px; background: rgb(243 200 106 / 14%); color: var(--warning); font-size: 12px; font-weight: 800; }
.banner strong { display: block; margin-bottom: 2px; font-size: 12px; }
.banner p { margin: 0; color: var(--muted); font-size: 11px; }
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgb(21 33 27 / 86%), rgb(16 25 21 / 98%)); box-shadow: var(--shadow); }
.stat-card { padding: 17px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.stat-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); }
.stat-value { display: block; margin: 15px 0 3px; font: 700 25px/1.1 "Manrope", sans-serif; letter-spacing: -.06em; }
.stat-foot { color: #74897d; font-size: 10px; }
.section { margin-top: 26px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.section-title h2 { margin: 0; font-size: 16px; letter-spacing: -.035em; }
.section-title p { margin: 0; color: var(--muted); font-size: 11px; }
.panel { overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 18px; }
.empty { min-height: 158px; display: grid; align-content: center; justify-items: center; padding: 22px; text-align: center; }
.empty-mark { display: grid; width: 42px; height: 42px; margin-bottom: 12px; place-items: center; border: 1px solid rgb(82 224 161 / 20%); border-radius: 14px; background: rgb(82 224 161 / 8%); color: var(--accent); }
.empty h3 { margin-bottom: 4px; font-size: 14px; }
.empty p { max-width: 440px; margin: 0; color: var(--muted); font-size: 11px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 9px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: 12px; font-weight: 700; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); border-color: #466453; box-shadow: 0 8px 24px rgb(0 0 0 / 18%); }
.btn-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { border-color: #8ef0c0; background: #8ef0c0; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .48; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover, .btn:disabled:hover { transform: none; box-shadow: none; }
.link { color: var(--accent); font-size: 11px; font-weight: 700; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.feature-card { min-height: 172px; display: flex; flex-direction: column; align-items: flex-start; padding: 19px; transition: transform .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-3px); border-color: #466453; }
.feature-card h3 { margin: 16px 0 5px; font-size: 14px; }
.feature-card p { margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.feature-card .link { margin-top: auto; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
table caption { padding: 12px 13px 4px; text-align: left; }
th { padding: 11px 13px; border-bottom: 1px solid var(--line); color: #74897d; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
td { padding: 13px; border-bottom: 1px solid rgb(38 55 45 / 68%); color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 600; }
.demo-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; border: 0; }
.demo-inputs label { color: var(--muted); font-size: 11px; font-weight: 700; }
.demo-inputs input { width: 100%; min-height: 42px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font: inherit; }
.demo-inputs input:disabled { opacity: 1; cursor: not-allowed; }
.pill { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; }
.pill-warn { border-color: rgb(243 200 106 / 24%); background: rgb(243 200 106 / 7%); color: var(--warning); }
.callout { padding: 18px; border: 1px solid rgb(82 224 161 / 18%); border-radius: 14px; background: linear-gradient(135deg, rgb(82 224 161 / 9%), rgb(82 224 161 / 2%)); }
.callout h2, .callout h3 { margin: 0 0 7px; font-size: 15px; }
.callout p { margin: 0; color: var(--muted); font-size: 12px; }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.roadmap-step { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.step-no { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.roadmap-step h3 { margin: 7px 0 4px; font-size: 12px; }
.roadmap-step p { margin: 0; color: var(--muted); font-size: 10px; }
.bar-chart { min-height: 202px; display: flex; align-items: end; justify-content: space-around; gap: 10px; padding: 22px 16px 12px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 48px, rgb(38 55 45 / 45%) 49px 50px); }
.bar-chart span { width: min(8%, 28px); min-height: 18px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgb(82 224 161 / 76%), rgb(82 224 161 / 16%)); transform-origin: bottom; animation: bar-grow .85s cubic-bezier(.16,1,.3,1) both; }
.chart-caption { display: flex; justify-content: space-between; padding: 10px 16px; color: var(--muted); font-size: 10px; }
.landing { width: min(1440px, 100%); margin: auto; padding: 74px 32px 78px; }
.landing-hero { position: relative; overflow: hidden; display: grid; min-height: 500px; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: 50px; padding: clamp(32px, 6vw, 74px); border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(ellipse at 82% 43%, rgb(82 224 161 / 14%), transparent 38%), linear-gradient(135deg, #132119, #0d1511 62%); box-shadow: var(--shadow); }
.landing-copy { max-width: 650px; }
.landing-copy h1 { margin: 12px 0 18px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.075em; }
.landing-copy > p { max-width: 580px; margin: 0 0 24px; color: #a5b6ab; font-size: clamp(15px, 1.6vw, 18px); }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-meta { margin-top: 19px; color: #768a7e; font-size: 11px; }
.hero-visual { position: relative; min-height: 320px; display: grid; align-content: center; gap: 12px; padding: 23px; border: 1px solid rgb(157 195 172 / 16%); border-radius: 20px; background: rgb(8 14 11 / 65%); transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); }
.visual-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.visual-balance { font: 700 32px/1.1 "Manrope", sans-serif; letter-spacing: -.06em; }
.visual-label { color: #75897d; font-size: 10px; }
.visual-chart { width: 100%; height: 122px; }
.visual-chart path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.visual-chart .fill { fill: url(#fade); stroke: none; }
.visual-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.visual-stats div { padding: 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 9px; }
.visual-stats strong { display: block; margin-top: 3px; color: var(--ink); font-size: 11px; }
.landing-section { margin-top: 58px; }
.landing-section-head { max-width: 640px; margin-bottom: 19px; }
.landing-section-head h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.06em; }
.landing-section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.product-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.product-note h2 { margin: 0 0 5px; font-size: 17px; }
.product-note p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer .copyright { margin-left: auto; }
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-layout { width: min(1120px, calc(100% - 48px)); flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr); align-items: center; gap: clamp(24px, 6vw, 78px); margin: 0 auto; padding: 56px 0; }
.auth-layout-login { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
.auth-card { width: 100%; max-width: 560px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #111c16, #0c1310); box-shadow: var(--shadow); }
.auth-card .back-link { margin-bottom: 26px; }
.auth-card h1, .session-welcome h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 42px); }
.auth-intro { margin: 0 0 20px; color: var(--muted); }
.auth-notice { margin: 20px 0; padding: 13px 15px; border: 1px solid rgb(243 200 106 / 24%); border-radius: 12px; background: rgb(243 200 106 / 6%); color: var(--muted); font-size: 12px; }
.auth-notice strong { display: block; margin-bottom: 3px; color: var(--warning); }
.auth-form { display: grid; gap: 9px; }
.auth-form label { margin-top: 6px; font-size: 12px; font-weight: 700; }
.auth-form input { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #34483b; border-radius: 10px; background: #09100c; color: var(--ink); font-size: 14px; }
.auth-form input::placeholder { color: #74877b; }
.auth-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field-help { margin: -5px 0 3px; color: var(--muted); font-size: 11px; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 12px; font-size: 13px; }
.form-error { margin: 4px 0 0; color: #ff9c91; font-size: 12px; }
.auth-switch { margin: 19px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-side { max-width: 390px; padding: 20px 0; }
.auth-side h2 { margin: 0 0 10px; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.05em; }
.auth-side p, .auth-side li { color: var(--muted); font-size: 13px; }
.auth-side ul { display: grid; gap: 10px; margin: 20px 0; padding-left: 20px; }
.auth-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.auth-footer a { color: var(--accent); font-weight: 700; }
.session-layout { width: min(1120px, calc(100% - 48px)); flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); align-content: center; align-items: stretch; gap: 16px; margin: 0 auto; padding: clamp(36px, 8vw, 86px) 0 50px; }
.session-welcome { padding: clamp(25px, 5vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(ellipse at 85% 15%, rgb(82 224 161 / 13%), transparent 40%), linear-gradient(145deg, #111c16, #0c1310); box-shadow: var(--shadow); }
.session-welcome .auth-intro { max-width: 650px; font-size: 16px; }
.session-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.session-summary { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 24px; }
.session-summary .eyebrow, .session-summary p { margin: 0; }
.session-summary h2 { margin: 4px 0 0; font-size: 17px; }
.session-summary p { color: var(--muted); font-size: 12px; }
.session-summary .topbar-link { margin-top: 9px; }
.session-kyc { margin-top: 18px; overflow: hidden; }
.session-kyc .panel-body { max-width: 720px; }
.session-kyc .auth-notice { margin-top: 0; }
.auth-form select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #34483b; border-radius: 10px; background: #09100c; color: var(--ink); font-size: 14px; }
.auth-form select:focus-visible, .auth-form input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.auth-form .auth-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; color: var(--muted); font-weight: 500; }
.auth-check input { width: 18px; min-height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--accent); }
.form-success { margin: 4px 0 0; color: var(--accent); font-size: 12px; }
.session-funding { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.session-funding .session-info-card { min-height: 150px; }
.session-flow { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--muted); font-size: 11px; }
.mobile-tabs { display: none; }
@keyframes bar-grow { from { transform: scaleY(.2); opacity: .35; } to { transform: scaleY(1); opacity: 1; } }
@keyframes enter { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .landing-copy { animation: enter .6s cubic-bezier(.16,1,.3,1) both; }
  .hero-visual { animation: enter .7s cubic-bezier(.16,1,.3,1) .08s both; }
}
.account-actions { margin-top: 15px; }
.btn-danger { border-color: rgb(255 125 112 / 40%); background: rgb(255 125 112 / 8%); color: #ff9c91; }
.btn-danger:hover { border-color: #ff9c91; background: rgb(255 125 112 / 14%); }
.payout-preview { margin-top: 32px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgb(17 28 22 / 96%), rgb(12 19 16 / 98%)); }
.payout-preview-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.payout-preview-head h2 { margin: 0 0 3px; font-size: 17px; }
.payout-preview-head p { margin: 0; color: var(--muted); font-size: 11px; }
.payout-track-window { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.payout-track { width: max-content; display: flex; animation: payout-slide 38s linear infinite; }
.payout-preview:hover .payout-track, .payout-preview:focus-within .payout-track { animation-play-state: paused; }
.payout-group { display: flex; flex: 0 0 auto; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.payout-country { min-width: 220px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; }
.payout-flag { font-size: 20px; line-height: 1; }
.payout-value { margin-left: auto; color: var(--accent); font-variant-numeric: tabular-nums; }
.payout-disclosure { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
@keyframes payout-slide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .payout-track { width: 100%; display: block; animation: none; }
  .payout-group { flex-wrap: wrap; padding: 0; }
  .payout-group[aria-hidden="true"] { display: none; }
  .payout-track-window { overflow: visible; mask-image: none; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 28px); grid-template-columns: 204px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .shell.is-collapsed { grid-template-columns: 66px minmax(0, 1fr); gap: 16px; }
  .workspace { padding: 20px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-hero { gap: 30px; padding: 42px; }
}
@media (max-width: 720px) {
  .topbar-inner { min-height: 62px; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .brand { gap: 7px; font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; }
  .topbar-note { max-width: min(38vw, 150px); margin-left: auto; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .status-dot { width: 8px; height: 8px; }
  .topbar-link { padding: 8px 10px; font-size: 11px; }
  .topbar-inner > .btn { min-height: 36px; padding: 7px 9px; font-size: 10px; }
  .shell, .shell.is-collapsed { display: block; width: 100%; min-height: 0; margin: 0; padding: 18px 12px calc(112px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .sidebar { display: none; }
  .workspace { padding: 18px 15px; border-radius: 16px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 19px; }
  .back-link { margin-bottom: 14px; }
  .head-date { font-size: 10px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mobile-tabs { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 7px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(13 20 16 / 96%); backdrop-filter: blur(18px); }
  .mobile-tabs a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; color: #84968a; font-size: 9px; font-weight: 700; }
  .mobile-tabs a[aria-current="page"] { background: rgb(82 224 161 / 9%); color: var(--accent); }
  .mobile-tabs .tab-icon { font-size: 17px; line-height: 1; }
  .landing { padding: 28px 17px 52px; }
  .landing-hero { min-height: 0; grid-template-columns: 1fr; gap: 29px; padding: 29px 23px; border-radius: 22px; }
  .hero-visual { min-height: 270px; transform: none; }
  .landing-section { margin-top: 40px; }
  .site-footer .copyright { width: 100%; margin-left: 0; }
  .auth-layout, .auth-layout-login { width: min(560px, calc(100% - 30px)); grid-template-columns: 1fr; gap: 16px; padding: 30px 0 40px; }
  .auth-card { padding: 23px 18px; border-radius: 17px; }
  .auth-card .back-link { margin-bottom: 19px; }
  .auth-side { padding: 5px 6px; }
  .auth-page:not(.session-page) { height: auto; min-height: 100vh; min-height: 100dvh; overflow: auto; }
  .auth-page:not(.session-page) .auth-layout { min-height: auto; overflow: visible; padding-block: 30px 40px; }
  .auth-page:not(.session-page) .auth-card, .auth-page:not(.session-page) .auth-side { max-height: none; overflow: visible; }
  .auth-page:not(.session-page) .auth-side { padding: 18px; }
  .auth-footer { width: calc(100% - 30px); }
  .session-layout { width: calc(100% - 30px); padding: 28px 0 40px; }
  .session-welcome { padding: 25px 19px; border-radius: 18px; }
  .session-layout { grid-template-columns: 1fr; align-content: start; }
  .session-summary { padding: 21px; }
  .session-funding { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2, .roadmap { grid-template-columns: 1fr; }
  .demo-inputs { grid-template-columns: 1fr; }
  .stat-card { padding: 14px; }
  .stat-value { margin-top: 10px; font-size: 22px; }
  .stat-grid .stat-card { min-height: 120px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .panel-head, .panel-body { padding: 14px; }
  .banner { padding: 12px; }
  .landing-copy h1 { font-size: 43px; }
  .landing-actions .btn { flex: 1 1 100%; }
  .visual-stats div { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
