/* New customer onboarding (onboard.js): mobile -> OTP -> one question at a time. 21st.dev-style: soft grid, glow, glass cards */
.ob { position: relative; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; color: var(--text); }
.ob-bg { position: fixed; inset: 0; z-index: 0; background: var(--bg); overflow: hidden; pointer-events: none; }
.ob-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .45; }
.ob-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 26s ease-in-out infinite alternate; }
.ob-glow.g1 { width: 380px; height: 380px; background: #9fb3e8; left: -120px; top: -140px; }
.ob-glow.g2 { width: 320px; height: 320px; background: #9fd8b8; right: -140px; top: 18%; opacity: .4; animation-delay: -6s; }
.ob-wrap { position: relative; z-index: 1; max-width: 440px; margin: 0 auto; padding: 9vh 20px 32px; }
.ob-logo { display: block; width: 180px; max-width: 60%; margin: 0 0 22px; }
.ob-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: color-mix(in srgb, var(--brand) 10%, var(--card)); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.ob-badge .i { width: 15px; height: 15px; }
.ob-title { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; margin: 14px 0 10px; }
.ob-title, .ob-qt { display: block; }
.ob-title .w, .ob-qt .w { display: inline-block; }
.ob-grad { background: linear-gradient(90deg, var(--brand2), #2e9f6c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-grad .w { background: inherit; -webkit-background-clip: text; background-clip: text; }
.ob-sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
.ob-card { background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.ob-card label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ob-phone { display: flex; align-items: center; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.ob-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.ob-phone .cc { padding: 0 12px 0 16px; font-weight: 700; font-size: 18px; border-right: 1px solid var(--line); }
.ob-phone input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; font-size: 22px; font-weight: 700; letter-spacing: .06em; padding: 14px 12px; outline: 0; }
.ob-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 15px 18px; border: 0; border-radius: 16px;
  background: var(--grad); background-size: 200% 100%; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(36,51,107,.6); transition: opacity .2s, background-position .6s; }
.ob-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%); animation: ob-shine 6s ease-in-out infinite; opacity: .5; }
.ob-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.ob-btn:disabled::after { display: none; }
.ob-btn .i { width: 18px; height: 18px; }
@keyframes ob-shine { 60%, 100% { transform: translateX(100%); } }
.ob-err { min-height: 18px; margin-top: 8px; color: var(--danger); font-size: 13px; font-weight: 600; }
.ob-fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.ob-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: 22px 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ob-trust span { display: inline-flex; align-items: center; gap: 5px; }
.ob-trust .i { width: 15px; height: 15px; color: var(--brand); }
.ob-links { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.ob-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); cursor: pointer; flex: none; }
.ob-icon .i { width: 18px; height: 18px; }
.ob-otp .ob-icon { margin-bottom: 18px; }
.ob-lock { width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
.ob-lock .i { width: 26px; height: 26px; }
.ob-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ob-boxes.pin { grid-template-columns: repeat(4, 56px); justify-content: center; gap: 12px; margin: 8px 0; }
.ob-boxes input { width: 100%; aspect-ratio: 1 / 1.15; padding: 0; text-align: center; font-size: 24px; font-weight: 800; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--card); transition: border-color .15s, box-shadow .15s, background .15s; }
.ob-boxes input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.ob-boxes input.on { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, var(--card)); }
.ob-demo { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; background: var(--warn-soft); color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 45%, transparent); }
.ob-demo b { display: block; }
.ob-code { margin-left: 4px; padding: 2px 10px; border-radius: 8px; border: 1px solid currentColor; background: transparent; color: inherit; font-weight: 800; letter-spacing: .2em; cursor: pointer; }
.ob-spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; vertical-align: -3px; }
.ob-spin.dark { border-color: color-mix(in srgb, var(--brand) 25%, transparent); border-top-color: var(--brand); }
.ob-done { text-align: center; padding-top: 22vh; }
.ob-tick { width: 92px; height: 92px; margin: 0 auto 8px; display: block; }
.ob-tick circle { fill: color-mix(in srgb, var(--ok) 12%, transparent); stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 151; }
.ob-tick path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; }

