/* ============================================================
   lensa.css — Lensa (lensa.com) chrome + gate skin.
   Brand tokens lifted from lensa.com's own build CSS
   (lensa-site-app-*.css): orange CTA #ff832b (hover #fa6800),
   hero blue #33b1ff, primary gradient #0072c3→#a56eff, header
   white #fff, ink #313233. Fonts from lensa.com's own stylesheet:
   BebasNeue (display headline, uppercase) + Lato (body) — both
   exact-match Google Fonts, no stand-ins needed.
   ============================================================ */

body.lensa {
  --orange: #ff832b;
  --orange-dark: #fa6800;
  --orange-press: #8a3800;
  --blue: #33b1ff;
  --grad-start: #0072c3;
  --grad-end: #a56eff;
  --ink: #313233;
  --muted: #6f6f6f;
  --paper: #ffffff;
  --rule: #e6e7ea;
  --display: "Bebas Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: "Lato", Tahoma, sans-serif;

  /* engine tokens */
  --brand: var(--orange);
  --brand-ink: #ffffff;
  --paper: #ffffff;
  --muted: #6f6f6f;
  --rule: #e6e7ea;

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
.ln-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  box-shadow: 0 8px 8px -8px rgba(0, 0, 0, .1);
}
.ln-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.ln-logo { display: flex; align-items: center; flex-shrink: 0; }
.ln-logo img { width: 88px; height: 26px; display: block; }
.ln-nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.ln-nav a {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  color: var(--ink); text-decoration: none; padding: 22px 0; position: relative;
}
.ln-nav a.active { color: var(--orange); }
.ln-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange); border-radius: 2px 2px 0 0;
}
.ln-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); cursor: default;
}
.ln-header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.ln-login {
  background: none; border: none; font-family: var(--sans); font-weight: 700;
  font-size: 14px; color: var(--ink); cursor: pointer;
}
.ln-alerts {
  border: none; border-radius: 6px; padding: 10px 18px;
  font-family: var(--sans); font-weight: 700; font-size: 13.5px;
  color: #fff; background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  cursor: pointer;
}
@media (max-width: 860px) {
  .ln-nav { display: none; }
}

