:root {
  --bg: #f4eee2;
  --bg-deep: #ece2cf;
  --surface: rgba(255, 248, 238, 0.82);
  --surface-strong: rgba(255, 253, 248, 0.96);
  --line: rgba(25, 44, 47, 0.12);
  --text: #152c2f;
  --muted: #5f7270;
  --primary: #0f766e;
  --primary-strong: #0a5b55;
  --accent: #d97706;
  --accent-soft: #f3c892;
  --danger: #b42318;
  --success: #0f766e;
  --shadow: 0 24px 60px rgba(24, 35, 34, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable Text", "Candara", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(145deg, var(--bg), var(--bg-deep));
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb,
.bg-grid {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite;
}

.bg-orb-a {
  top: -6rem;
  right: -4rem;
  background: rgba(217, 119, 6, 0.2);
}

.bg-orb-b {
  bottom: -8rem;
  left: -5rem;
  background: rgba(15, 118, 110, 0.18);
  animation-delay: -7s;
}

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 44, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 44, 47, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 1.1rem;
}

.nav-links,
.nav-actions,
.inline-actions,
.pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.9rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-strong);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-pill:hover {
  background: rgba(15, 118, 110, 0.12);
}

.lang-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
}

.lang-selector {
  position: relative;
}

.lang-selector > summary {
  list-style: none;
}

.lang-selector > summary::-webkit-details-marker {
  display: none;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--primary-strong);
  font-weight: 800;
  cursor: pointer;
}

.lang-globe {
  font-size: 0.9rem;
}

.lang-current-name {
  font-size: 0.82rem;
}

.lang-flag-mobile {
  display: none;
}

.lang-chevron {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.lang-selector[open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: 14rem;
  max-height: 24rem;
  overflow-y: auto;
  z-index: 80;
  padding: 0.35rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.38);
  display: grid;
  gap: 0.2rem;
  animation: dropdown-pop 0.16s ease-out;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.43rem 0.5rem;
  border-radius: 0.55rem;
  color: #dbeafe;
  font-weight: 700;
}

.lang-item .lang-flag {
  width: 1.2rem;
  text-align: center;
}

.lang-item .lang-code {
  min-width: 2ch;
  letter-spacing: 0.04em;
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 900;
}

.lang-item .lang-check {
  margin-left: auto;
  color: #22c55e;
  font-weight: 900;
}

.lang-item:hover,
.lang-item.active {
  background: rgba(59, 130, 246, 0.24);
}

.nav-links a,
.text-link {
  color: var(--primary-strong);
  font-weight: 700;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.user-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.user-chip small {
  color: var(--muted);
}

.page-shell {
  padding-bottom: 3rem;
}

.panel,
.balance-card,
.flash {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: fade-up 0.65s ease both;
}

.panel {
  padding: 1.35rem;
}

.panel-hero {
  background:
    linear-gradient(155deg, rgba(15, 118, 110, 0.14), rgba(255, 248, 238, 0.95)),
    var(--surface-strong);
}

.flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.flash {
  padding: 0.95rem 1.1rem;
}

.flash-success {
  border-left: 5px solid var(--success);
}

.flash-error {
  border-left: 5px solid var(--danger);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 0.9rem;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 66ch;
}

.page-hero,
.auth-layout,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.page-hero {
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.95fr);
  align-items: stretch;
  margin-bottom: 1rem;
}

.compact-hero {
  margin-bottom: 1rem;
}

.balance-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.96));
}

.balance-card span,
.stat-card span,
.timeline-item span,
.field span,
.feature-card p,
.contact-card span,
.contact-card small,
.review-summary small {
  color: var(--muted);
}

.balance-card strong,
.stat-card strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-card {
  display: grid;
  gap: 0.55rem;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  align-items: start;
}

.single-sidebar {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
}

.stack {
  display: grid;
  gap: 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head.compact {
  margin-bottom: 1.25rem;
}

.feature-grid,
.operations-grid,
.form-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.feature-card,
.operation-card,
.contact-card,
.timeline-item,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
}

.feature-card {
  padding: 1rem;
}

.operations-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operation-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.form-stack,
.field,
.timeline,
.contact-list,
.loan-review-list {
  display: grid;
  gap: 0.85rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-wide {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(21, 44, 47, 0.16);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 32px rgba(15, 118, 110, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 224, 203, 0.9));
  border: 1px solid rgba(21, 44, 47, 0.08);
}

.btn-tertiary {
  color: var(--primary-strong);
  background: rgba(15, 118, 110, 0.08);
}

