:root {
  --blue-950: #071450;
  --blue-900: #091d72;
  --blue-800: #0b2ba6;
  --blue-700: #0f46e8;
  --blue-600: #1557ff;
  --blue-100: #eaf1ff;
  --blue-50: #f5f8ff;
  --ink: #07123f;
  --muted: #5b6692;
  --line: #dce4f7;
  --soft: #f7f9fe;
  --green: #0b8f4f;
  --green-soft: #eaf8f1;
  --teal: #008a9a;
  --teal-soft: #e8fbfd;
  --orange: #c96c00;
  --orange-soft: #fff3df;
  --gold: #d49b18;
  --gold-soft: #fff7df;
  --red: #d92d20;
  --red-soft: #fff0f0;
  --purple: #6c3ef0;
  --purple-soft: #f1edff;
  --shadow: 0 18px 50px rgba(8, 24, 76, 0.08);
  --shadow-strong: 0 26px 70px rgba(8, 24, 76, 0.14);
  --ring: 0 0 0 4px rgba(21, 87, 255, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@keyframes phoneDrift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes sheen {
  0% {
    background-position: -140% 0;
  }

  100% {
    background-position: 140% 0;
  }
}

.waitlist-page .hero {
  align-items: start;
}

.waitlist-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
}

.waitlist-card {
  position: sticky;
  top: 92px;
}

.beta-path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.beta-path {
  display: grid;
  gap: 10px;
  min-height: 240px;
}

.beta-path .btn {
  align-self: end;
}

.preview-readiness-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.preview-readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.readiness-pillar {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 22px;
  border: 1px solid rgba(21, 87, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow);
}

.readiness-pillar p {
  margin-bottom: 0;
}

.readiness-points {
  display: grid;
  gap: 8px;
  align-self: end;
}

.readiness-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue-950);
  font-size: 0.88rem;
  font-weight: 850;
}

.demo-disclaimer {
  margin-top: 18px;
  border-color: #bcd0ff;
  background: var(--blue-50);
}

.flow-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.flow-card {
  max-width: 1040px;
  margin: 0 auto;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-950);
  text-decoration: none;
}

.flow-step span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #ffffff;
  font-weight: 900;
}

.flow-step small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.demo-next-panel {
  position: sticky;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: grid;
  gap: 10px;
  width: min(560px, calc(100% - 40px));
  margin: 20px 20px 20px auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.demo-next-panel p {
  margin: 4px 0 0;
}

.demo-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .waitlist-hero,
  .beta-path-grid,
  .preview-readiness-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .waitlist-card {
    position: static;
  }

  .demo-next-actions {
    justify-content: stretch;
  }

  .demo-next-actions .btn {
    flex: 1;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .preview-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fe 42%, #ffffff 100%);
  color: var(--ink);
  font-size: 15px;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  min-height: 100vh;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 28px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(21, 87, 255, 0.22);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 72px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(8, 24, 76, 0.04);
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar a,
.link-button {
  position: relative;
  color: var(--blue-950);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.topbar nav a::after,
.link-button::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-600);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.topbar nav a:hover::after,
.link-button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #b9c8ef;
  box-shadow: 0 10px 24px rgba(8, 24, 76, 0.08);
}

.btn.primary {
  border-color: var(--blue-600);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(135deg, var(--blue-600), var(--blue-800));
  background-size: 220% 100%, 100% 100%;
  color: #ffffff;
}

.btn.primary:hover {
  animation: sheen 1.2s ease;
  box-shadow: 0 16px 34px rgba(21, 87, 255, 0.24);
}

.btn.dark {
  border-color: var(--blue-950);
  background: var(--blue-950);
  color: #ffffff;
}

.btn.block {
  width: 100%;
}

.btn.subtle {
  background: var(--blue-50);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 50px;
  align-items: center;
  padding: 76px 72px 48px;
  background:
    linear-gradient(115deg, rgba(232, 251, 253, 0.72), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 63, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 18, 63, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 72%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
  animation: liftIn 0.62s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue-800);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(8, 24, 76, 0.05);
}

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

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-950);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--blue-950);
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 620px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.safe-note {
  display: flex;
  max-width: 590px;
  gap: 12px;
  padding: 16px;
  border: 1px solid #bcd0ff;
  border-radius: var(--radius);
  background: rgba(245, 248, 255, 0.92);
  color: var(--blue-950);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 16px 44px rgba(8, 24, 76, 0.06);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  perspective: 1200px;
}

