:root {
  --navy: #002147;
  --blue: #2C6CB0; --blue-d: #1D5592; --blue-t: #E1EDF9;
  --teal: #2BA3B3; --teal-d: #1E8191; --teal-t: #DDF2F5;
  --green: #3E9A4C; --green-d: #2E7A3A; --green-t: #DFF1DB;
  --orange: #F2A33A; --orange-t: #FFF3E0; --orange-ink: #8A4B00;
  --red: #E24B4A; --red-t: #FCEBEB;
  --btn-blue: #1D5A9E; --btn-blue-d: #0F3A6B;
  --bg: #EEF4FB; --line: #D2DFEC; --muted: #4A5868; --ink: #0B1F33;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.5; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.mood-happy { --m-happy: 1; --m-think: 0; --m-joy: 0; }
.mood-joy { --m-happy: 0; --m-think: 0; --m-joy: 1; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 14px 24px; min-height: 54px; font-weight: 900; font-size: 17px; text-decoration: none; transition: transform .15s, filter .15s, box-shadow .15s; }
.btn.primary { background: var(--btn-blue); color: #fff; box-shadow: 0 4px 0 var(--btn-blue-d); }
.btn.primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-blue-d); }
.btn.ghost { background: #fff; color: var(--blue-d); border: 2px solid var(--line); box-shadow: 0 4px 0 #C5D3E1; }
.btn.ghost:hover { border-color: #B9D2EA; }
.btn.sm { min-height: 42px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.link { background: none; border: 0; padding: 4px 0; color: var(--blue-d); font-weight: 800; }
.link:disabled { color: #93A3B5; cursor: default; }

/* Header: Leverage Careers logo, then Levi */
.lh { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.lh.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(0, 33, 71, .06); }
.lh .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.lv-logo { height: 40px; width: auto; }
.brand-sep { width: 2px; height: 28px; border-radius: 2px; background: var(--line); }
.brand-levi { display: flex; align-items: center; gap: 6px; }
.brand-levi svg { width: 34px; height: 34px; }
.brand-levi b { font-size: 22px; font-weight: 900; letter-spacing: -.3px; }
@media (max-width: 380px) { .lv-logo { height: 34px; } .brand { gap: 8px; } .brand-levi svg { width: 28px; height: 28px; } .brand-levi b { font-size: 19px; } }

/* Hero: the pitch on the left, Levi's trip on the right */
.hero { flex: 1; position: relative; overflow: hidden; background: linear-gradient(180deg, #E6F0FA 0%, #F7FAFD 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .6; pointer-events: none; }
.blob.b1 { width: 420px; height: 420px; background: #B4D2F0; left: -140px; top: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #BCE6EC; right: -120px; top: 40px; }
.blob.b3 { width: 320px; height: 320px; background: #CDEBC7; left: 40%; bottom: -170px; }
.hero-in { position: relative; display: grid; gap: 28px; align-items: center; padding-top: 28px; padding-bottom: 36px; }
@media (min-width: 960px) { .hero-in { grid-template-columns: .85fr 1.15fr; gap: 44px; padding-top: 30px; padding-bottom: 40px; min-height: calc(100vh - 140px); } }
.hero-copy { text-align: center; }
@media (min-width: 960px) { .hero-copy { text-align: left; } }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); border: 0; border-radius: 999px; padding: 6px 15px; font-weight: 800; font-size: 14px; color: #fff; }
.hero h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.05; margin: 16px 0 14px; color: var(--navy); letter-spacing: -1px; font-weight: 900; }
.hero h1 .hl { display: inline-block; background: linear-gradient(90deg, var(--blue), var(--teal), var(--green)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); font-weight: 700; margin: 0 auto 26px; max-width: 470px; }
@media (min-width: 960px) { .hero p { margin-left: 0; } }

/* The trip: Levi learns, boards the plane, flies one route and arrives */
.trip { width: 100%; max-width: 640px; margin: 0 auto; }
.route { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 900; font-size: 14px; color: var(--navy); }
.rt-end { display: flex; align-items: center; gap: 6px; white-space: nowrap; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 4px 10px 4px 7px; }
.rt-line { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.rt-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--blue); }
.rt-line svg { position: absolute; top: 50%; left: 0; width: 30px; height: 18px; transform: translate(-50%, -55%); }
.flag { width: 20px; height: 13px; border-radius: 2px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.flag.in { background: linear-gradient(#FF9933 0 33.4%, #fff 0 66.7%, #138808 0); position: relative; }
.flag.in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #000080; }
.scene { position: relative; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; border: 2px solid var(--line); border-bottom-width: 6px; background: linear-gradient(180deg, #A9D0F2 0%, #E3F1FC 100%); box-shadow: 0 24px 50px rgba(0, 33, 71, .14); }
.clouds { position: absolute; inset: 0; width: 100%; height: 100%; }
.ground { position: absolute; left: -5%; right: -5%; bottom: -12%; height: 30%; border-radius: 50% 50% 0 0; background: #A6D9B0; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.trip.fly .ground { transform: translateY(100%); }
.dest { position: absolute; right: 6%; bottom: 12%; width: 46%; aspect-ratio: 192 / 160; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.dest svg { width: 100%; height: 100%; }
.trip.arrive .dest { opacity: 1; transform: none; }
.levi { position: absolute; left: 8%; bottom: 10%; width: 36%; aspect-ratio: 1; transition: left .6s cubic-bezier(.2, .8, .2, 1), bottom .6s, width .6s, opacity .4s; }
.levi svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0, 33, 71, .14)); }
.trip.board .levi { left: 18%; bottom: 38%; width: 10%; opacity: 0; }
.trip.fly .levi { opacity: 0; }
.trip.arrive .levi { left: 10%; bottom: 9%; width: 32%; }
.lesson { position: absolute; right: 5%; top: 9%; width: 46%; background: #fff; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 16px; padding: 10px 12px 12px; box-shadow: 0 12px 26px rgba(0, 33, 71, .1); transition: opacity .4s, transform .5s; }
.trip:not(.learn) .lesson { opacity: 0; transform: translateY(-12px) scale(.96); }
.ls-h { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.ls-h svg { width: 24px; height: 24px; flex: none; }
#ls-words { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#ls-words li { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 10px; padding: 5px 9px; font-weight: 800; font-size: 15px; color: var(--navy); opacity: .35; transition: opacity .3s; }
#ls-words li.in { opacity: 1; }
#ls-words li small { margin-left: auto; font-weight: 700; color: var(--muted); font-size: 12px; }
#ls-words li i { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; flex: none; transform: scale(0); transition: transform .3s cubic-bezier(.2, 1.8, .4, 1) .2s; }
#ls-words li.in i { transform: scale(1); }
.ls-bar { height: 7px; border-radius: 7px; background: var(--line); margin-top: 9px; overflow: hidden; }
.ls-bar span { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--blue), var(--teal), var(--green)); transition: width .6s ease; }
.jet { position: absolute; left: -48%; top: 34%; width: 42%; overflow: visible; transition: left .7s cubic-bezier(.3, .8, .3, 1); }
.trip.board .jet { left: 10%; }
.trip.fly .jet { left: 112%; transition: left 2.6s cubic-bezier(.45, .05, .55, .95); }
.trip.arrive .jet { transition: none; }
.greet { position: absolute; left: 26%; top: 14%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; border: 0; background: var(--navy); color: #fff; border-radius: 16px; padding: 8px 18px 7px; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.greet::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.greet b { font-size: clamp(18px, 3vw, 26px); font-weight: 900; line-height: 1.15; }
.greet small { font-size: 12px; font-weight: 700; opacity: .85; }
.trip.arrive .greet { opacity: 1; }
@media (max-width: 520px) {
  .route { font-size: 12px; gap: 6px; } .rt-end { padding: 3px 7px 3px 5px; }
  .scene { border-radius: 20px; }
  .lesson { width: 52%; right: 4%; padding: 7px 8px 9px; border-radius: 12px; }
  .ls-h { font-size: 11px; } .ls-h svg { width: 18px; height: 18px; }
  #ls-words li { font-size: 12px; padding: 3px 7px; } #ls-words li small { display: none; }
  .greet { padding: 5px 12px 4px; }
  .eyebrow { font-size: 12px; padding: 4px 11px; }
}

/* Footer: a compact version of the Leverage site footer */
.lf { border-top: 1px solid var(--line); padding: 14px 0 16px; color: var(--muted); font-size: 12px; font-weight: 600; }
.lf .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; }
@media (max-width: 600px) { .lf .wrap { justify-content: center; text-align: center; } }
.fx { position: absolute; width: 10px; height: 10px; border-radius: 2px; pointer-events: none; z-index: 5; }

/* Login */
.lg-bg { position: fixed; inset: 0; z-index: 100; background: rgba(0, 20, 40, .55); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .lg-bg { align-items: center; padding: 20px; } }
.lg { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 26px 26px 0 0; padding: 24px 22px; padding-bottom: max(24px, env(safe-area-inset-bottom)); max-height: 94vh; overflow-y: auto; }
@media (min-width: 640px) { .lg { border-radius: 26px; } }
.lg-x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.lg-x svg { width: 20px; height: 20px; }
.lg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-right: 40px; }
.lg-head svg { width: 60px; height: 60px; flex: none; }
.lg-head h2 { margin: 0; font-size: 22px; color: var(--navy); line-height: 1.2; }
.lg-head p { margin: 2px 0 0; color: var(--muted); font-weight: 700; font-size: 15px; }
.lg label { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.lg-in { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lg-in:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-t); }
.lg-in.bad { border-color: var(--red); }
.lg-in .pre { display: grid; place-items: center; padding: 0 12px; background: var(--bg); font-weight: 800; color: var(--muted); border-right: 2px solid var(--line); }
.lg-in input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 18px; font-weight: 700; padding: 14px; color: var(--ink); background: transparent; }
.lg-err { color: #B33636; font-weight: 800; font-size: 14px; margin-top: 6px; min-height: 20px; }
.lg-hint { color: var(--muted); font-weight: 700; font-size: 13px; margin: 4px 0 14px; }
.lg .btn { width: 100%; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 4px; }
.otp input { width: 100%; aspect-ratio: 1 / 1.15; border: 2px solid var(--line); border-radius: 12px; text-align: center; font: inherit; font-size: 26px; font-weight: 900; color: var(--navy); outline: none; }
.otp input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-t); }
.otp.bad input { border-color: var(--red); }
.lg-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 14px; font-weight: 700; font-size: 14px; color: var(--muted); }
.link { background: none; border: 0; padding: 4px 0; color: var(--blue-d); font-weight: 800; }
.link:disabled { color: #93A3B5; cursor: default; }
.lg-join { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.lg-join a { color: var(--blue-d); font-weight: 800; }
.lg-done { text-align: center; padding: 10px 0; }
.lg-done .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 6px auto 12px; }
.lg-done .tick svg { width: 44px; height: 44px; }
.lg-done h2 { margin: 0 0 4px; color: var(--navy); }
.lg-done p { margin: 0; color: var(--muted); font-weight: 700; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .blob.b1 { animation: drift 16s ease-in-out infinite; }
  .blob.b2 { animation: drift 19s ease-in-out -4s infinite reverse; }
  .blob.b3 { animation: drift 22s ease-in-out -8s infinite; }
  @keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }
  .hero h1 .hl { animation: sheen 6s ease-in-out infinite; }
  @keyframes sheen { 50% { background-position: 100% 0; } }
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .trip { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  .trip.learn .levi svg, .trip.arrive .levi svg { animation: float 3.5s ease-in-out infinite; }
  .trip.fly .jet svg, .trip.fly .jet { animation: bob 1.2s ease-in-out infinite; }
  @keyframes bob { 50% { margin-top: -6px; } }
  .trip.fly .cl { animation: whoosh 1.3s linear infinite; }
  @keyframes whoosh { from { transform: translateX(0); } to { transform: translateX(-640px); } }
  .trip.arrive .greet { animation: greetIn .5s cubic-bezier(.2, 1.7, .4, 1); }
  @keyframes greetIn { from { transform: translateX(-50%) scale(.4); } }
  @keyframes float { 50% { transform: translateY(-6px) rotate(-3deg); } }
  .blades { transform-box: view-box; transform-origin: 530px 252px; animation: spin 5s linear infinite; }
  .lg { animation: rise .25s ease-out; }
  .spin { animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .otp.bad { animation: shake .4s; }
  @keyframes shake { 25%, 75% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
  .lg-done .tick { animation: popTick .6s cubic-bezier(.2, 1.6, .4, 1); }
  @keyframes popTick { from { transform: scale(.4); opacity: 0; } }
}