.btn-block {
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(21, 44, 47, 0.08);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-dense td,
.table-dense th {
  padding: 0.72rem 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-neutral {
  color: var(--primary-strong);
  background: rgba(15, 118, 110, 0.1);
}

.pill-pending {
  color: #9a6700;
  background: rgba(217, 119, 6, 0.14);
}

.pill-approved,
.pill-completed {
  color: #116149;
  background: rgba(15, 118, 110, 0.14);
}

.pill-rejected,
.pill-failed {
  color: #912018;
  background: rgba(180, 35, 24, 0.12);
}

.amount-in {
  color: #0a6b4d;
  font-weight: 800;
}

.amount-out {
  color: #b42318;
  font-weight: 800;
}

.timeline-item,
.contact-card {
  padding: 0.95rem 1rem;
}

.timeline-item {
  display: grid;
  gap: 0.35rem;
}

.contact-card strong,
.review-summary strong,
.demo-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.auth-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
  min-height: calc(100vh - 145px);
}

.auth-copy {
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

.auth-card {
  align-self: center;
}

.demo-box {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(21, 44, 47, 0.08);
}

.demo-list {
  display: grid;
  gap: 0.75rem;
}

.demo-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.demo-card code {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.25rem 0.45rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.65);
}

.loan-review-list {
  gap: 1rem;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  padding: 1rem;
}

.review-summary p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
}

textarea {
  resize: vertical;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(14px, -18px, 0) scale(1.04);
  }
}

@media (max-width: 980px) {
  .topbar,
  .section-head {
    align-items: flex-start;
  }

  .page-hero,
  .auth-layout,
  .dashboard-grid,
  .single-sidebar,
  .review-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .operations-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100%, calc(100% - 1rem));
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-actions {
    justify-content: space-between;
  }

  .feature-grid,
  .operations-grid,
  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .user-chip {
    width: 100%;
  }

  .btn,
  .text-link {
    width: 100%;
  }

  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.site-shell {
  background: #eef2f7;
  color: #0f172a;
}

