/* QScan web: the welcome page (route #/). Tokens, buttons, .glyph and the .vf-c corners come from site.css. */
.wl-hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.wl-hero::before {
  content: ""; position: absolute; right: -200px; top: -160px; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 0, .13), rgba(255, 107, 0, 0)); pointer-events: none;
}
.wl-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.wl-kicker {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 600; color: var(--text-2);
}
.wl-kicker .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--oc); color: var(--o); display: inline-flex; align-items: center; justify-content: center; }
.wl-kicker .ic { width: 16px; height: 16px; }
.wl-hero h1 { margin-top: 22px; font-size: clamp(36px, 5vw, 62px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
.wl-hero h1 em { font-style: normal; color: var(--o); }
.wl-hero .lead { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 540px; }
.wl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wl-cta .btn { height: 56px; padding: 0 26px; font-size: 17px; }
.wl-cta .btn-ghost .ic { color: #3DDC84; }
.wl-facts { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 620px; }
.wl-facts b { display: block; font: 700 28px/1 var(--font-display); letter-spacing: -.02em; }
.wl-facts span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-3); }

/* A sheet under the scanner frame, with the tools floating around it */
.wl-visual { position: relative; height: 540px; }
.wl-scan { position: absolute; left: 50%; top: 50%; width: 340px; height: 440px; padding: 22px; transform: translate(-50%, -50%) rotate(-3deg); }
.wl-scan .vf-c { width: 46px; height: 46px; border-width: 4px; }
.wl-scan .vf-c.tl { border-top-left-radius: 16px; } .wl-scan .vf-c.tr { border-top-right-radius: 16px; }
.wl-scan .vf-c.bl { border-bottom-left-radius: 16px; } .wl-scan .vf-c.br { border-bottom-right-radius: 16px; }
.wl-sheet {
  position: relative; width: 100%; height: 100%; padding: 34px 30px; overflow: hidden; background: #fff; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(11, 13, 32, .08), 0 34px 60px -26px rgba(120, 52, 0, .4);
}
.wl-sheet .ln { display: block; height: 7px; margin-top: 11px; border-radius: 4px; background: #ECEDF1; }
.wl-sheet .ln.h { width: 58%; height: 12px; margin: 0 auto 24px; background: #D9DBE2; }
.wl-sheet .tbl { display: grid; grid-template-columns: 2fr 1fr 1fr; margin-top: 22px; border: 1px solid #E6E7EC; border-radius: 4px; overflow: hidden; }
.wl-sheet .tbl i { height: 22px; border-right: 1px solid #E6E7EC; border-bottom: 1px solid #E6E7EC; }
.wl-sheet .tbl i:nth-child(3n) { border-right: 0; }
.wl-sheet .tbl i:nth-child(-n+3) { background: var(--oc); }
.wl-sheet .tbl i:nth-last-child(-n+3) { border-bottom: 0; }
.wl-sign { position: absolute; right: 26px; bottom: 30px; width: 124px; height: 56px; color: #2D4FB8; }
.wl-sheet::after {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 60px;
  background: linear-gradient(to bottom, rgba(255, 107, 0, 0), rgba(255, 107, 0, .18)); border-bottom: 2px solid var(--o);
  animation: wl-sweep 3.2s var(--ease) infinite;
}
@keyframes wl-sweep { 0% { top: -60px; } 70%, 100% { top: 100%; } }
.wl-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px;
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-pop); font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.wl-float { z-index: 1; transition: box-shadow .3s var(--ease), color .2s; }
.wl-float:hover { color: var(--o-ink); box-shadow: var(--shadow-pop), 0 0 0 2px var(--oc-line); animation-play-state: paused; }
.wl-float .glyph { width: 36px; height: 35px; border-radius: 10px; }
.wl-float .glyph .ic { width: 20px; height: 20px; }
.wl-float.f1 { left: 0; top: 118px; }
.wl-float.f2 { right: 0; top: 236px; }
.wl-float.f3 { left: 8px; bottom: 120px; }
.wl-safe {
  position: absolute; right: 40px; bottom: 4px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; background: var(--inv); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-pop);
}
.wl-safe .ic { width: 19px; height: 19px; color: var(--o); }
@media (prefers-reduced-motion: no-preference) {
  .wl-float, .wl-safe { animation: wl-bob 6s ease-in-out infinite; }
  .wl-float.f2 { animation-delay: -2s; } .wl-float.f3 { animation-delay: -4s; } .wl-safe { animation-delay: -1s; }
}
@keyframes wl-bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .wl-sheet::after { animation: none; top: 46%; } }

/* Sections */
.wl-sec { padding-top: 8px; padding-bottom: 80px; }
.wl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.wl-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.wl-head p { margin-top: 8px; font-size: 16.5px; color: var(--text-2); }
.wl-more { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: var(--o-ink); white-space: nowrap; }
.wl-more .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.wl-more:hover .ic { transform: translateX(3px); }

/* Common tasks */
.wl-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wl-task {
  display: flex; align-items: center; gap: 16px; padding: 20px 16px 20px 20px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.wl-task:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--oc-line); }
.wl-task b { display: block; font: 600 16.5px/1.3 var(--font-display); letter-spacing: -.01em; }
.wl-task small { display: block; margin-top: 5px; font-size: 13.5px; font-weight: 600; color: var(--o-ink); }
.wl-task > .ic { margin-left: auto; color: var(--sub); transition: transform .25s var(--ease), color .2s; }
.wl-task:hover > .ic { color: var(--o); transform: translateX(3px); }

/* How it works */
.wl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 36px 8px; list-style: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sheet); }
.wl-step { padding: 4px 32px; }
.wl-step + .wl-step { border-left: 1px dashed var(--line); }
.wl-num { position: relative; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; font: 700 25px/1 var(--font-display); color: var(--o); }
.wl-num .vf-c { width: 17px; height: 17px; border-width: 3px; }
.wl-num .vf-c.tl { border-top-left-radius: 7px; } .wl-num .vf-c.tr { border-top-right-radius: 7px; }
.wl-num .vf-c.bl { border-bottom-left-radius: 7px; } .wl-num .vf-c.br { border-bottom-right-radius: 7px; }
.wl-step h3 { margin-top: 18px; font-size: 19px; letter-spacing: -.01em; }
.wl-step p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* Privacy */
.wl-private {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 56px; border-radius: var(--r-sheet); background: linear-gradient(160deg, #191B25 0%, #0B0D20 100%); color: #fff;
}
.wl-private::before {
  content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 0, .22), rgba(255, 107, 0, 0)); pointer-events: none;
}
.wl-private > * { position: relative; }
.wl-private h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.025em; }
.wl-private h2 em { font-style: normal; color: #FF8A2B; }
.wl-private p { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: #B9BCCB; max-width: 480px; }
.wl-private .wl-more { margin-top: 22px; color: #fff; }
.wl-points { display: grid; gap: 12px; }
.wl-point { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.wl-point .glyph { width: 44px; height: 43px; background: rgba(255, 138, 43, .2); color: #FF9A45; }
.wl-point .glyph .ic { width: 24px; height: 24px; }
.wl-point b { display: block; font-size: 16px; font-weight: 600; }
.wl-point span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: #B9BCCB; }

/* App */
.wl-app {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px;
  padding: 0 56px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sheet);
}
.wl-app-text { padding: 56px 0; }
.wl-tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 600; color: var(--text-2); }
.wl-tag .ic { width: 18px; height: 18px; color: #3DDC84; }
.wl-app h2 { margin-top: 16px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.025em; }
.wl-app h2 em { font-style: normal; color: var(--o); }
.wl-app-text > p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.wl-list { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.wl-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; }
.wl-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--oc); color: var(--o); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wl-list .tick .ic { width: 17px; height: 17px; }
.wl-phone { position: relative; min-height: 470px; }
.wl-phone::before { content: ""; position: absolute; left: 50%; top: 92px; width: 420px; height: 420px; margin-left: -150px; border-radius: 50%; background: var(--o); }
.wl-phone img { position: absolute; left: 50%; top: 52px; width: 300px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(11, 13, 32, .28)); }

/* Last call */
.wl-final { padding-top: 8px; padding-bottom: 96px; text-align: center; }
.wl-final h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.wl-final p { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.wl-final .btn { margin-top: 28px; }

@media (max-width: 900px) {
  .wl-hero { padding: 36px 0 32px; }
  .wl-hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .wl-hero h1 { margin-top: 18px; }
  .wl-hero .lead { font-size: 17px; }
  .wl-cta { flex-direction: column; }
  .wl-cta .btn { width: 100%; }
  .wl-facts { gap: 16px 28px; margin-top: 30px; }
  .wl-facts b { font-size: 24px; }
  .wl-visual { height: 420px; margin: 0 calc(var(--gutter) * -1); }
  .wl-scan { width: 250px; height: 330px; padding: 16px; }
  .wl-scan .vf-c { width: 34px; height: 34px; border-width: 3.5px; }
  .wl-sheet { padding: 24px 20px; }
  .wl-sheet .ln { margin-top: 8px; height: 6px; }
  .wl-sheet .tbl i { height: 16px; }
  .wl-sign { width: 96px; right: 18px; bottom: 20px; }
  .wl-float { font-size: 13.5px; padding: 6px 12px 6px 6px; }
  .wl-float .glyph { width: 30px; height: 30px; border-radius: 9px; }
  .wl-float .glyph .ic { width: 18px; height: 18px; }
  .wl-float.f1 { left: 10px; top: 84px; } .wl-float.f2 { right: 10px; top: 176px; } .wl-float.f3 { left: 10px; bottom: 92px; }
  .wl-safe { right: 14px; bottom: 2px; height: 36px; font-size: 13px; }
  .wl-sec { padding-bottom: 56px; }
  .wl-head { margin-bottom: 18px; }
  .wl-tasks { grid-template-columns: 1fr; gap: 10px; }
  .wl-task { padding: 16px 12px 16px 16px; }
  .wl-steps { grid-template-columns: 1fr; padding: 8px 20px; }
  .wl-step { padding: 22px 0; }
  .wl-step + .wl-step { border-left: 0; border-top: 1px dashed var(--line); }
  .wl-num { width: 50px; height: 50px; font-size: 22px; }
  .wl-private { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
  .wl-app { grid-template-columns: 1fr; gap: 0; padding: 0 20px; }
  .wl-app-text { padding: 32px 0 8px; }
  .wl-phone { min-height: 400px; }
  .wl-phone::before { width: 340px; height: 340px; margin-left: -120px; top: 70px; }
  .wl-phone img { width: 250px; top: 24px; }
  .wl-final { padding-bottom: 64px; }
}
