/* ============================================================
   NationalRegionB — Core design system (style.css)
   Flat, modern, professional financial-services aesthetic.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #123a7e;
  --primary-dark: #0b2a5e;
  --primary-soft: #eef3fb;
  --accent: #2f7de1;
  --accent-soft: #e8f0fc;
  --gold: #b8860b;
  --gold-soft: #faf3e0;
  --success: #1a9e5a;
  --success-soft: #e6f6ed;
  --danger: #d64045;
  --danger-soft: #fbeaea;
  --warning: #d98e1f;
  --warning-soft: #fdf3e1;
  --info: #2f7de1;
  --info-soft: #e8f0fc;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --border: #e3e8f0;
  --border-strong: #d3dbe7;
  --text: #16233a;
  --text-2: #44536d;
  --muted: #7c8aa0;
  --shadow-sm: 0 1px 2px rgba(18, 58, 126, .06);
  --shadow-md: 0 4px 14px rgba(18, 58, 126, .08);
  --radius: 12px;
  --radius-sm: 8px;
  --sidebar-w: 256px;
  --header-h: 68px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; line-height: 1.25; color: var(--text); font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s, opacity .15s;
  line-height: 1.2; white-space: nowrap; user-select: none;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover:not(:disabled) { background: var(--primary); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text-2); }
.btn-outline:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #b9363b; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #14834b; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover:not(:disabled) { background: #9a7208; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 125, 225, .15);
}
.textarea { resize: vertical; min-height: 90px; }
.input-error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 13px; margin-top: 6px; }
.form-error:empty { display: none; }
.form-note { font-size: 13px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* checkbox / switch */
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 40px; height: 22px; border-radius: 999px; background: var(--border-strong); position: relative; transition: background .15s; flex: none; }
.switch .track::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--success); }
.switch input:checked + .track::after { left: 20px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title { font-size: 16px; font-weight: 700; margin: 0; }
.card-subtitle { font-size: 13px; color: var(--muted); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-neutral { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.badge-gold { background: var(--gold-soft); color: var(--gold); }

/* status badge helper */
.badge-pending { background: var(--warning-soft); color: var(--warning); }
.badge-processing { background: var(--info-soft); color: var(--info); }
.badge-completed { background: var(--success-soft); color: var(--success); }
.badge-active { background: var(--success-soft); color: var(--success); }
.badge-failed, .badge-rejected, .badge-cancelled, .badge-blocked, .badge-expired { background: var(--danger-soft); color: var(--danger); }
.badge-reversed { background: var(--danger-soft); color: var(--danger); }
.badge-frozen, .badge-under_review, .badge-overdue { background: var(--warning-soft); color: var(--warning); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); background: var(--surface-2);
  white-space: nowrap;
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:hover { background: var(--surface-2); }
.table .row-link { cursor: pointer; }
.table .amount-credit { color: var(--success); font-weight: 600; }
.table .amount-debit { color: var(--text); font-weight: 600; }

/* ---------- Toast ---------- */
.toast-container { position: fixed; top: 18px; right: 18px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.toast {
  display: flex; align-items: flex-start; gap: 10px; background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 13px 15px; box-shadow: var(--shadow-md);
  animation: toast-in .2s ease; font-size: 14px;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info { border-left-color: var(--info); }
.toast .toast-close { margin-left: auto; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 22, 44, .55); z-index: 2000; display: none;
  align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius); max-width: 560px; width: 100%;
  box-shadow: 0 20px 50px rgba(10, 22, 44, .25); animation: modal-in .18s ease;
}
.modal.modal-lg { max-width: 820px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 16px; font-weight: 700; margin: 0; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-body { padding: 22px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Transfer progress flow (intl transfers + crypto withdrawals) ---------- */
.xflow-backdrop {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(10, 22, 44, .55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  transition: opacity .18s ease;
}
.xflow-backdrop.is-closing { opacity: 0; }
.xflow {
  width: 100%; max-width: 460px; background: var(--surface); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 22, 44, .3); overflow: hidden;
  animation: xflow-in .22s ease;
}
@keyframes xflow-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.xflow-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.xflow-title { font-size: 16px; font-weight: 700; margin: 0; }
.xflow-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.xflow-steps { display: flex; align-items: center; gap: 8px; padding: 14px 22px; border-bottom: 1px solid var(--border); }
.xf-step { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.xf-step .num { width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 11px; transition: background .2s, color .2s; }
.xf-step.active { color: var(--primary); }
.xf-step.active .num { background: var(--primary); color: #fff; }
.xf-step.done { color: var(--success); }
.xf-step.done .num { background: var(--success); color: #fff; }
.xf-line { flex: 1; height: 2px; border-radius: 999px; background: var(--border); transition: background .2s; }
.xf-line.done { background: var(--success); }
.xflow-body { padding: 26px 22px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.xflow-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.xflow-codebox { display: flex; gap: 10px; margin-top: 16px; }
.xflow-codebox .input { text-align: center; letter-spacing: 5px; font-family: ui-monospace, monospace; font-size: 20px; text-transform: uppercase; flex: 1; min-width: 0; }
.xflow-hint { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.xflow-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 16px; }
.xflow-icon.is-success { background: var(--success-soft); color: var(--success); }
.xflow-icon.is-error { background: var(--danger-soft); color: var(--danger); }
.xflow-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .xflow-codebox { flex-direction: column; }
  .xflow-steps { gap: 5px; padding: 12px 16px; }
  .xflow-body { padding: 22px 16px; }
}

/* ---------- Dropdown ---------- */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); min-width: 200px; z-index: 1500;
  padding: 6px; display: none;
}
.dropdown.open .dropdown-menu { display: block; animation: toast-in .15s ease; }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: none; background: none;
  font-size: 14px; color: var(--text-2); cursor: pointer; border-radius: 6px; text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-2); color: var(--text); }
.dropdown-menu .danger-item { color: var(--danger); }
.dropdown-menu .danger-item:hover { background: var(--danger-soft); color: var(--danger); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tab {
  padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
  border: none; background: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.tab.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab:hover { color: var(--text); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.pagination button {
  min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--text-2);
}
.pagination button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state .empty-icon { font-size: 40px; margin-bottom: 10px; opacity: .6; }
.empty-state h3 { font-size: 16px; color: var(--text-2); }

/* ---------- Loading / skeleton ---------- */
.loading-block { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--muted); }
.spinner {
  width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .7s linear infinite;
}
.spinner-sm { width: 14px; height: 14px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--border) 25%, #eef1f6 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Full-page loading screen ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 800px at 50% 20%, #ffffff 0%, #f0f5fc 55%, #e7eef8 100%);
  opacity: 1; visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.pl-orbit { position: relative; width: 92px; height: 92px; display: flex; align-items: center; justify-content: center; }
.pl-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(47,125,225,.28); border-top-color: var(--accent); border-right-color: rgba(47,125,225,.08);
  animation: pl-rotate 1.1s cubic-bezier(.5,.05,.35,.9) infinite;
}
.pl-ring--2 { inset: 10px; border-color: rgba(18,58,126,.16); border-top-color: var(--primary); border-right-color: rgba(18,58,126,.05); animation-duration: 1.6s; animation-direction: reverse; }
.pl-ring--3 { inset: 22px; border: 2px solid rgba(184,134,11,.22); border-top-color: var(--gold); animation-duration: .9s; }
.pl-core {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 6px rgba(47,125,225,.12), 0 0 24px rgba(47,125,225,.55);
  animation: pl-pulse 1.4s ease-in-out infinite;
}
@keyframes pl-rotate { to { transform: rotate(360deg); } }
@keyframes pl-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .75; } }
.pl-track { width: 200px; height: 5px; border-radius: 999px; background: var(--border); overflow: hidden; }
.pl-progress {
  display: block; height: 100%; width: 40%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: pl-slide 1.3s ease-in-out infinite;
}
@keyframes pl-slide {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(320%); }
}
.pl-status { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .03em; transition: opacity .24s ease; }
.pl-status.is-swapping { opacity: 0; }

/* ---------- Utilities ---------- */
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.flex-col { display: flex; flex-direction: column; gap: 8px; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 20px; } .mb-4 { margin-bottom: 30px; }
.gap-1 { gap: 6px; } .gap-2 { gap: 12px; } .gap-3 { gap: 20px; }
.hide { display: none !important; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Icons ---------- */
.icon { width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 100%; height: 100%; display: block; }
.icon-sm { width: 15px; height: 15px; }

/* ============================================================
   PUBLIC WEBSITE
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1200; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-text { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -.01em; }
.brand-text span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--text-2); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--primary); }
.site-nav a.active { color: var(--primary); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1c4f9c 100%); color: #fff; padding: 96px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.15; letter-spacing: -.02em; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat { border-left: 1px solid rgba(255,255,255,.25); padding-left: 16px; }
.hero-stats .stat strong { display: block; font-size: 24px; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,.75); }
.hero-visual { position: relative; }
.hero-card {
  background: #fff; color: var(--text); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.25);
  max-width: 380px; margin: 0 auto;
}
.hero-card .bank-card-visual { margin: 0 0 18px; }

/* Feature / section headers */
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 32px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); }

