/* ==========================================================================
   MERIDIAN GLOBAL ACCOUNTS — Hong Kong International Fintech (Design 2)
   customer/hongkong/assets/theme.css

   Complete design system for the public site (10 pages) and the customer
   application shell (app.html): white + blue foundation, refined dark-navy
   elements, product-grade SaaS polish. Compact but readable, chart-forward,
   smooth ≤200ms micro-interactions.

   TOC
   ─ 01 · Tokens & base
   ─ 02 · Utilities & shared atoms
   ─ 03 · Buttons, links, avatars
   ─ 04 · Forms & OTP
   ─ 05 · Site header + mobile drawer
   ─ 06 · Home hero, dashboard mock, ticker
   ─ 07 · Public sections & components
   ─ 08 · Footer
   ─ 09 · App shell — sidenav, topbar, takeover, maintenance
   ─ 10 · Auth & gate layouts
   ─ 11 · App surfaces — panels, tables, empty, skeleton
   ─ 12 · Overview / accounts / account / activate
   ─ 13 · Deposit wizard & results
   ─ 14 · Transactions / statements
   ─ 15 · Profile / security / sessions / notifications / support / settings
   ─ 16 · Toasts & modals (engine-injected)
   ─ 17 · Responsive
   ─ 18 · Motion preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · Tokens & base
   -------------------------------------------------------------------------- */
:root {
  --primary: #1F6FEB; --primary-600: #1558C7; --primary-700: #0F47A1; --primary-soft: #E8F0FE;
  --ink: #0C1E3E; --bg: #F4F7FD; --surface: #FFFFFF; --hairline: #E4EAF5; --hairline-2: #CBD6E8;
  --muted: #5A6478; --success: #12B76A;  --success-2: #0E8A4E;  --success-soft: #E4F8EE;
  --warn: #F79009;     --warn-2: #B25E09;    --warn-soft: #FEF3E0;
  --danger: #F04438;   --danger-2: #C2372C;  --danger-soft: #FEECEB;
  --info: #6172F3;     --info-2: #5A4BD8;    --info-soft: #EDEEFE;
  --side-bg: #0A1B3D; --side-hover: #12306B;
  --r-card: 16px; --r-input: 10px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, .06), 0 14px 34px rgba(16, 24, 40, .10);
  --shadow-lg: 0 8px 18px rgba(16, 24, 40, .10), 0 28px 64px rgba(16, 24, 40, .16);
  --ring: 0 0 0 3px rgba(31, 111, 235, .25);
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  margin: 0; font: 400 14px/1.62 var(--font-body); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.18;
  letter-spacing: -.015em; color: var(--ink);
}
h1 { font-size: clamp(30px, 4.4vw, 44px); }
h2 { font-size: clamp(22px, 2.6vw, 27px); }
h3 { font-size: 16px; font-weight: 700; }
h4 { font-size: 14px; font-weight: 700; }

p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

input, select, textarea { font: inherit; color: inherit; }
img, svg, canvas { max-width: 100%; }
svg { flex: none; }
svg.gl-ic { display: inline-block; vertical-align: -.14em; }

code {
  font-family: var(--font-mono); font-size: .9em; background: #EDF3FC; color: #12306B;
  border-radius: 6px; padding: 1px 6px; word-break: break-all;
}

::selection { background: #CFE0FB; color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(31, 111, 235, .4); outline-offset: 2px; border-radius: 4px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.otp-box:focus-visible { outline: none; }

.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2000; transform: translateY(-240%);
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-input);
  font: 700 13px var(--font-display); box-shadow: var(--shadow-md);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   02 · Utilities & shared atoms
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--success-2); }
.neg { color: var(--danger-2); }
.txt-danger { color: var(--danger-2); }

.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-tight { padding: 30px 0 78px; }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.sec-head h2 { letter-spacing: -.02em; }

.lead { font-size: 16.5px; line-height: 1.68; color: var(--muted); max-width: 680px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--font-display);
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary-600);
  background: var(--primary-soft); border: 1px solid #D4E2FB; border-radius: var(--r-pill);
  padding: 7px 13px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .16);
}

.demo-tag {
  display: inline-flex; align-items: center; gap: 7px; font: 600 11.5px/1 var(--font-body);
  color: var(--warn-2); background: var(--warn-soft); border: 1px solid #F5DDB3;
  border-radius: var(--r-pill); padding: 6px 11px;
}
.demo-tag span { color: var(--warn); font-size: 8px; }

.text-link { display: inline-flex; align-items: center; gap: 5px; font: 700 13.5px var(--font-body); color: var(--primary); }
.text-link:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }

.panel-chip {
  display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--font-body);
  color: var(--muted); background: #F1F5FB; border: 1px solid var(--hairline);
  border-radius: var(--r-pill); padding: 6px 11px; white-space: nowrap;
}

.preview-chip {
  display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--font-body);
  color: var(--muted); background: #F1F5FB; border: 1px solid var(--hairline);
  border-radius: var(--r-pill); padding: 5px 10px; white-space: nowrap;
}
.preview-chip .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: hk-pulse 2.4s var(--ease) infinite;
}
@keyframes hk-pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .35); }
  70% { box-shadow: 0 0 0 6px rgba(18, 183, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); }
}