/* ---------- hero / search ---------- */
.ln-hero {
  background-color: var(--blue);
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14), transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(255,255,255,.10), transparent 45%);
  padding: 64px 24px 76px;
}
.ln-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ln-title {
  margin: 0 0 28px; color: #fff;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 58px); line-height: 1.04; letter-spacing: .01em;
}
.ln-search {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch;
  background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 20px 44px -18px rgba(0,40,70,.35);
}
.ln-search-inputs {
  display: flex; flex: 1; min-width: 260px; gap: 0;
  border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
}
.ln-field {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  padding: 12px 14px; position: relative;
}
.ln-field + .ln-field { border-left: 1px solid var(--rule); }
.ln-field svg { flex-shrink: 0; color: var(--muted); }
.ln-field input {
  border: none; outline: none; flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: none;
}
.ln-field input::placeholder { color: #9a9a9a; }
.ln-search-btn {
  border: none; border-radius: 6px; padding: 0 30px; min-height: 48px;
  background: var(--orange); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .15s;
  flex-shrink: 0;
}
.ln-search-btn:hover { background: var(--orange-dark); }
@media (max-width: 560px) {
  .ln-search { flex-direction: column; }
  .ln-search-inputs { flex-direction: column; }
  .ln-field + .ln-field { border-left: none; border-top: 1px solid var(--rule); }
}

/* ---------- results ---------- */
.card-ln {
  max-width: 720px; margin: 28px auto 0; padding: 22px 24px;
  border: 1px solid var(--rule); border-radius: 10px; background: #fff;
}
.ln-progress-head { display: flex; align-items: center; gap: 14px; }
.ln-progress-head p { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.ln-spinner {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  border: 3px solid rgba(255,131,43,.2); border-top-color: var(--orange);
  animation: lnspin .8s linear infinite;
}
@keyframes lnspin { to { transform: rotate(360deg); } }
.ln-bar { margin-top: 16px; height: 8px; border-radius: 999px; background: #f0f1f2; overflow: hidden; }
.ln-bar-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transition: width .15s linear;
}
.ln-results-count { margin: 0 0 16px; font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.ln-job-list { display: grid; gap: 12px; }
.ln-job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--rule); border-radius: 8px; padding: 16px 18px;
  transition: box-shadow .15s, border-color .15s;
}
.ln-job-card:hover { border-color: #d8d9db; box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); }
.ln-job-title { margin: 0; font-family: var(--sans); font-weight: 900; font-size: 15.5px; color: var(--ink); }
.ln-job-company { margin: 4px 0 0; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.ln-job-pay { margin: 6px 0 0; font-family: var(--sans); font-weight: 700; font-size: 13px; color: #1a7f3c; }
.ln-job-tag {
  flex-shrink: 0; font-family: var(--sans); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .03em; color: var(--blue);
  background: rgba(51,177,255,.12); border-radius: 999px; padding: 5px 12px;
}

/* ---------- why lensa ---------- */
.ln-why { max-width: 720px; margin: 56px auto 0; padding: 0 24px; text-align: center; }
.ln-underline {
  font-family: var(--sans); font-weight: 900; font-size: 26px; color: var(--ink);
  border-bottom: 4px solid var(--blue); padding-bottom: 8px;
}
.ln-why-desc { margin: 18px 0 0; font-family: var(--sans); font-size: 15px; color: var(--muted); line-height: 1.6; }

.ln-foot { max-width: 720px; margin: 48px auto 0; padding: 24px 24px 60px; text-align: center; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }

/* ============================================================
   rewarded gate — skinned to Lensa's own orange CTA + card language
   ============================================================ */
body.lensa .gate-screen {
  background: rgba(30, 34, 38, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.lensa .gate-eyebrow {
  font-family: var(--sans); color: var(--blue);
  font-size: 12px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase;
}
body.lensa .reward-locker {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 40px 90px -28px rgba(20, 30, 40, .5);
}
body.lensa .reward-locker .lock-badge { display: none; }
body.lensa .reward-locker h3 {
  font-family: var(--sans); color: var(--ink);
  font-weight: 900; letter-spacing: -.005em;
}
body.lensa .reward-locker p { font-family: var(--sans); color: var(--muted); }
body.lensa .rv-cta {
  background: var(--orange);
  color: #fff; font-family: var(--sans); font-weight: 700;
  border-radius: 6px; letter-spacing: 0;
  box-shadow: 0 12px 26px -12px rgba(255, 131, 43, .55);
}
body.lensa .rv-cta:hover { background: var(--orange-dark); box-shadow: 0 12px 26px -10px rgba(250,104,0,.5); transform: none; }
body.lensa .rv-later { font-family: var(--sans); color: var(--muted); }
body.lensa .rv-later:hover { color: var(--ink); }
body.lensa .reward-locker .rv-foot { display: none; }
body.lensa .reward-locker.has-included .lk-side { border-left-color: var(--rule); }
body.lensa .lk-side h4 { font-family: var(--sans); color: var(--ink); font-weight: 900; letter-spacing: .02em; }
body.lensa .lk-side li { font-family: var(--sans); color: var(--ink); }
body.lensa .lk-side li svg { color: var(--orange); }
body.lensa .gate-fine { font-family: var(--sans); color: #8a8a8a; }
body.lensa .gate-fine .lnk { color: var(--muted); text-decoration: underline; }
body.lensa .rv-floating {
  background: #fff; border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .18);
}
body.lensa .rv-floating .txt { font-family: var(--sans); color: var(--ink); }
body.lensa .rv-floating button {
  background: var(--orange);
  color: #fff; border-radius: 6px; font-family: var(--sans); font-weight: 700;
}
