/* ==========================================================================
   Limba — Design tokens (mirrors the Flutter app's AppColors + type scale)
   ========================================================================== */
:root {
  --color-primary: #D1520F;
  --color-primary-dark: #CE4705;
  --color-primary-light: #F58E57;

  --bg-top: #FEFBF6;
  --bg-bottom: #FEF6ED;
  --scaffold-bg: #FEFBF6;

  --text-dark: #0F172A;
  --text-medium: #64748B;
  --text-label: #334155;
  --text-placeholder: #94A3B8;

  --input-bg: #FFFBF8;
  --input-border: #FFD3BD;
  --input-border-focused: #D1520F;

  --white: #FFFFFF;
  --divider: #E2E8F0;
  --success: #24C82B;
  --success-light: #DCFCE7;
  --error: #DC2626;
  --error-light: #FEE2E2;
  --in-transit: #7C3AED;
  --in-transit-light: #EDE9FE;
  --card-bg: #FFFFFF;
  --card-border: #F1E8E1;
  --password-bar-bg: #FFEDE4;
  --gold: #E8A800;

  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--scaffold-bg);
  line-height: 1.5;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; color: var(--text-dark); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.bg-gradient {
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-white { background: var(--white); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1.5px solid var(--card-border); }
.btn-outline-primary { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn-error { background: var(--error); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.card-primary { background: var(--color-primary); color: var(--white); border: none; }
.card-shadow { box-shadow: var(--shadow-md); border: none; }

/* ---------- Badges / status chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.badge-pending { background: #FFF0E8; color: var(--color-primary); }
.badge-active { background: var(--color-primary); color: var(--white); }
.badge-accepted, .badge-delivered, .badge-paid, .badge-completed { background: var(--success-light); color: #166534; }
.badge-in-transit { background: var(--in-transit-light); color: var(--in-transit); }
.badge-rejected, .badge-cancelled { background: var(--error-light); color: var(--error); }
.badge-expired { background: #F1F5F9; color: var(--text-medium); }
.badge-arrived { background: #EFF6FF; color: #2563EB; }
.badge-picked-up { background: #E0F2FE; color: #0369A1; }

/* ── Location autocomplete dropdown ── */
.loc-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--white);
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    z-index: 200;
    overflow: hidden;
    max-height: 248px;
    overflow-y: auto;
}
.loc-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.4;
    border-bottom: 1px solid var(--card-border);
    transition: background .1s;
}
.loc-item:last-child { border-bottom: none; }
.loc-item:hover, .loc-item.loc-active { background: var(--bg); }
.loc-item svg { margin-top: 2px; opacity: .45; flex-shrink: 0; }
.loc-item span { flex: 1; }
.loc-loading, .loc-empty {
    padding: 14px;
    font-size: 12px;
    color: var(--text-placeholder);
    text-align: center;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-label);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.2;
  box-sizing: border-box;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field textarea { height: auto; padding: 14px 16px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--input-border-focused);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-placeholder); }
.phone-row { display: flex; gap: 10px; }
.phone-row .country-select { flex: 0 0 108px; padding-right: 32px; }
.phone-row input { flex: 1; min-width: 0; }
.input-icon { position: relative; }
.input-icon input,
.input-icon select { padding-left: 44px; }
.input-icon .icon {
  position: absolute;
  left: 16px;
  bottom: 0;
  height: 50px;
  display: flex;
  align-items: center;
  color: var(--text-placeholder);
  pointer-events: none;
}
.input-icon textarea { padding-left: 44px; }
.input-icon textarea ~ .icon { bottom: auto; top: 29px; height: 50px; }

