/* GigHub Check-In (check-in.gighub.com.np). Same colours and feel as the
   registration home page: navy, the form's blue, and the lime of the GigHub
   mark. The pictures are drawn in HTML/CSS on fixed-size "stages" that
   js/checkin.js scales to fit their box. */

:root {
  --navy: #0b1530;
  --navy-2: #13224a;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --lime: #84cc16;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
[hidden] { display: none !important; }

.c-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 0; font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.c-btn:hover { transform: translateY(-1px); }
.c-btn:focus-visible, .seg button:focus-visible { outline: 3px solid #a3e635; outline-offset: 2px; }
.c-btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 14px; }
.c-btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 8px 22px rgba(132,204,22,.35); }
.c-btn-lime:hover { background: #95dc22; }
.c-btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.c-btn-ghost:hover { background: rgba(255,255,255,.12); }
.c-btn-white { background: #fff; color: var(--navy); }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.c-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,21,48,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.c-nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.c-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.c-logo img { display: block; height: 32px; width: auto; }
.c-logo span { padding: 3px 9px; border-radius: 8px; background: var(--lime); color: var(--navy); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.c-links { display: flex; gap: 26px; margin-left: auto; }
.c-links a { color: #cbd5e1; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.c-links a:hover { color: #fff; }

/* ── Hero: the gate. Centred headline under a spotlight, then the scene:
      guests queue on the left, the phone scans, results stack on the right. ── */
.gate {
  position: relative; overflow: hidden; color: #cbd5e1; padding: 76px 0 72px;
  background: radial-gradient(900px 420px at 50% 78%, rgba(37,99,235,.35), transparent 70%),
              linear-gradient(180deg, #08112a 0%, var(--navy) 45%, var(--navy-2) 100%);
}
.gate-head { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #a5b4cf; }
.gate-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(132,204,22,.18); animation: blink 1.6s infinite; }
.gate h1 { margin-top: 26px; color: #fff; font-size: clamp(38px, 6vw, 74px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }

/* "checked in." in lime, on a thin underline with a light passing along it. */
.frame { position: relative; display: inline-block; color: var(--lime); white-space: nowrap; }
.frame-line { position: absolute; left: .04em; right: .1em; bottom: -.02em; height: 4px; border-radius: 4px; background: rgba(132,204,22,.3); overflow: hidden; }
.frame-line::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, #d9f99d, transparent); animation: glint 3.2s ease-in-out infinite; }
@keyframes glint { 0%, 30% { left: -30%; } 70%, 100% { left: 100%; } }
.gate-lead { margin: 24px auto 0; max-width: 640px; font-size: 18.5px; color: #cbd5e1; }
.gate-ctas { justify-content: center; }
.gate-head > * { animation: c-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.gate-head > *:nth-child(2) { animation-delay: .08s; }
.gate-head > *:nth-child(3) { animation-delay: .16s; }
.gate-head > *:nth-child(4) { animation-delay: .24s; }
.gate-art { margin-top: 36px; animation: c-rise 1s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes c-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.c-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Scene parts */
.pedestal { position: absolute; left: 350px; top: 330px; width: 400px; height: 90px; perspective: 600px; }
.pedestal i { position: absolute; inset: 0; border-radius: 50%; transform: rotateX(68deg);
  background: radial-gradient(closest-side, rgba(132,204,22,.35), rgba(132,204,22,.08) 70%, transparent);
  box-shadow: 0 0 0 2px rgba(132,204,22,.55), 0 0 0 14px rgba(132,204,22,.08), 0 0 60px 10px rgba(132,204,22,.25); animation: ped 3s ease-in-out infinite; }
@keyframes ped { 50% { box-shadow: 0 0 0 2px rgba(132,204,22,.8), 0 0 0 22px rgba(132,204,22,.05), 0 0 70px 14px rgba(132,204,22,.3); } }
.gate-phone { position: absolute; left: 447px; top: 0; animation: fa 6s ease-in-out infinite; }
.gate-phone .phone { transform: rotateX(8deg); }

.queue { position: absolute; left: 0; top: 0; width: 440px; height: 430px; perspective: 900px; }
.queue .badge { top: 92px; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.q1 { left: 280px; transform: rotateY(26deg) rotateZ(-2deg); animation: fb 6s ease-in-out infinite; }
.q2 { left: 150px; top: 104px !important; transform: rotateY(30deg) scale(.9); opacity: .82; animation: fa 7s ease-in-out infinite; }
.q3 { left: 30px; top: 116px !important; transform: rotateY(34deg) scale(.8); opacity: .6; animation: fb 8s ease-in-out infinite; }
.q-beam { position: absolute; top: 0; bottom: 0; width: 3px; left: 0; background: #bef264; box-shadow: 0 0 16px 4px rgba(132,204,22,.7); animation: qbeam 2.4s ease-in-out infinite; }
@keyframes qbeam { 0%, 100% { left: 4%; opacity: 0; } 15%, 85% { opacity: 1; } 50% { left: 94%; } }

.gate-wire { position: absolute; inset: 0; width: 1100px; height: 430px; }
.gate-wire path { fill: none; stroke: rgba(132,204,22,.6); stroke-width: 2; stroke-dasharray: 4 7; animation: wire 1.2s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -22; } }

.results { position: absolute; left: 790px; top: 58px; width: 290px; margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; perspective: 900px; }
.r { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 36px rgba(0,0,0,.4); transform: rotateY(-16deg); transform-origin: left;
  animation: r-in .7s cubic-bezier(.2,.7,.2,1) 1s both; line-height: 1.3; }
.r:nth-child(2) { animation-delay: 1.5s; } .r:nth-child(3) { animation-delay: 2s; } .r:nth-child(4) { animation-delay: 2.5s; }
@keyframes r-in { from { opacity: 0; translate: -30px 0; } to { opacity: 1; translate: 0 0; } }
.r i { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 15px; }
.r b { display: block; font-size: 14px; color: var(--ink); }
.r small { font-size: 12px; color: var(--muted); }
.r.ok i { background: #16a34a; } .r.dup i { background: #d97706; } .r.no i { background: #e11d48; }
.r.dup { box-shadow: 0 18px 36px rgba(0,0,0,.4), inset 4px 0 0 #f59e0b; }
.r.no { box-shadow: 0 18px 36px rgba(0,0,0,.4), inset 4px 0 0 #f43f5e; }

/* Live bar: the strip of numbers under the scene */
.live-bar { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; margin-top: 8px; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb-cell { padding: 20px 24px; display: grid; gap: 4px; align-content: start; }
.lb-cell + .lb-cell { border-left: 1px solid rgba(255,255,255,.1); }
.lb-k { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.lb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: blink 1.4s infinite; }
.lb-cell b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.15; }
.lb-cell b em { font-style: normal; font-size: 16px; font-weight: 600; color: #94a3b8; }
.lb-cell small { font-size: 13px; color: #94a3b8; }
.lb-off { color: #bef264 !important; font-size: 24px !important; }
.lb-track { display: block; height: 8px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.lb-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--lime)); }
.lb-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: #64748b; }

/* Icon tiles still used further down the page */
.c-point-ico {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px;
  border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c1) 35%, transparent);
}
.c-point-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.c-blue   { --c1: #2563eb; --c2: #60a5fa; }
.c-violet { --c1: #7c3aed; --c2: #a78bfa; }
.c-amber  { --c1: #d97706; --c2: #fbbf24; }
.c-green  { --c1: #16a34a; --c2: #84cc16; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.c-section { padding: 96px 0; }
.c-tint { background: linear-gradient(180deg, #f8fafc, #eef4ff); }
.c-dark { position: relative; overflow: hidden; color: #cbd5e1; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #172554 100%); }
.c-dark::before { content: ''; position: absolute; width: 460px; height: 460px; right: -120px; top: -160px; border-radius: 50%; background: rgba(37,99,235,.35); filter: blur(80px); }
.c-dark h2 { color: #fff; }
.c-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.c-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.c-eyebrow-lime { color: #a3e635; }
.c-head h2, .c-split h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; font-weight: 800; }
.c-head p { margin: 16px auto 0; font-size: 17px; color: var(--muted); max-width: 620px; }
.c-head p a { color: var(--blue); font-weight: 600; }

.c-points3 { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c-points3 li { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.c-points3 b { display: block; color: var(--ink); font-size: 16px; }
.c-points3 span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }

.c-split { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.c-split-lead { margin: 18px 0 0; font-size: 17px; color: #94a3b8; max-width: 520px; }
.c-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.c-point { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.c-point-ico { width: 42px; height: 42px; border-radius: 12px; box-shadow: none; }
.c-point-ico svg { width: 20px; height: 20px; }
.c-point b { display: block; font-size: 15.5px; color: #fff; line-height: 1.3; }
.c-point span:not(.c-point-ico) { display: block; margin-top: 2px; font-size: 14px; color: #94a3b8; }

/* ── Proof ─────────────────────────────────────────────────────────────────── */
.c-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.c-stat { padding: 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; }
.c-stat b { display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, var(--blue), #65a30d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-stat span { font-size: 14px; color: var(--muted); font-weight: 600; }
.c-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 36px; }
.c-clients:empty { display: none; }
.c-clients span { font-weight: 800; font-size: 16px; color: #94a3b8; letter-spacing: -.01em; }
.c-clients img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.c-clients img:hover { filter: none; opacity: 1; }
.c-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.c-photos:empty { display: none; }
.c-photos figure { margin: 0; border-radius: 18px; overflow: hidden; background: #e2e8f0; position: relative; box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.c-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.c-photos figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(11,21,48,.72); color: #fff; font-size: 13px; font-weight: 600; }
.c-quote { max-width: 720px; margin: 40px auto 0; text-align: center; }
.c-quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.c-quote figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ── How it works ──────────────────────────────────────────────────────────── */
.c-how { background: radial-gradient(circle, #dbe3f0 1px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.c-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-step { position: relative; padding: 26px 22px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 14px 34px rgba(15,23,42,.07); transition: transform .25s, box-shadow .25s; }
.c-step:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15,23,42,.12); }
.c-step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 18px color-mix(in srgb, var(--c1) 35%, transparent); }
.c-step h3 { margin-top: 16px; font-size: 17.5px; }
.c-step p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }

/* ── Simulator ─────────────────────────────────────────────────────────────── */
.sim-controls { display: grid; gap: 10px; margin-top: 26px; justify-items: start; }
.sim-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-top: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font-family: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; cursor: pointer; color: #e2e8f0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: background .15s, border-color .15s; }
.seg button:hover { background: rgba(255,255,255,.12); }
.seg button[aria-pressed="true"] { background: #2563eb; border-color: #60a5fa; color: #fff; }
.sim-scan { margin-top: 12px; }
.sim-phone { justify-self: center; width: 100%; max-width: 330px; padding: 12px; border-radius: 40px; background: linear-gradient(145deg, #1f2a44, #0b1220); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px rgba(0,0,0,.45); transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
.sim-screen { position: relative; height: 420px; border-radius: 30px; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; background: #1e293b; transition: background .3s; overflow: hidden; }
.sim-top { position: absolute; top: 16px; left: 0; right: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.sim-res .big { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; font-weight: 800; background: rgba(255,255,255,.18); box-shadow: 0 0 0 12px rgba(255,255,255,.08); }
.sim-res b { display: block; font-size: 24px; font-weight: 800; }
.sim-res small { display: block; margin-top: 6px; font-size: 14px; opacity: .92; }
.sim-res .who { margin-top: 18px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.16); font-size: 14px; font-weight: 700; }
.sim-res .who small { margin-top: 2px; font-size: 12px; font-weight: 500; }
.sim-pop { animation: c-pop .35s cubic-bezier(.2,.7,.2,1.3); }
@keyframes c-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.sim-log { list-style: none; margin: 10px 4px 2px; padding: 0; min-height: 66px; font-size: 12.5px; color: #94a3b8; }
.sim-log li { padding: 3px 6px; border-top: 1px solid rgba(255,255,255,.06); }
.sim-log li:first-child { color: #e2e8f0; border-top: 0; }

/* ── Call to action + footer ───────────────────────────────────────────────── */
.c-final { padding: 0 0 96px; }
.c-how + .c-dark { margin-bottom: 0; }
.c-final-inner {
  margin-top: -1px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 56px 48px; border-radius: 28px; color: #dbeafe;
  background: radial-gradient(600px 300px at 20% 0%, rgba(132,204,22,.25), transparent 60%), linear-gradient(135deg, var(--blue) 0%, #1e3a8a 100%);
  box-shadow: 0 30px 70px rgba(15,23,42,.25);
}
.c-final { padding-top: 96px; }
.c-final h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.c-final p { margin: 8px 0 0; font-size: 16.5px; max-width: 520px; }
.c-final .c-cta-row { margin-top: 0; }
.c-footer { padding: 30px 0; background: var(--navy); color: #94a3b8; font-size: 14px; }
.c-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.c-logo-sm img { height: 26px; }
.c-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.c-footer-links a { text-decoration: none; color: #cbd5e1; }
.c-footer-links a:hover { color: #fff; }
.c-footer small { margin-left: auto; }

/* ── Reveal on scroll (hidden only when scripts run) ───────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .reveal-group.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-group.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-group.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-group.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-group.is-in > *:nth-child(6) { transition-delay: .40s; }

/* ══ Pictures ═══════════════════════════════════════════════════════════════ */
.plate { position: relative; width: 100%; height: 420px; }
.scene { overflow: hidden; border-radius: 26px; box-shadow: 0 30px 70px rgba(15,23,42,.16); }
.stage { position: absolute; left: 50%; top: 0; transform-origin: top center; color: var(--ink); }
.plate[data-w="760"] .stage { width: 760px; height: 420px; margin-left: -380px; }
.plate[data-w="1100"] .stage { width: 1100px; height: 430px; margin-left: -550px; }
.dark-sc { background: radial-gradient(700px 360px at 85% -10%, #1e40af 0%, transparent 60%), linear-gradient(160deg, #0b1530 0%, #13224a 60%, #172554 100%); }
.light-sc { background: radial-gradient(circle, #d5deef 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(180deg, #f8fafc, #eaf1ff); }
.c-dark .scene { box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08); }
.p3 { perspective: 1100px; }
.abs { position: absolute; }
[data-qr] svg { display: block; width: 100%; height: 100%; }
.float-a { animation: fa 6s ease-in-out infinite; }
.float-b { animation: fb 7s ease-in-out infinite; }
@keyframes fa { 50% { translate: 0 -10px; } }
@keyframes fb { 50% { translate: 0 8px; } }
.chip3 { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: 0 14px 30px rgba(2,6,23,.35); white-space: nowrap; }
.chip3 i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; }
.chip3 small { font-weight: 500; color: var(--muted); }

/* Phone + scanner */
.phone { position: absolute; width: 170px; height: 330px; border-radius: 30px; padding: 8px; background: linear-gradient(145deg, #1f2a44, #0b1220); box-shadow: 0 40px 70px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #0d1424; }
.cam { position: absolute; inset: 0; background: radial-gradient(160px 200px at 50% 38%, #3b4862, #111827); }
.cam-top { position: absolute; top: 12px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #fff; }
.cam-top span { padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.45); }
.finder { position: absolute; }
.finder::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--lime); border-radius: 10px;
  clip-path: polygon(0 0, 30% 0, 30% 6%, 6% 6%, 6% 30%, 0 30%, 0 70%, 6% 70%, 6% 94%, 30% 94%, 30% 100%, 70% 100%, 70% 94%, 94% 94%, 94% 70%, 100% 70%, 100% 30%, 94% 30%, 94% 6%, 70% 6%, 70% 0, 100% 0, 100% 100%, 0 100%); }
.fqr { position: absolute; inset: 13px; background: #fff; padding: 5px; border-radius: 4px; }
.scanline { position: absolute; left: 6px; right: 6px; height: 2px; top: 8px; background: #a3e635; box-shadow: 0 0 12px 3px rgba(132,204,22,.8); animation: sl 2.2s ease-in-out infinite; }
@keyframes sl { 50% { top: calc(100% - 10px); } }
.sheet { position: absolute; left: 7px; right: 7px; bottom: 7px; border-radius: 18px; background: #fff; padding: 14px; }
.sheet .ok { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #15803d; }
.sheet .ok i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; font-style: normal; box-shadow: 0 0 0 5px #dcfce7; }
.sheet .who { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.sheet .who small { display: block; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.sheet .typ { display: inline-block; margin-top: 8px; font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: #eff6ff; color: var(--blue); letter-spacing: .06em; }

/* Lanyard badge */
.badge { position: absolute; width: 132px; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); line-height: 1.3; }
.badge .bt { height: 38px; background: linear-gradient(135deg, var(--blue), #1e3a8a); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; display: grid; place-items: center; }
.badge .bt.vio { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.badge .bb { padding: 10px 10px 12px; text-align: center; }
.badge .bn { font-size: 14px; font-weight: 800; color: var(--ink); }
.badge .bo { font-size: 10px; color: var(--muted); }
.bqr { width: 76px; height: 76px; margin: 8px auto 4px; }
.badge .num { font-size: 9.5px; color: #94a3b8; font-family: ui-monospace, Consolas, monospace; }
.badge .hole { position: absolute; top: 8px; left: 50%; width: 26px; height: 6px; margin-left: -13px; border-radius: 4px; background: var(--navy); opacity: .5; }
.lanyard { position: absolute; width: 3px; background: linear-gradient(#84cc16, #65a30d); border-radius: 2px; }

/* Isometric checkpoints */
.iso { position: absolute; left: 190px; top: 70px; width: 420px; height: 300px; transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; }
.iso .path { position: absolute; inset: 0; }
.tile { position: absolute; width: 78px; height: 78px; border-radius: 14px; transform-style: preserve-3d; background: linear-gradient(135deg, var(--c2), var(--c));
  box-shadow: 1px 1px 0 var(--cd), 2px 2px 0 var(--cd), 3px 3px 0 var(--cd), 4px 4px 0 var(--cd), 5px 5px 0 var(--cd), 6px 6px 0 var(--cd), 7px 7px 0 var(--cd), 8px 8px 0 var(--cd), 22px 22px 30px rgba(15,23,42,.25);
  transition: outline-color .3s; outline: 4px solid transparent; outline-offset: 6px; }
.tile .ico { position: absolute; inset: 0; display: grid; place-items: center; }
.tile .ico svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .lab { position: absolute; left: 50%; top: 50%; transform-origin: 50% 100%; transform: translate(-50%, -100%) rotateZ(38deg) rotateX(-58deg) translateY(-44px);
  background: #fff; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; box-shadow: 0 10px 22px rgba(15,23,42,.18); display: flex; gap: 6px; align-items: center; }
.lab .st { font-weight: 800; font-size: 11px; color: #94a3b8; }
.lab .st:empty { display: none; }
.st.done { color: #16a34a; } .st.now { color: var(--blue); } .st.lock { color: #b45309; }
.tile.now { outline-color: var(--lime); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { outline-offset: 12px; outline-color: rgba(132,204,22,.25); } }
.t-blue { --c: #1d4ed8; --c2: #60a5fa; --cd: #1e3a8a; }
.t-vio  { --c: #6d28d9; --c2: #a78bfa; --cd: #4c1d95; }
.t-amb  { --c: #d97706; --c2: #fbbf24; --cd: #92400e; }
.t-grn  { --c: #16a34a; --c2: #84cc16; --cd: #166534; }
.t-rose { --c: #e11d48; --c2: #fb7185; --cd: #9f1239; }
.t-navy { --c: #1e293b; --c2: #475569; --cd: #0f172a; }

/* Three results */
.fan { position: absolute; left: 0; right: 0; top: 40px; height: 340px; perspective: 1200px; }
.fan .phone { top: 0; }
.res { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; color: #fff; gap: 8px; line-height: 1.35; }
.res .big { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 32px; font-weight: 800; box-shadow: 0 0 0 10px rgba(255,255,255,.1); }
.res b { font-size: 18px; font-weight: 800; }
.res small { font-size: 11px; opacity: .92; }
.res .who2 { margin-top: 6px; background: rgba(255,255,255,.16); border-radius: 12px; padding: 8px 10px; font-size: 11px; font-weight: 700; width: 100%; }
.res .who2 small { display: block; font-weight: 500; font-size: 9.5px; }
.res-top { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; color: #fff; }
.r-ok { background: linear-gradient(160deg, #22c55e, #15803d) !important; }
.r-dup { background: linear-gradient(160deg, #f59e0b, #b45309) !important; }
.r-no { background: linear-gradient(160deg, #f43f5e, #be123c) !important; }

/* Printer + designer */
.prn-chips { position: absolute; left: 24px; top: 40px; display: grid; gap: 8px; justify-items: start; }
.prn-chips .chip3 { position: static; }
.printer { position: absolute; left: 136px; top: 238px; width: 250px; height: 120px; }
.pr-top { position: absolute; left: 0; right: 0; top: 0; height: 50px; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, #e2e8f0, #cbd5e1); transform: perspective(500px) rotateX(48deg); transform-origin: bottom; }
.pr-body { position: absolute; left: 0; right: 0; top: 40px; height: 80px; border-radius: 8px 8px 18px 18px; background: linear-gradient(180deg, #f8fafc, #cbd5e1); box-shadow: 0 30px 50px rgba(0,0,0,.45); }
.pr-slot { position: absolute; left: 40px; right: 40px; top: 32px; height: 8px; border-radius: 4px; background: #1e293b; z-index: 3; }
.pr-led { position: absolute; right: 18px; bottom: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.pr-name { position: absolute; left: 18px; bottom: 13px; font-size: 10px; font-weight: 700; color: #475569; letter-spacing: .1em; }
.out { position: absolute; left: 61px; top: -170px; width: 128px; height: 206px; overflow: hidden; z-index: 2; }
.out .badge { position: absolute; left: 0; bottom: 0; width: 128px; box-shadow: none; animation: printout 5s ease-in-out infinite; }
@keyframes printout { 0% { transform: translateY(100%); opacity: 1; } 45%, 85% { transform: translateY(-14px); opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
.designer { position: absolute; left: 420px; top: 60px; width: 320px; height: 280px; border-radius: 16px; background: #fff; box-shadow: 0 40px 70px rgba(0,0,0,.45); transform: perspective(1000px) rotateY(-18deg) rotateX(6deg); overflow: hidden; }
.dz-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--text); }
.dz-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.dz-bar span { margin-left: 8px; }
.dz-side { position: absolute; left: 0; top: 34px; bottom: 0; width: 84px; border-right: 1px solid var(--line); padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.dz-side div { font-size: 10px; font-weight: 600; color: #475569; padding: 6px; border-radius: 6px; background: #f8fafc; border: 1px solid var(--line); }
.dz-side div.on { background: #eff6ff; border-color: #93c5fd; color: var(--blue-d); }
.dz-canvas { position: absolute; left: 84px; right: 0; top: 34px; bottom: 0; background: radial-gradient(circle, #e2e8f0 1px, transparent 1.4px) 0 0 / 12px 12px; display: grid; place-items: center; }
.dz-badge { width: 136px; height: 200px; background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(15,23,42,.15); position: relative; overflow: hidden; }
.dz-badge .bt { height: 30px; background: linear-gradient(135deg, var(--blue), #1e3a8a); }
.el { position: absolute; left: 14px; right: 14px; border: 1.5px dashed #94a3b8; border-radius: 4px; }
.el.sel { border: 1.5px solid var(--blue); }
.el.sel::before, .el.sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--blue); border-radius: 2px; }
.el.sel::before { left: -5px; top: -5px; } .el.sel::after { right: -5px; bottom: -5px; }
.el .ln { height: 6px; border-radius: 3px; background: #cbd5e1; }
.eqr { width: 56px; height: 56px; margin: 4px auto; }

/* Laptop dashboard */
.laptop { position: absolute; left: 140px; top: 34px; width: 470px; transform: perspective(1400px) rotateX(10deg) rotateY(-10deg); }
.lid { border-radius: 16px 16px 4px 4px; padding: 10px; background: linear-gradient(160deg, #1f2937, #0b1220); box-shadow: 0 30px 60px rgba(15,23,42,.35); }
.lscr { height: 276px; border-radius: 6px; background: #f8fafc; overflow: hidden; padding: 12px; display: grid; gap: 10px; grid-template-rows: auto auto 1fr; line-height: 1.3; }
.base { height: 16px; margin: 0 -40px; background: linear-gradient(180deg, #cbd5e1, #94a3b8); clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%); border-radius: 0 0 10px 10px; }
.dh { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 800; color: var(--ink); }
.live { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 700; color: #16a34a; background: #dcfce7; padding: 3px 8px; border-radius: 999px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.tiles small { display: block; font-size: 9px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tiles b { font-size: 21px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tiles em { font-style: normal; font-size: 10px; color: #94a3b8; font-weight: 600; }
.dgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; min-height: 0; }
.bars { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; align-content: start; }
.bars .row { display: grid; grid-template-columns: 62px 1fr 28px; gap: 6px; align-items: center; font-size: 9.5px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.bars .tr { height: 7px; border-radius: 4px; background: #eef2f7; overflow: hidden; }
.bars .tr i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--lime)); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .plate:not(.is-in) .bars .tr i { transform: scaleX(0); }
.feed { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; align-content: start; overflow: hidden; }
.feed div { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; font-weight: 600; color: var(--text); padding: 4px 0; border-bottom: 1px solid #f1f5f9; }
.feed div.new { animation: c-pop .4s ease; background: #f0fdf4; }
.feed em { font-style: normal; font-weight: 700; font-size: 8.5px; padding: 1px 5px; border-radius: 4px; }
.e-ok { background: #dcfce7; color: #15803d; } .e-dup { background: #fef3c7; color: #b45309; }
.tablet { position: absolute; left: 570px; top: 176px; width: 150px; height: 200px; border-radius: 18px; padding: 7px; background: linear-gradient(145deg, #1f2a44, #0b1220); transform: perspective(900px) rotateY(-24deg) rotateZ(4deg); box-shadow: 0 30px 50px rgba(15,23,42,.35); }
.tablet .scr { width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(160deg, var(--blue), #1e3a8a); color: #fff; display: grid; place-items: center; text-align: center; padding: 10px; line-height: 1.3; }
.tablet b { font-size: 36px; font-weight: 800; display: block; font-variant-numeric: tabular-nums; }
.tablet small { font-size: 9.5px; font-weight: 600; opacity: .85; }

/* Offline */
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net .dash { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.hub { position: absolute; left: 300px; top: 130px; width: 170px; }
.hub .lid { padding: 7px; border-radius: 12px 12px 3px 3px; }
.hub .lscr { height: 100px; padding: 10px; background: linear-gradient(160deg, #0f766e, #134e4a); color: #fff; grid-template-rows: auto; place-items: center; text-align: center; }
.hub .lscr b { font-size: 13px; font-weight: 800; display: block; }
.hub .lscr small { font-size: 10px; opacity: .85; }
.hub .base { margin: 0 -18px; height: 10px; }
.mini { position: absolute; width: 64px; height: 118px; border-radius: 14px; padding: 4px; background: linear-gradient(145deg, #1f2a44, #0b1220); box-shadow: 0 18px 30px rgba(0,0,0,.4); }
.mini .scr { width: 100%; height: 100%; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.cloud-x { position: absolute; left: 325px; top: 26px; width: 120px; text-align: center; font-size: 11px; font-weight: 700; color: #fca5a5; }
.cloud-x svg { width: 60px; height: 44px; display: block; margin: 0 auto 4px; }

/* Online → inbox → door */
.flow { position: absolute; left: 0; right: 0; top: 84px; display: flex; justify-content: center; gap: 46px; perspective: 1200px; }
.fcard { width: 190px; height: 250px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px rgba(15,23,42,.18); position: relative; line-height: 1.3; }
.fcard:nth-child(1) { transform: rotateY(18deg) rotateZ(-2deg); }
.fcard:nth-child(3) { transform: translateY(-14px); }
.fcard:nth-child(5) { transform: rotateY(-18deg) rotateZ(2deg); }
.fh { padding: 10px 12px; font-size: 10px; font-weight: 700; color: #fff; letter-spacing: .04em; border-radius: 16px 16px 0 0; }
.fb { padding: 12px; display: grid; gap: 7px; }
.fl { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.fi { height: 24px; border-radius: 6px; border: 1px solid var(--line); background: #f8fafc; font-size: 10.5px; line-height: 24px; font-weight: 600; padding: 0 8px; color: var(--ink); }
.fbtn { height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), #7c3aed); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 28px; text-align: center; margin-top: 4px; }
.mqr { width: 112px; height: 112px; margin: 6px auto; }
.fdone { text-align: center; padding-top: 30px; justify-items: center; }
.dtick { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; font-size: 38px; font-weight: 800; box-shadow: 0 0 0 12px #dcfce7; }
.fdone b { font-size: 16px; color: var(--ink); margin-top: 16px; }
.arrow { align-self: center; width: 0; position: relative; }
.arrow svg { position: absolute; left: -36px; top: -14px; width: 72px; height: 28px; }
.step-l { position: absolute; top: -34px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 800; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .c-links { display: none; }
  .c-nav-cta { margin-left: auto; }
  .c-split { grid-template-columns: 1fr; gap: 40px; }
  .live-bar { grid-template-columns: repeat(3, 1fr); }
  .lb-wide { grid-column: 1 / -1; }
  .lb-cell + .lb-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .lb-cell:nth-child(n+3) { border-left: 1px solid rgba(255,255,255,.1); }
  .c-steps { grid-template-columns: 1fr 1fr; }
  .c-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .c-wrap { padding: 0 16px; }
  .c-logo img { height: 26px; }
  .c-nav-inner { gap: 12px; }
  .gate { padding: 48px 0 56px; }
  .gate-lead { font-size: 16.5px; }
  .gate-art { overflow: hidden; margin-top: 24px; }
  .gate .queue, .gate .results, .gate .gate-wire { display: none; }
  .lb-cell { padding: 16px; }
  .lb-cell b { font-size: 24px; }
  .c-cta-row .c-btn-lg { flex: 1 1 100%; white-space: normal; text-align: center; }
  .live-bar { grid-template-columns: 1fr 1fr; }
  .lb-cell:nth-child(4) { grid-column: 1 / -1; border-left: 0; }
  .c-section { padding: 64px 0; }
  .c-head { margin-bottom: 28px; }
  .c-head p { font-size: 16px; }
  .scene { border-radius: 18px; }
  .c-points3, .c-steps, .c-photos { grid-template-columns: 1fr; }
  .c-points3 { margin-top: 24px; gap: 12px; }
  .sim-phone { transform: none; }
  .sim-screen { height: 360px; }
  .c-final { padding: 64px 0; }
  .c-final-inner { padding: 40px 20px; }
  .c-footer small { margin-left: 0; }
}

/* Anyone who has asked for less motion gets a still page. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
  .out .badge { transform: translateY(-14px); }
  .scanline { display: none; }
}
