:root {
  --gc-navy: #071b33;
  --gc-navy-dark: #04111f;
  --gc-gold: #c6a24a;
  --gc-gold-light: #e4c767;
  --gc-gold-dark: #a9821c;
  --gc-cream: #fafaf8;
  --gc-progress-muted: #dbe3ef;
  --gc-focus-ring: 0 0 0 4px rgba(198,162,74,.18);
  --primary: var(--gc-navy);
  --primary-dark: var(--gc-navy-dark);
  --primary-soft: #f5f7fa;
  --gold: var(--gc-gold);
  --gold-light: var(--gc-gold-light);
  --gold-soft: #fff8e1;
  --bg: #f5f7fa;
  --card: var(--gc-cream);
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e3e8ef;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --violet: #7c3aed;
  --shadow: 0 18px 42px rgba(7,27,51,.14), 0 6px 14px rgba(7,27,51,.08);
  --soft-shadow: 0 10px 28px rgba(7,27,51,.08), 0 2px 8px rgba(7,27,51,.05);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.auth-body { background: #fff; }
.app-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 6px 0 34px rgba(13, 59, 135, .18);
  z-index: 20;
}
.brand { display: flex; align-items: center; height: 46px; padding: 4px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand img { height: 34px; width: auto; object-fit: contain; filter: brightness(1.08); }
.side-nav { display: grid; gap: 4px; padding: 18px 0; overflow-y: auto; }
.side-nav a, .logout-form button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
}
.side-nav a:hover, .logout-form button:hover { background: rgba(255,255,255,.10); color: #fff; }
.side-nav a.active { background: rgba(255,255,255,.14); border-left-color: var(--gold); color: #fff; }
.icon { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; font-weight: 800; }
.logout-form { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.main-frame { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 28px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-button, .avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
}
.avatar { background: linear-gradient(135deg, var(--primary), #12345a); color: #fff; border: 0; }
.content { padding: 28px; min-width: 0; }
.mobile-only { display: none; }

.auth-split { display: grid; grid-template-columns: minmax(420px, 54vw) minmax(360px, 1fr); min-height: 100vh; }
.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,27,51,.94), rgba(4,17,31,.97)),
    radial-gradient(circle at 72% 20%, rgba(198,162,74,.26), transparent 26%),
    linear-gradient(150deg, var(--primary) 0%, #12345a 100%);
}
.auth-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background:
    linear-gradient(118deg, transparent 0 32%, rgba(255,255,255,.16) 32% 33%, transparent 33%),
    linear-gradient(72deg, transparent 0 45%, rgba(255,255,255,.10) 45% 46%, transparent 46%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.06) 29px 30px);
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-logo { height: 42px; width: fit-content; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(198,162,74,.36); border-radius: 999px; background: rgba(198,162,74,.16); color: #f2d46b; font-size: 12px; font-weight: 750; }
.hero-copy h1 { margin: 22px 0 12px; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: 0; }
.hero-copy p { margin: 0; max-width: 560px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.glass-stat { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.glass-stat strong { display: block; color: var(--gold); font-size: 22px; }
.glass-stat span { color: rgba(255,255,255,.62); font-size: 12px; }
.security-note { color: rgba(255,255,255,.56); font-size: 13px; }
.auth-panel { display: grid; place-items: center; padding: 32px; background: linear-gradient(135deg, #fff, var(--bg)); }
.auth-card, .wizard-card, .panel, .card {
  background: var(--card);
  border: 1px solid rgba(226,232,240,.84);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}
.auth-card { width: min(440px, 100%); padding: 34px; }
.auth-card h2, .page-title h1, .section-title h2 { margin: 0 0 8px; color: var(--ink); }
.muted { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid.three { grid-template-columns: .7fr 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 13px; font-weight: 750; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--gc-gold);
  background: var(--gc-cream);
  box-shadow: var(--gc-focus-ring);
}
.validation-summary-errors, .field-validation-error { color: var(--danger); font-size: 13px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkbox { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.auth-alert {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 750;
}
.auth-create-link {
  display: inline-flex;
  justify-content: center;
  color: var(--primary);
  font-weight: 850;
}
.inline-link {
  color: var(--primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover {
  color: var(--gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #12345a);
  box-shadow: 0 12px 24px rgba(7,27,51,.18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn.secondary { background: #fff; color: var(--primary); border-color: var(--line); box-shadow: none; }
.btn.gold {
  background: linear-gradient(135deg, var(--gc-gold-light), var(--gc-gold-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(169,130,28,.24);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(7,27,51,.22);
}
.btn.gold:hover {
  box-shadow: 0 18px 36px rgba(169,130,28,.30);
}
.btn.ghost { background: var(--primary-soft); color: var(--primary); box-shadow: none; }
.btn.block { width: 100%; }

.page-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark) 70%, #06183a);
  box-shadow: var(--shadow);
}
.hero-banner:after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(198,162,74,.2); border-radius: 50%; right: -90px; top: -130px; }
.hero-banner > * { position: relative; z-index: 1; }
.hero-banner h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.05; }
.hero-banner p { max-width: 720px; color: rgba(255,255,255,.72); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.metric-card { padding: 18px; }
.metric-card .metric-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; margin-bottom: 14px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.metric-card strong { display: block; margin: 4px 0; font-size: 19px; }
.trend { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #f0fdf4; color: var(--success); }
.dashboard-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 18px; margin-bottom: 22px; }
.panel { padding: 22px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.donut-wrap { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 22px; }
.donut { width: 170px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--primary) 0 35%, var(--gold) 35% 63%, #10b981 63% 85%, #8b5cf6 85% 100%); position: relative; }
.donut:after { content: ""; position: absolute; inset: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.legend { display: grid; gap: 10px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 8px; }
.chart-bars { display: flex; align-items: end; gap: 10px; height: 190px; padding-top: 20px; }
.chart-bars span { flex: 1; min-width: 18px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #12345a, var(--primary)); }
.filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-tabs button { border: 0; border-radius: 8px; padding: 7px 10px; color: var(--muted); background: transparent; font-weight: 800; }
.filter-tabs button.active { color: #fff; background: var(--primary); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.holding-card, .product-card { padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.holding-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fund-art { height: 92px; border-radius: 12px; margin-bottom: 16px; background: linear-gradient(135deg, var(--primary-soft), #fff7d9); border: 1px solid var(--line); position: relative; overflow: hidden; }
.fund-art:after { content: ""; position: absolute; inset: auto -20px -55px auto; width: 140px; height: 140px; border-radius: 50%; background: rgba(7,27,51,.18); }
.kv { display: grid; gap: 9px; font-size: 13px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.badge { display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.badge.success { background: #ecfdf5; color: #047857; }
.badge.warning { background: #fffbeb; color: #b45309; }
.badge.danger { background: #fef2f2; color: #b91c1c; }
.badge.primary { background: var(--primary-soft); color: var(--primary); }
.activity-list { display: grid; gap: 16px; }
.activity { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; }
.activity-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.market-card { padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }

.wizard-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.wizard-side { padding: 32px; color: #fff; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); }
.wizard-side img { height: 38px; margin-bottom: 34px; }
.steps { display: grid; gap: 10px; margin-top: 26px; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: rgba(255,255,255,.56); }
.step.active, .step.done { background: rgba(255,255,255,.12); color: #fff; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.12); color: #fff; font-weight: 900; }
.step.active .step-number { background: var(--gold); }
.wizard-main { display: grid; place-items: start center; padding: 42px 24px; }
.wizard-card { width: min(980px, 100%); padding: 28px; }
.client-type-grid, .risk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.type-card, .risk-card, .upload-card {
  display: block;
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border .18s ease, background .18s ease, transform .18s ease;
}
.type-card:hover, .risk-card:hover, .upload-card:hover { border-color: var(--primary); background: #fbfdff; transform: translateY(-2px); }
.type-card strong, .risk-card strong { display: block; margin-bottom: 6px; color: var(--primary); }
.upload-card { border-style: dashed; background: var(--bg); }
.upload-card input { display: block; margin-top: 12px; }
.review-band { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.submitted { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, var(--bg), #edf2ff); }
.submitted-card { width: min(560px, 100%); text-align: center; padding: 38px; }
.checkmark { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary), #12345a); font-size: 40px; }

.data-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.data-table th { background: #f8fafc; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.pagination { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-top: 14px; }
.pagination button, .pager-link { border: 1px solid var(--line); background: #fff; color: var(--primary); border-radius: 8px; padding: 8px 11px; font-weight: 800; }
.pagination button.active, .pager-link.active { background: var(--primary); color: #fff; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; }
.tab { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; background: #fff; color: var(--muted); font-weight: 800; }
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.apply-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 60%) minmax(420px, 40%);
  background: #fff;
  overflow: hidden;
}
.apply-form-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 42px 46px;
  border-radius: 0 16px 16px 0;
  background: #fff;
  z-index: 2;
}
.apply-logo-row img, .apply-topbar img { height: 44px; width: auto; object-fit: contain; }
.apply-start-card {
  align-self: center;
  justify-self: center;
  width: min(450px, 100%);
  display: grid;
  gap: 20px;
}
.apply-kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.apply-start-card h1 {
  margin: 0 0 12px;
  color: #071433;
  font-size: 22px;
  line-height: 1.25;
}
.required { color: var(--danger); }
.field-hint { color: var(--success); font-size: 12px; }
.apply-select {
  min-height: 54px;
  border-color: #111827;
  background: #fff;
  font-weight: 750;
}
.apply-check { align-items: flex-start; line-height: 1.55; }
.apply-check input { margin-top: 4px; accent-color: var(--primary); }
.recaptcha-copy {
  margin: 0;
  color: #8a96ad;
  font-size: 11px;
  line-height: 1.55;
}
.apply-primary {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.apply-login-link {
  color: var(--primary);
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}
.apply-visual-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: 42px 30px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 62%, rgba(13, 142, 188, .52), transparent 34%),
    radial-gradient(circle at 78% 48%, rgba(201, 162, 39, .18), transparent 24%),
    linear-gradient(145deg, var(--primary-dark) 0%, #0b234b 48%, var(--primary) 100%);
  overflow: hidden;
}
.apply-visual-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.12) 0 1px, transparent 1px 90px),
    linear-gradient(20deg, transparent 0 54%, rgba(255,255,255,.08) 54% 55%, transparent 55%);
  opacity: .32;
}
.apply-visual-panel > * { position: relative; z-index: 1; }
.apply-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}
.pill-link.light { background: #fff; color: #1f2937; }
.gold-text { color: var(--gold); }
.apply-visual-content {
  align-self: center;
  justify-self: center;
  width: min(650px, 100%);
  text-align: center;
}
.apply-visual-content h2 {
  margin: 0 auto 22px;
  max-width: 620px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0;
}
.apply-visual-content p {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.65;
}
.wealth-card-stack {
  position: relative;
  width: min(420px, 82%);
  height: 320px;
  margin: 46px auto 0;
}
.wealth-card {
  position: absolute;
  display: grid;
  gap: 8px;
  width: 230px;
  min-height: 150px;
  padding: 22px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
}
.wealth-card.dark {
  left: 44px;
  top: 36px;
  transform: rotate(-13deg);
  background: linear-gradient(145deg, #050a14, #0c1e43);
}
.wealth-card.gold {
  right: 38px;
  top: 62px;
  transform: rotate(12deg);
  color: #172033;
  background: linear-gradient(145deg, #fff7d9, #d8b84d);
}
.wealth-card strong { font-size: 28px; }
.wealth-card small { opacity: .7; }
.floating-yield {
  position: absolute;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.floating-yield.top { left: -6px; top: 6px; }
.floating-yield.bottom { right: 0; bottom: 26px; }
.apply-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.apply-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.apply-dots span.active {
  width: 28px;
  background: var(--gold);
}

.linear-onboarding {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff 0 76%, #f1f4f9 76% 100%);
}
.apply-topbar {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 42px;
  background: #172033;
}
.apply-topbar nav { display: flex; align-items: center; gap: 12px; }
.linear-card {
  width: min(760px, calc(100% - 32px));
  margin: 42px auto 70px;
  display: grid;
  gap: 34px;
}
.linear-heading h1 {
  margin: 0;
  color: #071433;
  font-size: 28px;
}
.linear-heading p {
  margin: 5px 0 12px;
  color: #526179;
  font-size: 17px;
}
.linear-progress {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526179;
  font-size: 13px;
}
.progress-check, .captcha-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #17184d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.progress-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.progress-bars span {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
}
.progress-bars span.active { background: #17184d; }
.one-column { grid-template-columns: 1fr; gap: 18px; }
.one-column .field { gap: 10px; }
.field-label {
  display: block;
  margin-bottom: 10px;
  color: #334155;
  font-weight: 750;
}
.verify-block {
  width: min(430px, 100%);
  margin: 0 auto;
}
.captcha-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fafafa;
}
.captcha-box strong { margin-left: auto; color: #8a96ad; font-size: 12px; }
.captcha-check { background: var(--success); }
.link-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 850;
}
.otp-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.otp-row input {
  width: 42px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 20px;
  outline: 0;
}
.otp-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,162,74,.14); }
.password-rules {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: #8a96ad;
}
.password-rules li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  width: min(1280px, 100vw - 32px);
  margin-left: 50%;
  transform: translateX(-50%);
  overflow-x: auto;
  padding-bottom: 10px;
}
.mini-product {
  min-height: 140px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #17184d);
}
.mini-product:nth-child(3) {
  color: #172033;
  background: linear-gradient(135deg, #f8fafc, #e5e7eb);
}
.mini-product strong { font-size: 18px; }
.mini-product span { font-size: 13px; opacity: .86; }
.success-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #b8bec9;
}
.success-backdrop {
  position: absolute;
  inset: 70px 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 70px 20px;
  filter: blur(5px);
  opacity: .46;
  color: #172033;
  text-align: center;
}
.success-modal {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  padding: 0 0 24px;
  text-align: center;
}
.success-modal-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 22px 20px;
  color: #fff;
  background: linear-gradient(135deg, #17184d, #5663ad);
}
.success-modal h2 { margin: 0 0 6px; }
.success-medal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.success-modal > p {
  max-width: 330px;
  margin: 22px auto;
  line-height: 1.55;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .market-grid { grid-template-columns: 1fr; }
  .apply-shell { grid-template-columns: 1fr; }
  .apply-visual-panel { min-height: 620px; }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; transform: translateX(-105%); width: 280px; transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .mobile-only { display: inline-grid; }
  .topbar { padding: 12px 16px; }
  .search { display: none; }
  .content { padding: 18px; }
  .auth-split, .wizard-layout { grid-template-columns: 1fr; }
  .auth-visual { min-height: 42vh; padding: 30px; }
  .hero-stats { grid-template-columns: 1fr; }
  .wizard-side { display: none; }
  .form-grid, .client-type-grid, .risk-grid, .metric-grid, .card-grid { grid-template-columns: 1fr; }
  .page-title { align-items: start; flex-direction: column; }
  .hero-banner { padding: 24px; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .apply-form-panel { padding: 28px 22px; border-radius: 0; }
  .apply-visual-panel { padding: 28px 18px; min-height: 560px; }
  .apply-nav { justify-content: center; flex-wrap: wrap; }
  .apply-topbar { padding: 18px; }
  .linear-card { margin-top: 28px; }
  .progress-bars { gap: 8px; }
}

@media (max-width: 520px) {
  .auth-panel { padding: 18px; }
  .auth-card, .wizard-card, .panel { padding: 20px; }
  .hero-copy h1 { font-size: 38px; }
  .activity { grid-template-columns: 34px 1fr; }
  .activity > strong { grid-column: 2; }
  .apply-start-card { align-self: start; padding-top: 32px; }
  .apply-visual-content h2 { font-size: 34px; }
  .wealth-card-stack { width: 100%; height: 280px; }
  .wealth-card { width: 190px; }
  .wealth-card.dark { left: 12px; }
  .wealth-card.gold { right: 10px; }
  .otp-row { gap: 7px; }
  .otp-row input { width: 38px; }
}

.gc-start {
  min-height: 100vh;
  padding: 32px;
  background:
    linear-gradient(115deg, rgba(13, 59, 135, .045), transparent 38%),
    #f6f8fb;
}
.gc-start-inner {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--gc-cream);
  box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
  overflow: hidden;
}
.gc-start-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 18px 30px;
  border-bottom: 1px solid rgba(228,199,103,.22);
  background: linear-gradient(135deg, var(--gc-navy-dark), var(--gc-navy));
  box-shadow: 0 10px 28px rgba(7,27,51,.16);
}
.gc-start-head img, .gc-flow-head img { height: 42px; object-fit: contain; }
.gc-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 14px 28px rgba(13,59,135,.16);
}
.gc-logo-plate img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.gc-start-head a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  font-weight: 850;
}
.gc-flow-head a,
.gc-soft-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--gc-navy);
  background: var(--primary-soft);
  font-weight: 850;
}
.gc-start-head > a:not(.gc-logo-plate):hover {
  color: var(--gc-navy);
  background: linear-gradient(135deg, var(--gc-gold-light), var(--gc-gold));
}
.gc-start-head .gc-logo-plate {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 8px;
  color: #fff;
  min-width: 190px;
  min-height: 52px;
  padding: 10px 16px;
}
.gc-start-content {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 46px clamp(24px, 5vw, 72px);
}
.gc-start-content.single-register {
  grid-template-columns: minmax(360px, .78fr) minmax(760px, 980px);
  gap: 44px;
}
.gc-start-content.single-register .gc-start-copy {
  position: relative;
}
.gc-start-copy,
.gc-requirements-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,27,51,.90), rgba(7,27,51,.66)),
    linear-gradient(135deg, rgba(198,162,74,.24), transparent 46%),
    url("/images/gcib-bg-65ef9229.jpeg") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(7,27,51,.18);
}
.gc-start-copy:after,
.gc-requirements-copy:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.22) 38% 39%, transparent 39%),
    linear-gradient(70deg, transparent 0 56%, rgba(228,199,103,.20) 56% 57%, transparent 57%);
}
.gc-start-copy > *,
.gc-requirements-copy > * {
  position: relative;
  z-index: 1;
}
.gc-start-copy h1 {
  max-width: 500px;
  margin: 18px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  color: #fff;
}
.gc-start-copy p {
  max-width: 460px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.75;
}
.gc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a6500;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.gc-linked-ref {
  width: fit-content;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,39,.35);
  background: rgba(255,248,225,.14);
  color: #fff6cf;
}
.gc-onboarding-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.gc-onboarding-proof span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}
.gc-onboarding-proof span.done {
  background: #ecfdf5;
  color: #047857;
}
.gc-type-card {
  padding: 26px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(228,199,103,.10), transparent 48%),
    var(--gc-cream);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 24px 70px rgba(7,27,51,.12), 0 4px 12px rgba(7,27,51,.05);
}
.gc-type-intro {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.registration-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.registration-progress div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.registration-progress i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--gc-progress-muted);
}
.registration-progress i.active { background: linear-gradient(90deg, var(--gc-gold-dark), var(--gc-gold-light)); }
.gc-type-intro h2 { margin: 0 0 6px; font-size: 24px; }
.gc-type-intro p { margin: 0; color: var(--muted); }
.gc-requirements {
  display: grid;
  grid-template-columns: minmax(300px, 500px) minmax(440px, 680px);
  gap: clamp(32px, 6vw, 80px);
  align-items: stretch;
  justify-content: center;
  padding: 54px clamp(28px, 7vw, 110px);
}
.gc-requirements-copy {
  padding: clamp(28px, 4vw, 52px);
}
.gc-requirements-copy h1 {
  max-width: 520px;
  margin: 18px 0 16px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.05;
  color: #fff;
}
.gc-requirements-copy p {
  max-width: 480px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.8;
}
.gc-assurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.gc-assurance-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 750;
}
.gc-requirements-card {
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}
.requirement-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.requirement-type {
  position: relative;
  display: grid;
  grid-template-columns: 20px 34px 1fr;
  gap: 10px;
  min-height: 82px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}
.requirement-type:hover {
  transform: translateY(-1px);
  border-color: rgba(13,59,135,.35);
  box-shadow: 0 14px 30px rgba(13,59,135,.08);
}
.requirement-type:has(input:checked) {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(13,59,135,.06), #fff);
  box-shadow: 0 0 0 4px rgba(13,59,135,.08);
}
.requirement-type input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  grid-row: 1 / span 2;
}
.requirement-type > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  grid-row: 1 / span 2;
}
.requirement-type strong {
  grid-column: 3;
  color: var(--primary);
  font-size: 15px;
}
.requirement-type span {
  grid-column: 3;
  color: var(--muted);
  font-size: 12px;
}
.requirements-list {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}
.requirements-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.requirements-list-head h3 {
  margin: 0;
  font-size: 16px;
}
.requirements-list-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.requirement-row {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fafc;
}
.requirement-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
}
.requirement-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.requirement-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.requirement-row > .fa-circle-check {
  color: var(--success);
}
.document-summary-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  background: #fffdf5;
  border-color: #f1dfad;
}
.document-summary-row p {
  max-width: 520px;
}
.document-summary-row [data-document-type] {
  font-weight: 850;
  color: var(--primary);
}
.document-count {
  align-self: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #7a5d0c;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.document-requirements-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.document-requirements-card.compact {
  background: #f8fafc;
}
.compact-docs {
  padding: 0;
  overflow: hidden;
}
.compact-docs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px;
  color: var(--primary);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.compact-docs summary::-webkit-details-marker {
  display: none;
}
.compact-docs summary i {
  color: var(--muted);
  transition: transform .18s ease;
}
.compact-docs[open] summary i {
  transform: rotate(180deg);
}
.compact-docs > p,
.compact-docs > .document-requirements-list {
  margin: 0 14px 14px;
}
.document-requirements-list {
  display: grid;
  gap: 8px;
}
.document-requirement-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fafc;
}
.document-requirements-card.compact .document-requirement-row {
  background: #fff;
}
.document-requirement-row > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}
.document-requirement-row strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.document-requirement-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.document-requirement-row em {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #7a5d0c;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.document-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.gc-type-list { display: grid; gap: 12px; }
.gc-type-option {
  display: grid;
  grid-template-columns: 46px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: transform .18s ease, border .18s ease, box-shadow .18s ease;
}
.gc-type-option:hover {
  transform: translateY(-2px);
  border-color: rgba(13,59,135,.35);
  box-shadow: 0 14px 30px rgba(13,59,135,.08);
}
.gc-type-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}
.gc-type-option strong { display: block; color: var(--primary); font-size: 17px; }
.gc-type-option small { display: block; margin-top: 3px; color: var(--muted); }
.gc-type-arrow { color: var(--gold); font-size: 22px; font-weight: 900; }
.gc-register-footer, .gc-start-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 34px;
  color: var(--muted);
  background: #f8fafc;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.gc-register-footer { display: none; }

.gc-onboard {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fff, #f8fafc 72%),
    var(--bg);
}
.gc-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 38px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.gc-flow-head div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.gc-flow {
  width: min(1180px, calc(100% - 36px));
  margin: 36px auto 70px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
}
.gc-flow.compact {
  grid-template-columns: 380px minmax(0, 680px);
  justify-content: center;
}
.gc-flow-rail {
  position: sticky;
  top: 24px;
  align-self: start;
  min-height: 520px;
  padding: 28px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(201,162,39,.18), transparent 38%),
    linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}
.gc-flow-rail h1 {
  margin: 22px 0 14px;
  font-size: 34px;
  line-height: 1.1;
}
.gc-flow-rail p {
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}
.gc-mini-timeline {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}
.gc-mini-timeline span {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.gc-flow-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.gc-step-head {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.gc-step-head.one-step {
  grid-template-columns: 1fr;
}
.gc-step-label {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}
.gc-step-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
}
.gc-step-head p {
  margin: 0;
  color: var(--muted);
}
.three-bars { grid-template-columns: repeat(3, 1fr); }
.gc-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.gc-form-actions .btn { min-width: 150px; }
.gc-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.gc-security-grid .field:nth-child(3), .gc-security-grid .gc-verify-card { grid-column: 1 / -1; }
.gc-verify-card {
  padding: 18px;
  border: 1px solid rgba(13,59,135,.18);
  border-radius: 12px;
  background: var(--primary-soft);
}
.gc-verify-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.gc-contact-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gc-contact-preview span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.gc-security-rules {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.gc-security-rules li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--success);
}
.gc-products-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.gc-products-row article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #071433, var(--primary));
}
.gc-products-row article:nth-child(2) {
  background: linear-gradient(135deg, #fff7d9, var(--gold));
  color: #1f2937;
}
.gc-products-row span, .gc-products-row small { opacity: .78; }
.fund-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fund-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}
.fund-option:hover {
  transform: translateY(-1px);
  border-color: rgba(13,59,135,.35);
  box-shadow: 0 14px 28px rgba(13,59,135,.08);
}
.fund-option:has(input:checked) {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(13,59,135,.06), #fff);
  box-shadow: 0 0 0 4px rgba(13,59,135,.08);
}
.fund-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.fund-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}
.fund-option strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--primary);
  font-size: 14px;
}
.fund-option small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.fund-option em {
  justify-self: end;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #7a5d0c;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.fund-option b {
  position: absolute;
  right: 12px;
  top: -9px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.investment-range-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.range-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.range-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.range-option input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}