/* ---------- Nav / Public layout ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 251, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: inline-flex; align-items: center; gap: 6px; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 48px; }
.nav-links a { font-family: var(--font-display); font-weight: 500; color: var(--text-dark); }
.nav-links a:hover { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.site-footer { background: var(--bg-bottom); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-medium); font-size: 14px; }
.footer-col ul a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 24px; text-align: center; color: var(--text-medium); font-size: 13px; }

/* ---------- Hero / marketing sections ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-primary); color: var(--white); }
.hero .container { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 56px; line-height: 1.15; font-weight: 700; }
.hero p.lead { font-size: 18px; opacity: 0.85; margin-top: 20px; max-width: 520px; }
.hero .hero-actions { display: flex; gap: 16px; margin-top: 32px; }
.hero-dot { position: absolute; width: 8px; height: 70px; background: rgba(24, 94, 247, 0.2); border-radius: 999px; }
.hero-art { position: relative; }
.hero-art img { border-radius: 100px; }

.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-title { font-size: 40px; font-weight: 700; text-align: center; max-width: 700px; margin: 0 auto 16px; }
.section-subtitle { font-size: 17px; color: var(--text-medium); text-align: center; max-width: 620px; margin: 0 auto 56px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.feature-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 32px; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: #FFF0E8; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--color-primary); font-size: 24px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-medium); font-size: 14px; line-height: 1.6; }

.stat-card { text-align: center; }
.stat-card .value { font-size: 40px; font-weight: 700; color: var(--color-primary); font-family: var(--font-display); }
.stat-card .label { color: var(--text-medium); font-size: 14px; margin-top: 6px; }

.cta-band { background: var(--color-primary); color: var(--white); border-radius: var(--radius-lg); padding: 64px; text-align: center; }
.cta-band h2 { font-size: 32px; margin-bottom: 16px; }
.cta-band p { opacity: 0.85; margin-bottom: 32px; }

/* ---------- Auth pages (split panel) ---------- */
.auth-split {
  display: flex;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 560px;
}
.auth-split-art {
  flex: 0 0 42%;
  background: var(--color-primary);
  position: relative;
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Shared blob base */
.auth-split-art::before {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.13);
  z-index: 0;
}
/* Register — wide organic blob sitting low behind portrait photo */
.auth-split-art.art-shape-register::before {
  width: 320px; height: 300px;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
/* Login — diagonal-leaning blob off-center right */
.auth-split-art.art-shape-login::before {
  width: 340px; height: 280px;
  bottom: -50px; left: 55%;
  transform: translateX(-50%) rotate(14deg);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
}
/* Reset password — tall narrow shape, slight counter-tilt */
.auth-split-art.art-shape-reset::before {
  width: 250px; height: 340px;
  bottom: -40px; left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  border-radius: 50% 50% 38% 62% / 68% 32% 52% 48%;
}
/* Security code / OTP — wide flat arc, tilted up-left */
.auth-split-art.art-shape-otp::before {
  width: 360px; height: 220px;
  bottom: -30px; left: 50%;
  transform: translateX(-50%) rotate(8deg);
  border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
}
/* Update password — leaf/teardrop, rotated */
.auth-split-art.art-shape-update::before {
  width: 280px; height: 320px;
  bottom: -50px; left: 50%;
  transform: translateX(-50%) rotate(-22deg);
  border-radius: 30% 70% 38% 62% / 62% 38% 70% 30%;
}
.auth-split-art .logo-white { margin-bottom: 36px; position: relative; z-index: 1; }
.auth-split-art .logo-white img { filter: brightness(0) invert(1); }

/* Reduced logo size inside the split auth panel */
.auth-split-art .logo-white img {
  height: 28px;
}

.auth-split-art h2 { color: var(--white); font-size: 28px; line-height: 1.3; margin-bottom: 12px; position: relative; z-index: 1; }
.auth-split-art p { color: rgba(255, 255, 255, 0.85); font-size: 13px; line-height: 1.6; max-width: 260px; position: relative; z-index: 1; }

/* Enlarged illustration image */
.auth-split-art img.art-photo {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  z-index: 1;
}

.auth-split-art img.art-photo.art-photo-bleed {
  left: -40px;
  right: -40px;
  bottom: 0;
  width: calc(100% + 80px);
  max-width: none;
  transform: none;
}

.auth-split-form { flex: 1; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.auth-split-form h1 { font-size: 26px; margin-bottom: 6px; }
.auth-split-form p.lead { color: var(--text-medium); font-size: 13px; margin-bottom: 28px; }
.auth-split-form .auth-footer { margin-top: 16px; font-size: 13px; }
.auth-fine-print { font-size: 11px; color: var(--text-placeholder); margin-top: 16px; line-height: 1.6; }
.auth-fine-print a { text-decoration: underline; color: var(--text-placeholder); }
.strength-track { height: 4px; border-radius: 4px; background: var(--input-border); margin-top: 8px; overflow: hidden; }
.strength-fill { height: 100%; width: 0%; transition: width 0.2s ease, background 0.2s ease; }
.strength-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-placeholder); margin-top: 6px; }
.strength-row [data-strength-label] { color: var(--success); font-weight: 600; }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle { position: absolute; right: 14px; bottom: 0; height: 50px; display: flex; align-items: center; background: none; border: none; color: var(--text-placeholder); cursor: pointer; }
.password-toggle .icon-eye-off { display: none; }
.password-toggle.is-visible .icon-eye { display: none; }
.password-toggle.is-visible .icon-eye-off { display: inline-block; }