.phone-frame {
  grid-row: span 2;
  width: min(100%, 360px);
  margin: auto;
  padding: 18px;
  border: 10px solid #111827;
  border-radius: 42px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(21, 87, 255, 0.22)) border-box;
  box-shadow: var(--shadow-strong);
  animation: phoneDrift 6s ease-in-out infinite;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: 13px;
  font-weight: 800;
}

.wallet-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-950));
  color: #ffffff;
}

.wallet-card::after {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 70%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  transform: rotate(18deg);
}

.wallet-card span,
.wallet-card small {
  color: rgba(255, 255, 255, 0.78);
}

.wallet-card strong {
  display: block;
  margin: 12px 0;
  font-size: 32px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.quick {
  display: grid;
  min-height: 72px;
  place-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, var(--soft));
  color: var(--blue-950);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.quick:hover {
  border-color: #b9c8ef;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 24, 76, 0.08);
}

.icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
}

.float-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.float-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 254, 0.92));
}

.float-card .icon {
  margin-bottom: 10px;
}

.float-card:hover,
.card:hover,
.feature-card:hover,
.rate-card:hover,
.setting-card:hover,
.metric:hover {
  transform: translateY(-4px);
  border-color: #b9c8ef;
  box-shadow: var(--shadow-strong);
}

.section {
  padding: 64px 72px;
}

.section.soft {
  background:
    linear-gradient(180deg, #f7f9fe, #eef4ff);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(8, 24, 76, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.reference-section {
  background: #ffffff;
}

.reference-board {
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.reference-board img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.reference-board:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.reference-board:hover img {
  transform: scale(1.02);
}

.demo-reference {
  margin-top: 18px;
  margin-bottom: 18px;
}

.centered-actions {
  justify-content: center;
}

.rates-strip {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rate-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rate-card strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.badge.red {
  background: var(--red-soft);
  color: var(--red);
}

.badge.purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.badge.gold {
  background: var(--gold-soft);
  color: #8a5f00;
}

.badge.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.75fr);
  background: var(--soft);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 72px;
  background: #ffffff;
}

.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 58px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 251, 253, 0.84), transparent 44%),
    linear-gradient(180deg, #ffffff, #eef4ff);
}

.auth-card {
  width: min(100%, 560px);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--blue-950);
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: var(--ring);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 272px minmax(0, 1fr);
  background: var(--soft);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.sidebar .brand {
  margin-bottom: 28px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--blue-950);
  font-weight: 800;
  text-decoration: none;
}

.nav-item.active {
  background: var(--blue-600);
  color: #ffffff;
}

.side-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--blue-950);
  color: #ffffff;
}

.side-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.workspace {
  min-width: 0;
}

.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.breadcrumb {
  min-width: max-content;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 850;
}

.access-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 18px;
  border-bottom: 1px solid #f2c56b;
  background: var(--orange-soft);
  color: #5c3700;
  font-size: 14px;
}

.role-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.role-switcher select {
  min-height: 38px;
  max-width: 210px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-950);
}

.search {
  display: flex;
  min-height: 44px;
  width: min(100%, 520px);
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #ffffff;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  font-weight: 850;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-950);
  color: #ffffff;
  font-weight: 900;
}

.workspace-main {
  padding: 34px 36px 48px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-950);
  font-size: 26px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 18px;
}

.page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.page-title-row h2 {
  margin: 8px 0 8px;
}

.card {
  min-width: 0;
  padding: 20px;
  overflow-x: auto;
}

.table {
  min-width: 680px;
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-size: 14px;
}

.table th,
.table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.stack {
  display: grid;
  gap: 14px;
}

.security-list {
  display: grid;
  gap: 10px;
}

.security-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.security-item span {
  color: var(--muted);
  text-align: right;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.route {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  font-weight: 850;
}

.route small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.notice {
  padding: 16px;
  border: 1px solid #f2c56b;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: #5c3700;
  line-height: 1.6;
}

.step-list,
.timeline {
  display: grid;
  gap: 12px;
}

.step-item,
.timeline-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.step-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #ffffff;
  font-weight: 900;
}

.step-item p,
.timeline-item p {
  margin: 4px 0 0;
  font-size: 14px;
}

.step-item em,
.timeline-item time {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.timeline-item > span {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 6px var(--blue-100);
}

.status-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.upload-zone {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px;
  border: 1px dashed #aabdf0;
  border-radius: var(--radius);
  background: var(--blue-50);
}

.upload-zone p {
  margin-bottom: 0;
}

.liveness-frame {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 87, 255, 0.08), rgba(11, 143, 79, 0.08)),
    #ffffff;
}

.face-guide {
  display: grid;
  width: min(70vw, 260px);
  height: 320px;
  place-items: center;
  border: 3px solid var(--blue-600);
  border-radius: 48% 48% 44% 44%;
  color: var(--blue-900);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.64);
}