.gc-consent-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.gc-consent-panel.compact {
  margin-top: 0;
}
.gc-consent-panel .checkbox {
  align-items: flex-start;
  line-height: 1.45;
}
.gc-consent-panel .checkbox input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: #fff;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.gc-consent-panel .checkbox input[type="checkbox"]:checked {
  border-color: var(--gc-gold-dark);
  background: linear-gradient(135deg, var(--gc-gold-light), var(--gc-gold-dark));
}
.gc-consent-panel .checkbox input[type="checkbox"]:checked:after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.gc-consent-panel .checkbox input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: var(--gc-focus-ring);
}
.gc-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.gc-inline-note i {
  margin-top: 2px;
  color: var(--primary);
}
.gc-register-form {
  display: grid;
  gap: 20px;
  max-width: 980px;
}
.gc-register-form .form-grid {
  gap: 18px 20px;
}
.gc-register-form .form-grid.three {
  grid-template-columns: minmax(170px, .75fr) minmax(240px, 1fr) minmax(240px, 1fr);
}
.contact-grid {
  grid-template-columns: minmax(320px, .9fr) minmax(440px, 1.1fr);
}
.input-with-icon {
  position: relative;
}
.input-with-icon > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8da0bd;
  font-size: 14px;
  pointer-events: none;
}
.input-with-icon .input {
  padding-left: 42px;
}
.input-with-icon:focus-within > i {
  color: var(--gold);
}
.phone-combo {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(260px, 1fr);
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}
.phone-combo:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198,162,74,.14);
}
.phone-combo .input-with-icon .input {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.phone-combo .input-with-icon:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.country-select-native {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.intl-phone-combo {
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.intl-phone-combo:focus-within {
  border-color: transparent;
  box-shadow: none;
}
.intl-phone-combo .iti {
  display: block;
  width: 100%;
}
.intl-phone-combo .iti__flag-container {
  border-right: 1px solid var(--line);
}
.intl-phone-combo .iti__selected-flag {
  min-height: 48px;
  padding: 0 13px 0 15px;
  border-radius: 10px 0 0 10px;
  background: #f8fafc;
}
.intl-phone-combo .iti__selected-dial-code {
  margin-left: 8px;
  color: var(--ink);
  font-weight: 850;
}
.intl-phone-combo .iti__arrow {
  margin-left: 8px;
  border-top-color: var(--muted);
}
.intl-phone-combo .iti__country-list {
  width: min(420px, calc(100vw - 48px));
  max-height: 270px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 22px 50px rgba(11, 30, 51, .18);
  overflow-x: hidden;
  z-index: 60;
}
.intl-phone-combo .iti__country {
  padding: 10px 14px;
  font-size: 14px;
}
.intl-phone-combo .iti__dial-code {
  color: var(--muted);
}
.intl-phone-combo .input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.intl-phone-combo .input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198,162,74,.14);
}
.phone-country-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: #f8fafc;
  color: var(--ink);
  outline: 0;
  padding: 0 10px;
  font: inherit;
  font-weight: 850;
  min-width: 0;
  cursor: pointer;
}
.phone-country-trigger:focus {
  box-shadow: inset 0 0 0 2px rgba(198,162,74,.32);
}
.phone-flag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
  box-shadow: 0 0 0 1px rgba(15,23,42,.08);
  font-size: 16px;
  line-height: 1;
}
.phone-flag .fi,
.phone-list-flag .fi {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  line-height: 1;
}
.phone-flag-fallback {
  position: relative;
  z-index: 0;
  font-size: 14px;
  line-height: 1;
}
.phone-country-trigger [data-phone-code] {
  font-size: 12px;
  color: var(--primary);
  white-space: nowrap;
}
.phone-country-trigger i {
  color: var(--muted);
  font-size: 11px;
}
.phone-country-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 6px);
  left: 0;
  width: min(390px, calc(100vw - 32px));
  max-height: 270px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}
