/* Business Hub welcome page. Light only (the brand's logo needs it). */
:root {
  --plum: #4c145c;
  --plum-2: #6d2a80;
  --gold: #f4b63f;
  --ink: #1f1724;
  --muted: #6b6172;
  --line: #e8e1ec;
  --bg: #fbf8fc;
  --card: #ffffff;
  --red: #c62828;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
#hub {
  max-width: 480px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--plum); }
button { font: inherit; color: inherit; cursor: pointer; }

.langs {
  display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  scrollbar-width: none;
}
.langs::-webkit-scrollbar { display: none; }
.lang {
  flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 7px 14px; font-size: 15px; min-height: 40px;
}
.lang.on { background: var(--plum); border-color: var(--plum); color: #fff; font-weight: 700; }

.brand { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; }
.brand img { border-radius: 18px; box-shadow: 0 4px 14px rgba(76, 20, 92, .25); }
.brand-name { font-size: 26px; font-weight: 800; color: var(--plum); letter-spacing: -.3px; line-height: 1.1; }
.brand-by { font-size: 14px; color: var(--muted); }

.big-title { font-size: 28px; line-height: 1.2; margin: 18px 0 6px; letter-spacing: -.3px; }
.lead { color: var(--muted); margin: 0 0 14px; }

.pics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 6px 0 20px; }
.pics span {
  font-size: 28px; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px 0;
}

.door {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; text-decoration: none;
  background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 16px 18px;
  margin: 0 0 12px; min-height: 84px; color: var(--ink);
}
.door b { display: block; font-size: 21px; }
.door small { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.door.primary { background: linear-gradient(135deg, var(--plum), var(--plum-2)); border-color: transparent; color: #fff; }
.door.primary small { color: rgba(255, 255, 255, .85); }
.door-ico { font-size: 34px; width: 44px; text-align: center; flex: 0 0 auto; }
.door.small { min-height: 64px; padding: 12px 14px; border-radius: 16px; margin: 8px 0 0; }
.door.small b { font-size: 17px; }
/* Continue with WhatsApp: WhatsApp's own green. */
.door.wa { background: #1a9e4b; border-color: #1a9e4b; color: #fff; text-decoration: none; }
.door.wa small { color: rgba(255, 255, 255, .9); }
.or { text-align: center; color: var(--muted); margin: 6px 0; }
.door:active, .kind:active, .btn:active { transform: scale(.98); }

.staff-link {
  display: block; text-align: center; margin: 8px 0 0; padding: 12px; font-size: 16px; text-decoration: none;
  border-radius: 14px; border: 1.5px dashed var(--line); color: var(--ink);
}

.back {
  align-self: flex-start; background: none; border: 0; padding: 10px 0; font-size: 17px; color: var(--plum); font-weight: 600;
  min-height: 44px;
}

.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind {
  background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 18px 8px 14px;
  font-size: 16px; font-weight: 700; line-height: 1.25; min-height: 132px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.kind-ico { font-size: 46px; line-height: 1; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin: 8px 0 12px; }
.field { display: block; margin: 0 0 14px; }
.field > span:first-child { display: block; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 20px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px;
  background: #fff; min-height: 54px;
}
.field input:focus { outline: none; border-color: var(--plum); }
.pw { display: flex; gap: 8px; }
.pw input { flex: 1; min-width: 0; }
.show { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 0 14px; font-size: 15px; min-width: 72px; }
.btn {
  width: 100%; border: 0; border-radius: 16px; background: var(--plum); color: #fff; font-size: 20px; font-weight: 800;
  min-height: 58px; padding: 12px;
}
.btn[disabled] { opacity: .6; }
.error { color: var(--red); min-height: 1.2em; margin: 0 0 10px; font-weight: 600; }

.forgot { margin: 4px 0 6px; }
.forgot summary { cursor: pointer; color: var(--plum); font-weight: 600; padding: 10px 0; min-height: 44px; }

.foot { margin-top: auto; padding-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }

/* The account-deletion page reuses the same frame. */
.doc h2 { font-size: 20px; margin: 22px 0 6px; }
.doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }

/* /hub/app: install the app */
a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
button.staff-link { width: 100%; background: none; font: inherit; font-size: 16px; cursor: pointer; }
.steps-list { margin: 10px 0 0; padding-left: 22px; font-size: 17px; line-height: 1.45; }
.steps-list li { margin: 6px 0; }
.lead.small { font-size: 15px; text-align: center; }

.login-help { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: #5a3b00; font-size: 14px; font-weight: 500; text-align: left; line-height: 1.5; }
.login-help .btn { display: inline-block; margin-top: 8px; }