@media (max-width: 760px) {
  .auth-split { flex-direction: column; min-height: 0; }
  .auth-split-art { padding: 28px; min-height: 220px; }
  .auth-split-art img.art-photo { display: none; }
  .auth-split-form { padding: 32px 28px; }
}

/* ---------- Auth pages ---------- */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px 40px; }
.auth-card .logo { justify-content: center; margin-bottom: 24px; }

/* Smaller logo inside the centered card auth screen */
.auth-card .logo img {
  height: 28px;
}

.auth-card h1 { font-size: 26px; text-align: center; margin-bottom: 8px; }
.auth-card p.lead { text-align: center; color: var(--text-medium); font-size: 14px; margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-medium); }
.auth-footer a { color: var(--color-primary); font-weight: 600; }
.otp-inputs { display: flex; gap: 12px; justify-content: center; margin: 24px 0; }
.otp-inputs input { width: 52px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; border-radius: var(--radius-md); border: 1px solid var(--input-border); background: var(--input-bg); }

/* ---------- App shell (authenticated dashboard) ---------- */
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--card-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.app-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-sidebar .logo { padding: 0 12px; }
.app-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-medium);
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.app-sidebar-close:hover { background: #FFF8F3; color: var(--color-primary); border-color: var(--color-primary); }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: 4px;
}
.sidebar-nav a:hover { background: #FFF8F3; color: var(--color-primary); }
.sidebar-nav a.active { background: var(--color-primary); color: var(--white); }
.sidebar-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-placeholder); padding: 0 14px; margin: 16px 0 4px; text-transform: uppercase; }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white); margin-left: auto; flex-shrink: 0; }

/* Collapsible settings group */
.nav-group { margin-bottom: 4px; }
.nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.nav-group-toggle:hover { background: #FFF8F3; color: var(--color-primary); }
.nav-group-toggle.active { background: var(--color-primary); color: var(--white); }
.nav-group-toggle .nav-dot { background: var(--white); }
.nav-group-chevron { margin-left: auto; flex-shrink: 0; transition: transform 0.22s ease; }
.nav-group.open .nav-group-chevron { transform: rotate(180deg); }
.nav-sub { display: none; padding-left: 14px; border-left: 2px solid var(--card-border); margin: 4px 0 4px 20px; }
.nav-group.open .nav-sub { display: block; }
.nav-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: 2px;
}
.nav-sub a:hover { background: #FFF8F3; color: var(--color-primary); }
.nav-sub a.active { background: var(--color-primary); color: var(--white); }
.nav-sub-label { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-placeholder); padding: 0 12px; margin: 10px 0 2px; text-transform: uppercase; }