.capture-controls,
.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.verified-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.dashboard-wallet {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dashboard-wallet .btn {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

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

.quick small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid.single {
  grid-template-columns: 1fr;
}

.detail {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.detail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail strong {
  color: var(--blue-950);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-row .search {
  flex: 1;
}

.quote-card {
  border-color: #bcd0ff;
  background: linear-gradient(180deg, #ffffff, var(--blue-50));
}

.quote-head,
.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.quote-head strong,
.receipt-amount {
  display: block;
  color: var(--blue-950);
  font-size: 34px;
}

.receipt-card {
  border-color: #bcd0ff;
}

.receipt-card .brand {
  font-size: 22px;
}

.receipt-card .brand-mark {
  width: 32px;
  height: 32px;
}

.action-list {
  display: grid;
  gap: 10px;
}

.rate-grid,
.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-card {
  display: grid;
  gap: 14px;
  min-height: 260px;
  align-content: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, var(--blue-50));
}

.chart-line {
  height: 150px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(21, 87, 255, 0.2) 18% 20%, transparent 20% 38%, rgba(21, 87, 255, 0.26) 38% 41%, transparent 41% 63%, rgba(21, 87, 255, 0.32) 63% 66%, transparent 66%),
    repeating-linear-gradient(0deg, #ffffff, #ffffff 29px, var(--line) 30px);
}

.vault-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.vault-card strong {
  color: var(--blue-950);
  font-size: 26px;
}

.progress-wrap {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--blue-100);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue-600));
}

.vault-detail-card {
  border-color: #bde6ce;
  background: linear-gradient(180deg, #ffffff, #f4fff8);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.setting-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.setting-card .btn {
  grid-column: 1 / -1;
}

.feature-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.referral-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-50);
}

.referral-box strong {
  display: block;
  margin: 10px 0;
  color: var(--blue-950);
  font-size: 28px;
}

.qr-placeholder {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px dashed var(--blue-600);
  border-radius: var(--radius);
  background:
    linear-gradient(45deg, #ffffff 25%, transparent 25% 75%, #ffffff 75%),
    linear-gradient(45deg, transparent 25%, var(--blue-100) 25% 75%, transparent 75%);
  background-size: 18px 18px;
  color: var(--blue-950);
  font-weight: 900;
}

.admin-shell {
  background: #f5f7fb;
}

.admin-sidebar {
  border-right: 0;
  background: #06123d;
  color: #ffffff;
}

.admin-sidebar .brand,
.admin-sidebar .nav-item,
.admin-sidebar h3 {
  color: #ffffff;
}

.admin-sidebar .brand small {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--blue-600);
  font-size: 11px;
}

.admin-sidebar .nav-item {
  color: rgba(255, 255, 255, 0.82);
}

.admin-sidebar .nav-item.active {
  background: var(--blue-600);
  color: #ffffff;
}

.admin-sidebar .side-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.admin-workspace .workspace-top {
  border-bottom-color: #d7def1;
}

.admin-warning {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #f2c56b;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: #5c3700;
}

.document-review {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: 16px;
}

.document-preview {
  display: grid;
  min-height: 300px;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px dashed #aabdf0;
  border-radius: var(--radius);
  background: var(--blue-50);
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: 380px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-950);
  box-shadow: var(--shadow);
}

.mobile-menu {
  display: none;
}

.hidden-field {
  display: none;
}

@media (max-width: 1100px) {
  .topbar {
    padding: 16px 24px;
  }

  .topbar nav {
    display: none;
  }

  .hero,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

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

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

  .rates-strip {
    grid-template-columns: 1fr 1fr;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .brand {
    font-size: 23px;
  }

  .top-actions .btn:not(.primary) {
    display: none;
  }

  .hero-visual,
  .auth-layout,
  .form-row,
  .rates-strip,
  .feature-grid,
  .metric-grid,
  .route-list {
    grid-template-columns: 1fr;
  }

  .auth-panel,
  .auth-aside {
    padding: 28px 20px;
  }

  .nav-list {
    grid-template-columns: 1fr 1fr;
  }

  .workspace-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .breadcrumb {
    min-width: 0;
  }

  .role-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .role-switcher select {
    max-width: 100%;
  }

  .workspace-main {
    padding: 24px 20px;
  }

  .page-title-row,
  .verified-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .step-item,
  .timeline-item,
  .detail-grid,
  .filter-row,
  .quote-head,
  .receipt-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .rate-grid,
  .vault-grid,
  .settings-grid,
  .feature-grid.compact {
    grid-template-columns: 1fr;
  }

  .referral-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-review,
  .admin-warning {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}