.phone-country-search {
  width: 100%;
  min-height: 40px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}
.phone-country-list {
  display: grid;
  max-height: 206px;
  overflow: auto;
}
.phone-country-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.phone-country-list small {
  color: var(--muted);
  margin-left: 4px;
}
.phone-list-flag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
  box-shadow: 0 0 0 1px rgba(15,23,42,.08);
  font-size: 16px;
  line-height: 1;
}
.phone-country-list button:hover,
.phone-country-list button.active {
  background: var(--primary-soft);
  color: var(--primary);
}
.password-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.password-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.password-checklist li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
}
.password-checklist li.valid {
  color: #047857;
  font-weight: 750;
}
.password-checklist li.valid:before { background: var(--success); }
.gc-secure-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.gc-security-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(11,30,51,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
}
.gc-security-panel h3 {
  margin: 0 0 4px;
  color: var(--gc-navy);
  font-size: 16px;
}
.gc-security-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.pin-input {
  letter-spacing: .22em;
  font-weight: 800;
}
.verify-start .gc-start-inner { min-height: calc(100vh - 64px); }
.gc-verify-layout {
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(320px, 460px);
  gap: 42px;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(24px, 6vw, 92px);
}
.verify-card { display: grid; gap: 20px; }
.otp-box-group {
  display: grid;
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  gap: 10px;
}
.otp-box {
  width: 100%;
  aspect-ratio: 1;
  min-height: 54px;
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.otp-box:focus {
  outline: 0;
  border-color: var(--gc-gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,.16);
  transform: translateY(-1px);
}
.gc-soft-link.centered {
  justify-content: center;
  background: transparent;
}
.otp-timer {
  display: flex;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.otp-timer strong {
  color: var(--ink);
}
.otp-resend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 4px;
}
.otp-resend-row .otp-timer {
  flex: 1;
  justify-content: flex-start;
  text-align: left;
}
.verify-actions {
  margin-top: 0;
  align-items: center;
}
.resend-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.resend-link.disabled,
.resend-link:disabled {
  color: #97a6bd;
  cursor: not-allowed;
  opacity: .68;
}
.auth-channel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-channel-option {
  cursor: pointer;
}
.auth-channel-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.auth-channel-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.auth-channel-option input:checked + span {
  border-color: var(--gc-gold);
  background: rgba(201,162,39,.1);
  color: var(--gc-navy);
  box-shadow: 0 0 0 4px rgba(201,162,39,.12);
}
.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.gc-post-login-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.gc-post-login-list strong {
  flex-basis: 100%;
  color: var(--ink);
  font-size: 14px;
}
.gc-post-login-list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 980px) {
  .gc-start { padding: 0; }
  .gc-start-inner { min-height: 100vh; border: 0; border-radius: 0; }
  .gc-start-content, .gc-flow, .gc-flow.compact, .gc-requirements { grid-template-columns: 1fr; }
  .gc-verify-layout { grid-template-columns: 1fr; }
  .gc-start-copy,
  .gc-requirements-copy {
    min-height: 320px;
  }
  .gc-flow-rail { position: static; min-height: auto; }
  .gc-step-head { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .gc-start-head, .gc-flow-head, .gc-register-footer, .gc-start-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .gc-start-content { padding: 30px 18px; }
  .gc-requirements { padding: 30px 18px; }
  .gc-type-card, .gc-flow-card, .gc-flow-rail { padding: 20px; }
  .gc-start-copy,
  .gc-requirements-copy {
    min-height: 260px;
    padding: 24px;
    border-radius: 16px;
  }
  .requirement-type-grid { grid-template-columns: 1fr; }
  .gc-logo-plate { min-width: 170px; min-height: 52px; }
  .gc-logo-plate img { height: 30px; }
  .gc-type-option { grid-template-columns: 40px 1fr; }
  .gc-type-arrow { display: none; }
  .gc-flow { width: calc(100% - 24px); margin-top: 18px; }
  .gc-security-grid, .gc-products-row, .fund-option-grid, .investment-range-grid { grid-template-columns: 1fr; }
  .phone-combo, .password-checklist { grid-template-columns: 1fr; }
  .phone-country-panel { width: 100%; }
  .gc-form-actions { flex-direction: column-reverse; }
  .gc-form-actions .btn { width: 100%; }
  .otp-resend-row {
    align-items: stretch;
    flex-direction: column;
  }
  .otp-resend-row .otp-timer {
    justify-content: center;
    text-align: center;
  }
}