.chip {
  display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 var(--font-body);
  border-radius: var(--r-pill); padding: 5px 10px; white-space: nowrap;
  background: #F1F5FB; color: var(--muted); border: 1px solid var(--hairline);
}
.chip-default { background: var(--primary-soft); color: var(--primary-600); border-color: #CFE0FB; }
.chip-warn { background: var(--warn-soft); color: var(--warn-2); border-color: #F5DDB3; }
.panel-chip.chip-warn { background: var(--warn-soft); color: var(--warn-2); border-color: #F5DDB3; }

/* status badges — used everywhere a status renders */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3.5px 10px;
  border-radius: var(--r-pill); font: 700 10.5px/1.3 var(--font-body); letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap; border: 1px solid transparent;
  background: #EEF1F6; color: #566076; border-color: #DFE4EE;
}
.b-successful, .b-active, .b-resolved { background: var(--success-soft); color: var(--success-2); border-color: #C4EED8; }
.b-pending                 { background: var(--warn-soft);    color: var(--warn-2);    border-color: #F5DDB3; }
.b-failed                  { background: var(--danger-soft);  color: var(--danger-2);  border-color: #F8CDC8; }
.b-cancelled               { background: #EEF1F6;             color: #566076;          border-color: #DFE4EE; }
.b-duplicate               { background: var(--info-soft);    color: var(--info-2);    border-color: #DCDFFE; }
.b-frozen, .b-open         { background: #E3EEFF;             color: #1D5CC8;          border-color: #C9DFFC; }
.b-unavailable, .b-read    { background: #EEF1F6;             color: #667085;          border-color: #DFE4EE; }

/* --------------------------------------------------------------------------
   03 · Buttons, links, avatars
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-input); border: 1px solid transparent;
  font: 700 14px/1.2 var(--font-display); letter-spacing: -.005em; cursor: pointer;
  white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
    background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn[disabled] { pointer-events: none; opacity: .55; }
.btn svg { flex: none; }

.btn-primary {
  background: linear-gradient(180deg, #2A79F0, var(--primary-600)); color: #fff;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-primary:hover { background: linear-gradient(180deg, #3682F3, #1660D2); box-shadow: 0 6px 16px rgba(31, 111, 235, .32); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface); border-color: var(--hairline-2); color: #2B3752;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.btn-ghost:hover { color: var(--primary-600); border-color: #A8C4F2; background: #F6F9FF; }
.btn-ghost:active { background: #EDF3FD; }

.btn-danger {
  background: linear-gradient(180deg, #F2554A, #DC352A); color: #fff;
  box-shadow: 0 1px 2px rgba(69, 12, 8, .18);
}
.btn-danger:hover { background: linear-gradient(180deg, #F4655B, #E03D32); box-shadow: 0 6px 16px rgba(240, 68, 56, .3); transform: translateY(-1px); }

/* light + outline are used on dark navy surfaces */
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(9, 18, 38, .2); }
.btn-light:hover { background: #EDF3FE; color: var(--primary-600); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(9, 18, 38, .3); }

.btn-outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .62); }

.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
.btn-block { width: 100%; }

/* busy spinner — the engine toggles .is-busy on submit buttons */
.btn.is-busy { pointer-events: none; color: transparent !important; }
.btn.is-busy svg { opacity: 0; }
.btn.is-busy::after {
  content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: hk-spin .7s linear infinite;
}
.btn-ghost.is-busy::after, .btn-outline.is-busy::after, .btn-light.is-busy::after {
  border-color: rgba(31, 111, 235, .3); border-top-color: var(--primary);
}
@keyframes hk-spin { to { transform: rotate(360deg); } }

.linklike {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--primary);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.linklike:hover { color: var(--primary-600); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: var(--r-input); background: var(--surface); border: 1px solid var(--hairline);
  color: #47536E; position: relative;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.icon-btn:hover { color: var(--primary-600); background: #F3F8FF; border-color: #A8C4F2; }

.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #3B86F6, #1450BE); color: #fff; display: inline-grid;
  place-items: center; font: 700 12px var(--font-display); letter-spacing: .02em; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.rowlink { color: var(--primary); font-weight: 600; }
.rowlink:hover { text-decoration: underline; text-underline-offset: 3px; }

.backlink { display: inline-flex; align-items: center; gap: 6px; font: 700 13px var(--font-body); color: var(--primary); }
.backlink:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   04 · Forms & OTP
   -------------------------------------------------------------------------- */
.field { margin-bottom: 15px; }
.field label { display: block; font: 600 13px/1.3 var(--font-body); color: #22304F; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--hairline-2);
  border-radius: var(--r-input); color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { height: auto; min-height: 108px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #98A2B8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.field input:focus:not(:focus-visible), .field select:focus:not(:focus-visible), .field textarea:focus:not(:focus-visible) { outline: none; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.field-err { margin: 6px 0 0; font-size: 12.5px; font-weight: 500; color: var(--danger-2); }
.hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 0; }
.filter-grid .field, .cur-req .field { margin-bottom: 0; }

.check-row {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; background: #F9FBFE;
  border: 1px solid var(--hairline); border-radius: var(--r-input); cursor: pointer;
  margin: 4px 0 16px; transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.check-row:hover { border-color: #B7CBEE; background: #F5F9FF; }
.check-row input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--primary); flex: none; cursor: pointer; }
.check-row span { font-size: 13px; color: #33415E; }
.check-row span b { display: block; color: var(--ink); }
.check-row span small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }

/* OTP — six-box code entry */
.otp-input { display: flex; gap: 8px; justify-content: center; margin: 8px 0 6px; }
.otp-box {
  width: 100%; max-width: 46px; height: 46px; text-align: center; font: 600 19px var(--font-body);
  font-variant-numeric: tabular-nums; background: #fff; border: 1.5px solid var(--hairline-2);
  border-radius: var(--r-input); color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.otp-box:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.otp-err { margin: 8px 0 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--danger-2); }
.otp-resend { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.resend-row { text-align: center; margin-top: 14px; }
.countdown { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.token-box {
  background: #F7FAFE; border: 1px dashed #C4D3EC; border-radius: var(--r-input); padding: 10px 13px;
  margin-bottom: 16px;
}
.token-box span { display: block; font: 600 10.5px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.token-box input { width: 100%; background: none; border: 0; padding: 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }

.preview-note {
  display: flex; gap: 8px; align-items: flex-start; background: #F0F6FE; border: 1px solid #DCE7F9;
  border-radius: var(--r-input); padding: 9px 12px; margin-top: 14px; font-size: 12.5px;
  line-height: 1.55; color: #3D5178;
}
.preview-note svg { color: var(--primary); margin-top: 1px; flex: none; }
.preview-note b { color: var(--ink); }

.page-callout {
  display: flex; gap: 12px; align-items: flex-start; background: #EFF5FE; border: 1px solid #D8E5FA;
  border-radius: 12px; padding: 13px 16px; font-size: 13.5px; line-height: 1.6; color: #24406E;
}
.page-callout svg { color: var(--primary); margin-top: 2px; flex: none; }
.page-callout b { color: var(--ink); }

/* --------------------------------------------------------------------------
   05 · Site header + mobile drawer
   -------------------------------------------------------------------------- */
[data-site-header] {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
}
[data-site-header].is-scrolled { border-bottom-color: var(--hairline); box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; gap: 16px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2F7BF5, var(--primary-700)); color: #fff;
  box-shadow: 0 4px 12px rgba(31, 111, 235, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-text { font: 800 15px/1.05 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.brand-text small {
  display: block; font: 700 8.5px/1 var(--font-body); letter-spacing: .21em; color: var(--muted);
  margin-top: 3px;
}
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .55); }
.brand-mark-light { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.nav-link {
  padding: 8px 11px; border-radius: 8px; font: 600 13.5px var(--font-body); color: #35415C;
  white-space: nowrap; transition: color .14s var(--ease), background-color .14s var(--ease);
}
.nav-link:hover { color: var(--primary-600); background: #F0F5FE; }
.nav-link.active { color: var(--primary-600); background: var(--primary-soft); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle { display: none; }
.nav-toggle-box {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-input);
  border: 1px solid var(--hairline-2); background: #fff; color: var(--ink);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav-toggle:hover .nav-toggle-box, .nav-toggle.is-open .nav-toggle-box { background: var(--primary-soft); color: var(--primary-600); }

.site-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw); z-index: 160; display: flex;
  flex-direction: column; gap: 8px; padding: 22px 18px 26px;
  background: linear-gradient(180deg, #0D2350, var(--side-bg) 55%, #081530); color: #C9D7F0;
  box-shadow: var(--shadow-lg); transform: translateX(104%); transition: transform .2s var(--ease);
  overflow-y: auto;
}
.site-drawer.is-open { transform: none; }
.drawer-nav { display: flex; flex-direction: column; gap: 3px; }
.drawer-link {
  padding: 11px 13px; border-radius: var(--r-input); font: 600 14px var(--font-body); color: #BCCDEC;
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.drawer-link:hover { background: var(--side-hover); color: #fff; }
.drawer-link.active { background: linear-gradient(90deg, var(--primary), #2F7BF5); color: #fff; }
.drawer-cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09); }
.drawer-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .55); }
.drawer-note svg { margin-top: 1px; color: #E8A23C; }

.drawer-scrim {
  position: fixed; inset: 0; z-index: 150; background: rgba(9, 18, 38, .52);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}

/* --------------------------------------------------------------------------
   06 · Home hero, dashboard mock, ticker
   -------------------------------------------------------------------------- */
.hero {
  position: relative; padding: 78px 0 30px; background:
  radial-gradient(1000px 520px at 88% -12%, rgba(31, 111, 235, .15), transparent 62%),
  radial-gradient(760px 420px at -12% 112%, rgba(97, 114, 243, .13), transparent 62%),
  linear-gradient(180deg, #ECF3FE 0%, var(--bg) 82%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(12, 30, 62, .04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(12, 30, 62, .04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(760px 440px at 78% 0%, #000 25%, transparent 74%);
  mask-image: radial-gradient(760px 440px at 78% 0%, #000 25%, transparent 74%); pointer-events: none;
}
.hero .container { position: relative; }

.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 18px 0 16px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12.5px; color: #6C7A93; }
.hero-note span { color: var(--warn); font-size: 9px; }

.hero-visual { position: relative; }
.mock-float { position: relative; max-width: 500px; margin-inline: auto; }
.mock-card {
  position: relative;
  background: linear-gradient(160deg, #10294F 0%, var(--side-bg) 58%, #0B1F45 100%);
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 10px;
  box-shadow: 0 24px 60px rgba(10, 27, 61, .35), 0 4px 14px rgba(10, 27, 61, .25);
}
.mock-tag {
  position: absolute; top: -11px; left: 16px; z-index: 2; background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 4px 11px;
  font: 700 10px/1.4 var(--font-body); letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); box-shadow: var(--shadow-sm);
}
.mock-inner {
  display: grid; grid-template-columns: 52px 1fr; gap: 9px; background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 13px; padding: 11px;
}
.mock-side {
  display: flex; flex-direction: column; gap: 13px; border-right: 1px solid rgba(255, 255, 255, .08);
  padding: 3px 8px 3px 2px;
}
.mock-side-brand { display: flex; align-items: center; gap: 7px; }
.mock-dot { width: 10px; height: 10px; border-radius: 4px; background: linear-gradient(135deg, #4C8DFF, #1F6FEB); box-shadow: 0 0 10px rgba(76, 141, 255, .8); }
.mock-side-brand span { width: 24px; height: 7px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .24); }
.mock-nav { display: flex; flex-direction: column; gap: 8px; }
.mock-nav span { width: 68%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .13); }
.mock-nav span:nth-child(2) { width: 82%; }
.mock-nav span.on { width: 88%; background: linear-gradient(90deg, #4C8DFF, #1F6FEB); box-shadow: 0 0 8px rgba(76, 141, 255, .55); }

.mock-main { display: flex; flex-direction: column; gap: 13px; padding: 3px 4px; }
.mock-balance small { display: block; font: 700 9px/1 var(--font-body); letter-spacing: .16em; color: rgba(255, 255, 255, .48); }
.mock-balance b {
  display: block; font: 800 29px/1.1 var(--font-display); letter-spacing: -.02em; color: #fff;
  margin-top: 6px; font-variant-numeric: tabular-nums;
}
.mock-chips { display: flex; gap: 6px; margin-top: 9px; }
.mock-chips i {
  font: 700 10px/1 var(--font-body); font-style: normal; letter-spacing: .05em; color: #A8C8FF;
  background: rgba(47, 123, 245, .24); border: 1px solid rgba(140, 180, 255, .22);
  border-radius: var(--r-pill); padding: 4px 9px;
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stat {
  display: flex; flex-direction: column; gap: 7px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 9px 10px;
}
.mock-stat small { width: 58%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .26); }
.mock-stat b { width: 78%; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(140, 180, 255, .75), rgba(31, 111, 235, .55)); }
.mock-stat:nth-child(2) b { width: 56%; }
.mock-stat:nth-child(3) b { width: 88%; }
.mock-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 1px; }
.mock-rows span {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .06) 72%);
}
.mock-rows span:nth-child(1) { width: 92%; }
.mock-rows span:nth-child(2) { width: 76%; }
.mock-rows span:nth-child(3) { width: 85%; }

.mock-chip-float {
  position: absolute; display: flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--hairline); border-radius: 12px; padding: 8px 13px;
  font: 600 12.5px var(--font-body); color: var(--ink); box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.mock-chip-float i {
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11px/1 var(--font-body); font-style: normal; background: var(--success-soft);
  color: var(--success-2);
}
.mock-chip-a { left: -16px; bottom: 30px; animation: hk-float 6s ease-in-out infinite; }
.mock-chip-b { right: -10px; top: 24px; animation: hk-float 7s .8s ease-in-out infinite; }
.mock-chip-b i { background: var(--primary-soft); color: var(--primary-600); }
@keyframes hk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.ticker {
  position: relative; margin-top: 58px; padding: 18px 0 4px;
  border-top: 1px solid rgba(178, 197, 230, .5); display: flex; flex-wrap: wrap; gap: 8px 28px;
  align-items: baseline;
}
.tick-note { font-size: 12px; color: var(--muted); }
.tick-item { font: 500 13px var(--font-body); color: #2B3752; font-variant-numeric: tabular-nums; }
.tick-item b { color: var(--primary-600); font-weight: 700; margin-right: 4px; }
.tick-item i { font-style: normal; color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   07 · Public sections & components
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; padding: 62px 0 46px; background:
  radial-gradient(820px 380px at 82% -30%, rgba(31, 111, 235, .13), transparent 62%),
  linear-gradient(180deg, #EEF4FE, var(--bg) 88%); border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { margin: 16px 0 14px; font-size: clamp(28px, 3.6vw, 38px); }
.page-hero .lead { max-width: 760px; }

.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 22px 24px 20px; position: relative; overflow: hidden;
}
.stat-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #6172F3); opacity: .85;
}
.stat-tile b {
  display: block; font: 800 30px/1.1 var(--font-display); letter-spacing: -.02em;
  background: linear-gradient(92deg, var(--primary-600), #6172F3); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums;
}
.stat-tile span { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 18px; }

.feature-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #CFDDF5; }
.feature-ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #EAF2FE, #DCE9FC); color: var(--primary-600); font-size: 20px;
  margin-bottom: 15px;
}
.feature-card h3 { margin-bottom: 7px; font-size: 15.5px; }
.feature-card p { font-size: 13.5px; line-height: 1.62; color: var(--muted); }

/* steps — vertical timeline (how-it-works) & 3-up grid (home) */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.step-item { display: flex; gap: 20px; position: relative; padding-bottom: 30px; }
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: ''; position: absolute; left: 22px; top: 50px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #C9DBF7, rgba(201, 219, 247, 0));
}
.step-item:last-child::before { display: none; }
.step-n {
  width: 45px; height: 45px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #fff; border: 1px solid #CDDCF6; color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}
.step-body h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16.5px; margin-bottom: 6px; }
.step-num {
  font: 700 10.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-600); background: var(--primary-soft); border-radius: var(--r-pill);
  padding: 5px 10px;
}
.step-body p { font-size: 14px; color: var(--muted); max-width: 620px; }

.steps-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; max-width: none; }
.steps-3 .step-item { flex-direction: column; gap: 15px; padding-bottom: 0; }
.steps-3 .step-item::before { display: none; }

/* currency strip (home) */
.cur-strip { display: flex; flex-wrap: wrap; gap: 13px; }
.cur-chip {
  display: flex; align-items: center; gap: 12px; flex: 1 1 200px; max-width: 320px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: 13px 15px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.cur-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #CFDDF5; }
.cur-chip-sym {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #EAF2FE, #DCE9FC); color: var(--primary-700);
  font: 700 16px var(--font-display);
}
.cur-chip-txt { flex: 1; min-width: 0; }
.cur-chip-txt strong { display: block; font: 800 14px var(--font-display); color: var(--ink); }
.cur-chip-txt small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cur-chip em {
  font: 700 10.5px/1 var(--font-body); font-style: normal; letter-spacing: .04em;
  text-transform: uppercase; color: var(--success-2); background: var(--success-soft);
  border-radius: var(--r-pill); padding: 5px 9px; white-space: nowrap;
}
.cur-chip.is-off { background: #FFFDF7; border-color: #EFDDBB; }
.cur-chip.is-off:hover { border-color: #E4C98F; }
.cur-chip.is-off em { color: var(--warn-2); background: var(--warn-soft); }

/* security band (home) */
.security-band { padding: 76px 0; }
.security-grid {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px;
  align-items: center; background:
  radial-gradient(560px 320px at 92% -20%, rgba(47, 123, 245, .4), transparent 62%),
  linear-gradient(130deg, #10306B 0%, var(--side-bg) 55%, #0B1F45 100%);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 50px 52px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.security-grid::before {
  content: ''; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 38px 38px;
  pointer-events: none;
}
.security-copy { position: relative; z-index: 1; }
.security-copy h2 { color: #fff; margin-bottom: 14px; }
.security-copy > p { color: rgba(255, 255, 255, .74); font-size: 14.5px; line-height: 1.68; }
.security-note {
  margin-top: 16px; padding: 12px 15px; border-left: 3px solid #4C8DFF;
  background: rgba(255, 255, 255, .06); border-radius: 0 10px 10px 0; font-size: 12.5px;
  line-height: 1.6; color: rgba(255, 255, 255, .66);
}
.security-copy .btn { margin-top: 22px; }
.security-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.security-list li { display: flex; gap: 14px; align-items: flex-start; }
.sec-ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .13); font-size: 18px;
}
.security-list b { font: 700 14.5px var(--font-body); color: #fff; }
.security-list p { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .62); margin-top: 2px; }

/* CTA bands */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: 24px; padding: 48px 44px;
  background: radial-gradient(640px 300px at 50% -40%, rgba(255, 255, 255, .18), transparent 64%),
  linear-gradient(115deg, #245FD6 0%, var(--primary-600) 52%, #103B8F 100%);
  box-shadow: var(--shadow-lg); color: #fff;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 34px 34px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto; color: rgba(255, 255, 255, .82); font-size: 15px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.mini-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 28px 32px;
}
.mini-cta h2 { font-size: 21px; margin-bottom: 6px; }
.mini-cta p { color: var(--muted); font-size: 14px; max-width: 520px; }
.mini-cta .cta-actions { margin-top: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.prose h2 { font-size: 22px; margin: 26px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 14.5px; line-height: 1.75; color: #33415E; }
.prose p + p { margin-top: 13px; }

.callout { background: var(--primary-soft); border: 1px solid #D2E1FB; border-radius: 14px; padding: 22px; }
.callout h3 { margin-bottom: 9px; }
.callout p { font-size: 13.5px; line-height: 1.66; color: #3D5178; }
.callout p + p { margin-top: 10px; }
.callout strong { color: var(--ink); }

.callout-large {
  display: flex; gap: 18px; align-items: flex-start; background: #FFF8EC; border: 1px solid #F3DFB6;
  border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: 26px 28px;
}
.callout-ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--warn); color: #fff; font: 800 19px/1 var(--font-display);
  box-shadow: 0 6px 16px rgba(247, 144, 9, .35);
}
.callout-large h2 { font-size: 19px; line-height: 1.35; margin-bottom: 9px; }
.callout-large p { font-size: 14px; line-height: 1.66; color: #4A5568; }

.team-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.team-card {
  display: flex; gap: 15px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  padding: 19px;
}
.team-card .avatar { width: 46px; height: 46px; font-size: 15px; }
.team-card h3 { font-size: 15px; margin-bottom: 2px; }
.team-role { font: 700 12px/1.4 var(--font-body); color: var(--primary-600); margin: 0 0 5px; }
.team-card .muted { font-size: 12.5px; line-height: 1.55; }
.team-note { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 740px; }

/* FAQ / misconceptions accordion */
.acc { display: grid; gap: 12px; }
[data-faq-list] { display: grid; gap: 12px; }
.acc-item {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; padding: 17px 22px; font: 700 14.5px/1.45 var(--font-display);
  letter-spacing: -.005em; color: var(--ink);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.acc-btn:hover { background: #F6F9FE; color: var(--primary-600); }
.acc-btn svg { color: #8593AC; transition: transform .18s var(--ease); }
.acc-item.open .acc-btn svg { transform: rotate(180deg); color: var(--primary); }
.acc-body { padding: 0 22px 19px; }
.acc-body p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 68ch; }

/* currencies page */
.cur-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.cur-card {
  display: flex; flex-direction: column; gap: 11px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  padding: 21px;
}
.cur-card.is-off { background: #FCFDFF; border-style: dashed; }
.cur-card-head { display: flex; align-items: center; gap: 13px; }
.cur-sym {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #EAF2FE, #DCE9FC); color: var(--primary-700);
  font: 700 17px var(--font-display);
}
.cur-card.is-off .cur-sym { background: #F0F1F5; color: #98A2B8; }
.cur-card-head h3 { font-size: 15px; margin-bottom: 2px; }
.cur-card-head p { font-size: 12px; color: var(--muted); }
.cur-card-head .badge { margin-left: auto; }
.cur-rate { font-size: 13.5px; color: var(--muted); }
.cur-rate b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cur-note { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cur-note svg { color: #8B98B0; margin-top: 1px; flex: none; }
.cur-card .btn { margin-top: auto; align-self: flex-start; }

.table-note {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12.5px;
  color: var(--muted);
}
.table-note svg { color: #8B98B0; margin-top: 1px; flex: none; }

/* features page */
.deep-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 42px; align-items: start; }
.deep-note {
  margin: 14px 0; padding: 12px 15px; background: #EFF6FE; border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0; font-size: 13.5px; color: #24406E;
}
.outcomes-row-wrap { font-size: 13px; color: var(--muted); }
.outcomes-row { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }

.methods-list { display: flex; flex-direction: column; gap: 11px; }
.methods-list li {
  display: grid; grid-template-columns: 38px 1fr; gap: 3px 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: 14px 16px;
}
.dm-ic {
  grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 12px; display: grid;
  place-items: center; background: var(--primary-soft); color: var(--primary-600);
}
.methods-list b { grid-column: 2; font: 700 14px var(--font-body); color: var(--ink); }
.methods-list small { grid-column: 2; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.methods-list small em { display: block; font-style: normal; font-weight: 600; color: var(--warn-2); margin-top: 1px; }
.methods-list.checklist .dm-ic { background: var(--success-soft); color: var(--success-2); font-weight: 800; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
.form-card { padding: 28px; }
.form-card h2 { font-size: 20px; margin-bottom: 18px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-success { text-align: center; padding: 34px 10px 22px; }
.form-success-ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 16px; background: var(--success-soft); color: var(--success-2);
  font: 800 24px/1 var(--font-display); border: 1px solid #C4EED8;
}
.form-success h3 { font-size: 18px; margin-bottom: 8px; }
.form-success p { font-size: 13.5px; color: var(--muted); max-width: 420px; margin: 0 auto 18px; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 23px;
}
.aside-card h3 { font-size: 14.5px; margin-bottom: 14px; }
.aside-row { display: flex; gap: 12px; align-items: flex-start; }
.aside-row + .aside-row { margin-top: 14px; }
.aside-row > span:first-child { font-size: 17px; line-height: 1.3; flex: none; }
.aside-row b { font-size: 13.5px; color: var(--ink); }
.aside-row small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.aside-card-accent {
  background: radial-gradient(360px 180px at 90% -30%, rgba(47, 123, 245, .45), transparent 60%),
  linear-gradient(130deg, #10306B, var(--side-bg)); border-color: rgba(255, 255, 255, .1);
  color: #fff;
}
.aside-card-accent h3 { color: #fff; }
.aside-card-accent p { font-size: 13px; color: rgba(255, 255, 255, .74); margin-bottom: 16px; }

/* legal docs */
.doc { display: flex; flex-direction: column; gap: 13px; counter-reset: docn; }
.doc-section {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 23px 25px;
}
.doc-section h2 { display: flex; align-items: center; font-size: 17px; margin-bottom: 10px; }
.doc-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary-soft); border: 1px solid #CFE0FB; color: var(--primary-600);
  font: 700 13px var(--font-display); margin-right: 13px; flex: none;
}
.doc-n::before { content: counter(docn, decimal-leading-zero); counter-increment: docn; }
.doc-section p { font-size: 14px; line-height: 1.72; color: #33415E; }

/* --------------------------------------------------------------------------
   08 · Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: radial-gradient(700px 300px at 88% -30%, rgba(47, 123, 245, .22), transparent 62%),
  linear-gradient(180deg, #0B2049, var(--side-bg) 60%, #081530); color: #fff;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; padding: 58px 0 44px; }
.footer-brand p { margin-top: 16px; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .62); max-width: 340px; }
.footer-demo {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12px;
  line-height: 1.55; color: #E8B772;
}
.footer-demo svg { margin-top: 1px; flex: none; }
.footer-col h3 {
  font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); margin-bottom: 15px;
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 13.5px; color: rgba(255, 255, 255, .74);
  transition: color .14s var(--ease), transform .14s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap;
  padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 12.5px;
  color: rgba(255, 255, 255, .52);
}
.footer-bottom strong { color: rgba(255, 255, 255, .85); }

/* --------------------------------------------------------------------------
   09 · App shell — sidenav, topbar, takeover, maintenance
   -------------------------------------------------------------------------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.shell-main { display: flex; flex-direction: column; min-width: 0; }

.sidenav {
  position: sticky; top: 0; height: 100vh; z-index: 90; display: flex; flex-direction: column;
  background: radial-gradient(420px 240px at -20% -10%, rgba(47, 123, 245, .28), transparent 60%),
  linear-gradient(180deg, #0C2247 0%, var(--side-bg) 48%, #081630 100%); color: #C7D6F0;
}
.sidenav-brand { padding: 17px 18px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sidenav-nav {
  flex: 1; overflow-y: auto; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 3px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent;
}
.nav-group {
  font: 700 10.5px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase;
  color: #5E739E; margin: 15px 9px 7px;
}
.nav-group:first-child { margin-top: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--r-input);
  font: 600 13.5px var(--font-body); color: #B9C9E6; position: relative;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-item:hover { background: var(--side-hover); color: #fff; }
.nav-item.active {
  background: linear-gradient(92deg, var(--primary), #3380F6); color: #fff;
  box-shadow: 0 7px 18px rgba(31, 111, 235, .38);
}
.nav-badge {
  margin-left: auto; min-width: 19px; height: 19px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--danger); color: #fff; font: 700 10.5px/19px var(--font-body); text-align: center;
}
.sidenav-foot {
  padding: 14px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(4, 10, 24, .4);
  display: flex; flex-direction: column; gap: 12px;
}
.sidenav-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sidenav-user .avatar { width: 37px; height: 37px; font-size: 13px; }
.sidenav-user-txt { min-width: 0; }
.sidenav-user-txt b {
  display: block; font: 700 13px var(--font-body); color: #fff; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.sidenav-user-txt small {
  display: block; font-size: 11px; color: #7D92BC; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.sidenav-out { width: 100%; justify-content: center; }

.topbar {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 62px;
  padding: 0 26px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline);
}
.menu-btn { display: none; }
.topbar-title {
  flex: 1; min-width: 0; font: 800 17px/1.2 var(--font-display); letter-spacing: -.015em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-title:focus { outline: none; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.topbar-bell .nav-badge { position: absolute; top: -5px; right: -5px; margin: 0; }
.user-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px;
  border-radius: var(--r-pill); border: 1px solid var(--hairline); background: #fff;
  font: 600 13px var(--font-body); color: var(--ink);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.user-chip:hover { border-color: #A8C4F2; background: #F6F9FF; }
.user-chip .avatar { width: 31px; height: 31px; font-size: 11.5px; }
.user-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }

.content { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 26px 30px 70px; }
.content > * + * { margin-top: 22px; }

/* app scrim — mobile drawer overlay */
.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(9, 18, 38, .5); opacity: 0;
  pointer-events: none; display: none; transition: opacity .2s var(--ease);
}

.takeover-banner {
  position: sticky; top: 0; z-index: 95; display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; min-height: 44px; padding: 7px 20px;
  background: linear-gradient(90deg, #401010 0%, #6E1B1B 55%, #7C2418 100%); color: #FBE3DE;
  box-shadow: 0 6px 20px rgba(88, 15, 15, .4);
}
.takeover-inner { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 240px; }
.takeover-inner p { font-size: 12.5px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.takeover-inner b { color: #fff; letter-spacing: .05em; }
.takeover-ic { color: #FFC53D; flex: none; }
.takeover-banner .btn { flex: none; }

.maint-bar {
  display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 16px;
  background: var(--warn-soft); border-bottom: 1px solid #F5DDB3; color: var(--warn-2);
  font: 600 12.5px var(--font-body);
}
.maint-bar svg { flex: none; }

/* --------------------------------------------------------------------------
   10 · Auth & gate layouts
   -------------------------------------------------------------------------- */
.auth-viewport {
  min-height: 100vh; display: grid; place-items: center; padding: 42px 18px; background:
  radial-gradient(820px 460px at 82% -12%, #E1EBFC, transparent 60%),
  radial-gradient(620px 400px at -10% 112%, rgba(97, 114, 243, .12), transparent 62%), var(--bg);
}
.auth-wrap { width: 100%; max-width: 452px; display: flex; flex-direction: column; align-items: center; }
.auth-card {
  width: 100%; background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 30px 30px 26px;
}
.auth-brand { margin-bottom: 18px; }
.auth-chip { margin-bottom: 18px; }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head h2 { font-size: 23px; margin-bottom: 7px; }
.auth-head > p { font-size: 13.5px; color: var(--muted); }
.auth-ic {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center;
  margin: 0 auto 15px; background: var(--primary-soft); color: var(--primary-600);
}
.auth-ic.ok { background: var(--success-soft); color: var(--success-2); }
.auth-ic.err { background: var(--danger-soft); color: var(--danger-2); }
.auth-row { display: flex; justify-content: flex-end; margin: -4px 0 14px; }
.auth-link { font: 600 13px var(--font-body); color: var(--primary); }
.auth-link:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 17px; }
.auth-alt a { font-weight: 600; color: var(--primary); }
.auth-alt a:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }
.auth-foot { text-align: center; font-size: 12.5px; color: #7D8AA3; margin-top: 18px; }
.auth-foot a { color: var(--primary); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

.demo-fill { margin-top: 20px; padding: 15px; background: #F2F7FE; border: 1px solid #DCE7F9; border-radius: 13px; }
.demo-fill-note { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.demo-fill-note svg { color: var(--primary); margin-top: 1px; flex: none; }
.demo-fill-note code { background: #fff; padding: 1px 6px; }
.demo-chip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-chip {
  display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-input);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.demo-chip:hover { border-color: #A8C4F2; box-shadow: var(--shadow-sm); }
.demo-chip b {
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary-600); font: 700 11px var(--font-display);
}
.demo-chip span {
  min-width: 0; flex: 1; display: block; font: 600 12px var(--font-body); color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-chip span small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.verify-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 4px 0 18px; }
.verify-facts > div { background: #F8FAFE; border: 1px solid var(--hairline); border-radius: var(--r-input); padding: 12px 13px; }
.verify-facts dt { font: 600 10.5px/1.3 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.verify-facts dd { font: 700 14px var(--font-body); color: var(--ink); word-break: break-all; }

.gate-viewport {
  min-height: 100vh; display: grid; place-items: center; padding: 42px 18px; background:
  radial-gradient(820px 460px at 82% -12%, #E1EBFC, transparent 60%),
  radial-gradient(620px 400px at -10% 112%, rgba(97, 114, 243, .12), transparent 62%), var(--bg);
}
.gate-wrap { width: 100%; max-width: 452px; }
.gate-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 38px 34px; text-align: center;
}
.content .gate-card { margin-inline: auto; max-width: 520px; }
.gate-ic {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  margin: 0 auto 17px; background: var(--primary-soft); color: var(--primary-600);
}
.gate-ic.warn { background: var(--warn-soft); color: var(--warn-2); }
.gate-card h2 { font-size: 21px; margin-bottom: 9px; }
.gate-card > .muted { font-size: 14px; }
.gate-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.frozen-card { border-top: 4px solid var(--warn); }
.frozen-reason {
  margin: 14px auto 12px; padding: 11px 16px; max-width: 400px; background: #FFF8EF;
  border: 1px solid #F3DFB6; border-radius: var(--r-input); font: 600 14.5px/1.5 var(--font-display);
  color: #6E4A12;
}
.frozen-admin {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  font-size: 13px; color: var(--warn-2);
}
.gate-card .muted.small { margin-top: 10px; }

/* --------------------------------------------------------------------------
   11 · App surfaces — panels, tables, empty, skeleton
   -------------------------------------------------------------------------- */
.panel {
  --panel-pad: 20px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: var(--panel-pad);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap;
  margin: calc(var(--panel-pad) * -1) calc(var(--panel-pad) * -1) 17px;
  padding: 14px var(--panel-pad); border-bottom: 1px solid var(--hairline);
}
.panel-head h2 { font-size: 16.5px; letter-spacing: -.01em; }
.panel-link {
  display: inline-flex; align-items: center; gap: 5px; font: 700 12.5px var(--font-body);
  color: var(--primary); white-space: nowrap;
}
.panel-link:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }

/* tables */
.table-wrap {
  overflow-x: auto; background: #fff; border: 1px solid var(--hairline); border-radius: 12px;
  scrollbar-width: thin; scrollbar-color: #C4CFE0 transparent;
}
.table-wrap table { min-width: 640px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  text-align: left; font: 700 10.5px/1.3 var(--font-body); letter-spacing: .08em;
  text-transform: uppercase; color: #7A88A1; background: #F7FAFD; padding: 11px 14px;
  border-bottom: 1px solid var(--hairline); white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid #EEF2F9; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .13s var(--ease); }
tbody tr:hover { background: #F7FAFF; }
td b { font-weight: 700; }
.td-amount { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.td-amount.pos, .td-amount.neg { font-weight: 700; }
.td-date { color: var(--muted); white-space: nowrap; font-size: 12.5px; }
.td-desc { color: #3B4A66; min-width: 180px; }
.stmt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.panel > .table-wrap {
  margin: 0 calc(var(--panel-pad) * -1) calc(var(--panel-pad) * -1); border: 0;
  border-top: 1px solid var(--hairline); border-radius: 0 0 var(--r-card) var(--r-card);
}
.panel > .table-wrap + * { margin-top: var(--panel-pad); }

/* empty states */
.empty { text-align: center; padding: 42px 24px; }
.content > .empty {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
.empty-ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  margin: 0 auto 15px; background: #F0F4FB; color: #8593AC;
}
.empty-ic.warn { background: var(--warn-soft); color: var(--warn-2); }
.empty h3 { font-size: 16px; margin-bottom: 6px; }
.empty p { font-size: 13.5px; color: var(--muted); max-width: 430px; margin: 0 auto; }
.empty .btn { margin-top: 17px; }
.empty-mini {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px 16px;
  background: #FAFBFE; border: 1px dashed #DFE6F2; border-radius: 12px; color: var(--muted);
  font-size: 13px; text-align: center;
}
.empty-mini svg { color: #A5B1C7; flex: none; }

/* skeletons */
.skel {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #E8EDF6 25%, #F5F8FC 50%, #E8EDF6 75%);
  background-size: 220% 100%; border-radius: 10px; animation: hk-skel 1.25s ease-in-out infinite;
}
@keyframes hk-skel { 0% { background-position: 130% 0; } 100% { background-position: -90% 0; } }
.skel-page { padding: 2px 0; }
.sk-title { height: 26px; width: min(250px, 60%); margin-bottom: 24px !important; }
.skel-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sk-block { height: 106px; border-radius: 14px; }
.skel-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; }
.sk-panel { height: 264px; border-radius: var(--r-card); }

.gl-loading {
  display: flex; align-items: center; justify-content: center; gap: 11px; padding: 70px 20px;
  color: var(--muted); font-size: 14px;
}
.gl-loading::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--primary-soft);
  border-top-color: var(--primary); animation: hk-spin .7s linear infinite;
}

/* shared detail/summary blocks */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 14px 22px; }
.detail-grid dt { font: 600 10.5px/1.4 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: #7A88A1; margin-bottom: 3px; }
.detail-grid dd { font-size: 14px; color: var(--ink); word-break: break-word; }

.sum-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 2px;
  border-bottom: 1px dashed #DFE6F2;
}
.sum-row:last-child { border-bottom: 0; }
.sum-row dt { font-size: 13px; color: var(--muted); }
.sum-row dd { font: 600 13.5px var(--font-body); color: var(--ink); text-align: right; }
.dep-summary { margin: 2px 0 16px; }

/* --------------------------------------------------------------------------
   12 · Overview / accounts / account / activate
   -------------------------------------------------------------------------- */
.ov-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  justify-content: space-between; gap: 22px 36px; flex-wrap: wrap; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .07); background:
  radial-gradient(480px 280px at 92% -30%, rgba(47, 123, 245, .5), transparent 62%),
  linear-gradient(118deg, #10294F 0%, var(--side-bg) 52%, #12306B 100%); color: #fff;
  padding: 27px 30px; box-shadow: var(--shadow-md);
}
.ov-hero-glow {
  position: absolute; right: -90px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 111, 235, .34), transparent 72%);
  pointer-events: none;
}
.ov-hero-main { position: relative; min-width: 0; }
.ov-label {
  display: flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--font-body);
  letter-spacing: .1em; text-transform: uppercase; color: #9DB8E8;
}
.ov-total {
  font: 800 clamp(30px, 3.4vw, 40px)/1.08 var(--font-display); letter-spacing: -.025em;
  margin: 9px 0 7px; font-variant-numeric: tabular-nums;
}
.ov-sub { font-size: 13.5px; color: #A9BEE3; }
.ov-demo { color: #7E9CD4; white-space: nowrap; }
.ov-hero-side { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }
.ov-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ov-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13); color: #D5E2F8; font: 600 12.5px var(--font-body);
}
.ov-chip b { color: #fff; font-weight: 800; }
.ov-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.stat-card {
  display: flex; flex-direction: column; gap: 10px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-sm);
  padding: 16px 17px 13px;
}
.stat-info { display: flex; align-items: flex-start; gap: 12px; }
.stat-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary-600);
}
.stat-label { font: 600 11.5px/1.3 var(--font-body); letter-spacing: .02em; color: var(--muted); }
.stat-val { font: 800 22px/1.15 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin: 3px 0 1px; }
.stat-sub { font-size: 11.5px; color: #8593AC; }
.stat-spark { width: 100%; height: 38px; display: block; margin-top: auto; }

.ov-grid, .ov-grid2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.ov-side { display: flex; flex-direction: column; gap: 18px; }

.curcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
.curcard {
  display: flex; flex-direction: column; gap: 3px; padding: 13px 14px 11px; background: #FBFCFE;
  border: 1px solid var(--hairline); border-radius: 13px;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.curcard:hover { transform: translateY(-2px); border-color: #BFD5F5; box-shadow: var(--shadow-sm); background: #fff; }
.curcard-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.curcard-sym {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #EAF2FE, #DCE9FC); color: var(--primary-700);
  font: 700 14px var(--font-display);
}
.curcard-sym.lg { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
.curcard-sym.xl { width: 54px; height: 54px; border-radius: 15px; font-size: 22px; }
.curcard-head b { font: 800 13.5px var(--font-display); color: var(--ink); display: block; }
.curcard-head small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.curcard-head .badge { margin-left: auto; }
.curcard-bal { font: 800 17.5px/1.2 var(--font-display); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.curcard-eq { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.curcard-spark { width: 100%; height: 40px; display: block; }
.curcard-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 7px;
  font: 700 11.5px var(--font-body); color: var(--primary);
}

.donut-wrap { padding: 6px 0 2px; }
.donut-wrap canvas { display: block; width: min(100%, 235px); height: 215px; margin: 0 auto; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.donut-legend li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #33415E; }
.donut-legend b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.notif-preview li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 2px; }
.notif-preview li + li { border-top: 1px solid #EEF2F9; }
.notif-preview b { display: block; font-size: 13px; }
.notif-preview small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: #D5DCEA; margin-top: 5px; flex: none; }
.notif-row.unread .notif-dot { background: var(--primary); box-shadow: 0 0 0 3px rgba(31, 111, 235, .15); }

.secsum { display: flex; flex-direction: column; }
.secsum li { display: flex; align-items: center; gap: 11px; padding: 10px 2px; font-size: 13.5px; color: #33415E; }
.secsum li + li { border-top: 1px solid #EEF2F9; }
.secsum li svg { color: #8593AC; flex: none; }
.secsum li b { margin-left: auto; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }

/* accounts */
.acc-totalbar {
  display: flex; align-items: center; gap: 14px 30px; flex-wrap: wrap; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-sm);
  padding: 15px 20px;
}
.acc-total { font: 800 22px/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.acc-totalbar .panel-chip { margin-left: auto; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.account-card {
  display: flex; flex-direction: column; gap: 7px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  padding: 20px; transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.account-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.account-card-head { display: flex; align-items: center; gap: 13px; }
.account-card-head h3 { font-size: 16px; margin-bottom: 2px; }
.account-card-head p { font-size: 12px; color: var(--muted); }
.account-card-head .badge { margin-left: auto; }
.account-bal { font: 800 24px/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.account-bal.xl { font-size: clamp(28px, 3vw, 34px); }
.account-eq { font-size: 12.5px; color: var(--muted); }
.account-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.account-meta svg { color: #8593AC; }
.account-card .btn { margin-top: 10px; align-self: flex-start; }

.addc-row { display: grid; gap: 10px; }
.add-chip {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; background: #FBFCFE;
  border: 1px solid var(--hairline); border-radius: 12px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease);
}
.add-chip:hover { border-color: #BFD5F5; background: #fff; transform: translateX(2px); }
.add-chip b {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary-700); font: 700 14px var(--font-display);
}
.add-chip span { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.add-chip span strong { color: var(--ink); font-weight: 700; }
.add-chip em { display: inline-flex; align-items: center; gap: 4px; font: 700 12px var(--font-body); font-style: normal; color: var(--primary); white-space: nowrap; }

/* single account */
.account-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto;
  gap: 14px 30px; align-items: center; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .07); background:
  radial-gradient(480px 280px at 94% -30%, rgba(47, 123, 245, .45), transparent 62%),
  linear-gradient(118deg, #10294F 0%, var(--side-bg) 55%, #0F2A5C 100%); color: #fff;
  padding: 26px 30px; box-shadow: var(--shadow-md);
}
.account-hero-main { min-width: 0; }
.account-hero .account-card-head h2 { color: #fff; font-size: 19px; margin-bottom: 3px; }
.account-hero .account-card-head p { color: #A9BEE3; font-size: 12.5px; }
.account-hero .account-bal { color: #fff; margin-top: 12px; }
.account-hero .account-eq { color: #A9BEE3; }
.account-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* activate */
.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; }
.act-card {
  display: flex; flex-direction: column; gap: 10px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  padding: 20px;
}
.act-card.is-mine { box-shadow: inset 0 3px 0 var(--success), var(--shadow-sm); }
.act-card.is-off { background: #FBFCFE; border-style: dashed; }
.act-head { display: flex; align-items: center; gap: 12px; }
.act-head h3 { font-size: 16px; margin-bottom: 2px; }
.act-head p { font-size: 12px; color: var(--muted); }
.act-head .chip { margin-left: auto; }
.act-rate { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.act-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.act-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: var(--muted); }
.act-note svg { flex: none; margin-top: 1px; color: #8B98B0; }
.act-zero { font-size: 12px; color: #8593AC; margin-top: auto; }
.cur-req { display: flex; flex-direction: column; gap: 13px; max-width: 440px; }
.req-note {
  padding: 10px 12px; background: var(--danger-soft); border: 1px solid #F8CDC8;
  border-radius: var(--r-input); font-size: 13px; color: var(--danger-2);
}

/* --------------------------------------------------------------------------
   13 · Deposit wizard & results
   -------------------------------------------------------------------------- */
.wiz { max-width: 640px; }
.wiz-head {
  display: flex; align-items: center; gap: 12px;
  margin: calc(var(--panel-pad) * -1) calc(var(--panel-pad) * -1) 18px;
  padding: 13px var(--panel-pad); border-bottom: 1px solid var(--hairline);
}
.wiz-head h2 { font-size: 16.5px; flex: 1; }
.wiz form { display: flex; flex-direction: column; }
.wiz > .dep-summary, .wiz > .bank-box, .wiz > form, .wiz > .btn-block { margin-bottom: 14px; }

.dep-picker { display: grid; gap: 10px; }
.dep-pick {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; background: #FBFCFE;
  border: 1px solid var(--hairline); border-radius: 12px; transition: border-color .15s var(--ease);
}
.dep-pick:hover { border-color: #BFD5F5; }
.dep-pick-txt { flex: 1; min-width: 0; }
.dep-pick-txt b { display: block; font: 800 14px var(--font-display); }
.dep-pick-txt small { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.method-field { border: 0; padding: 0; margin: 0 0 12px; }
.method-field legend { font: 600 13px/1.3 var(--font-body); color: #22304F; margin-bottom: 9px; padding: 0; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method-card {
  display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 13px;
  background: #fff; border: 1.5px solid var(--hairline); border-radius: 12px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease), opacity .15s var(--ease);
}
.method-card:hover { border-color: #A8C4F2; }
.method-card.is-on { border-color: var(--primary); background: #F3F8FF; box-shadow: 0 0 0 3px rgba(31, 111, 235, .13); }
.method-card.is-off { opacity: .45; cursor: not-allowed; }
.method-ic {
  width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary-600);
}
.method-info { min-width: 0; }
.method-info b { display: block; font-size: 13.5px; color: var(--ink); }
.method-info small { display: block; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.method-info em { display: block; font: 600 11px/1.4 var(--font-body); font-style: normal; color: var(--warn-2); }

.bank-box {
  background: #F8FAFD; border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 18px;
  margin-bottom: 16px;
}
.bank-box h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-bottom: 12px; }
.bank-box h3 svg { color: var(--primary-600); }
.bank-box > .muted { font-size: 12.5px; margin-top: 12px; }

.processing { text-align: center; padding: 46px 20px 40px; }
.spinner {
  width: 44px; height: 44px; margin: 0 auto 20px; border-radius: 50%;
  border: 3px solid var(--primary-soft); border-top-color: var(--primary);
  animation: hk-spin .85s linear infinite;
}
.processing h2 { margin-bottom: 8px; }
.dep-ref { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* deposit result panels — five outcomes */
.result-panel { border-top: 4px solid transparent; }
.result-panel.ok    { border-top-color: var(--success); background: linear-gradient(180deg, #F3FCF7 0%, #fff 34%); }
.result-panel.warn  { border-top-color: var(--warn);    background: linear-gradient(180deg, #FFFAF0 0%, #fff 34%); }
.result-panel.err   { border-top-color: var(--danger);  background: linear-gradient(180deg, #FFF4F3 0%, #fff 34%); }
.result-panel.grey  { border-top-color: #98A2B8;        background: linear-gradient(180deg, #F8FAFC 0%, #fff 34%); }
.result-panel.dup   { border-top-color: #7A5AF8;        background: linear-gradient(180deg, #F6F5FE 0%, #fff 34%); }
.result-ic {
  width: 62px; height: 62px; border-radius: 17px; display: grid; place-items: center;
  margin-bottom: 15px;
}
.result-ic.ok    { background: var(--success-soft); color: var(--success-2); }
.result-ic.warn  { background: var(--warn-soft);    color: var(--warn-2); }
.result-ic.err   { background: var(--danger-soft);  color: var(--danger-2); }
.result-ic.grey  { background: #EEF1F6;             color: #566076; }
.result-ic.dup   { background: var(--info-soft);    color: var(--info-2); }
.result-panel h2 { display: inline-block; font-size: 21px; margin: 0 10px 0 0; vertical-align: middle; }
.result-lead { display: flex; gap: 8px; align-items: flex-start; font: 600 14.5px/1.5 var(--font-body); margin: 15px 0 4px; }
.result-lead svg { margin-top: 2px; flex: none; }
.ok-text   { color: var(--success-2); }
.warn-text { color: var(--warn-2); }
.err-text  { color: var(--danger-2); }
.grey-text { color: #566076; }
.dup-text  { color: var(--info-2); }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 17px; }
.demo-links {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed #DFE6F2; font-size: 12.5px; color: var(--muted);
}
.demo-links svg { color: #8B98B0; flex: none; }

/* --------------------------------------------------------------------------
   14 · Transactions / statements
   -------------------------------------------------------------------------- */
.filter-grid { display: grid; grid-template-columns: 1.6fr 1.1fr 1fr 148px 148px; gap: 14px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 0 4px; font-size: 13.5px; color: var(--muted);
}
.results-bar b { color: var(--ink); font-variant-numeric: tabular-nums; }

.pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager-btn {
  min-width: 37px; height: 37px; padding: 0 10px; display: inline-flex; align-items: center;
  justify-content: center; background: #fff; border: 1px solid var(--hairline-2);
  border-radius: var(--r-input); font: 600 13.5px var(--font-body); color: #2B3752;
  transition: border-color .14s var(--ease), background-color .14s var(--ease), color .14s var(--ease);
}
.pager-btn:hover:not([disabled]) { border-color: #A8C4F2; background: #F6F9FF; color: var(--primary-600); }
.pager-btn.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager-btn[disabled] { opacity: .45; cursor: not-allowed; }

.txn-detail .panel-head h2 code { background: #EDF3FC; font-size: 15px; }
.txn-amount { font: 800 30px/1.1 var(--font-display); letter-spacing: -.02em; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   15 · Profile / security / sessions / notifications / support / settings
   -------------------------------------------------------------------------- */
.profile-grid, .support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.settings-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.settings-side { display: flex; flex-direction: column; gap: 18px; }

.takeover-note {
  display: flex; gap: 9px; align-items: flex-start; background: var(--info-soft);
  border: 1px solid #DCDFFE; border-radius: var(--r-input); padding: 11px 13px; font-size: 13px;
  line-height: 1.55; color: #3E4596; margin-bottom: 16px;
}
.takeover-note svg { color: var(--info); margin-top: 1px; flex: none; }

.susp-list li { display: flex; gap: 13px; align-items: flex-start; padding: 11px 2px; }
.susp-list li + li { border-top: 1px solid #EEF2F9; }
.susp-ic {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--warn-soft); color: var(--warn-2);
}
.susp-list b { display: block; font-size: 13.5px; }
.susp-list small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.session-list { display: grid; gap: 10px; }
.session-card {
  display: flex; align-items: center; gap: 13px; padding: 13px 14px; background: #FBFCFE;
  border: 1px solid var(--hairline); border-radius: 12px;
}
.session-card.current { box-shadow: inset 3px 0 0 var(--success); background: #F7FCF9; border-color: #CBEEDB; }
.session-ic {
  width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary-600);
}
.session-meta { flex: 1; min-width: 0; }
.session-meta b { display: block; font-size: 13.5px; }
.session-meta small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.notif-list li { display: flex; gap: 14px; padding: 15px 16px; border-bottom: 1px solid #F1F5FB; align-items: flex-start; }
.notif-list li:last-child { border-bottom: 0; }
.notif-item { transition: background-color .15s var(--ease); }
.notif-item.unread { background: #F5F9FF; box-shadow: inset 3px 0 0 var(--primary); }
.notif-ic {
  width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #EEF1F6; color: #566076;
}
.notif-ic.success { background: var(--success-soft); color: var(--success-2); }
.notif-ic.warning { background: var(--warn-soft); color: var(--warn-2); }
.notif-ic.info    { background: var(--primary-soft); color: var(--primary-600); }
.notif-body { flex: 1; min-width: 0; }
.notif-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.notif-top b { font-size: 14px; }
.notif-body p { font-size: 13.5px; color: #33415E; margin: 4px 0 3px; }
.notif-body small { font-size: 11.5px; color: #8593AC; }

.ticket { background: #FBFCFE; border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 17px; }
.ticket + .ticket { margin-top: 14px; }
.ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ticket-head h3 { font-size: 15px; margin-bottom: 3px; }
.ticket-head small { display: block; font-size: 12px; color: var(--muted); }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 13.5px; line-height: 1.55; }
.bubble p { word-break: break-word; }
.bubble small { display: block; margin-top: 5px; font-size: 10.5px; opacity: .75; }
.bubble.from-customer {
  align-self: flex-end; background: linear-gradient(180deg, #2A79F0, var(--primary-600)); color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.from-support {
  align-self: flex-start; background: #fff; border: 1px solid var(--hairline);
  border-bottom-left-radius: 4px; color: #33415E;
}

.quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quicklinks a {
  display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--r-input); font: 600 13px var(--font-body);
  color: #2B3752;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.quicklinks a svg { color: var(--primary-600); }
.quicklinks a:hover { border-color: #A8C4F2; background: #F6F9FF; color: var(--primary-600); }

/* --------------------------------------------------------------------------
   16 · Toasts & modals (engine-injected)
   -------------------------------------------------------------------------- */
.gl-toasts {
  position: fixed; top: 16px; right: 16px; z-index: 900; display: flex; flex-direction: column;
  gap: 10px; width: min(372px, calc(100vw - 32px)); pointer-events: none;
}
.gl-toast {
  display: flex; gap: 11px; align-items: flex-start; background: #fff;
  border: 1px solid var(--hairline); border-left-width: 4px; border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 13px 15px; font-size: 13.5px; line-height: 1.5;
  color: #22304F; pointer-events: auto; animation: hk-toast-in .18s var(--ease);
}
.gl-toast svg { margin-top: 1px; flex: none; }
.gl-toast.tone-ok   { border-left-color: var(--success); }
.gl-toast.tone-ok svg { color: var(--success-2); }
.gl-toast.tone-err  { border-left-color: var(--danger); }
.gl-toast.tone-err svg { color: var(--danger-2); }
.gl-toast.tone-info { border-left-color: var(--info); }
.gl-toast.tone-info svg { color: var(--info); }
.gl-toast.out { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
@keyframes hk-toast-in { from { opacity: 0; transform: translateY(-8px); } }

.gl-modal-root { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 22px; }
.gl-modal-backdrop {
  position: absolute; inset: 0; background: rgba(10, 27, 61, .55); -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px); animation: hk-fade-in .16s var(--ease);
}
.gl-modal {
  position: relative; width: min(600px, 100%); max-height: min(82vh, 760px); overflow-y: auto;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg); animation: hk-modal-in .18s var(--ease);
}
.gl-modal h3 { font-family: var(--font-display); font-size: 18px; padding: 20px 24px 0; }
.gl-modal-body { padding: 13px 24px 6px; font-size: 14px; color: #33415E; }
.gl-modal-body p { margin: 0 0 10px; }
.gl-modal-body .muted { color: var(--muted); }
.gl-modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px 24px 20px; }
.modal-sub { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
@keyframes hk-modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes hk-fade-in { from { opacity: 0; } }

/* --------------------------------------------------------------------------
   17 · Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-link { padding: 8px 8px; font-size: 12.5px; }
  .header-in { gap: 10px; }
}

@media (max-width: 1024px) {
  /* public header → drawer */
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  /* app shell → off-canvas sidenav */
  .shell { display: block; }
  .sidenav {
    position: fixed; top: 0; left: 0; bottom: 0; width: 266px; height: auto; transform: translateX(-103%);
    transition: transform .2s var(--ease); box-shadow: none;
  }
  body.nav-open .sidenav { transform: none; box-shadow: var(--shadow-lg); }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .menu-btn { display: inline-flex; }
  .scrim { display: block; }
  .takeover-banner { position: relative; }
}

@media (min-width: 1025px) {
  .scrim { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .section-tight { padding: 24px 0 64px; }

  .hero { padding: 58px 0 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .ticker { margin-top: 46px; }

  .security-grid { grid-template-columns: 1fr; gap: 34px; padding: 34px 30px; }
  .about-grid, .contact-grid, .deep-grid { grid-template-columns: 1fr; gap: 30px; }

  .cta-band { padding: 38px 26px; }
  .mini-cta { padding: 24px; }

  .ov-grid, .ov-grid2 { grid-template-columns: 1fr; }
  .ov-side { gap: 18px; }
  .ov-hero-side { align-items: flex-start; }
  .ov-chips { justify-content: flex-start; }

  .profile-grid, .sec-grid, .support-grid, .settings-grid { grid-template-columns: 1fr; }
  .account-hero { grid-template-columns: 1fr; }
  .account-hero-side { align-items: flex-start; }

  .filter-grid { grid-template-columns: 1fr 1fr; }
  .field-search { grid-column: 1 / -1; }

  .content { padding: 22px 22px 60px; }
  .topbar { padding: 0 18px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  h1 { letter-spacing: -.02em; }
  .page-hero { padding: 46px 0 36px; }
  .hero { padding: 46px 0 22px; }
  .hero-copy h1 br { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .mock-balance b { font-size: 25px; }
  .mock-chip-a { left: 4px; bottom: 22px; }
  .mock-chip-b { right: 2px; top: 16px; }
  .ticker { gap: 7px 20px; }

  .steps { max-width: none; }
  .steps-3 { grid-template-columns: 1fr; }
  .cur-strip { flex-direction: column; }
  .cur-chip { max-width: none; }

  .security-grid { padding: 28px 22px; }
  .cta-band { padding: 32px 20px; }
  .cta-actions .btn { width: 100%; }
  .mini-cta { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding: 46px 0 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .panel { --panel-pad: 16px; }
  .content { padding: 18px 16px 56px; }
  .ov-hero { padding: 22px 20px; }
  .ov-actions .btn { flex: 1 1 auto; }
  .account-hero { padding: 22px 20px; }
  .verify-facts { grid-template-columns: 1fr; }
  .demo-chip-row { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 15px; }
  .skel-row { grid-template-columns: 1fr 1fr; }
  .skel-cols { grid-template-columns: 1fr; }
  .quicklinks { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .gate-actions .btn, .result-actions .btn { flex: 1 1 auto; }
  .takeover-inner p { white-space: normal; }
  .auth-card { padding: 24px 20px 22px; }
  .gate-card { padding: 30px 22px; }
}

@media (max-width: 460px) {
  .user-chip-name { display: none; }
  .user-chip { padding: 4px; }
  .topbar-chip { max-width: 148px; overflow: hidden; text-overflow: ellipsis; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   18 · Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .mock-chip-float { animation: none; }
  .preview-chip .dot { animation: none; }
}


/* --------------------------------------------------------------------------
   Restoration utilities — align React app with Hong Kong prototype composition
   -------------------------------------------------------------------------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.section-title {
  font: 800 18px/1.25 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin: 0;
}
.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 1100px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; }
}
.ov-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ov-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.12); color: #E8F0FF;
  font: 600 12px var(--font-body); border: 1px solid rgba(255,255,255,.14);
  transition: background .15s var(--ease);
}
.ov-chip:hover { background: rgba(255,255,255,.2); color: #fff; }
.ov-chip b { font-size: 13px; }
.ov-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px;
}
@media (max-width: 960px) {
  .ov-grid { grid-template-columns: 1fr; }
}
.notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.notif-item {
  padding: 12px 14px; border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--surface);
}
.notif-item.is-unread { border-color: #BFD5F5; background: #F5F9FF; }
.notif-body b { display: block; font: 700 13.5px var(--font-body); margin-bottom: 4px; }
.notif-body p { margin: 0 0 6px; font-size: 13px; color: var(--ink-2, var(--ink)); line-height: 1.45; }
.gl-ic-wrap svg { display: block; }
.brand-side { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-side .brand-text { font: 800 14px var(--font-display); color: #fff; letter-spacing: -.01em; }
.brand-side .brand-text small { display: block; font: 600 9.5px/1.2 var(--font-body); letter-spacing: .12em; color: #8FA3C7; }
.topbar-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font: 600 13px var(--font-body);
}
.topbar-chip:hover { border-color: #BFD5F5; }
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.nav-open .sidenav { transform: translateX(0); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidenav {
    position: fixed; inset: 0 auto 0 0; width: min(280px, 88vw);
    transform: translateX(-105%); transition: transform .22s var(--ease); z-index: 120;
  }
  .nav-open .sidenav { transform: translateX(0); }
  .menu-btn { display: inline-flex; }
  .scrim {
    position: fixed; inset: 0; background: rgba(8, 16, 36, .45); z-index: 110;
  }
  .scrim.is-hidden { display: none; }
}

/* --------------------------------------------------------------------------
   Customer application finish — shared Hong Kong treatment across every view
   -------------------------------------------------------------------------- */
.shell .content { min-width: 0; }
.shell .content > * { min-width: 0; }
.shell .view-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.shell .view-stack > * { min-width: 0; }
.shell .panel, .shell .stat-card, .shell .account-card, .shell .act-card,
.shell .ticket, .shell .session-card { transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.shell .panel-head { min-width: 0; }
.shell .panel-head > * { min-width: 0; }
.shell .field { min-width: 0; }
.shell .field .input, .shell .field input, .shell .field select,
.shell .field textarea, .shell .filter-bar input, .shell .filter-bar select {
  width: 100%; min-width: 0; max-width: 100%;
}
.shell input, .shell select, .shell textarea, .shell button { font: inherit; }
.shell button:focus-visible, .shell a:focus-visible, .shell input:focus-visible,
.shell select:focus-visible, .shell textarea:focus-visible {
  outline: 3px solid rgba(31,111,235,.28); outline-offset: 2px;
}
.shell .panel .table-wrap { max-width: 100%; }
.shell .filter-bar, .shell .filter-grid { min-width: 0; }
.shell .filter-bar { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.shell .filter-bar > * { min-width: 0; }
.shell .detail-grid > div { min-width: 0; }
.shell .sum-row dd { overflow-wrap: anywhere; }
.shell .ticket, .shell .bubble, .shell .notif-body { overflow-wrap: anywhere; }
.shell .quicklinks a { min-width: 0; }
.shell .account-card, .shell .act-card, .shell .curcard { min-width: 0; }
.shell .curcard-bal, .shell .account-bal, .shell .acc-total, .shell .txn-amount {
  overflow-wrap: anywhere; font-variant-numeric: tabular-nums;
}
.shell .pager { padding-top: 4px; }
.shell .panel + .panel { margin-top: 0; }

@media (max-width: 900px) {
  .shell .content { padding: 20px 20px 56px; }
  .shell .topbar { height: 60px; }
  .shell .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell .profile-grid, .shell .support-grid, .shell .sec-grid,
  .shell .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .shell .ov-grid, .shell .ov-grid2, .shell .skel-cols { grid-template-columns: minmax(0, 1fr); }
  .shell .account-hero { grid-template-columns: minmax(0, 1fr); }
  .shell .account-hero-side { align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell .content { padding: 16px 14px 44px; }
  .shell .topbar { padding: 0 12px; gap: 9px; }
  .shell .topbar-title { font-size: 15px; }
  .shell .topbar-actions { gap: 6px; }
  .shell .view-stack { gap: 14px; }
  .shell .panel { --panel-pad: 14px; border-radius: 14px; }
  .shell .panel-head { gap: 8px; }
  .shell .panel-head h2 { font-size: 15px; }
  .shell .filter-grid, .shell .method-grid, .shell .quicklinks {
    grid-template-columns: minmax(0, 1fr);
  }
  .shell .filter-grid > * { grid-column: auto; }
  .shell .filter-bar { align-items: stretch; flex-direction: column; }
  .shell .filter-actions { justify-content: stretch; }
  .shell .filter-actions .btn, .shell .stmt-actions .btn { flex: 1 1 auto; }
  .shell .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell .stat-card { padding: 13px; }
  .shell .stat-val { font-size: 19px; }
  .shell .curcards, .shell .grid-cards, .shell .act-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .shell .curcard { padding: 11px; }
  .shell .curcard-bal { font-size: 15px; }
  .shell .account-card { padding: 15px; }
  .shell .account-bal { font-size: 21px; }
  .shell .account-hero, .shell .ov-hero { padding: 20px 17px; }
  .shell .account-hero-side, .shell .ov-hero-side { align-items: flex-start; }
  .shell .ov-chips { justify-content: flex-start; }
  .shell .takeover-banner { padding: 9px 12px; }
  .shell .takeover-inner { min-width: 0; }
  .shell .takeover-inner p { white-space: normal; }
  .shell .session-card { align-items: flex-start; flex-wrap: wrap; }
  .shell .notif-list li { padding: 12px 10px; }
  .shell .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shell .verify-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell .table-wrap { border-radius: 10px; }
  .shell .table-wrap table { min-width: 620px; }
  .shell .pager { gap: 6px; }
  .shell .pager-btn { min-width: 34px; height: 34px; }
}

@media (max-width: 380px) {
  .shell .stat-row, .shell .curcards, .shell .grid-cards, .shell .act-grid,
  .shell .detail-grid, .shell .verify-facts { grid-template-columns: minmax(0, 1fr); }
  .shell .content { padding-inline: 11px; }
  .shell .topbar-chip { max-width: 112px; }
}


/* Meridian public-site layout refinement. Customer/admin app styles remain intact. */
body:not(.shell) .container { max-width: 1200px; }
body:not(.shell) .section { padding-block: clamp(64px, 7vw, 96px); }
body:not(.shell) .section-alt { background: #fff; }
body:not(.shell) .sec-head { align-items: end; margin-bottom: 34px; }
.section-kicker { margin: 0 0 10px; color: var(--primary-600); font: 800 10.5px/1.2 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.section-intro { max-width: 590px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(76px, 8vw, 112px) 0 70px; background: linear-gradient(120deg,#F7FAFF 0%,#F1F6FF 56%,#EAF2FF 100%); }
.hero::before { content:""; position:absolute; z-index:-1; width:680px; height:680px; right:-210px; top:-330px; border:1px solid rgba(31,111,235,.11); border-radius:50%; box-shadow:0 0 0 55px rgba(31,111,235,.025),0 0 0 110px rgba(31,111,235,.02); }
.hero-grid { grid-template-columns:minmax(0,.96fr) minmax(420px,1.04fr); gap:clamp(40px,6vw,88px); align-items:center; }
.hero-copy { max-width:590px; }
.hero-copy h1 { max-width:600px; margin:22px 0 20px; font-size:clamp(42px,5.3vw,66px); line-height:1.06; letter-spacing:-.055em; }
.hero-copy h1 span { color:var(--primary); }
.hero-copy .lead { max-width:540px; font-size:clamp(15px,1.3vw,17px); line-height:1.8; }
.hero-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero-note { max-width:480px; margin-top:22px; color:#66748D; font-size:11.5px; line-height:1.6; }
.hero-note span { color:var(--success-2); margin-right:7px; }
.hero-visual { min-width:0; }
.mock-float { transform:perspective(1200px) rotateY(-5deg) rotateX(2deg); }
.mock-card { box-shadow:0 28px 80px rgba(13,35,76,.2); border:1px solid rgba(255,255,255,.75); }
.platform-strip { background:#fff; border-bottom:1px solid var(--hairline); }
.platform-strip-inner { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:center; padding-block:22px; gap:16px; }
.platform-strip-inner > div { display:flex; align-items:center; justify-content:center; gap:12px; min-width:0; }
.platform-strip-inner strong { color:var(--primary); font:800 21px/1 var(--font-display); letter-spacing:-.04em; }
.platform-strip-inner span { color:#4E5D76; font-size:12px; font-weight:600; }
.grid-4 { gap:16px; }
.feat-card { min-height:208px; padding:25px 23px; border:1px solid #E3EAF5; border-radius:16px; background:#fff; box-shadow:0 5px 22px rgba(16,36,72,.035); transition:transform .18s var(--ease),border-color .18s var(--ease),box-shadow .18s var(--ease); }
.feat-card:hover { transform:translateY(-4px); border-color:#BFD3F4; box-shadow:0 16px 34px rgba(16,36,72,.09); }
.feat-ic { width:42px; height:42px; display:grid; place-items:center; margin-bottom:22px; border-radius:12px; background:#EEF4FF; color:var(--primary); font-size:21px; }
.feat-card h3 { margin-bottom:9px; font-size:15px; }
.feat-card p { color:var(--muted); font-size:12.5px; line-height:1.7; }
.steps-3 { gap:18px; }
.steps-3 li { position:relative; padding:26px 24px 25px; border:1px solid var(--hairline); border-radius:16px; background:#fff; }
.steps-3 .step-n { width:38px; height:38px; display:grid; place-items:center; margin-bottom:22px; border-radius:12px; background:var(--ink); color:#fff; font:800 14px var(--font-display); }
.steps-3 li h3 { margin-bottom:9px; }
.steps-3 li p { color:var(--muted); font-size:12.5px; line-height:1.7; }
.cur-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.cur-pill { min-width:0; padding:20px 16px; border:1px solid var(--hairline); border-radius:14px; background:#fff; text-align:center; }
.cur-pill b { display:block; color:var(--ink); font:800 22px/1.2 var(--font-display); letter-spacing:-.03em; }
.cur-pill span { display:block; margin-top:7px; color:var(--muted); font-size:11.5px; }
.security-band { background:linear-gradient(120deg,#0A1B3D,#102B59); color:#fff; }
.security-band h2 { max-width:520px; color:#fff; font-size:clamp(28px,3.2vw,38px); line-height:1.15; }
.security-band .security-copy > p:not(.section-kicker) { max-width:510px; margin-top:16px; color:#B8C8E3; line-height:1.8; }
.security-band .security-note { padding-left:14px; border-left:2px solid rgba(128,174,255,.65); font-size:12px; }
.section-kicker-light { color:#8DB7FF; }
.security-list { display:grid; gap:0; padding:10px 22px; border:1px solid rgba(255,255,255,.13); border-radius:18px; background:rgba(255,255,255,.055); }
.security-list li { display:flex; gap:15px; padding:18px 0; }
.security-list li + li { border-top:1px solid rgba(255,255,255,.1); }
.security-list b { color:#fff; font-size:13px; }
.security-list p { margin-top:5px; color:#B8C8E3; font-size:11.5px; line-height:1.65; }
.cta-band { padding:clamp(34px,5vw,58px); border-radius:22px; background:linear-gradient(120deg,#1558C7,#0A1B3D); box-shadow:0 20px 48px rgba(12,30,62,.16); }
.cta-band h2 { max-width:650px; color:#fff; font-size:clamp(27px,3.5vw,40px); }
.cta-band > p:not(.section-kicker) { max-width:570px; margin-top:13px; color:#D3E0F5; line-height:1.75; }
.site-header .header-in { min-height:76px; }
.site-header { background:rgba(255,255,255,.94); border-bottom-color:#E7EDF6; }
.brand-mark { width:40px; height:40px; border-radius:12px; }
.site-nav { gap:3px; }
.nav-link { padding:9px 10px; font-size:12.5px; }
.footer-grid { gap:42px; }
.site-footer { margin-top:0; }
@media (max-width:900px) {
 .hero { padding:64px 0 50px; }
 .hero-grid { grid-template-columns:minmax(0,1fr); gap:42px; }
 .hero-copy { max-width:720px; }
 .hero-visual { width:min(100%,560px); }
 .platform-strip-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cur-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px) {
 body:not(.shell) .section { padding-block:54px; }
 .hero { padding:52px 0 34px; }
 .hero-copy h1 { font-size:clamp(38px,11vw,50px); line-height:1.08; margin-top:18px; }
 .hero-copy .lead { font-size:14.5px; }
 .hero-cta { display:grid; grid-template-columns:1fr; }
 .hero-cta .btn { width:100%; }
 .mock-float { transform:none; }
 .platform-strip-inner { gap:18px 12px; padding-block:18px; }
 .platform-strip-inner > div { justify-content:flex-start; gap:8px; }
 .platform-strip-inner strong { font-size:18px; }
 .platform-strip-inner span { font-size:10.5px; }
 .grid-4 { grid-template-columns:1fr; }
 .feat-card { min-height:0; padding:22px; }
 .feat-ic { margin-bottom:16px; }
 .steps-3 { grid-template-columns:1fr; }
 .cur-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cur-pill { padding:17px 10px; }
 .security-grid { padding:30px 20px; }
 .security-list { padding-inline:15px; }
 .cta-band { border-radius:17px; }
 .sec-head { align-items:flex-start; }
 .section-intro { font-size:13px; }
}

/* --------------------------------------------------------------------------
   Page structure fix — customer app layout coherence
   -------------------------------------------------------------------------- */

/* Auth pages: full-viewport centered card */
body.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(47, 123, 245, .12), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(12, 34, 71, .08), transparent 50%),
    var(--bg, #F4F7FB);
}
.auth-page-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.auth-page-root .auth-wrap {
  width: 100%;
  max-width: 452px;
  margin: 0 auto;
}
.auth-card {
  width: 100%;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E3EAF5);
  border-radius: 18px;
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-md, 0 12px 40px rgba(15, 35, 70, .08));
}
.auth-card h1 {
  font: 800 22px/1.25 var(--font-display);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.auth-brand {
  font: 800 13px var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary, #1F6FEB);
  margin: 0 0 18px;
}
.auth-links { margin-top: 16px; text-align: center; }
.auth-links a { font-weight: 600; color: var(--primary); }

/* App shell body */
body.app-shell {
  background: var(--bg, #F4F7FB);
}

/* Single page frame inside main.content — defeats .content > * + * spacing fights */
.page-frame {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  width: 100%;
}
.page-frame > .view-stack {
  width: 100%;
}

/* Canonical vertical page stack */
.view-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: 100%;
}
.view-stack > * {
  min-width: 0;
}

/* Card / panel title when using h3.panel-title from React Card */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.panel-head .panel-title,
.panel-head h2,
.panel-head h3 {
  font: 800 16.5px/1.25 var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Forms used by React MG.ui.Input — label.field + input.input */
label.field,
.field {
  display: block;
  margin-bottom: 14px;
}
label.field > span,
.field > span:first-child {
  display: block;
  font: 600 13px/1.3 var(--font-body);
  color: #22304F;
  margin-bottom: 6px;
}
.input,
label.field input,
label.field select,
label.field textarea,
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line, #D7E0EF);
  border-radius: var(--r-input, 10px);
  background: #fff;
  font: 500 14px var(--font-body);
  color: var(--ink);
  box-sizing: border-box;
}
label.field textarea,
.field textarea {
  height: auto;
  min-height: 100px;
  padding: 10px 12px;
  resize: vertical;
}
.input:focus,
label.field input:focus,
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring, 0 0 0 3px rgba(31, 111, 235, .18));
}

/* Filter bars on records pages */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}
.filter-bar > * {
  min-width: 0;
  flex: 1 1 140px;
}
.filter-bar .btn {
  flex: 0 0 auto;
}

/* Ensure tables don't blow the page */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Form action rows */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-error {
  color: var(--danger-2, #B42318);
  font: 600 13px var(--font-body);
  margin: 0 0 8px;
}

/* Bank details panel on deposits */
.bank-details-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F5F9FF;
  border: 1px solid #C9DBF5;
}
.bank-details-panel h4 {
  margin: 0 0 10px;
  font: 800 14px var(--font-display);
}
.bank-details-panel p {
  margin: 0 0 6px;
  font-size: 13.5px;
}
.bank-details-panel code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12.5px;
  background: #E8F0FC;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Mobile: prefer body.nav-open (theme) — neutralize conflicting 900px rules */
@media (max-width: 1024px) {
  .shell { display: block; }
  .sidenav {
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: min(280px, 88vw);
    height: auto !important;
    transform: translateX(-103%);
    transition: transform .2s var(--ease);
    z-index: 120;
  }
  body.nav-open .sidenav {
    transform: none !important;
    box-shadow: var(--shadow-lg);
  }
  .menu-btn { display: inline-flex !important; }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 16, 36, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
    z-index: 110;
  }
  body.nav-open .scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .scrim.is-hidden { display: none; }
  body.nav-open .scrim.is-hidden { display: block; }
}
@media (min-width: 1025px) {
  .menu-btn { display: none !important; }
  .scrim { display: none !important; }
}


/* Customer currency cards — intentional hierarchy, quiet premium finish */
.shell .ov-hero { align-items: flex-end; min-height: 190px; padding: 28px 30px; }
.shell .ov-hero-main { max-width: 620px; }
.shell .ov-total { letter-spacing: -.04em; }
.shell .ov-hero-side { gap: 10px; }
.shell .ov-chips { display: none; }

.shell .ov-grid2 { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .9fr); gap: 18px; }
.shell .curcards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.shell .curcard {
  position: relative;
  min-height: 164px;
  padding: 17px 17px 15px;
  gap: 0;
  border: 1px solid #E5EAF2;
  border-radius: 15px;
  background: linear-gradient(145deg, #FFFFFF 0%, #FAFCFF 100%);
  box-shadow: 0 3px 12px rgba(20, 42, 78, .035);
  text-decoration: none;
  overflow: hidden;
}
.shell .curcard::after {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  right: -54px;
  top: -54px;
  border-radius: 50%;
  background: rgba(31, 111, 235, .045);
  transition: transform .2s ease, background .2s ease;
}
.shell .curcard:hover {
  transform: translateY(-3px);
  border-color: #C8D8EF;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 42, 78, .085);
}
.shell .curcard:hover::after { transform: scale(1.45); background: rgba(31,111,235,.07); }
.shell .curcard:active { transform: translateY(-1px) scale(.995); }
.shell .curcard:focus-visible {
  outline: 3px solid rgba(31,111,235,.25);
  outline-offset: 3px;
}
.shell .curcard-head { gap: 11px; margin-bottom: 17px; }
.shell .curcard-sym {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #EEF4FF, #E3EDFC);
  color: #174FAD;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(31,111,235,.045);
}
.shell .curcard-head b { font-size: 14px; letter-spacing: .015em; }
.shell .curcard-head small { margin-top: 3px; font-size: 11px; }
.shell .curcard-head .badge { font-size: 10px; }
.shell .curcard-balance-label {
  display: block;
  margin-bottom: 5px;
  color: #7C899E;
  font: 600 10px/1.3 var(--font-body);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.shell .curcard-bal {
  margin: 0;
  color: #172846;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.shell .curcard-eq { margin: 5px 0 0; font-size: 11px; color: #7B879A; }
.shell .curcard-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  color: #2464C5;
  font-size: 11px;
  font-weight: 700;
}
.shell .curcard-link svg { transition: transform .18s ease; }
.shell .curcard:hover .curcard-link svg { transform: translateX(3px); }

.shell .panel { border-radius: 16px; box-shadow: 0 4px 18px rgba(20,42,78,.04); }
.shell .panel-head { padding-top: 16px; padding-bottom: 15px; }
.shell .stat-row { gap: 13px; }
.shell .stat-card {
  min-width: 0;
  border-radius: 15px;
  padding: 16px 17px;
  box-shadow: 0 3px 12px rgba(20,42,78,.035);
}
.shell .stat-ic { width: 36px; height: 36px; border-radius: 11px; }
.shell .stat-label { font-size: 11px; }
.shell .stat-val { font-size: 21px; }
.shell .view-stack { gap: 20px; }
.shell .section-head { align-items: center; gap: 14px; }
.shell .section-head .section-title { font-size: 21px; letter-spacing: -.025em; }
.shell .section-head .muted { margin-top: 5px; line-height: 1.55; }

@media (max-width: 900px) {
  .shell .ov-grid2 { grid-template-columns: minmax(0,1fr); }
  .shell .ov-grid2 > * { min-width: 0; }
}
@media (max-width: 640px) {
  .shell .ov-hero { min-height: 0; padding: 22px 19px; gap: 18px; }
  .shell .ov-hero-side { width: 100%; align-items: stretch; flex-direction: row; flex-wrap: wrap; }
  .shell .ov-hero-side .btn { flex: 1 1 130px; justify-content: center; }
  .shell .curcards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .shell .curcard { min-height: 154px; padding: 13px 12px 12px; border-radius: 13px; }
  .shell .curcard-head { align-items: flex-start; gap: 8px; margin-bottom: 14px; }
  .shell .curcard-sym { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .shell .curcard-head b { font-size: 12px; }
  .shell .curcard-head small { max-width: 80px; font-size: 9.5px; }
  .shell .curcard-head .badge { font-size: 9px; padding-inline: 6px; }
  .shell .curcard-bal { font-size: 15px; }
  .shell .curcard-balance-label { font-size: 9px; }
  .shell .curcard-link { padding-top: 10px; font-size: 10px; }
}
@media (max-width: 370px) {
  .shell .curcards { grid-template-columns: minmax(0,1fr); }
  .shell .curcard { min-height: 145px; }
}


/* --------------------------------------------------------------------------
   Meridian customer experience — consistent page architecture and controls
   -------------------------------------------------------------------------- */
.shell .section-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; padding:2px 2px 3px; margin:0;
}
.shell .section-head > div { min-width:0; }
.shell .section-head .section-title {
  margin:0; color:var(--ink); font:800 clamp(20px,2vw,25px)/1.18 var(--font-display);
  letter-spacing:-.035em;
}
.shell .section-head .muted { max-width:680px; margin:7px 0 0; color:#68778F; font-size:12.5px; line-height:1.65; }
.shell .info-strip {
  display:flex; align-items:flex-start; gap:11px; padding:14px 16px;
  border:1px solid #DCE7F6; border-radius:13px; background:#F5F8FD; color:#31527E;
}
.shell .info-strip > svg { flex:0 0 auto; margin-top:2px; }
.shell .info-strip p { margin:0; color:#526783; font-size:12.5px; line-height:1.65; }
.shell .filter-panel-intro { display:flex; flex-direction:column; gap:4px; margin:0 0 15px; }
.shell .filter-panel-intro b { color:var(--ink); font:750 13px/1.3 var(--font-display); }
.shell .filter-panel-intro .muted { color:#77849A; font-size:11.5px; }
.shell .filter-panel .filter-bar { display:grid; grid-template-columns:minmax(190px,2fr) repeat(4,minmax(125px,1fr)) auto; align-items:end; gap:11px; }
.shell .filter-panel .filter-bar > * { min-width:0; width:100%; }
.shell .filter-panel .filter-bar .btn { width:auto; white-space:nowrap; }
.shell .detail-list {
  display:grid; grid-template-columns:minmax(130px,.7fr) minmax(0,1.3fr);
  gap:0; margin:0; border-top:1px solid #EDF1F6;
}
.shell .detail-list dt, .shell .detail-list dd {
  min-width:0; margin:0; padding:12px 4px; border-bottom:1px solid #EDF1F6;
  font-size:12.5px; line-height:1.5;
}
.shell .detail-list dt { color:#7A879B; font-weight:600; }
.shell .detail-list dd { color:#1C2D49; font-weight:650; overflow-wrap:anywhere; }
.shell .pref-list { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.shell .pref-list li {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:15px 2px; border-bottom:1px solid #EDF1F6;
}
.shell .pref-list li:first-child { padding-top:2px; }
.shell .pref-list li:last-child { padding-bottom:2px; border-bottom:0; }
.shell .pref-list li > div { min-width:0; }
.shell .pref-list li b { color:#1C2D49; font-size:12.5px; }
.shell .pref-list li p { margin:4px 0 0; font-size:11.5px; line-height:1.5; }
.shell .switch { flex:0 0 auto; }
.shell .notif-list { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.shell .notif-list li {
  padding:15px 4px; border-bottom:1px solid #EDF1F6; background:transparent;
}
.shell .notif-list li:last-child { border-bottom:0; }
.shell .notif-list li.unread, .shell .notif-list li.is-unread {
  padding-left:13px; border-left:3px solid #3979D8; background:#F7FAFF;
}
.shell .notif-row { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.shell .notif-row > div { min-width:0; }
.shell .notif-row b, .shell .notif-body b { display:block; color:#1D2D49; font-size:12.5px; line-height:1.45; }
.shell .notif-row p, .shell .notif-body p { margin:5px 0; color:#65748B; font-size:12px; line-height:1.65; }
.shell .notif-row small, .shell .notif-body small { color:#8A96A8; font-size:10.5px; }
.shell .ticket {
  margin:0 0 13px; padding:16px; border:1px solid #E6ECF4;
  border-radius:13px; background:#fff; box-shadow:0 3px 12px rgba(20,42,78,.025);
}
.shell .ticket:last-child { margin-bottom:0; }
.shell .ticket-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.shell .ticket-head b { color:#1D2D49; font-size:13px; }
.shell .ticket > small { display:block; margin-top:6px; color:#8793A5; font-size:10.5px; }
.shell .thread { display:grid; gap:9px; margin:14px 0 0; padding:0; list-style:none; }
.shell .thread .msg { max-width:92%; padding:11px 13px; border-radius:11px; background:#F3F6FA; }
.shell .thread .msg-customer { margin-left:auto; background:#EEF4FF; }
.shell .thread .msg small { color:#7E8BA0; font-size:10px; }
.shell .thread .msg p { margin:5px 0 0; color:#35445D; font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.shell .acc-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.shell .acc-head h3 { margin:0 0 8px; color:#1B2B47; font:800 18px/1.2 var(--font-display); }
.shell .acc-head h3 small { font-size:11px; font-weight:550; }
.shell .acc-balance { color:#142746; font:800 clamp(21px,2.5vw,29px)/1.2 var(--font-display); letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.shell .bank-details-panel {
  display:grid; gap:8px; margin-top:16px; padding:18px;
  border:1px solid #D9E5F4; border-radius:14px; background:linear-gradient(145deg,#F8FBFF,#F1F6FD);
}
.shell .bank-details-panel h4 { margin:0 0 5px; color:#1B2F50; font:800 14px var(--font-display); }
.shell .bank-details-panel p { margin:0; color:#53647D; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.shell .bank-details-panel p b { color:#263B5B; }
.shell .bank-details-panel code { user-select:all; }
.shell .deposit-status {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin:0 0 14px; padding:12px 14px; border-radius:11px;
  background:#F5F8FD; color:#1C3152; font-weight:750; font-variant-numeric:tabular-nums;
}
.shell .panel form > label { display:block; margin:0 0 6px; color:#35445D; font-size:12px; font-weight:650; }
.shell .panel form > label + .input,
.shell .panel form > label + select,
.shell .panel form > label + div { margin-bottom:14px; }
.shell .panel form .form-error { padding:10px 12px; border-radius:9px; background:#FFF3F1; }
.shell .grid-3 { align-items:stretch; gap:14px; }
.shell .grid-3 > * { min-width:0; }
.shell .grid-3 .panel { height:100%; }
.shell .grid-3 .panel h3 { color:#1D2D49; font:800 17px var(--font-display); }
.shell .table-wrap { border:1px solid #E9EEF5; border-radius:12px; }
.shell .table-wrap table thead th { position:sticky; top:0; background:#F7F9FC; color:#78869B; font-size:10px; letter-spacing:.055em; text-transform:uppercase; }
.shell .table-wrap table tbody tr { transition:background .15s ease; }
.shell .table-wrap table tbody tr:hover { background:#F8FAFD; }
.shell .table-wrap table td { vertical-align:middle; }
.shell .pager { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding-top:15px; }
.shell .pager-info { color:#7B879A; font-size:11.5px; font-variant-numeric:tabular-nums; }
.shell .view-stack .panel { min-width:0; }
.shell .view-stack .panel p { line-height:1.65; }
.shell .view-stack .btn-row { align-items:center; }
.shell button, .shell a, .shell input, .shell select, .shell textarea { -webkit-tap-highlight-color:transparent; }
.shell button:focus-visible, .shell a:focus-visible, .shell input:focus-visible, .shell select:focus-visible, .shell textarea:focus-visible {
  outline:3px solid rgba(31,111,235,.24); outline-offset:2px;
}
@media (max-width:900px) {
  .shell .filter-panel .filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shell .filter-panel .filter-bar > :first-child { grid-column:1 / -1; }
}
@media (max-width:640px) {
  .shell .section-head { align-items:flex-start; flex-direction:column; }
  .shell .section-head > .btn, .shell .section-head > a { width:100%; justify-content:center; }
  .shell .filter-panel .filter-bar { grid-template-columns:minmax(0,1fr); }
  .shell .filter-panel .filter-bar > :first-child { grid-column:auto; }
  .shell .filter-panel .filter-bar .btn { width:100%; }
  .shell .detail-list { grid-template-columns:minmax(100px,.72fr) minmax(0,1.28fr); }
  .shell .detail-list dt, .shell .detail-list dd { padding:10px 2px; font-size:11.5px; }
  .shell .acc-head { align-items:flex-start; flex-direction:column; gap:9px; }
  .shell .acc-balance { font-size:24px; }
  .shell .notif-row { flex-direction:column; }
  .shell .notif-row > .btn { align-self:flex-start; }
  .shell .ticket { padding:13px; }
}


/* Structured deposit workflow */
.shell .deposit-form { display:flex; flex-direction:column; gap:13px; }
.shell .deposit-form-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px;
}
.shell .deposit-form-grid > * { min-width:0; }
.shell .deposit-form-grid .field { margin:0; }
.shell .deposit-notes { grid-column:1 / -1; }
.shell .deposit-form-actions { display:flex; justify-content:flex-start; padding-top:2px; }
.shell .deposit-form-actions .btn { min-width:210px; }
.shell .deposit-disclaimer {
  max-width:760px; margin:0; padding:12px 14px; border-radius:10px;
  background:#F6F8FB; color:#758198; font-size:11px; line-height:1.7;
}
@media (max-width:640px) {
  .shell .deposit-form-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
  .shell .deposit-notes { grid-column:auto; }
  .shell .deposit-form-actions .btn { width:100%; }
}


/* --------------------------------------------------------------------------
   Public website refresh — editorial layout, page heroes and responsive rhythm
   -------------------------------------------------------------------------- */
body:not(.shell) { color:#172943; background:#fff; }
body:not(.shell) main { overflow:clip; }
body:not(.shell) .section { padding:clamp(58px,7vw,94px) 0; }
body:not(.shell) .section-alt { background:#F5F8FC; }
body:not(.shell) .container { width:min(1160px,calc(100% - 48px)); margin-inline:auto; }
body:not(.shell) .container.narrow { width:min(850px,calc(100% - 48px)); }
body:not(.shell) .page-hero { position:relative; isolation:isolate; padding:clamp(64px,8vw,108px) 0 66px; background:linear-gradient(135deg,#F5F8FD 0%,#EEF3FA 58%,#E8EFF8 100%); border-bottom:1px solid #E3EAF3; }
body:not(.shell) .page-hero:after { content:""; position:absolute; z-index:-1; width:420px; height:420px; right:-100px; top:-190px; border:1px solid rgba(54,91,143,.13); border-radius:50%; box-shadow:0 0 0 42px rgba(54,91,143,.025),0 0 0 90px rgba(54,91,143,.02); }
body:not(.shell) .page-hero .container { position:relative; z-index:1; }
body:not(.shell) .page-hero .eyebrow, body:not(.shell) .page-hero .section-kicker { color:#54729B; }
body:not(.shell) .page-hero h1 { max-width:850px; margin:12px 0 18px; color:#132744; font:800 clamp(36px,5.6vw,62px)/1.08 var(--font-display); letter-spacing:-.055em; }
body:not(.shell) .page-hero .lead { max-width:740px; margin:0; color:#62738B; font-size:clamp(15px,1.5vw,18px); line-height:1.8; }
body:not(.shell) .page-hero .hero-cta { margin-top:26px; }
body:not(.shell) .page-hero .breadcrumb { display:flex; gap:9px; align-items:center; color:#8290A4; font-size:12px; font-weight:650; }
body:not(.shell) .page-hero .breadcrumb a { color:#49688F; text-decoration:none; }
body:not(.shell) .content-section { padding:clamp(44px,6vw,76px) 0; }
body:not(.shell) .content-section + .content-section { border-top:1px solid #EDF1F6; }
body:not(.shell) .content-heading { max-width:760px; margin:0 0 30px; }
body:not(.shell) .content-heading h2 { margin:0 0 10px; color:#172B49; font:800 clamp(25px,3.2vw,36px)/1.18 var(--font-display); letter-spacing:-.04em; }
body:not(.shell) .content-heading p { margin:0; color:#687990; font-size:14px; line-height:1.8; }
body:not(.shell) .editorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body:not(.shell) .editorial-card { min-width:0; padding:25px; border:1px solid #E4EAF2; border-radius:17px; background:#fff; box-shadow:0 8px 28px rgba(22,45,78,.045); }
body:not(.shell) .editorial-card .card-index { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; margin-bottom:19px; border-radius:10px; background:#EDF3FB; color:#315B91; font-size:11px; font-weight:800; }
body:not(.shell) .editorial-card h3 { margin:0 0 9px; color:#1A2E4C; font:750 16px/1.35 var(--font-display); }
body:not(.shell) .editorial-card p { margin:0; color:#6C7B90; font-size:13px; line-height:1.8; }
body:not(.shell) .split-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(26px,5vw,64px); align-items:center; padding:clamp(26px,4vw,44px); border:1px solid #E3EAF3; border-radius:20px; background:#F7F9FC; }
body:not(.shell) .split-panel h2 { margin:0 0 13px; color:#172B49; font:800 clamp(25px,3vw,34px)/1.2 var(--font-display); letter-spacing:-.04em; }
body:not(.shell) .split-panel p { color:#66768D; font-size:13.5px; line-height:1.85; }
body:not(.shell) .split-panel ul { display:grid; gap:13px; margin:0; padding:0; list-style:none; }
body:not(.shell) .split-panel li { display:flex; gap:11px; color:#40536E; font-size:13px; line-height:1.6; }
body:not(.shell) .split-panel li:before { content:"✓"; display:grid; flex:0 0 22px; place-items:center; width:22px; height:22px; border-radius:50%; background:#E6EFFA; color:#2F619C; font-weight:800; }
body:not(.shell) .page-cta { padding:clamp(30px,5vw,52px); border-radius:20px; color:#fff; background:linear-gradient(120deg,#142B4C,#24466F); }
body:not(.shell) .page-cta h2 { max-width:680px; margin:0 0 12px; color:#fff; font:800 clamp(26px,3.4vw,38px)/1.16 var(--font-display); letter-spacing:-.04em; }
body:not(.shell) .page-cta p { max-width:650px; margin:0; color:#C5D2E3; font-size:14px; line-height:1.8; }
body:not(.shell) .page-cta .hero-cta { margin-top:22px; }
body:not(.shell) .section-kicker { margin:0 0 10px; color:#58769C; font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
body:not(.shell) .section-intro { max-width:680px; color:#6B7B91; line-height:1.8; }
body:not(.shell) .site-header { position:sticky; top:0; z-index:100; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); background:rgba(255,255,255,.94); border-bottom:1px solid #E8EDF4; }
body:not(.shell) .site-nav { gap:clamp(12px,1.6vw,23px); }
body:not(.shell) .nav-link { color:#53647B; font-size:12px; font-weight:650; }
body:not(.shell) .nav-link.active { color:#1D4E87; }
body:not(.shell) .brand-text { color:#172B49; }
body:not(.shell) .site-footer { margin-top:0; }
body:not(.shell) .callout { padding:17px 20px; border:1px solid #DCE6F2; border-left:3px solid #4776AE; border-radius:12px; background:#F5F8FC; color:#4E617C; line-height:1.8; }
body:not(.shell) .editorial-prose { color:#617189; font-size:14px; line-height:1.9; }
body:not(.shell) .editorial-prose h2 { margin:34px 0 10px; color:#1A2E4C; font:750 21px/1.3 var(--font-display); }
body:not(.shell) .editorial-prose h2:first-child { margin-top:0; }
body:not(.shell) .editorial-prose p { margin:0 0 16px; }
body:not(.shell) .acc-list { display:grid; gap:10px; }
body:not(.shell) .acc-item { overflow:hidden; border:1px solid #E4EAF2; border-radius:13px; background:#fff; }
body:not(.shell) .acc-btn { display:flex; width:100%; justify-content:space-between; align-items:center; gap:18px; padding:18px 20px; color:#1C304E; text-align:left; font-size:13.5px; font-weight:750; }
body:not(.shell) .acc-body { padding:0 20px 19px; color:#697990; font-size:13px; line-height:1.8; }
body:not(.shell) .field { margin-bottom:17px; }
body:not(.shell) form[data-contact-form] { padding:clamp(22px,4vw,34px); border:1px solid #E4EAF2; border-radius:18px; background:#fff; box-shadow:0 10px 35px rgba(22,45,78,.05); }
body:not(.shell) form[data-contact-form] .field label { display:block; margin-bottom:7px; color:#344963; font-size:12px; font-weight:700; }
body:not(.shell) form[data-contact-form] .input { width:100%; min-height:46px; padding:12px 13px; border:1px solid #DCE4EE; border-radius:9px; background:#FBFCFE; color:#1C304E; font:inherit; }
body:not(.shell) form[data-contact-form] textarea.input { min-height:135px; resize:vertical; }
body:not(.shell) .table-wrap { overflow-x:auto; border:1px solid #E4EAF2; border-radius:13px; }
body:not(.shell) .table { min-width:650px; border-collapse:collapse; }
body:not(.shell) .table th, body:not(.shell) .table td { padding:13px 15px; border-bottom:1px solid #EDF1F6; text-align:left; font-size:12px; }
body:not(.shell) .table th { background:#F5F8FC; color:#5D6F87; font-size:10px; letter-spacing:.06em; text-transform:uppercase; }
body:not(.shell) .table tr:last-child td { border-bottom:0; }
body:not(.shell) a:focus-visible, body:not(.shell) button:focus-visible, body:not(.shell) input:focus-visible, body:not(.shell) textarea:focus-visible, body:not(.shell) select:focus-visible { outline:3px solid rgba(54,111,184,.3); outline-offset:3px; }
body:not(.shell) .site-drawer { box-shadow:0 20px 40px rgba(15,35,62,.16); }
@media(max-width:850px) {
 body:not(.shell) .editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body:not(.shell) .split-panel { grid-template-columns:1fr; }
 body:not(.shell) .site-nav { display:none; }
}
@media(max-width:600px) {
 body:not(.shell) .container, body:not(.shell) .container.narrow { width:calc(100% - 36px); }
 body:not(.shell) .section { padding:52px 0; }
 body:not(.shell) .page-hero { padding:54px 0 48px; }
 body:not(.shell) .page-hero h1 { font-size:clamp(34px,10vw,46px); }
 body:not(.shell) .editorial-grid { grid-template-columns:1fr; }
 body:not(.shell) .editorial-card { padding:21px; }
 body:not(.shell) .page-cta { padding:27px 22px; border-radius:16px; }
 body:not(.shell) .hero-cta { display:flex; flex-wrap:wrap; }
 body:not(.shell) .hero-cta .btn { flex:1 1 100%; justify-content:center; }
}

/* Homepage editorial section */
body:not(.shell) .home-about-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr); align-items:center; gap:clamp(28px,6vw,82px); }
body:not(.shell) .home-about-grid h2 { max-width:650px; margin:0 0 15px; color:#172B49; font:800 clamp(27px,3.5vw,40px)/1.16 var(--font-display); letter-spacing:-.045em; }
body:not(.shell) .home-about-grid > div:first-child > p:not(.section-kicker) { max-width:620px; color:#697A90; font-size:14px; line-height:1.85; }
body:not(.shell) .home-about-note { padding:27px; border:1px solid #DFE7F1; border-radius:17px; background:linear-gradient(145deg,#F7F9FC,#EEF3F9); }
body:not(.shell) .home-about-mark { display:grid; place-items:center; width:42px; height:42px; margin-bottom:24px; border-radius:13px; background:#1D3D64; color:#fff; font:800 18px var(--font-display); }
body:not(.shell) .home-about-note b { display:block; color:#1B304F; font:750 16px/1.4 var(--font-display); }
body:not(.shell) .home-about-note p { color:#687990; font-size:12.5px; line-height:1.8; }
body:not(.shell) .home-about-note a { color:#2B5D95; font-size:12px; font-weight:750; text-decoration:none; }
@media(max-width:700px){body:not(.shell) .home-about-grid{grid-template-columns:1fr;}}

/* Legal and policy page reading rhythm */
body:not(.shell) .container.narrow > .sec-head { margin:0 0 18px; }
body:not(.shell) .container.narrow > .sec-head h1 { margin:0; color:#172B49; font:800 clamp(32px,4vw,46px)/1.12 var(--font-display); letter-spacing:-.045em; }
body:not(.shell) .container.narrow > .lead { margin:0 0 30px; color:#697A90; font-size:14px; line-height:1.8; }
body:not(.shell) .container.narrow > h2 { margin:30px 0 8px; color:#1B304F; font:750 19px/1.35 var(--font-display); letter-spacing:-.02em; }
body:not(.shell) .container.narrow > h2 + p { margin:0; color:#64758C; font-size:13px; line-height:1.9; }
body:not(.shell) .container.narrow > h2 + p + h2 { margin-top:29px; }
body:not(.shell) .container.narrow > h2 + p + h2 + p { margin-bottom:0; }
body:not(.shell) .hero .hero-copy h1 { letter-spacing:-.055em; }
body:not(.shell) .hero .hero-copy .lead { max-width:610px; line-height:1.8; }
body:not(.shell) .platform-strip { border-top:1px solid #E7EDF5; border-bottom:1px solid #E7EDF5; }
body:not(.shell) .feat-card, body:not(.shell) .value-card, body:not(.shell) .cur-card, body:not(.shell) .text-card { border-color:#E3EAF2; box-shadow:0 8px 25px rgba(21,43,74,.035); }
body:not(.shell) .section .sec-head { margin-bottom:28px; }
body:not(.shell) .section .sec-head h2 { letter-spacing:-.04em; }
body:not(.shell) .site-footer .footer-grid { gap:clamp(25px,4vw,58px); }