.route-row { display: flex; gap: 12px; }
.route-line { display: flex; flex-direction: column; align-items: center; padding-top: 4px; flex-shrink: 0; }
.route-line .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.route-line .track { width: 1px; flex: 1; min-height: 22px; border-left: 1.5px dashed currentColor; opacity: 0.5; margin: 4px 0; }
.route-line .pin { display: flex; flex-shrink: 0; }
.route-row .route-text { flex: 1; min-width: 0; }

.profile-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 50;
  display: none;
}
.dropdown-menu.open { display: block; }
.dropdown-role {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.dropdown-item:hover { background: #FFF8F3; }
.dropdown-item .icon-svg { color: var(--text-medium); }
.dropdown-divider { height: 1px; background: var(--card-border); margin: 8px 4px; }
.dropdown-item-danger { color: var(--error); }
.dropdown-item-danger .icon-svg { color: var(--error); }
.kyc-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.kyc-approved { background: #E6F9F0; color: #16a34a; }
.kyc-pending  { background: #FEF9EC; color: #b45309; }
.kyc-rejected { background: #FEF2F2; color: var(--error); }

/* ---------- KYC step progress ---------- */
.kyc-steps { display: flex; align-items: center; margin-bottom: 36px; }
.kyc-steps .step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  background: var(--input-border); color: var(--text-medium);
}
.kyc-steps .step-num.done,
.kyc-steps .step-num.active { background: var(--color-primary); color: var(--white); }
.kyc-steps .step-line { flex: 1; height: 2px; background: var(--input-border); margin: 0 8px; }
.kyc-steps .step-line.done { background: var(--color-primary); }

.kyc-action-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
  padding: 36px;
  text-align: center;
  position: relative;
}
.kyc-action-card .close-btn { position: absolute; top: 18px; right: 18px; color: var(--text-placeholder); background: none; border: none; cursor: pointer; }
.kyc-action-card .status-icon { width: 64px; height: 64px; border-radius: var(--radius-md); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; transform: rotate(0deg); }
.kyc-action-card .perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; margin: 22px 0; }
.kyc-action-card .perk-card { background: #FAFAFA; border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 14px; }
.kyc-action-card .perk-card h4 { font-size: 13px; margin: 8px 0 4px; }
.kyc-action-card .perk-card p { font-size: 11px; color: var(--text-medium); line-height: 1.5; }
.doc-type-card {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--card-border); border-radius: var(--radius-md);
  padding: 14px 16px; cursor: pointer; margin-bottom: 12px;
}
.doc-type-card.selected { border-color: var(--color-primary); background: #FFF8F3; }
.upload-box {
  border: 1.5px dashed var(--input-border); border-radius: var(--radius-md);
  padding: 24px 12px; text-align: center; cursor: pointer; background: #FAFAFA;
}
.upload-box .icon-svg { color: var(--color-primary); }
.upload-box span.label { display: block; font-size: 13px; font-weight: 600; color: var(--color-primary); margin-top: 8px; }
.upload-box span.hint { display: block; font-size: 10px; color: var(--text-placeholder); margin-top: 2px; }

.app-main { flex: 1; min-width: 0; background: var(--scaffold-bg); }
.app-topbar {
  height: 76px;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.app-content { padding: 32px; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.page-header h1 { font-size: 24px; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--card-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  flex-shrink: 0;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn-call,
.icon-btn-chat {
  background: #fff;
  border: 1.5px solid #EDE5DF;
  color: #64748B;
}
.icon-btn-call:hover,
.icon-btn-chat:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #FFF4EE;
}
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #E2E8F0; display: inline-flex; align-items: center; justify-content: center; color: var(--text-medium); flex-shrink: 0; }

/* ---------- Icon system ---------- */
.icon-svg { display: inline-block; vertical-align: -4px; flex-shrink: 0; }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFF0E8;
  color: var(--color-primary);
  flex-shrink: 0;
}
.icon-circle.icon-circle-success { background: var(--success-light); color: var(--success); }
.icon-circle.icon-circle-error { background: var(--error-light); color: var(--error); }
.icon-circle.icon-circle-info { background: #EFF6FF; color: #2563EB; }
.icon-circle.icon-circle-muted { background: #F1F5F9; color: var(--text-medium); }
.icon-circle.icon-circle-white { background: rgba(255,255,255,0.2); color: var(--white); }
.icon-circle.icon-circle-primary-solid { background: var(--color-primary); color: var(--white); }
.icon-circle-sm { width: 32px; height: 32px; }
.icon-circle-md { width: 40px; height: 40px; }
.icon-circle-lg { width: 56px; height: 56px; }
.icon-circle-xl { width: 80px; height: 80px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--card-border); background: var(--white); font-size: 13px; font-weight: 600; color: var(--text-medium); }
.tab.active { background: var(--color-primary); color: var(--white); border-color: var(--color-primary); }

.table-list { width: 100%; border-collapse: collapse; }
.table-list th { text-align: left; font-size: 12px; color: var(--text-placeholder); text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid var(--card-border); }
.table-list td { padding: 16px; border-bottom: 1px solid var(--card-border); font-size: 14px; }
.table-list tr:last-child td { border-bottom: none; }

.progress-track { height: 6px; border-radius: 4px; background: var(--input-border); overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-primary); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); display: none; align-items: center; justify-content: center; z-index: 100; }
.modal-overlay.open { display: flex; }
.modal-card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 32px; max-width: 420px; width: 90%; text-align: center; }
.modal-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-medium); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }

/* ---------- Home page (enterprise marketing) ---------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFF0E8; color: var(--color-primary);
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.eyebrow { display: block; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--color-primary); margin-bottom: 8px; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.check-row span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-medium); font-weight: 500; }
.check-row span .icon-svg { color: var(--success); }

.role-toggle { display: flex; justify-content: center; gap: 10px; margin: 0 auto 56px; flex-wrap: wrap; }
.role-toggle a {
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
  padding: 12px 24px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--card-border); font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--text-dark); background: var(--white);
}
.role-toggle a .icon-svg { display: block; flex-shrink: 0; }
.role-toggle a.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--white); }

.step-process { display: flex; align-items: flex-start; justify-content: center; gap: 0; position: relative; }
.step-process .step { flex: 1; max-width: 280px; text-align: center; padding: 0 16px; position: relative; }
.step-process--4 .step { max-width: 240px; padding: 0 14px; }
.step-process--4 .step-connector { flex: 0 0 44px; }
.step-process--4 .step-connector img { width: 44px; }
.step-process .step .step-num {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: #FFF0E8; color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.step-process .step .step-num .badge-num {
  position: absolute; top: -6px; right: -6px; background: var(--color-primary); color: #fff;
  font-size: 10px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-process .step h4 { font-size: 16px; margin-bottom: 8px; }

.step-process .step p { font-size: 13px; color: var(--text-medium); line-height: 1.6; }

.step-connector { flex: 0 0 88px; padding-top: 52px; text-align: center; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 28px; }
.service-card.featured { background: var(--color-primary); border-color: var(--color-primary); }
.service-card.featured h3, .service-card.featured p { color: var(--white); }
.service-card.featured p { opacity: 0.85; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.2); }
.service-card h3 { font-size: 16px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-medium); line-height: 1.6; }

.why-row { display: flex; gap: 32px; flex-wrap: wrap; }
.why-item { flex: 1; min-width: 200px; }
.why-item .service-icon { margin-bottom: 14px; }
.why-item h4 { font-size: 14px; margin-bottom: 6px; }
.why-item p { font-size: 12px; color: var(--text-medium); line-height: 1.6; }

.stats-band { background: var(--color-primary); color: var(--white); padding: 40px 0; }
.stats-row { display: flex; align-items: center; justify-content: space-between; gap: 0; }
.stats-row .stat-card { flex: 1; text-align: center; padding: 0 12px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.25); flex-shrink: 0; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.18); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.stats-band .value { color: var(--white); font-size: 26px; font-weight: 700; line-height: 1.1; }
.stats-band .label { color: rgba(255,255,255,0.8); font-size: 12px; margin-top: 4px; }

.mobile-app-band { background: var(--color-primary); color: var(--white); padding: 24px 0 0; overflow: hidden; }
.mobile-app-band .grid-2 { gap: 48px; }
.mobile-app-band .mobile-app-img { align-self: flex-end; }
.mobile-app-band .mobile-app-img img { display: block; width: 100%; border-radius: 24px 24px 0 0; }
.mobile-app-band .eyebrow { text-align: left; color: rgba(255,255,255,0.75); }
.mobile-app-band h2 { color: var(--white); font-size: 34px; margin-bottom: 14px; }
.mobile-app-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.store-btn img { display: inline-block; }
.store-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,0.5); color: #fff; font-weight: 600; font-size: 14px; }

.testimonial-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 14px; display: flex; gap: 2px; }
.testimonial-card p.quote { font-size: 14px; color: var(--text-medium); line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author strong { font-size: 13px; display: block; }
.testimonial-author span { font-size: 11px; color: var(--text-medium); }

.faq-band { background: var(--color-primary); padding: 80px 0; }
.faq-band .eyebrow, .faq-band .section-title { color: var(--white); }
.faq-item { background: var(--white); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: none; border: none; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-dark); text-align: left; }
.faq-item .faq-answer { padding: 0 22px 18px; font-size: 13px; color: var(--text-medium); line-height: 1.6; display: none; }
.faq-item button .icon-svg { transition: transform 0.2s ease; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open button .icon-svg { transform: rotate(180deg); }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin-top: 40px; }
.partner-logos span { color: rgba(255,255,255,0.7); font-family: var(--font-display); font-weight: 700; font-size: 15px; }

.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; color: var(--text-medium); }

/* ---------- About page ---------- */
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-dark); font-weight: 500; }
.checklist li .icon-svg { color: var(--success); margin-top: 2px; }