.site-wrap {
  width: min(1260px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell .panel {
  border: 1px solid #d5dde8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid #dce2ec;
  backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #0f172a;
}

.site-brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-brand-copy strong {
  font-size: 2rem;
  letter-spacing: 0.01em;
}

.site-brand-copy small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #64748b;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.55rem;
  background: #334155;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  flex-wrap: nowrap;
}

.site-nav a {
  color: #334155;
  font-weight: 650;
  font-size: 0.8rem;
  line-height: 1.25;
  padding: 0.48rem 0.56rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: #eef2f7;
  color: #0f172a;
}

.site-nav a.active {
  border-color: #9aa3b2;
  background: #f8fafc;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.portal-btn {
  min-height: 2.7rem;
  border-radius: 0.6rem;
  padding-inline: 1rem;
  background: #0f172a;
  box-shadow: none;
  font-size: 0.9rem;
}

.portal-btn:hover {
  background: #1e293b;
}

.site-shell .btn-secondary {
  border-radius: 0.6rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

.hamburger-btn {
  display: none;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  background: #ffffff;
  color: #334155;
  font-size: 1.1rem;
}

.site-main {
  padding: 0 0 2.5rem;
}

.site-footer {
  border-top: 1px solid #dce2ec;
  padding: 2rem 0 1.2rem;
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.footer-grid a {
  display: block;
  color: #334155;
  margin-bottom: 0.5rem;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.hero {
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.section {
  margin-bottom: 1rem;
}

.section-gap {
  margin-top: 1rem;
}

.site-shell .dark-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(59, 130, 246, 0.22), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(14, 165, 233, 0.16), transparent 34%),
    linear-gradient(100deg, #0b1836, #1f2f4f 50%, #0f1b3d);
  color: #f8fafc;
  border: 0;
}

.site-shell .dark-panel {
  background: linear-gradient(155deg, #0b1530, #152441);
  color: #e2e8f0;
  border: 0;
}

.scroll-indicator {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(191, 219, 254, 0.48);
  border-radius: 999px;
  font-size: 0.78rem;
  animation: pulse 1.5s ease infinite;
}

.copy-stack {
  display: grid;
  gap: 0.75rem;
}

.simple-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-shell .chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: #e7efff;
  border: 1px solid #bfd0ef;
  color: #1e3a5f;
  font-size: 0.82rem;
}

.section-cta {
  margin-top: 1rem;
}

.site-shell .disclaimer-box {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid #d2dceb;
  background: #f8fbff;
  color: #334155;
}

.site-shell pre {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  overflow-x: auto;
}

.site-shell pre code {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.82rem;
  white-space: pre;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.center-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #0f172a;
  color: #ffffff;
}

.site-shell .muted-text {
  color: #64748b;
}

.location-grid {
  display: grid;
  gap: 1rem;
}

.location-panel {
  padding: 1.35rem;
}

.location-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: #0b2148;
  font-size: 2rem;
}

.location-pin {
  color: #64748b;
  font-size: 1rem;
}

.branch-pill {
  display: inline-flex;
  align-items: center;
  height: 1.85rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #d7f4e5;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-card {
  border: 1px solid #d2dbe9;
  border-radius: 0.85rem;
  background: #f8fafc;
  padding: 0.7rem;
  min-height: 7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.partner-card strong {
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.25;
}

.partner-logo-box {
  width: 5.1rem;
  min-width: 5.1rem;
  height: 5.1rem;
  border-radius: 0.6rem;
  border: 1px solid #d5dde8;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  color: #475569;
  font-size: 0.8rem;
}

.solution-hero {
  padding: 5.2rem 0 5.8rem;
  background: linear-gradient(100deg, #0b1836, #1f2f4f 50%, #0f1b3d);
  color: #f8fafc;
}

.solution-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: #dbeafe;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.solution-hero h1 {
  max-width: 20ch;
  margin-bottom: 0.9rem;
}

.solution-hero .hero-subtitle {
  max-width: 52ch;
  color: #c7d2fe;
  font-size: 1.05rem;
}

.solution-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  border: 1px solid #d3dce9;
  border-radius: 1rem;
  background: #f1f5f9;
  padding: 1.6rem 1.4rem;
}

.solution-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #0f1b3d;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}

.solution-card h3 {
  color: #0b2148;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.solution-card p {
  color: #475569;
  margin-bottom: 0;
}

.process-panel {
  padding: 1.25rem;
}

.process-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #334155;
  display: grid;
  gap: 0.35rem;
}

.banking-hero {
  text-align: center;
  padding-top: 1.45rem;
  margin-bottom: 1rem;
}

.banking-hero h1 {
  margin-bottom: 0.7rem;
}

.banking-subtitle {
  max-width: 54ch;
  margin: 0 auto;
  color: #334155;
}

.banking-stats {
  max-width: 680px;
  margin: 1rem auto 0;
}

.network-cta-panel {
  text-align: center;
}

.system-shell {
  background: linear-gradient(160deg, #020617, #0f172a 45%, #111827);
  color: #e2e8f0;
}

.site-shell .lang-current {
  background: #f1f5f9;
  color: #334155;
  border-color: #d3dce8;
}

.site-shell .lang-menu {
  background: #ffffff;
  border-color: #d5ddeb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.site-shell .lang-item {
  color: #334155;
}

.site-shell .lang-item:hover,
.site-shell .lang-item.active {
  background: #eef2ff;
}

.system-shell .lang-current {
  background: rgba(15, 23, 42, 0.78);
  color: #dbeafe;
  border-color: rgba(148, 163, 184, 0.34);
}

.system-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.88);
  position: sticky;
  top: 0;
  z-index: 50;
}

.system-header-row {
  width: min(1420px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.system-top-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.system-layout {
  width: min(1420px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.system-sidebar {
  position: sticky;
  top: 5.4rem;
  align-self: start;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.75);
  padding: 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.system-sidebar a {
  color: #cbd5e1;
  padding: 0.5rem 0.65rem;
  border-radius: 0.55rem;
  font-weight: 600;
}

.system-sidebar a:hover {
  background: rgba(30, 64, 175, 0.32);
  color: #fff;
}

.system-sidebar hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  margin: 0.4rem 0;
}

.system-content {
  display: grid;
  gap: 1rem;
}

.alert-panel {
  border-left: 4px solid #f59e0b;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

select {
  width: 100%;
  border: 1px solid rgba(21, 44, 47, 0.16);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(1px);
  }
}

@keyframes dropdown-pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1200px) {
  .site-nav {
    display: none;
  }

  .site-header.menu-open .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0.75rem;
    right: 0.75rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.7rem;
    border-radius: 0.9rem;
    border: 1px solid #d1dae8;
    background: #ffffff;
    z-index: 60;
  }

  .site-header.menu-open .site-nav a {
    color: #334155;
  }

  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .two-col,
  .auth-grid,
  .system-layout {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-brand-copy small {
    display: none;
  }

  .site-brand-copy strong {
    font-size: 1.2rem;
  }

  .lang-current-name {
    display: none;
  }

  .lang-flag-mobile {
    display: inline-flex;
  }

  .solution-hero {
    padding: 3.2rem 0 3.6rem;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .location-title {
    flex-wrap: wrap;
  }
}
