@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --brand-orange: #f15a24;
  --brand-orange-dark: #d94814;
  --brand-blue: #1e5bb8;
  --brand-blue-dark: #0f3d7a;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --ok: #059669;
  --ok-bg: #ecfdf5;
  --warn: #d97706;
  --warn-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --info: #2563eb;
  --info-bg: #eff6ff;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --touch: 44px;
  --phone-w: 390px;
  --phone-h: 844px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #0b1220;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--brand-blue); text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topnav-inner {
  max-width: 1280px; margin: 0 auto; padding: 10px 16px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.brand-lockup { display: flex; gap: 10px; align-items: center; color: #fff; }
.brand-lockup img { width: 40px; height: 40px; border-radius: 10px; background: #000; object-fit: contain; }
.brand-lockup strong { display: block; font-family: var(--display); font-size: 0.95rem; }
.brand-lockup span { font-size: 0.72rem; color: #94a3b8; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links a, .nav-links button.nav-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #cbd5e1; border-radius: 999px; padding: 8px 12px;
  font-size: 0.78rem; font-weight: 600;
}
.nav-links a.active, .nav-links button.nav-chip.active,
.nav-links a:hover, .nav-links button.nav-chip:hover {
  background: var(--brand-orange); border-color: var(--brand-orange); color: #fff;
}
.demo-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.demo-bar select {
  background: #1e293b; color: #e2e8f0; border: 1px solid #334155;
  border-radius: 999px; padding: 8px 12px; font-size: 0.78rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--touch); padding: 0 16px; border-radius: var(--radius);
  border: 0; font-weight: 700; font-size: 0.92rem;
}
.btn-primary { background: var(--brand-orange); color: #fff; }
.btn-primary:hover { background: var(--brand-orange-dark); }
.btn-blue { background: var(--brand-blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 0.82rem; border-radius: 10px; }

.hero-overview {
  max-width: 900px; margin: 0 auto; padding: 40px 20px 24px; text-align: center; color: #fff;
}
.hero-overview h1 {
  margin: 0 0 10px; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.03em;
}
.hero-overview p { margin: 0 auto 18px; max-width: 58ch; color: #94a3b8; line-height: 1.6; }
.badge-sim {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(241,90,36,0.15); color: #fdba74; border: 1px solid rgba(241,90,36,0.35);
  border-radius: 999px; padding: 6px 12px; font-size: 0.75rem; font-weight: 700;
}

.mode-panel { display: none; }
.mode-panel.active { display: block; }

.gallery-section {
  max-width: 1100px; margin: 0 auto; padding: 28px 16px 8px; color: #e2e8f0;
}
.gallery-section h2 { margin: 0 0 4px; font-family: var(--display); font-size: 1.25rem; }
.gallery-section p { margin: 0; color: #94a3b8; font-size: 0.9rem; }
.phone-rail {
  display: flex; flex-direction: column; align-items: center; gap: 48px;
  padding: 20px 12px 64px;
}
.phone-unit { width: 100%; max-width: 420px; text-align: center; }
.phone-caption { margin-bottom: 12px; color: #cbd5e1; }
.phone-caption .num {
  color: var(--brand-orange); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.phone-caption h3 { margin: 4px 0 2px; color: #fff; font-family: var(--display); font-size: 1.05rem; }
.phone-caption p { margin: 0; font-size: 0.82rem; color: #94a3b8; }

.iphone {
  width: min(var(--phone-w), calc(100vw - 28px));
  height: min(var(--phone-h), 90vh);
  margin: 0 auto;
  background: linear-gradient(160deg, #3f3f46, #18181b);
  border-radius: 52px; padding: 10px;
  box-shadow: 0 0 0 2px #52525b, 0 28px 60px rgba(0,0,0,0.45);
  position: relative;
}
.iphone-screen {
  height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); position: relative;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 32px; background: #000; border-radius: 18px; z-index: 30; pointer-events: none;
}
.status {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; padding: 14px 22px 6px;
  font-size: 13px; font-weight: 700; background: inherit;
}
.status.light { color: #fff; }
.home-indicator {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 128px; height: 5px; border-radius: 99px; background: #0f172a; opacity: 0.8; z-index: 25; pointer-events: none;
}

.desktop-frame {
  width: min(1120px, 100%);
  margin: 0 auto 48px;
  background: #1c1c1e; border-radius: 14px; padding: 10px 10px 0;
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
}
.desktop-chrome {
  display: flex; align-items: center; gap: 6px; padding: 0 4px 8px;
}
.desktop-chrome i { width: 10px; height: 10px; border-radius: 50%; }
.desktop-chrome i:nth-child(1) { background: #ff5f57; }
.desktop-chrome i:nth-child(2) { background: #febc2e; }
.desktop-chrome i:nth-child(3) { background: #28c840; }
.desktop-url {
  flex: 1; margin-left: 8px; background: #2c2c2e; color: #a1a1aa;
  border-radius: 8px; padding: 6px 10px; font-size: 0.78rem;
}
.desktop-body { background: var(--bg); border-radius: 10px 10px 0 0; min-height: 640px; overflow: hidden; }

.interactive-stage {
  max-width: 1280px; margin: 0 auto; padding: 16px 16px 64px;
  display: grid; grid-template-columns: 280px 1fr; gap: 20px;
}
@media (max-width: 960px) {
  .interactive-stage { grid-template-columns: 1fr; }
}
.control-card {
  background: #111827; border: 1px solid #1f2937; border-radius: var(--radius-lg);
  padding: var(--space-4); color: #e5e7eb; height: fit-content; position: sticky; top: 72px;
}
.control-card h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1rem; }
.control-card p { margin: 0 0 12px; font-size: 0.82rem; color: #94a3b8; line-height: 1.45; }
.control-card .stack { display: flex; flex-direction: column; gap: 8px; }
.preview-host { display: flex; justify-content: center; align-items: flex-start; min-height: 70vh; }
.preview-host.desktop-mode { display: block; }
.guided-step {
  background: #0f172a; border-left: 3px solid var(--brand-orange);
  padding: 10px 12px; border-radius: 0 10px 10px 0; font-size: 0.82rem; margin-bottom: 12px;
}

.app-root { height: 100%; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.app-body { flex: 1; overflow-y: auto; padding: 12px 16px 88px; -webkit-overflow-scrolling: touch; }
.app-body.flush { padding: 0 0 88px; }
.splash-screen {
  min-height: 100%;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 20px 36px; color: #fff;
  position: relative;
}
.splash-screen::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.2) 8%, rgba(15,23,42,0.45) 42%, rgba(11,18,32,0.96) 88%);
}
.splash-modern::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: radial-gradient(120% 80% at 20% 100%, rgba(241,90,36,0.35), transparent 55%),
    radial-gradient(90% 70% at 90% 90%, rgba(30,91,184,0.4), transparent 50%);
  pointer-events: none;
}
.splash-hk::after {
  background: radial-gradient(120% 80% at 80% 100%, rgba(30,91,184,0.45), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(241,90,36,0.28), transparent 50%);
}
.splash-screen > * { position: relative; z-index: 1; }
.splash-top {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.splash-screen img.logo {
  width: 48px; height: 48px; border-radius: 14px; background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); margin: 0;
}
.splash-pill {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.splash-copy { padding-top: 48px; }
.splash-brand {
  margin: 0 0 6px !important; font-size: 0.78rem !important; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fdba74 !important; opacity: 1 !important;
}
.splash-screen h1 {
  margin: 0 0 10px; font-family: var(--display); font-size: clamp(1.85rem, 6vw, 2.15rem);
  letter-spacing: -0.04em; line-height: 1.05; max-width: 12ch;
}
.splash-screen p { margin: 0 0 16px; opacity: 0.92; line-height: 1.45; font-size: 0.95rem; max-width: 32ch; }
.splash-trust {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px;
}
.splash-trust span {
  font-size: 0.7rem; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14);
}
.btn-glass {
  background: rgba(255,255,255,0.12) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  backdrop-filter: blur(10px); margin-top: 8px;
}
.btn-glass:hover { background: rgba(255,255,255,0.2) !important; }
.btn-auth {
  min-height: 50px; border-radius: 14px; font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(241, 90, 36, 0.35);
}

/* Modern auth flows */
.auth-root { background: #f4f7fb; }
.auth-body { position: relative; min-height: 100%; padding: 0 !important; }
.auth-ambient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(241,90,36,0.16), transparent 55%),
    radial-gradient(70% 45% at 100% 0%, rgba(30,91,184,0.18), transparent 50%),
    linear-gradient(180deg, #eef3f9 0%, #f8fafc 45%, #f1f5f9 100%);
}
.auth-hk .auth-ambient {
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(30,91,184,0.2), transparent 55%),
    radial-gradient(70% 45% at 0% 10%, rgba(241,90,36,0.12), transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 50%, #f1f5f9 100%);
}
.auth-panel {
  position: relative; z-index: 1; padding: 18px 18px 36px;
  display: flex; flex-direction: column; min-height: 100%;
  animation: auth-rise 0.45s ease-out both;
}
@keyframes auth-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.auth-back {
  align-self: flex-start; border: 0; background: rgba(255,255,255,0.7);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  font-size: 0.8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 18px;
  min-height: 36px;
}
.auth-kicker {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-orange); margin-bottom: 6px;
}
.auth-title {
  margin: 0 0 6px; font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1;
}
.auth-sub { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.auth-role {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: rgba(15, 23, 42, 0.05); border-radius: 14px; margin-bottom: 14px;
}
.auth-role button {
  border: 0; background: transparent; min-height: 42px; border-radius: 11px;
  font-weight: 700; font-size: 0.84rem; color: var(--muted);
}
.auth-role button.on {
  background: #fff; color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.auth-card {
  background: rgba(255,255,255,0.88); border: 1px solid rgba(226,232,240,0.9);
  border-radius: 20px; padding: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}
.field-modern label {
  text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--ink-2); font-weight: 700;
}
.field-modern input, .field-modern select, .field-modern textarea {
  border-radius: 12px; background: #f8fafc; border-color: #e2e8f0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-modern input:focus, .field-modern select:focus {
  border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.12); outline: none;
}
.input-affix { position: relative; }
.input-affix input { padding-right: 64px; }
.affix-hint {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: #e2e8f0; padding: 4px 8px; border-radius: 8px;
}
.auth-row-links { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.auth-divider {
  display: flex; align-items: center; gap: 10px; margin: 14px 0;
  color: var(--muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.auth-legal, .auth-footer {
  margin: 12px 0 0; text-align: center; font-size: 0.75rem; color: var(--muted); line-height: 1.4;
}
.auth-linkish { margin-top: 8px; border-style: dashed !important; }
.otp-banner {
  background: linear-gradient(90deg, #fff7ed, #eff6ff); border: 1px solid #fed7aa;
  border-radius: 12px; padding: 10px 12px; font-size: 0.84rem; margin-bottom: 14px;
}
.otp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.otp-box {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1.5px solid #cbd5e1; background: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink);
}
.otp-box.focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.15); }
.sr-field { position: relative; }
.auth-profile-peek {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 12px;
  border-radius: 14px; background: #f1f5f9; border: 1px solid var(--line);
}
.app-body.flush.auth-body { padding-bottom: 0 !important; }

/* Post-login home */
.home-root { background: #f3f6fb; }
.home-body { position: relative; padding-top: 14px !important; }
.home-ambient {
  position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(241,90,36,0.18), transparent 55%),
    radial-gradient(80% 70% at 100% 0%, rgba(30,91,184,0.16), transparent 50%);
}
.home-hk .home-ambient {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(30,91,184,0.2), transparent 55%),
    radial-gradient(80% 70% at 0% 0%, rgba(241,90,36,0.12), transparent 50%);
}
.home-head, .home-hero, .home-quick, .home-section, .home-stats, .hk-lock-card {
  position: relative; z-index: 1;
}
.home-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px;
}
.home-greet { display: flex; gap: 12px; align-items: center; min-width: 0; }
.home-avatar {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #fff; font-weight: 800; font-family: var(--display); font-size: 1rem;
  box-shadow: 0 10px 24px rgba(30, 91, 184, 0.25);
}
.home-avatar.img { object-fit: cover; padding: 0; }
.home-hello {
  margin: 0; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-orange);
}
.home-name {
  margin: 2px 0 2px; font-family: var(--display); font-size: 1.35rem;
  letter-spacing: -0.03em; line-height: 1.1;
}
.home-meta { margin: 0; font-size: 0.78rem; color: var(--muted); }
.home-bell {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.9); color: var(--ink-2); position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.home-bell i {
  position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--brand-orange); color: #fff;
  font-size: 0.6rem; font-weight: 800; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.home-hero {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 188px;
  background-size: cover; background-position: center; margin-bottom: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.home-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(11,18,32,0.82) 78%);
}
.home-hero-copy {
  position: relative; z-index: 1; padding: 18px 16px 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 188px;
}
.home-hero-kicker {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fdba74; margin-bottom: 6px;
}
.home-hero-copy h3 {
  margin: 0 0 6px; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.03em;
}
.home-hero-copy p { margin: 0 0 12px; font-size: 0.86rem; opacity: 0.9; max-width: 28ch; }
.home-hero-copy .btn { align-self: flex-start; min-height: 42px; padding: 0 18px; }
.home-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px;
}
.home-quick button {
  border: 1px solid var(--line); background: rgba(255,255,255,0.92); border-radius: 16px;
  padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; color: var(--ink-2); min-height: 68px;
  box-shadow: var(--shadow-sm);
}
.hq-ico {
  width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fff7ed, #eff6ff); color: var(--brand-blue);
}
.hq-ico svg { width: 16px; height: 16px; }
.home-section { margin-bottom: 16px; }
.home-section-title {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.home-section-title h4 {
  margin: 0; font-family: var(--display); font-size: 1rem; letter-spacing: -0.02em;
}
.text-link {
  border: 0; background: transparent; color: var(--brand-blue); font-weight: 700; font-size: 0.78rem;
  min-height: auto; padding: 0;
}
.home-booking {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.home-booking.is-live {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.home-booking-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.home-booking-id { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.home-booking-when { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.home-booking-addr { margin: 10px 0; font-size: 0.84rem; color: var(--ink-2); line-height: 1.35; }
.home-booking-bar {
  height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin-bottom: 12px;
}
.home-booking-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
}
.home-booking-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.home-booking-foot strong { font-family: var(--display); color: var(--brand-orange); font-size: 1.1rem; }
.home-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.home-stats > div {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; text-align: center;
}
.home-stats b {
  display: block; font-family: var(--display); font-size: 0.95rem; letter-spacing: -0.02em; margin-bottom: 2px;
}
.home-stats span { font-size: 0.65rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.home-empty {
  background: #fff; border: 1px dashed #cbd5e1; border-radius: 18px; padding: 18px; text-align: center;
}
.home-empty h4 { margin: 0 0 6px; font-family: var(--display); }
.home-recent {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.hk-lock-card {
  background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}
.hk-lock-card h3 { margin: 0 0 6px; font-family: var(--display); }
.hk-lock-progress {
  height: 8px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin: 14px 0 8px;
}
.hk-lock-progress i {
  display: block; height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
}
.hk-offer-card {
  width: 100%; text-align: left; display: block; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-sm);
}
.hk-offer-earn { margin-top: 8px; font-size: 0.84rem; color: var(--muted); }
.hk-offer-earn b { color: var(--brand-orange); font-family: var(--display); }

/* Modern in-app pages (booking, jobs, profile, etc.) */
.app-modern { background: #f3f6fb; }
.page-body { position: relative; }
.page-ambient {
  position: absolute; inset: 0 0 auto 0; height: 200px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(241,90,36,0.14), transparent 55%),
    radial-gradient(80% 70% at 100% 0%, rgba(30,91,184,0.14), transparent 50%);
}
.app-modern.hk-tone .page-ambient {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(30,91,184,0.18), transparent 55%),
    radial-gradient(80% 70% at 0% 0%, rgba(241,90,36,0.1), transparent 50%);
}
.page-inner { position: relative; z-index: 1; animation: auth-rise 0.35s ease-out both; }
.app-modern .page-title {
  font-size: 1.55rem; letter-spacing: -0.03em; margin: 2px 0 6px;
}
.app-modern .page-sub { margin-bottom: 16px; }
.app-modern .card {
  border-radius: 18px; border-color: rgba(226,232,240,0.95);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  background: rgba(255,255,255,0.94);
}
.app-modern .selectable {
  border-radius: 16px; padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.app-modern .selectable.on {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30,91,184,0.12), var(--shadow-sm);
  background: linear-gradient(180deg, #f8fbff, #fff);
}
.app-modern .field label {
  text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--ink-2);
}
.app-modern .field input, .app-modern .field select, .app-modern .field textarea {
  border-radius: 12px; background: #f8fafc;
}
.app-modern .btn-primary.btn-block {
  min-height: 48px; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.28);
}
.app-modern .btn-ghost.btn-block { border-radius: 14px; min-height: 46px; }
.app-modern .notice, .app-modern .error-banner {
  border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
}
.app-modern .empty-state {
  background: #fff; border: 1px dashed #cbd5e1; border-radius: 18px;
  padding: 28px 16px; text-align: center; color: var(--muted);
}
.app-modern .step-progress {
  background: rgba(255,255,255,0.75); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 14px;
}
.app-modern .step-bar { height: 7px; }
.app-modern .camera-stage {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1); margin-bottom: 14px;
}
.app-modern .sig-pad {
  width: 100%; border-radius: 16px; border: 1px dashed #94a3b8; background: #fff;
}
.app-modern .pay-card {
  border-radius: 20px; padding: 20px; margin-bottom: 14px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1e5bb8 100%);
  color: #fff; box-shadow: 0 18px 40px rgba(30, 91, 184, 0.35);
}
.app-modern .price-hero {
  text-align: center; padding: 22px 16px; border-radius: 20px; margin-bottom: 12px;
  background: linear-gradient(180deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
}
.app-modern .success-hero {
  text-align: center; padding: 28px 18px; border-radius: 22px; margin-bottom: 14px;
  background: linear-gradient(180deg, #ecfdf5, #fff);
  border: 1px solid #bbf7d0;
}
.app-modern .list-card-btn {
  width: 100%; text-align: left; display: block; margin-bottom: 10px;
  background: rgba(255,255,255,0.95); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; box-shadow: var(--shadow-sm);
}
.app-modern .profile-hero-card {
  display: flex; gap: 12px; align-items: center; padding: 16px;
  border-radius: 20px; margin-bottom: 12px;
  background: linear-gradient(135deg, #0f172a, #1e5bb8); color: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}
.app-modern .profile-hero-card .muted { color: rgba(255,255,255,0.75); }
.app-modern .profile-hero-card .chip { background: rgba(255,255,255,0.15); color: #fff; }
.app-modern .action-stack .btn { margin-top: 8px; }
.app-modern .action-stack .btn:first-child { margin-top: 0; }
.app-modern .map-box { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.app-modern .ba-slider { border-radius: 18px; overflow: hidden; }

.page-title {
  font-family: var(--display); font-size: 1.35rem; font-weight: 800; margin: 4px 0 4px; letter-spacing: -0.02em;
}
.page-sub { color: var(--muted); font-size: 0.86rem; margin: 0 0 14px; line-height: 1.4; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.card h4 { margin: 0 0 4px; font-family: var(--display); font-size: 0.98rem; }
.muted { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.row { display: flex; gap: 10px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.avatar {
  width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: #e2e8f0; flex-shrink: 0;
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  background: var(--info-bg); color: var(--info);
}
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.danger { background: var(--danger-bg); color: var(--danger); }
.chip.neutral { background: #f1f5f9; color: var(--ink-2); }
.field { margin-bottom: 12px; }
.field label {
  display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--touch); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; background: #fff;
}
.segment {
  display: flex; background: #eef2f7; border-radius: var(--radius); padding: 4px; margin-bottom: 14px;
}
.segment button {
  flex: 1; border: 0; background: transparent; min-height: 40px; border-radius: 10px;
  font-weight: 700; font-size: 0.82rem; color: var(--muted);
}
.segment button.on { background: #fff; color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 22px; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.96); border: 1px solid var(--line);
  border-radius: 18px; padding: 8px 4px; box-shadow: var(--shadow);
}
.tabbar button {
  border: 0; background: transparent; color: var(--muted); font-size: 0.65rem; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 44px;
}
.tabbar button.on { color: var(--brand-blue); }
.tabbar svg { width: 20px; height: 20px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--brand-orange); letter-spacing: -0.03em; }
.list-row {
  display: flex; justify-content: space-between; gap: 8px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.list-row:last-child { border-bottom: 0; }
.selectable {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; margin-bottom: 8px; background: #fff; text-align: left; width: 100%;
}
.selectable.on { border-color: var(--brand-blue); box-shadow: 0 0 0 2px rgba(30,91,184,0.15); }
.checkline { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; font-size: 0.9rem; }
.map-box {
  height: 160px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: #e2e8f0; position: relative; margin-bottom: 12px;
}
.map-box .leaflet-container { height: 100%; width: 100%; }
.map-fallback {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  background: #e2e8f0; color: var(--ink-2); font-size: 0.85rem; text-align: center; padding: 16px; z-index: 5;
}
.map-box.failed .map-fallback { display: flex; }
.map-disclaimer { font-size: 0.7rem; color: var(--muted); margin: -4px 0 12px; }
.camera-stage {
  position: relative; height: 240px; border-radius: var(--radius-lg); overflow: hidden;
  background: #0f172a; margin-bottom: 12px;
}
.camera-stage img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.camera-frame {
  position: absolute; inset: 24px; border: 2px solid rgba(255,255,255,0.85); border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(15,23,42,0.35);
}
.sig-pad {
  height: 110px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: #fff; touch-action: none; width: 100%;
}
.ba-slider { position: relative; height: 180px; border-radius: var(--radius-lg); overflow: hidden; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .after { clip-path: inset(0 50% 0 0); }
.ba-slider input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 2;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.pay-card {
  background: linear-gradient(135deg, #1e3a8a, #1e5bb8 55%, #0f172a);
  color: #fff; border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px;
}
.toast {
  position: absolute; left: 16px; right: 16px; top: 52px; z-index: 40;
  background: #0f172a; color: #fff; border-radius: 12px; padding: 10px 12px;
  font-size: 0.82rem; box-shadow: var(--shadow); display: none;
}
.toast.show { display: block; }
.empty-state { text-align: center; padding: 32px 16px; color: var(--muted); }
.loading { text-align: center; padding: 24px; color: var(--muted); }
.error-banner {
  background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; font-size: 0.85rem;
}
.notice {
  background: var(--warn-bg); color: #92400e; border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; font-size: 0.8rem;
}

.site { background: #fff; min-height: 640px; }
.site-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
}
.site-nav .links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.site-hero {
  min-height: 320px; background-size: cover; background-position: center; color: #fff;
  display: flex; align-items: flex-end; padding: 36px 28px;
  position: relative;
}
.site-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,23,42,0.88), rgba(15,23,42,0.35));
}
.site-hero > div { position: relative; z-index: 1; max-width: 560px; }
.site-hero h1 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.site-section { padding: 28px 22px; }
.site-section h2 { margin: 0 0 12px; font-family: var(--display); }

.admin { display: grid; grid-template-columns: 248px 1fr; min-height: 720px; background: #f1f5f9; }
.admin-side {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 55%, #111827 100%);
  color: #94a3b8; padding: 14px 10px 24px; overflow-y: auto; max-height: 780px;
}
.admin-side .brand { display: flex; gap: 8px; align-items: center; color: #fff; padding: 6px 8px 14px; border-bottom: 1px solid #1e293b; margin-bottom: 10px; }
.admin-side .nav-group { margin-bottom: 10px; }
.admin-side .nav-group-label {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #64748b; padding: 6px 10px 4px;
}
.admin-side button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  color: #94a3b8; padding: 8px 10px; border-radius: 10px; font-size: 0.82rem; font-weight: 600;
}
.admin-side button.on, .admin-side button:hover { background: #1e293b; color: #fff; }
.admin-main { padding: 18px 20px 28px; background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 40%); min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.admin-crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px;
  font-size: 0.78rem; color: #64748b;
}
.admin-crumbs button {
  border: 0; background: transparent; color: var(--brand-blue); font-weight: 700; padding: 0; min-height: auto;
}
.admin-crumbs .sep { color: #cbd5e1; }
.admin-toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-search {
  flex: 1; min-width: 180px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; background: #fff;
}
.admin-login-wrap {
  min-height: 640px; display: flex; align-items: center; justify-content: center; padding: 32px 16px;
  background:
    radial-gradient(70% 50% at 10% 0%, rgba(241,90,36,0.14), transparent 55%),
    radial-gradient(60% 45% at 100% 10%, rgba(30,91,184,0.16), transparent 50%),
    linear-gradient(180deg, #eef2f7, #f8fafc);
}
.admin-login {
  width: 100%; max-width: 420px; background: rgba(255,255,255,0.92); border-radius: 22px; padding: 28px;
  border: 1px solid rgba(226,232,240,0.95); box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
  display: flex; flex-direction: column; gap: 10px; align-items: stretch; backdrop-filter: blur(12px);
}
.admin-login-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; }
.admin-login-brand img { width: 52px; height: 52px; border-radius: 14px; background: #000; }
.admin-login h2 { margin: 0; font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.03em; }
.admin-confirm {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
  background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.badge-sim {
  display: inline-flex; align-items: center; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; background: #e0f2fe; color: #0369a1; border-radius: 999px; padding: 4px 10px;
}
.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi .card { margin: 0; }
.kpi strong { display: block; font-family: var(--display); font-size: 1.3rem; margin-top: 4px; }
.table-wrap { overflow: auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { background: #f8fafc; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.data tr:hover td { background: #f8fafc; }
.desktop-rail .phone-unit { max-width: 1100px; width: 100%; }
.desktop-rail .phone-unit .desktop-shell { width: 100%; }

.kpi-dense { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.kpi-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; text-align: left;
}
button.kpi-card { cursor: pointer; width: 100%; font: inherit; color: inherit; }
button.kpi-card:hover { border-color: var(--brand-blue); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06); }
.kpi-card strong { display: block; font-family: var(--display); font-size: 1.15rem; margin-top: 4px; }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.hub-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hub-tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px;
  font-size: 0.78rem; font-weight: 700; color: #475569; min-height: 34px;
}
.hub-tab.on, .hub-tab:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: #eff6ff; }
.hub-body { min-height: 120px; }

.profile-header {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.profile-identity { display: flex; gap: 14px; align-items: flex-start; }
.avatar-lg {
  width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #334155); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.profile-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; justify-content: flex-end; max-width: 420px; }

.date-presets { display: flex; flex-wrap: wrap; gap: 4px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 36px; gap: 8px; align-items: center; margin: 6px 0; font-size: 0.82rem; }
.bar-track { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue)); }
.search-results { margin-bottom: 12px; max-height: 220px; overflow: auto; }
.search-hit { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }

.impersonation-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; padding: 10px 14px;
  margin: 0 0 12px; font-size: 0.88rem;
}

@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .kpi { grid-template-columns: 1fr 1fr; }
  .site-nav .links { display: none; }
}
@media (max-width: 430px) {
  .interactive-stage { padding: 12px 8px 48px; }
}

.back-link {
  border: 0; background: transparent; color: var(--brand-blue); font-weight: 700;
  font-size: 0.85rem; padding: 0; margin: 0 0 8px; min-height: auto;
}
.step-progress { margin-bottom: 12px; }
.step-bar {
  height: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin-top: 6px;
}
.step-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue)); border-radius: 99px; }

.site-hero-tall { min-height: 420px; align-items: center; }
.hero-kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fdba74; margin: 0 0 8px;
}
.hero-trust { margin: 12px 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.hero-zip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 480px;
}
.hero-zip input {
  flex: 1; min-width: 180px; min-height: var(--touch); border: 0; border-radius: var(--radius);
  padding: 10px 14px; font-size: 1rem;
}
.site-kpi .card strong { display: block; font-family: var(--display); font-size: 1.2rem; margin: 4px 0; }
.how-grid, .svc-grid, .review-grid, .hk-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px;
}
.site-section.alt { background: #f1f5f9; }
.site-nav .on-nav { border-color: var(--brand-blue); color: var(--brand-blue); }
.site-footer {
  background: #0f172a; color: #cbd5e1; padding: 36px 22px 48px; margin-top: 8px;
}
.site-footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto;
}
.site-footer h4 { margin: 0 0 10px; color: #fff; font-family: var(--display); font-size: 0.95rem; }
.site-footer button {
  display: block; border: 0; background: transparent; color: #94a3b8; text-align: left;
  padding: 4px 0; font-size: 0.88rem;
}
.site-footer button:hover { color: #fff; }
.book-wizard { max-width: 640px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