.dark-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 80px 40px;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.dark-cta::before { content: ''; position: absolute; inset: 0; background: rgba(0, 11, 56, 0.7); }
.dark-cta > * { position: relative; z-index: 1; }
.dark-cta h2 { color: var(--white); font-size: 28px; max-width: 640px; margin: 0 auto 24px; }

.baseline-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.baseline-card {
  flex: 1; min-width: 160px; max-width: 220px; text-align: center;
  border: 1.5px dashed var(--input-border); border-radius: var(--radius-lg);
  padding: 28px 16px;
}
.baseline-card .service-icon { margin: 0 auto 14px; }
.baseline-card span { font-size: 13px; font-weight: 600; color: var(--text-dark); }

.contact-method-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 18px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #FFF0E8; color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.contact-method-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.contact-method-card p { font-size: 12px; color: var(--text-medium); line-height: 1.5; margin-bottom: 10px; }
.contact-method-card a.value { display: inline-flex; align-items: center; gap: 4px; color: var(--color-primary); font-weight: 600; font-size: 12px; }

@media (max-width: 960px) {
  .step-process { flex-direction: column; align-items: stretch; gap: 12px; }
  .step-connector { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .why-row { flex-direction: column; }
  .mobile-app-band .grid-2 { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stats-row .stat-card { flex: 1 1 40%; padding: 0 8px; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  /* App sidebar becomes a fixed drawer on mobile */
  .app-sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 48px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
  }
  .app-shell.sidebar-open .app-sidebar { transform: translateX(0); }

  .app-sidebar-backdrop {
    display: block;
    pointer-events: none;
    opacity: 0;
  }
  .app-shell.sidebar-open .app-sidebar-backdrop {
    pointer-events: all;
    opacity: 1;
  }
}

/* ── Location autocomplete dropdown ──────────────────────────────────────── */
.loc-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 9999;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
}
.loc-dropdown-item {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  border-bottom: 1px solid var(--card-border);
  line-height: 1.4;
}
.loc-dropdown-item:last-child { border-bottom: none; }
.loc-dropdown-item:hover { background: #FFF5F0; color: var(--color-primary); }

/* ==========================================================================
   Mobile nav base styles (outside media queries)
   ========================================================================== */
/* App shell sidebar burger — hidden by default, shown on mobile */
.app-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dark);
  flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.app-burger:hover { background: #FFF8F3; border-color: var(--color-primary); color: var(--color-primary); }

/* App sidebar backdrop overlay */
.app-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(15, 23, 42, 0.52);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

/* Burger button — hidden by default, shown on mobile */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dark);
  flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.nav-burger:hover { background: #FFF8F3; border-color: var(--color-primary); color: var(--color-primary); }

/* ── Mobile Navigation Drawer ─────────────────────────────────────────────── */
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.mob-nav.open { display: flex; pointer-events: all; }

.mob-nav-panel {
  width: min(300px, 82vw);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 48px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  position: relative;
  z-index: 1;
}
.mob-nav.open .mob-nav-panel { transform: translateX(0); }

.mob-nav-backdrop {
  flex: 1;
  background: rgba(15, 23, 42, 0.52);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.mob-nav.open .mob-nav-backdrop { opacity: 1; }

/* Panel header */
.mob-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--card-border);
  background: var(--scaffold-bg);
  flex-shrink: 0;
}

.mob-nav-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-medium);
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.mob-nav-close:hover { background: #FFF8F3; color: var(--color-primary); border-color: var(--color-primary); }

/* Nav links */
.mob-nav-links { flex: 1; overflow-y: auto; }

.mob-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--card-border);
  transition: background .12s, color .12s, padding-left .12s;
  gap: 12px;
}
.mob-nav-links a:hover {
  background: #FFF8F3;
  color: var(--color-primary);
  padding-left: 26px;
}
.mob-nav-arrow {
  color: var(--text-placeholder);
  flex-shrink: 0;
  transition: transform .15s, color .15s;
}
.mob-nav-links a:hover .mob-nav-arrow {
  transform: translateX(3px);
  color: var(--color-primary);
}