/* one question at a time */
.ob-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 560px; margin: 0 auto;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ob-prog { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ob-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand2)); }
.ob-pct { font-size: 12px; font-weight: 700; color: var(--muted); min-width: 34px; text-align: right; }
.ob-flow-body { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 8px 20px 40px; }
.ob-sec { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 12px; font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.ob-sec .chip { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); }
.ob-sec .i { width: 16px; height: 16px; }
.ob-lines { display: grid; gap: 8px; margin-bottom: 14px; }
.ob-line { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--text); cursor: pointer; font: inherit; }
.ob-line .lbl { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-line b { font-size: 14px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-line .ok { color: var(--ok); display: flex; }
.ob-line .ok .i { width: 17px; height: 17px; }
.ob-q { padding: 20px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.ob-qn { font-size: 12px; font-weight: 600; color: var(--muted); }
.ob-qt { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; }
.ob-qh { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.ob-hint { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 18px; }
.ob-field { display: flex; align-items: center; margin-top: 14px; border-bottom: 2px solid var(--line); transition: border-color .2s; }
.ob-field:focus-within { border-color: var(--brand); }
.ob-field input, .ob-field textarea { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; outline: 0; padding: 10px 0;
  font-size: 22px; font-weight: 700; color: var(--text); font-family: inherit; resize: none; }
.ob-field.money .cur { font-size: 26px; font-weight: 800; margin-right: 6px; color: var(--muted); }
.ob-field.money input { font-size: 30px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ob-chips button, .ob-chipbtn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.ob-chips button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.ob-chipbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.ob-chipbtn .i { width: 15px; height: 15px; }
.ob-opts { display: grid; gap: 10px; margin-top: 14px; }
.ob-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 16px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--text); font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.ob-opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.ob-opt.on { border-color: var(--brand); background: var(--brand-soft); }
.ob-opt.on .dot { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--card); }
.ob-doc { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; padding: 26px 16px; border-radius: 20px; text-align: center;
  border: 2px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); background: color-mix(in srgb, var(--brand) 4%, var(--card)); cursor: pointer; }
.ob-doc.done { border-style: solid; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 6%, var(--card)); }
.ob-doc .thumb { width: 92px; height: 92px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); overflow: hidden; }
.ob-doc .thumb .i { width: 36px; height: 36px; }
.ob-doc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ob-doc .t { font-weight: 700; }
.ob-doc .s { font-size: 12px; color: var(--muted); }
.ob-review { margin-top: 10px; max-height: 50vh; overflow: auto; padding-right: 4px; }
.ob-actions { display: flex; gap: 10px; align-items: center; }
.ob-actions .ob-btn { flex: 1; }
.ob-skip { margin-top: 16px; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.ob .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.45; }