/* Feature cards */
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: border-color .15s, transform .15s;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual-panel { background: var(--primary-soft); border-radius: 16px; padding: 40px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--text-2); }
.check-list .tick { color: var(--success); font-weight: 800; flex: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 28px; font-weight: 800; color: var(--accent); }
.step h3 { margin-top: 10px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; border-radius: 18px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 26px; }

/* Footer */
.site-footer { background: #0d1b2e; color: #aab6c8; padding: 56px 0 24px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer a { color: #aab6c8; display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand img { filter: brightness(0) invert(1); }
@media (max-width: 900px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Bank card visual (legacy generic style) */
.bank-card-visual {
  border-radius: 14px; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1d4f9c, #0b2a5e); min-height: 180px; display: flex; flex-direction: column; justify-content: space-between;
}
.bank-card-visual .chip { width: 38px; height: 28px; border-radius: 5px; background: linear-gradient(135deg, #d9c47a, #b8860b); }
.bank-card-visual .card-number { font-size: 18px; letter-spacing: .08em; font-weight: 600; font-family: monospace; }
.bank-card-visual .card-meta { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.bank-card-visual .brand-mark { position: absolute; bottom: 14px; right: 18px; font-size: 20px; font-style: italic; font-weight: 800; opacity: .9; }
.bank-card-visual.is-mastercard { background: linear-gradient(135deg, #1a1a2e, #3a2a5e); }
.bank-card-visual.is-frozen { filter: grayscale(.7); opacity: .85; }

/* ============================================================
   Realistic credit card (card-face)
   ============================================================ */
.card-face {
  position: relative; width: 100%; aspect-ratio: 1.586;
  border-radius: 16px; color: #fff; overflow: hidden; padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: "Plus Jakarta Sans", ui-monospace, monospace;
  box-shadow: 0 18px 40px rgba(11, 42, 94, .28);
  user-select: none;
}
.card-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(140% 90% at 12% 0%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(120% 100% at 100% 100%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 46%);
}
.card-face--visa { background: linear-gradient(135deg, #12348f 0%, #1f4fc4 52%, #0b2a5e 100%); }
.card-face--mastercard {
  background: linear-gradient(135deg, #181a23 0%, #262a38 55%, #0b0d14 100%);
}
.card-face.is-frozen { filter: grayscale(.85) opacity(.82); }

.card-face .cf-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.card-face .cf-issuer { font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.card-face .cf-issuer em { font-style: normal; color: #e8c466; }

.card-face .cf-eye {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10); color: #fff; cursor: pointer; padding: 0;
  transition: background .15s, transform .15s;
}
.card-face .cf-eye:hover { background: rgba(255,255,255,.22); }
.card-face .cf-eye:active { transform: scale(.94); }
.card-face .cf-eye svg { width: 17px; height: 17px; }
.card-face .cf-eye svg:last-child { display: none; }
.card-face.is-revealed .cf-eye svg:first-child { display: none; }
.card-face.is-revealed .cf-eye svg:last-child { display: block; }

.card-face .cf-chip {
  position: relative; z-index: 1; width: 46px; height: 34px; border-radius: 7px;
  background: linear-gradient(135deg, #f0d890, #c9a83f 45%, #9a7b26);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.3);
}
.card-face .cf-chip i {
  position: absolute; inset: 6px; border: 1px solid rgba(74,52,10,.5); border-radius: 3px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(74,52,10,.35) 6px 8px);
}
.card-face .cf-chip i::after {
  content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px;
  background: rgba(74,52,10,.45);
}

.card-face .cf-number { position: relative; z-index: 1; font-size: clamp(16px, 3.4vw, 21px); letter-spacing: .12em; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.25); white-space: nowrap; }
.card-face .cf-number .cf-num-full { display: none; }
.card-face.is-revealed .cf-number .cf-num-masked { display: none; }
.card-face.is-revealed .cf-number .cf-num-full { display: inline; }

.card-face .cf-row { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 26px; }
.card-face .cf-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-face .cf-col small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 600; }
.card-face .cf-col strong { font-size: 13px; letter-spacing: .06em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-face .cf-cvv .cf-cvv-full { display: none; }
.card-face.is-revealed .cf-cvv .cf-cvv-masked { display: none; }
.card-face.is-revealed .cf-cvv .cf-cvv-full { display: inline; }

.card-face .cf-brandmark { position: absolute; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; }
.card-face .cf-brandmark.is-visa { font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.card-face .cf-brandmark.is-mastercard { display: inline-flex; }
.card-face .cf-brandmark.is-mastercard i { width: 26px; height: 26px; border-radius: 50%; }
.card-face .cf-brandmark.is-mastercard i:first-child { background: #eb001b; transform: translateX(9px); }
.card-face .cf-brandmark.is-mastercard i:last-child { background: #f79e1b; mix-blend-mode: screen; transform: translateX(-9px); }

@media (max-width: 560px) {
  .card-face { padding: 16px 18px; border-radius: 14px; }
  .card-face .cf-chip { width: 40px; height: 30px; }
  .card-face .cf-row { gap: 18px; }
  .card-face .cf-col strong { font-size: 12px; }
  .card-face .cf-brandmark.is-visa { font-size: 17px; }
}

/* ============================================================
   Cards page (card manager)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: start;
}
.card-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  min-width: 0;
}
.card-item .card-face { box-shadow: 0 16px 34px rgba(11, 42, 94, .2); }
.card-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-item-meta { display: flex; flex-direction: column; gap: 8px; }
.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.card-actions .btn { justify-content: flex-start; overflow: hidden; }
.card-actions .btn svg { width: 15px; height: 15px; flex: none; }
.card-actions .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) {
  .card-grid { gap: 16px; }
  .card-item { padding: 14px; }
  .card-actions { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-body { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-box { width: 100%; max-width: 440px; }
.auth-card { background: var(--surface); border-radius: 16px; padding: 36px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.auth-brand img { height: 46px; }
.auth-card h1 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }
.demo-credentials { margin-top: 18px; background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: var(--text-2); }

/* ============================================================
   APP SHELL (dashboard/sidebar/header)
   ============================================================ */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); background: var(--primary-dark); color: #cdd8ee; position: fixed; top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column; z-index: 1300; transition: transform .22s ease;
}
.sidebar .brand { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand img { height: 32px; }
.sidebar .brand-text { color: #fff; font-size: 17px; }
.sidebar .brand-text span { color: var(--gold); }
.side-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.side-nav .nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8295b8; padding: 12px 12px 6px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #cdd8ee;
  font-size: 14px; font-weight: 500; margin-bottom: 2px; transition: background .15s, color .15s;
}
.side-nav a svg { width: 18px; height: 18px; opacity: .85; flex: none; }
.side-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-nav a.active { background: var(--accent); color: #fff; }
.side-nav .nav-count { margin-left: auto; background: var(--danger); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.sidebar-foot { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8295b8; }

.app-main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-width: 0; }

.app-header {
  height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px; padding: 0 24px; position: sticky; top: 0; z-index: 1100;
}
.app-header .hdr-title { font-size: 17px; font-weight: 700; }
.app-header .hdr-search { flex: 1; max-width: 380px; position: relative; }
.app-header .hdr-search input { padding-left: 36px; }
.app-header .hdr-search .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.app-header .spacer { flex: 1; }
.app-content { padding: 26px 26px 110px; flex: 1; }

/* user chip in header */
.user-chip { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.user-chip:hover { background: var(--surface-2); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; overflow: hidden; flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 52px; height: 52px; font-size: 20px; }
.avatar-lg img, .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xl { width: 64px; height: 64px; font-size: 24px; }
.notif-bell { position: relative; background: none; border: none; color: var(--text-2); cursor: pointer; padding: 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; }
.notif-bell:hover { background: var(--surface-2); }
.notif-bell .icon { width: 20px; height: 20px; }
.notif-bell .icon svg { width: 20px; height: 20px; }
.notif-bell .dot { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); border: 2px solid var(--surface); }

/* mobile menu button (app) */
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px; cursor: pointer; color: var(--text-2); }

/* ============================================================
   FLOATING BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 1300;
  display: flex; align-items: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px; box-shadow: 0 12px 34px rgba(18,58,126,.22);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 14px; border-radius: 999px; color: var(--text-2);
  font-size: 10px; font-weight: 600; text-decoration: none; min-width: 60px;
  transition: color .15s, background .15s, transform .15s;
}
.bottom-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.bottom-nav a.is-blue { background: var(--primary); color: #fff; }
.bottom-nav a.is-blue:hover { background: var(--primary-dark); color: #fff; }
.bottom-nav a.active { background: var(--surface); color: var(--primary); box-shadow: 0 4px 14px rgba(18,58,126,.35); }
.bottom-nav a.is-blue.active { background: var(--surface); color: var(--primary); }
.bottom-nav a .icon { width: 20px; height: 20px; }
.bottom-nav a .icon svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .bottom-nav { bottom: 12px; padding: 7px; gap: 2px; width: calc(100% - 24px); justify-content: space-between; }
  .bottom-nav a { min-width: 0; flex: 1; padding: 7px 6px; }
}
@media (max-width: 360px) {
  .bottom-nav a { font-size: 9px; }
}

/* ============================================================
   ADMIN SHELL (lighter sidebar)
   ============================================================ */
.admin-sidebar { width: var(--sidebar-w); background: #0f2239; color: #b9c6da; }
.admin-sidebar .side-nav a { color: #b9c6da; }
.admin-sidebar .side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar .side-nav a.active { background: var(--accent); color: #fff; }
.admin-sidebar .brand-text { color: #fff; }

/* ============================================================
   MISC APP COMPONENTS
   ============================================================ */
.welcome-banner {
  background: linear-gradient(120deg, var(--primary), #1c4f9c); color: #fff; border-radius: var(--radius);
  padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap;
}
.welcome-banner h2 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.welcome-banner p { color: rgba(255,255,255,.8); margin: 0; font-size: 14px; }
.welcome-banner .avatar-lg { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }

.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.stat-card .stat-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat-card .stat-value { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.stat-card .stat-trend { font-size: 12px; margin-top: 4px; }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-action {
  display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px; cursor: pointer;
  color: var(--text-2); font-size: 13px; font-weight: 600; text-align: center; transition: border-color .15s, color .15s, background .15s;
}
.quick-action:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.quick-action .qa-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.quick-action .qa-icon svg { width: 22px; height: 22px; }

.balance-panel { display: flex; align-items: center; gap: 14px; }
.balance-panel .balance-label { font-size: 13px; color: var(--muted); }
.balance-panel .balance-amount { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.balance-panel .balance-sub { font-size: 12px; color: var(--muted); }

/* transaction list item */
.tx-list { display: flex; flex-direction: column; }
.tx-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.tx-item:last-child { border-bottom: none; }
.tx-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-2); flex: none; border: 1px solid var(--border); }
.tx-icon .icon { width: 20px; height: 20px; }
.tx-icon .icon svg { width: 20px; height: 20px; }
.tx-icon > svg { width: 20px; height: 20px; }
.tx-info { flex: 1; min-width: 0; }
.tx-info .tx-title { font-size: 14px; font-weight: 600; }
.tx-info .tx-sub { font-size: 12px; color: var(--muted); }
.tx-amount { font-weight: 700; font-size: 14px; text-align: right; white-space: nowrap; }

/* notifications list */
.notif-list { display: flex; flex-direction: column; }
.notif-item { display: flex; gap: 14px; padding: 14px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.notif-item.unread { background: var(--primary-soft); }
.notif-item:last-child { border-bottom: none; }
.notif-item .notif-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.notif-item .notif-title { font-size: 14px; font-weight: 600; }
.notif-item .notif-msg { font-size: 13px; color: var(--text-2); }
.notif-item .notif-time { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* filter bar */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filter-bar .input, .filter-bar .select { width: auto; min-width: 160px; }
.filter-bar .grow { flex: 1; min-width: 220px; }

/* search field used inside filter bars */
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }
.search-field .icon svg { width: 18px; height: 18px; }
.search-field input { padding-left: 38px; }

/* detail rows */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.detail-item .k { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.detail-item .v { font-size: 14px; font-weight: 600; }
@media (max-width: 640px) { .detail-grid { grid-template-columns: 1fr; } }

/* step indicator for flows */
.step-flow { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.step-flow .step-pill { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.step-flow .step-pill .num { width: 24px; height: 24px; border-radius: 50%; background: var(--border); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.step-flow .step-pill.active { color: var(--primary); }
.step-flow .step-pill.active .num { background: var(--primary); color: #fff; }
.step-flow .step-pill.done { color: var(--success); }
.step-flow .step-pill.done .num { background: var(--success); color: #fff; }
.step-flow .step-line { flex: 1; max-width: 60px; height: 2px; background: var(--border); }

/* review screen */
.review-panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.review-panel .detail-item .k { color: var(--muted); }
.review-total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 10px; }
.review-total strong { font-size: 18px; }

/* loan product card */
.loan-product { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.loan-product .rate { font-size: 30px; font-weight: 800; color: var(--primary); }
.loan-product .rate span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* repay table monthly */
.repay-table .paid-row td { color: var(--muted); }

/* notification dropdown panel */
.notif-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 1600; display: none; max-height: 480px; overflow-y: auto; }
.notif-panel.open { display: block; animation: toast-in .15s ease; }
.notif-panel .np-head { padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.notif-panel .np-foot { padding: 12px 16px; border-top: 1px solid var(--border); text-align: center; }

/* ============================================================
   RESPONSIVE (beyond responsive.css for critical app states)
   ============================================================ */
@media (max-width: 1024px) {
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,.2); }
  .sidebar.open { transform: none; }
  .sidebar-backdrop { position: fixed; inset: 0; background: rgba(10,22,44,.5); z-index: 1250; display: none; }
  .sidebar-backdrop.open { display: block; }
  .app-main { margin-left: 0; }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 10px 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 24px; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 0; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero h1 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .app-content { padding: 18px 16px 40px; }
  .app-header { padding: 0 16px; }
  .app-header .hdr-search { display: none; }
  .welcome-banner { padding: 20px; }
  .toast-container { left: 16px; right: 16px; max-width: none; }
  .notif-panel { width: 92vw; right: -12px; }
}