/* Panel footer */
.mob-nav-foot {
  padding: 20px;
  border-top: 1px solid var(--card-border);
  background: var(--scaffold-bg);
  flex-shrink: 0;
}

.mob-nav-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.mob-nav-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-medium);
  transition: border-color .15s, color .15s, background .15s;
}
.mob-nav-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #FFF8F3;
}

/* ==========================================================================
   Responsive — Tablet  (≤ 960px)
   ========================================================================== */
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .app-burger { display: flex; }
  .app-sidebar-close { display: flex; }

  /* Section padding */
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 15px; margin-bottom: 36px; }

  /* CTA */
  .cta-band { padding: 40px 32px; }
  .cta-band h2 { font-size: 26px; }
  .dark-cta { padding: 56px 32px; }
  .dark-cta h2 { font-size: 24px; }

  /* Mobile app band — show text before image on tablet */
  .mobile-app-band .mobile-app-img { order: 2; max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Responsive — Large phone  (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .section { padding: 44px 0; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 14px; margin-bottom: 24px; }

  /* All grids collapse */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero .container { gap: 28px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 15px; }
  .hero .hero-actions { flex-direction: column; gap: 10px; }
  .hero .hero-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { padding: 44px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: center; text-align: center; }

  /* CTA */
  .cta-band { padding: 28px 20px; border-radius: var(--radius-md); }
  .cta-band h2 { font-size: 20px; }
  .dark-cta { padding: 40px 20px; }
  .dark-cta h2 { font-size: 20px; }

  /* Stats — 2-column grid */
  .stats-band { padding: 28px 0; }
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .stats-row .stat-card { padding: 20px 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stats-band .value { font-size: 24px; }
  .stats-band .label { font-size: 11px; }
  .stat-icon { width: 36px; height: 36px; margin-bottom: 8px; }

  /* App shell */
  .app-content { padding: 20px 16px; }
  .app-topbar { padding: 0 16px; height: 64px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header h1 { font-size: 20px; }

  /* Auth */
  .auth-card { padding: 32px 20px; border-radius: var(--radius-md); }
  .auth-shell { padding: 20px 16px; }
  .auth-split-form { padding: 32px 24px; }

  /* Mobile app section */
  .mobile-app-band { padding: 32px 0 0; }
  .mobile-app-band h2 { font-size: 24px; }
  .mobile-app-band p { font-size: 14px; margin-bottom: 20px; }
  .flex.gap-3 { flex-wrap: wrap; }
  .store-btn { flex: 1 0 auto; justify-content: center; min-width: 130px; }

  /* Role toggle */
  .role-toggle { gap: 8px; margin-bottom: 36px; }
  .role-toggle a { padding: 10px 14px; font-size: 13px; }

  /* Step process — card style on mobile */
  .step-process { gap: 10px; }
  .step-process .step {
    max-width: 100%;
    width: 100%;
    padding: 20px 16px;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .step-process .step .step-num { margin: 0 auto 14px; }

  /* Baseline row */
  .baseline-row { gap: 8px; }
  .baseline-card { min-width: 110px; padding: 16px 10px; }
  .baseline-card span { font-size: 12px; }

  /* Legal pages */
  .legal-layout { grid-template-columns: 1fr !important; }
  .legal-toc { display: none !important; }
  .legal-hero { padding: 40px 0 28px; }
  .legal-body { padding: 36px 0 56px; }

  /* Contact method cards — icon left, title + link stacked right */
  .contact-method-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 14px;
    row-gap: 3px;
    padding: 14px 16px;
    align-items: center;
  }
  .contact-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; margin-bottom: 0; }
  .contact-method-card h3 { grid-column: 2; grid-row: 1; font-size: 14px; margin-bottom: 0; }
  .contact-method-card p { display: none; }
  .contact-method-card a.value { grid-column: 2; grid-row: 2; }

  /* Pills / badges */
  .pill-badge { font-size: 11px; padding: 5px 10px; }
  .check-row { gap: 8px; }
  .check-row span { font-size: 12px; }

  /* Service grid (home) */
  .service-grid { grid-template-columns: 1fr; }

  /* Why row */
  .why-row { gap: 20px; }
}

/* ==========================================================================
   Responsive — Small phone  (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .section { padding: 32px 0; }
  .section-title { font-size: 20px; }
  .section-subtitle { font-size: 13px; }

  /* Typography */
  .hero h1 { font-size: 22px; }

  /* Buttons */
  .btn { font-size: 14px; padding: 12px 20px; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }

  /* OTP */
  .otp-inputs { gap: 8px; }
  .otp-inputs input { width: 42px; height: 46px; font-size: 18px; }

  /* Stats — keep 2-col but tighter */
  .stats-band .value { font-size: 20px; }
  .stats-band .label { font-size: 10px; }
  .stats-row .stat-card { padding: 16px 4px; }

  /* FAQ */
  .faq-item button { font-size: 13px; padding: 14px 16px; }

  /* Footer */
  .footer-col ul a { font-size: 13px; }
  .footer-bottom { font-size: 12px; }

  /* Step icon smaller */
  .step-process .step .step-num { width: 52px; height: 52px; }

  /* Mobile app band */
  .mobile-app-band h2 { font-size: 20px; }

  /* CTA band */
  .cta-band { padding: 24px 16px; }
  .cta-band h2 { font-size: 18px; }
}