/* Aadhaar / PAN check */
.ob-verify { margin-top: 16px; overflow: hidden; }
.ob-idcard { position: relative; overflow: hidden; border-radius: 18px; padding: 14px 16px 16px; color: #1e1b4b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #ecfdf5 100%); border: 1px solid #fed7aa; box-shadow: 0 14px 30px -18px rgba(15,23,42,.45); }
.ob-idcard.pan { background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 50%, #ede9fe 100%); border-color: #bae6fd; }
.ob-idcard .band { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #9a3412; }
.ob-idcard.pan .band { color: #075985; }
.ob-idcard .row1 { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.ob-idcard .face { width: 46px; height: 54px; border-radius: 10px; background: rgba(15,23,42,.08); display: flex; align-items: center; justify-content: center; color: #64748b; flex: none; }
.ob-idcard .lines { flex: 1; display: grid; gap: 6px; }
.ob-idcard .lines b { font-size: 14px; }
.ob-idcard .lines i { display: block; height: 7px; border-radius: 4px; background: rgba(15,23,42,.1); width: 70%; }
.ob-idcard .lines i.short { width: 45%; }
.ob-idcard .num { font-size: 20px; font-weight: 800; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.ob-idcard .scan { position: absolute; left: 0; right: 0; top: 0; height: 36px; transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(31,138,91,.28), transparent); border-bottom: 2px solid rgba(31,138,91,.7); }
.ob-idcard.ok { border-color: #86efac; }
.ob-idcard.bad { border-color: #fda4af; }
.ob-idcard .stamp { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 8px;
  border: 2px solid #059669; color: #059669; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.85); transform: rotate(-12deg); }
.ob-idcard .stamp .i { width: 15px; height: 15px; }
.ob-checks { display: grid; gap: 8px; margin-top: 12px; }
.ob-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.ob-check .st { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.ob-check .st .i { width: 22px; height: 22px; }
.ob-check.ok .st { color: var(--ok); }
.ob-check.warn .st { background: var(--warn-soft); color: var(--warn); }
.ob-check.bad .st { background: var(--danger-soft); color: var(--danger); }
.ob-check .n { font-size: 12px; font-weight: 500; color: var(--muted); }
/* hub after the profile */
.ob-lang { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ob-logo.sm { width: 130px; margin: 0; }
.ob-hub .row { display: flex; align-items: center; justify-content: space-between; }
.ob-tick.sm { width: 64px; height: 64px; margin: 22px 0 0; }
.ob-stages { display: grid; gap: 4px; padding: 10px 14px; }
.ob-stage { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ob-stage:first-child { border-top: 0; }
.ob-stage .dot { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--bg2); color: var(--muted); flex: none; }
.ob-stage .dot .i { width: 18px; height: 18px; }
.ob-stage.done .dot { background: var(--ok-soft); color: var(--ok); }
.ob-stage .small { font-size: 12px; margin: 2px 0 0; }
.ob-ghost { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 14px; border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--card); color: var(--brand); font-size: 15px; font-weight: 700; cursor: pointer; }
.ob-ghost .i { width: 18px; height: 18px; }
.ob-later { display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (min-width: 900px) { .ob-wrap { padding-top: 12vh; } }

/* Login screens stay light even when the phone is in dark mode (Sunil's pick) */
.ob-start, .ob-otp { color-scheme: light; --bg: #f6f7f3; --bg2: #eef1ea; --card: #ffffff; --text: #14213d; --muted: #6b7385; --line: #e4e7df;
  --brand: #24336b; --brand2: #1f8a5b; --brand-soft: #eaeef8; --danger: #d14343; --danger-soft: #fcecec; --warn: #b45309; --warn-soft: #fdf3e3;
  --ok: #1f8a5b; --ok-soft: #e6f4ec; --grad: linear-gradient(135deg, #24336b 0%, #2c4486 100%);
  --shadow: 0 1px 2px rgba(20,33,61,.04), 0 6px 18px -10px rgba(20,33,61,.14); --shadow-lg: 0 12px 32px -16px rgba(36,51,107,.4); }
/* Front page (mobile number): navy hero with the logo on a white chip, form in a sheet that overlaps it */
.ob-start .ob-bg { background: var(--bg); }
.ob-start .ob-grid, .ob-start .ob-glow { display: none; }
.ob-front { max-width: 480px; padding: 0 0 28px; }
.ob-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(18px + env(safe-area-inset-top)) 22px 64px;
  border-radius: 0 0 32px 32px; background: radial-gradient(120% 80% at 100% 0%, rgba(78,192,138,.35) 0%, transparent 55%),
  radial-gradient(90% 70% at 0% 100%, rgba(147,168,234,.28) 0%, transparent 60%), linear-gradient(160deg, #1b2856 0%, #24336b 55%, #1d4f5c 100%); }
.ob-ring { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.ob-ring.r1 { width: 320px; height: 320px; right: -120px; top: -90px; box-shadow: 0 0 0 44px rgba(255,255,255,.03), 0 0 0 88px rgba(255,255,255,.02); }
.ob-ring.r2 { width: 180px; height: 180px; left: -70px; bottom: -80px; }
.ob-herotop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.ob-logochip { display: inline-flex; }
.ob-logochip img { display: block; height: 74px; width: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.ob-hero .ob-lang { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ob-hero .ob-badge { background: rgba(255,255,255,.1); color: #c9f2dc; border-color: rgba(201,242,220,.3); }
.ob-hero .ob-title { color: #fff; font-size: clamp(30px, 8.4vw, 40px); margin: 14px 0 8px; }
.ob-hero .ob-grad { background: linear-gradient(90deg, #7fe0aa, #d6f5c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-hero .ob-sub { color: rgba(231,235,243,.8); margin: 0 0 18px; max-width: 34ch; }
.ob-hero .ob-trust { justify-content: flex-start; gap: 8px; margin: 0; color: #fff; }
.ob-hero .ob-trust { gap: 6px; font-size: 11.5px; }
.ob-hero .ob-trust span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-weight: 600; }
.ob-hero .ob-trust .i { color: #7fe0aa; }
.ob-sheet { position: relative; z-index: 2; margin: -40px 14px 0; padding: 22px 20px 20px; background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 24px 48px -24px rgba(20,33,61,.45), 0 2px 6px rgba(20,33,61,.05); }
.ob-h { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ob-note { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ob-sheet .ob-phone { background: var(--bg); }
.ob-sheet .ob-phone .cc { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; color: var(--text); }
.ob-sheet .ob-phone .cc .i { width: 16px; height: 16px; color: var(--muted); }
.ob-sheet .ob-err { min-height: 0; margin-top: 6px; }
.ob-sheet .ob-err:empty { margin: 0; }
.ob-sheet .ob-btn { margin-top: 14px; background: linear-gradient(135deg, #24336b 0%, #2c4486 45%, #1f8a5b 100%); background-size: 160% 100%; box-shadow: 0 12px 24px -12px rgba(31,138,91,.7); }
.ob-sheet .ob-btn:not(:disabled):hover { background-position: 100% 0; }
.ob-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ob-or::before, .ob-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ob-sheet a.ob-ghost { text-decoration: none; }
.ob-sheet .ob-fine { text-align: center; }
.ob-front > .ob-links { margin-top: 20px; }
.ob-front > .ob-links a { font-weight: 700; }
/* Laptop: hero on the left, form on the right */
@media (min-width: 900px) {
  .ob-front { max-width: 1000px; min-height: 100vh; min-height: 100dvh; padding: 6vh 28px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 0; }
  .ob-front .ob-hero { grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-radius: 32px; padding: 40px 72px 40px 44px; }
  .ob-front .ob-herotop { position: absolute; top: 32px; left: 44px; right: 72px; }
  .ob-front .ob-hero > .ob-badge { align-self: flex-start; }
  .ob-front .ob-sheet { margin: 0 0 0 -40px; padding: 30px 28px 26px; align-self: end; }
  .ob-front > .ob-links { grid-column: 2; align-self: start; }
}
/* Shared login page (app.js pages.login) uses the same hero + sheet */
.ob-login .ob-sheet input { background: var(--bg); border-radius: 14px; }
.ob-login .ob-sheet .ob-btn { margin-top: 18px; }
.ob-login .ob-hero { padding-bottom: 72px; }
/* OTP screen follows the front page: no grid, same button colours */
.ob-otp .ob-grid { display: none; }
.ob-otp .ob-glow.g1 { background: #3a4f96; opacity: .35; }
.ob-otp .ob-lock { background: linear-gradient(135deg, #24336b 0%, #1f8a5b 100%); }
.ob-otp .ob-btn { background: linear-gradient(135deg, #24336b 0%, #2c4486 45%, #1f8a5b 100%); }
/* Phones: keep the whole login on one screen (Sunil saw the bottom cut off under the Chrome address bar) */
@media (max-width: 899px) {
  .ob-hero { padding: calc(14px + env(safe-area-inset-top)) 20px 52px; }
  .ob-login .ob-hero { padding-bottom: 52px; }
  .ob-herotop { margin-bottom: 14px; }
  .ob-logochip img { height: 54px; }
  .ob-hero .ob-lang { padding: 5px 12px; }
  .ob-hero .ob-title { font-size: clamp(27px, 7.6vw, 34px); margin: 10px 0 6px; }
  .ob-hero .ob-sub { font-size: 14px; margin-bottom: 14px; }
  .ob-login .ob-hero .ob-badge { display: none; }
  .ob-login .ob-hero .ob-title { margin-top: 4px; }
  .ob-login .ob-hero .ob-sub { margin-bottom: 0; }
  .ob-sheet { margin-top: -34px; padding: 18px 18px 16px; }
  .ob-h { font-size: 19px; }
  .ob-note { margin-bottom: 12px; }
  .ob-sheet label { margin-top: 10px; }
  .ob-login .ob-sheet .ob-btn { margin-top: 14px; }
  .ob-or { margin-top: 12px; }
  .ob-sheet .ob-ghost { margin-top: 8px; padding: 12px; font-size: 14px; }
  .ob-sheet .ob-fine { margin-top: 10px; font-size: 11.5px; }
  .ob-front > .ob-links { margin-top: 14px; padding-bottom: env(safe-area-inset-bottom); }
}
.ob-links .i { width: 14px; height: 14px; vertical-align: -2px; }
