.lfsq-home-widget,
.lfsq-home-widget *{box-sizing:border-box}

.lfsq-home-widget{
  --accent:var(--lfsq-accent,#0b4d88);
  --cta:var(--lfsq-cta,#f58220);
  --ink:#12325d;
  --muted:#60728a;
  --line:#d9e5ef;
  --card:#ffffff;
  position:relative;
  width:100%;
  margin:8px 0 24px;
  color:var(--ink);
  font-family:inherit;
}
.lfsq-home-widget [hidden],
.lfsq-home-widget .is-hidden{display:none!important}
.lfsq-home-widget.has-animations{opacity:0;transform:translateY(14px);transition:opacity .42s ease,transform .42s ease}
.lfsq-home-widget.is-visible{opacity:1;transform:none}

/* =========================
   HERO CONTAINER
   ========================= */
.lfsq-home-widget__hero{
  position:relative;
  overflow:hidden;
  padding:34px 36px 28px;
  border:1px solid #dce7f0;
  border-radius:24px;
  background:
    radial-gradient(circle at 3% 5%,rgba(28,118,194,.10),transparent 26%),
    radial-gradient(circle at 98% 4%,rgba(245,130,32,.14),transparent 22%),
    linear-gradient(180deg,#ffffff 0%,#f8fbfe 100%);
  box-shadow:0 24px 48px rgba(20,45,77,.075);
}
.lfsq-home-widget__hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.34;
  background-image:
    linear-gradient(rgba(29,91,148,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(29,91,148,.045) 1px,transparent 1px);
  background-size:28px 28px;
}
.lfsq-home-widget__aurora{position:absolute;pointer-events:none;filter:blur(22px);opacity:.4}
.lfsq-home-widget__aurora--one{width:190px;height:190px;right:-52px;top:-62px;background:radial-gradient(circle,rgba(245,130,32,.24),transparent 70%)}
.lfsq-home-widget__aurora--two{width:220px;height:220px;left:-76px;bottom:-100px;background:radial-gradient(circle,rgba(30,113,187,.18),transparent 72%)}

.lfsq-home-widget__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);
  gap:38px;
  align-items:center;
}
.lfsq-home-widget__copy,
.lfsq-home-widget__visual{min-width:0}

/* =========================
   LEFT / PROMO COPY
   ========================= */
.lfsq-home-widget__copy{align-self:center}
.lfsq-home-widget__title-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 12px;
}
.lfsq-home-widget__title{
  flex:1 1 auto;
  margin:0;
  color:#102f5b;
  font-size:clamp(36px,3vw,52px);
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:900;
}
.lfsq-home-widget__description{
  margin:0 0 22px;
  max-width:720px;
  color:#60728a;
  font-size:18px;
  line-height:1.55;
}

/* quiz count pill next to title */
.lfsq-home-widget__count-pill{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  gap:5px;
  padding:6px 9px;
  border-radius:999px;
  background:linear-gradient(135deg,#0c69b6 0%,#2080cc 100%);
  color:#fff;
  border:1px solid rgba(255,255,255,.3);
  box-shadow:0 9px 20px rgba(20,104,174,.17);
  overflow:hidden;
  animation:lfsqPillFloat 4.2s ease-in-out infinite;
}
.lfsq-home-widget__count-pill-icon{
  position:relative;z-index:1;
  width:16px;height:16px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.17);
  font-size:8px;
}
.lfsq-home-widget__hero-stat-number{
  position:relative;z-index:1;
  min-width:50px;
  color:#fff;
  font-size:18px;
  line-height:1;
  letter-spacing:-.02em;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.lfsq-home-widget__count-pill-suffix{position:relative;z-index:1;margin-left:-3px;font-size:12px;font-weight:900;line-height:1}
.lfsq-home-widget__count-pill-text{position:relative;z-index:1;font-size:9px;font-weight:800;white-space:nowrap;opacity:.95}
@keyframes lfsqPillFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

/* benefit cards */
.lfsq-home-widget__chips{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:0 0 22px;
}
.lfsq-home-widget__chip{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:94px;
  padding:17px 18px;
  border:1px solid #dbe6f0;
  border-radius:19px;
  box-shadow:0 10px 22px rgba(21,44,73,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.lfsq-home-widget__chip:nth-child(1){background:linear-gradient(180deg,#fbfdff 0%,#f0f7ff 100%)}
.lfsq-home-widget__chip:nth-child(2){background:linear-gradient(180deg,#fffafb 0%,#fff0f5 100%)}
.lfsq-home-widget__chip:nth-child(3){background:linear-gradient(180deg,#fbfffd 0%,#edf9f3 100%)}
.lfsq-home-widget__chip:nth-child(4){background:linear-gradient(180deg,#fdfcff 0%,#f3efff 100%)}
.lfsq-home-widget__chip:hover{transform:translateY(-2px);border-color:#cedce9;box-shadow:0 14px 28px rgba(21,44,73,.055)}
.lfsq-home-widget__chip-icon{
  flex:0 0 54px;
  width:54px;height:54px;
  display:grid;place-items:center;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.035),0 7px 15px rgba(21,44,73,.04);
}
.lfsq-home-widget__chip:nth-child(1) .lfsq-home-widget__chip-icon{background:#e8f4ff;color:#1876bd}
.lfsq-home-widget__chip:nth-child(2) .lfsq-home-widget__chip-icon{background:#ffeef3;color:#d94f7b}
.lfsq-home-widget__chip:nth-child(3) .lfsq-home-widget__chip-icon{background:#e8f9f0;color:#19a363}
.lfsq-home-widget__chip:nth-child(4) .lfsq-home-widget__chip-icon{background:#f0eaff;color:#754bd1}
.lfsq-home-widget__chip-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lfsq-home-widget__chip-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.lfsq-home-widget__chip-copy strong{color:#153660;font-size:18px;line-height:1.18;font-weight:850}
.lfsq-home-widget__chip-copy small{color:#647892;font-size:12.5px;line-height:1.28;font-weight:500}

.lfsq-home-widget__cta-row{display:flex}
.lfsq-home-widget__cta-row--after-tabs{justify-content:center;margin:0}
.lfsq-home-widget__cta{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:350px;
  min-height:60px;
  padding:0 34px;
  overflow:hidden;
  isolation:isolate;
  border-radius:15px;
  background:linear-gradient(180deg,#ff9f48 0%,var(--cta) 100%);
  color:#fff!important;
  text-decoration:none!important;
  font-size:18px;
  font-weight:850;
  box-shadow:0 15px 30px rgba(245,130,32,.22);
  transition:transform .18s ease,box-shadow .18s ease;
}
.lfsq-home-widget__cta::before{
  content:"";
  position:absolute;
  top:-70%;
  bottom:-70%;
  left:-46%;
  width:30%;
  background:linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.08) 26%,
    rgba(255,255,255,.40) 50%,
    rgba(255,255,255,.10) 74%,
    rgba(255,255,255,0) 100%);
  transform:rotate(20deg);
  filter:blur(.15px);
  pointer-events:none;
  z-index:0;
  opacity:0;
  animation:lfsqHomeCtaShine 5.6s cubic-bezier(.4,0,.2,1) infinite;
}
.lfsq-home-widget__cta::after{
  content:"";
  position:absolute;top:-40%;left:-32%;width:32%;height:180%;
  background:rgba(255,255,255,.18);
  transform:rotate(24deg) translateX(-220%);
  transition:transform .5s ease;
  z-index:0;
}
.lfsq-home-widget__cta > *{position:relative;z-index:1}
@keyframes lfsqHomeCtaShine{
  0%,64%,100%{left:-46%;opacity:0}
  68%{opacity:.9}
  82%{left:116%;opacity:.9}
  88%{left:126%;opacity:0}
}
.lfsq-home-widget__cta:hover{transform:translateY(-2px);box-shadow:0 19px 34px rgba(245,130,32,.28)}
.lfsq-home-widget__cta:hover::after{transform:rotate(24deg) translateX(650%)}
.lfsq-home-widget__cta-arrow{font-size:24px;line-height:1}


/* =========================
   RIGHT / INTERACTIVE NOTEBOOK
   ========================= */
.lfsq-home-widget__visual{position:relative;display:flex;align-items:center;overflow:visible}
.lfsq-home-widget__interactive-stage{
  position:relative;
  width:100%;
  min-width:0;
  padding:10px 30px 30px 2px;
  overflow:visible;
}
.lfsq-home-widget__hero-notebook{
  position:relative;
  z-index:3;
  width:100%;
  margin:0;
}
.lfsq-home-widget__hero-notebook-screen{
  position:relative;
  padding:13px;
  border:1px solid rgba(12,26,43,.6);
  border-radius:24px 24px 11px 11px;
  background:linear-gradient(180deg,#25364a 0%,#142236 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -1px 0 rgba(0,0,0,.18);
}
.lfsq-home-widget__hero-notebook-screen::before{
  content:"";
  position:absolute;
  z-index:4;
  top:6px;left:50%;
  width:44px;height:4px;
  transform:translateX(-50%);
  border-radius:99px;
  background:rgba(255,255,255,.17);
}
.lfsq-home-widget__hero-notebook-screen::after{
  content:"";
  position:absolute;
  left:43%;right:43%;bottom:-3px;
  height:4px;
  border-radius:4px 4px 0 0;
  background:#8796a5;
  opacity:.78;
}


.lfsq-home-widget__hero-quiz-shell{
  padding:17px 18px 16px;
  border:1px solid #e1e9f0;
  border-radius:17px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}
.lfsq-home-widget__hero-quiz-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}
.lfsq-home-widget__hero-quiz-head h3{
  margin:0;
  color:#12325d;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.025em;
  font-weight:900;
}

/* purple refresh button */
.lfsq-home-widget__refresh{
  appearance:none;
  border:0;
  cursor:pointer;
  font-family:inherit;
}
.lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh,
.lfsq-home-widget__preview-head .lfsq-home-widget__refresh{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:32px;
  padding:0 9px 0 12px;
  border:1px solid rgba(113,72,203,.22);
  border-radius:10px;
  background:linear-gradient(180deg,#a379f1 0%,#7b4fd3 100%);
  color:#fff;
  font-size:10.5px;
  line-height:1;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 8px 17px rgba(122,79,208,.17),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh:hover,
.lfsq-home-widget__preview-head .lfsq-home-widget__refresh:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(122,79,208,.22),inset 0 1px 0 rgba(255,255,255,.2)}
.lfsq-home-widget__refresh.is-loading{opacity:.62;pointer-events:none}
.lfsq-home-widget__refresh-icon{
  flex:0 0 17px;
  width:17px;height:17px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.15);
}
.lfsq-home-widget__refresh-icon svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* =========================
   QUIZ CONTENT
   ========================= */
.lfsq-home-widget__hero-quiz-area,
.lfsq-home-widget__quiz-area{
  position:relative;
  padding:14px;
  border:1px solid #e1e9f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 18px rgba(18,40,72,.025);
}
.lfsq-home-widget__hero-quiz-area{padding:13px 14px;box-shadow:none}
.lfsq-home-widget__hero-quiz-area.is-refreshing,
.lfsq-home-widget__quiz-area.is-refreshing{opacity:.58;transform:scale(.997);transition:opacity .16s ease,transform .16s ease}
.lfsq-home-widget__hero-quiz-area.is-refreshed,
.lfsq-home-widget__quiz-area.is-refreshed{animation:lfsqQuizIn .24s ease both}
@keyframes lfsqQuizIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}

.lfsq-home-widget__question{position:relative;animation:lfsqQuestionIn .18s ease both}
@keyframes lfsqQuestionIn{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes lfsqShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
.lfsq-home-widget__question.is-shake{animation:lfsqShake .38s ease}

.lfsq-home-widget__question-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 10px}
.lfsq-home-widget__badges{display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.lfsq-home-widget__badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:11px;
  line-height:1.05;
  font-weight:800;
}
.lfsq-home-widget__badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}
.lfsq-home-widget__subject--1{background:#edf6ff;border-color:#d5e9fb;color:#2775b3}
.lfsq-home-widget__subject--2{background:#eefdF4;border-color:#d4f3e1;color:#1f8b58}
.lfsq-home-widget__subject--3{background:#fff6e9;border-color:#fbe3bc;color:#ac6b12}
.lfsq-home-widget__subject--4{background:#f5efff;border-color:#e5d7fb;color:#754cb0}
.lfsq-home-widget__subject--5{background:#fff0f4;border-color:#f7d4df;color:#ba4668}
.lfsq-home-widget__subject--6{background:#edfafa;border-color:#d4efef;color:#10776f}
.lfsq-home-widget__subject--7{background:#f3f6f8;border-color:#e0e6eb;color:#4b5e70}
.lfsq-home-widget__subject--8{background:#fdf7ed;border-color:#f5e2be;color:#95600d}
.lfsq-home-widget__badge--difficulty.is-easy{background:#ebfaf1;border-color:#ccefd9;color:#218b4f}
.lfsq-home-widget__badge--difficulty.is-medium{background:#fff6e6;border-color:#f9dfae;color:#b06c13}
.lfsq-home-widget__badge--difficulty.is-hard{background:#fff0ed;border-color:#f7d3ca;color:#bd4937}
.lfsq-home-widget__progress{flex:0 0 auto;color:#60758d;font-size:12px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums}

.lfsq-home-widget__question-text{
  margin:0 0 12px;
  color:#17365f;
  font-size:20px;
  line-height:1.24;
  letter-spacing:-.015em;
  font-weight:850;
}
.lfsq-home-widget__hero-quiz-area .lfsq-home-widget__question-text{font-size:16.5px;line-height:1.24;margin-bottom:10px}

.lfsq-home-widget__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lfsq-home-widget__options.has-3-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.lfsq-home-widget__options.has-3-options .lfsq-home-widget__option:last-child{grid-column:1 / -1}
.lfsq-home-widget__hero-quiz-area .lfsq-home-widget__options{grid-template-columns:1fr;gap:8px}
.lfsq-home-widget__option{
  appearance:none;
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:52px;
  padding:11px 38px 11px 12px;
  border:1px solid #d9e3ec;
  border-radius:13px;
  background:#fff;
  color:#203d62;
  text-align:left;
  cursor:pointer;
  transition:transform .15s ease,border-color .15s ease,background-color .15s ease,box-shadow .15s ease;
}
.lfsq-home-widget__option:hover{transform:translateY(-1px);border-color:#c7d6e4;box-shadow:0 7px 14px rgba(18,40,72,.04)}
.lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option{min-height:45px;padding:8px 34px 8px 9px;border-radius:11px}
.lfsq-home-widget__option-letter{
  flex:0 0 29px;
  width:29px;height:29px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#eef3f7;
  color:#76899d;
  font-size:12px;
  font-weight:900;
}
.lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-letter{flex-basis:25px;width:25px;height:25px;font-size:10px}
.lfsq-home-widget__option-text{font-size:15px;line-height:1.34;font-weight:650}
.lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-text{font-size:13px;line-height:1.28}
.lfsq-home-widget__option:disabled{cursor:default}
.lfsq-home-widget__option.is-selected{border-color:#9eb6cf;background:#fbfdff}
.lfsq-home-widget__option.is-correct{border-color:#2aa45e;background:rgba(42,164,94,.08)}
.lfsq-home-widget__option.is-wrong{border-color:#c84d3a;background:rgba(200,77,58,.075)}
.lfsq-home-widget__option-status{position:absolute;top:50%;right:10px;width:20px;height:20px;transform:translateY(-50%);border-radius:50%;opacity:0}
.lfsq-home-widget__option.is-correct .lfsq-home-widget__option-status,
.lfsq-home-widget__option.is-wrong .lfsq-home-widget__option-status{opacity:1}
.lfsq-home-widget__option.is-correct .lfsq-home-widget__option-status{background:#2aa45e}
.lfsq-home-widget__option.is-wrong .lfsq-home-widget__option-status{background:#c84d3a}
.lfsq-home-widget__option-status::before{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:900}
.lfsq-home-widget__option.is-correct .lfsq-home-widget__option-status::before{content:"✓"}
.lfsq-home-widget__option.is-wrong .lfsq-home-widget__option-status::before{content:"×"}

.lfsq-home-widget__feedback{margin-top:10px;padding:11px 12px;border:1px solid #e1e8ef;border-radius:12px;background:#f8fbfd;color:#415773;font-size:12px;line-height:1.5}
.lfsq-home-widget__feedback.is-success{background:#effaf3;border-color:#d4eedc}
.lfsq-home-widget__feedback.is-error{background:#fff5f2;border-color:#f5d7d0}
.lfsq-home-widget__feedback-title{display:block;margin-bottom:5px;color:#17365f;font-size:14px;font-weight:850}
.lfsq-home-widget__correct-answer{margin-bottom:5px}
.lfsq-home-widget__explanation{line-height:1.5}

.lfsq-home-widget__question-actions{display:flex;align-items:center;justify-content:center;margin-top:10px;text-align:center}
.lfsq-home-widget__next{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:0 auto;
  padding:0;
  border:0;
  background:transparent;
  color:#1769aa;
  font-size:13px;
  line-height:1.2;
  font-weight:850;
  cursor:pointer;
}

/* answer effects */
.lfsq-home-widget__confetti{position:absolute;left:50%;top:50%;z-index:8;pointer-events:none}
.lfsq-home-widget__confetti i{position:absolute;width:7px;height:12px;border-radius:999px;background:var(--confetti);animation:lfsqConfetti .9s ease-out forwards}
@keyframes lfsqConfetti{from{opacity:1;transform:translate(0,0) rotate(0deg) scale(1)}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.45)}}

/* completion state */
.lfsq-home-widget__quiz-complete{
  position:relative;
  overflow:hidden;
  margin-top:11px;
  padding:14px 13px 13px;
  border:1px solid #d6e7f5;
  border-radius:14px;
  background:linear-gradient(145deg,#eff8ff 0%,#fff 58%,#fff7ee 100%);
  text-align:center;
}
.lfsq-home-widget__quiz-complete::before{content:"";position:absolute;width:105px;height:105px;right:-48px;top:-56px;border-radius:50%;background:radial-gradient(circle,rgba(245,130,32,.13),rgba(245,130,32,0) 70%);pointer-events:none}
.lfsq-home-widget__quiz-complete.is-entering{animation:lfsqCompleteIn .32s ease both}
@keyframes lfsqCompleteIn{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}
.lfsq-home-widget__quiz-complete-visual{display:flex;justify-content:center;margin-bottom:7px}
.lfsq-home-widget__quiz-complete-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(180deg,#fff7e8,#ffe2ba);font-size:22px;box-shadow:0 9px 18px rgba(245,130,32,.12)}
.lfsq-home-widget__quiz-complete h4{margin:0 0 5px;color:#15355e;font-size:17px;line-height:1.15;font-weight:900}
.lfsq-home-widget__quiz-complete p{max-width:430px;margin:0 auto;color:#5b7089;font-size:12px;line-height:1.45}
.lfsq-home-widget__quiz-complete-actions{display:flex;justify-content:center;margin-top:10px}
.lfsq-home-widget__sidecta--complete{min-height:40px;padding:0 17px;border-radius:11px;font-size:13px}

/* =========================
   NON INTERACTIVE HERO
   ========================= */
.lfsq-home-widget__image-wrap{position:relative;width:100%;min-height:430px;overflow:hidden;border:1px solid #d8e3ed;border-radius:21px;background:#edf3f8;box-shadow:0 17px 34px rgba(18,40,72,.09)}
.lfsq-home-widget__hero-image{display:block;width:100%;height:100%;min-height:430px;object-fit:cover}
.lfsq-home-widget__visual-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,25,44,.04),rgba(8,25,44,.16))}
.lfsq-home-widget__visual-card{position:absolute;z-index:2;left:18px;bottom:18px;max-width:285px;padding:14px 15px;border:1px solid rgba(220,230,239,.97);border-radius:15px;background:rgba(255,255,255,.91);backdrop-filter:blur(10px);box-shadow:0 12px 24px rgba(18,40,72,.08)}
.lfsq-home-widget__visual-card strong{display:block;margin-bottom:5px;color:#15355e;font-size:17px;line-height:1.18}
.lfsq-home-widget__visual-card span{color:#556b84;font-size:13px;line-height:1.42}
.lfsq-home-widget__spark{position:absolute;z-index:3;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.76);color:#f4b451;box-shadow:0 8px 16px rgba(18,40,72,.07);animation:lfsqFloat 3.7s ease-in-out infinite}
.lfsq-home-widget__spark--1{right:16px;top:16px}.lfsq-home-widget__spark--2{left:18px;top:28px;animation-delay:1s}
@keyframes lfsqFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(4deg)}}

/* =========================
   LEGACY PREVIEW BELOW HERO
   ========================= */
.lfsq-home-widget__preview{margin-top:18px;padding:24px;border:1px solid #dce6ef;border-radius:22px;background:linear-gradient(180deg,#fbfdff,#f6f9fd);box-shadow:0 18px 40px rgba(18,42,73,.05)}
.lfsq-home-widget__preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.lfsq-home-widget__preview-head h3{margin:0 0 6px;color:#15345d;font-size:30px;line-height:1.05;font-weight:900}
.lfsq-home-widget__preview-head p{margin:0;color:#5c7088;font-size:14px;line-height:1.5}
.lfsq-home-widget__preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}
.lfsq-home-widget__sidecard{padding:21px 19px;border:1px solid #d6e3f2;border-radius:18px;background:linear-gradient(180deg,#edf5ff,#f8fbff);box-shadow:0 12px 26px rgba(18,40,72,.04)}
.lfsq-home-widget__sidehead{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.lfsq-home-widget__sideicon{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:21px;box-shadow:0 7px 14px rgba(18,40,72,.05)}
.lfsq-home-widget__sidehead h4{margin:0;color:#17325a;font-size:24px;line-height:1.05;font-weight:900;white-space:nowrap}
.lfsq-home-widget__sidecard p{margin:0 0 14px;color:#4d627c;font-size:14px;line-height:1.55}
.lfsq-home-widget__sidecta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 19px;border-radius:12px;background:linear-gradient(180deg,#ff9d45,var(--cta));color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;box-shadow:0 11px 20px rgba(245,130,32,.17)}
.lfsq-home-widget__checklist{list-style:none;padding:0;margin:15px 0 0}
.lfsq-home-widget__checklist li{position:relative;padding-left:25px;margin:0 0 8px;color:#173862;font-size:13.5px;font-weight:650}
.lfsq-home-widget__checklist li::before{content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#28a45c;color:#fff;font-size:10px;font-weight:900}

/* focus */
.lfsq-home-widget__option:focus-visible,
.lfsq-home-widget__refresh:focus-visible,
.lfsq-home-widget__next:focus-visible,
.lfsq-home-widget__cta:focus-visible,
.lfsq-home-widget__sidecta:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* =========================
   TABLET / SMALL DESKTOP
   ========================= */
@media(max-width:1179px) and (min-width:701px){
  .lfsq-home-widget__hero{padding:28px 26px 24px}
  .lfsq-home-widget__grid{grid-template-columns:1fr;gap:24px}
  .lfsq-home-widget__copy{max-width:900px;margin:0 auto;width:100%}
  .lfsq-home-widget__visual{width:100%;max-width:820px;margin:0 auto}
  .lfsq-home-widget__title{font-size:44px}
}

/* =========================
   MOBILE: notebook before benefits
   ========================= */
@media(max-width:700px){
  .lfsq-home-widget{margin:0 0 18px}
  .lfsq-home-widget__hero{padding:15px 12px 13px;border-radius:19px}
  .lfsq-home-widget__grid{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:"title" "desc" "visual" "chips" "cta";
    gap:10px;
    align-items:start;
  }
  .lfsq-home-widget__copy{display:contents}
  .lfsq-home-widget__title-row{grid-area:title;display:flex;align-items:flex-start;flex-direction:column;gap:7px;margin:0}
  .lfsq-home-widget__title{font-size:31px;line-height:1.04;white-space:normal}
  .lfsq-home-widget__description{grid-area:desc;margin:0;font-size:14px;line-height:1.48}
  .lfsq-home-widget__count-pill{padding:4px 7px;gap:3px;animation:lfsqPillFloat 4.2s ease-in-out infinite}
  .lfsq-home-widget__count-pill-icon{width:13px;height:13px;font-size:7px}
  .lfsq-home-widget__hero-stat-number{min-width:40px;font-size:14px}
  .lfsq-home-widget__count-pill-suffix{font-size:10px}
  .lfsq-home-widget__count-pill-text{font-size:8.5px}

  .lfsq-home-widget__visual{grid-area:visual;width:100%;overflow:visible}
  .lfsq-home-widget__hero-notebook-screen{padding:8px;border-radius:19px 19px 9px 9px}
  .lfsq-home-widget__hero-notebook-screen::before{top:5px;width:36px;height:3px}
  .lfsq-home-widget__hero-quiz-shell{padding:9px;border-radius:12px}
  .lfsq-home-widget__hero-quiz-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px;margin-bottom:8px}
  .lfsq-home-widget__hero-quiz-head h3{font-size:clamp(15px,4.2vw,18px);line-height:1.05;white-space:nowrap}
  .lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh{min-height:26px;padding:0 6px 0 8px;gap:4px;border-radius:8px;font-size:9px}
  .lfsq-home-widget__refresh-icon{flex-basis:14px;width:14px;height:14px}.lfsq-home-widget__refresh-icon svg{width:8px;height:8px}
  .lfsq-home-widget__hero-quiz-area{padding:8px;border-radius:11px}
  .lfsq-home-widget__question-meta{gap:6px;margin-bottom:7px}
  .lfsq-home-widget__badges{gap:5px;max-width:calc(100% - 38px)}
  .lfsq-home-widget__badge{padding:5px 7px;font-size:9.5px}
  .lfsq-home-widget__progress{min-width:31px;font-size:9.5px;text-align:right}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__question-text{font-size:14px;line-height:1.2;margin-bottom:8px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__options{gap:7px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option{min-height:40px;padding:8px 28px 8px 8px;border-radius:10px;gap:9px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-letter{flex-basis:25px;width:25px;height:25px;font-size:10px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-text{font-size:11.5px;line-height:1.22}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__feedback{margin-top:7px;padding:8px 9px}
  .lfsq-home-widget__feedback-title{font-size:12px}.lfsq-home-widget__explanation{font-size:10.5px;line-height:1.38}
  .lfsq-home-widget__question-actions{margin-top:8px}.lfsq-home-widget__next{font-size:12px}

  .lfsq-home-widget__chips{grid-area:chips;grid-template-columns:1fr;gap:8px;margin:0}
  .lfsq-home-widget__chip{min-height:68px;padding:11px 12px;border-radius:16px}
  .lfsq-home-widget__chip-icon{flex-basis:42px;width:42px;height:42px}.lfsq-home-widget__chip-icon svg{width:19px;height:19px}
  .lfsq-home-widget__chip-copy{gap:2px}.lfsq-home-widget__chip-copy strong{font-size:13.5px}.lfsq-home-widget__chip-copy small{font-size:10.5px}

  .lfsq-home-widget__cta-row--after-tabs{grid-area:cta;margin:3px 0 0}
  .lfsq-home-widget__cta{width:100%;min-width:0;min-height:50px;padding:0 20px;font-size:15px;border-radius:13px}

  .lfsq-home-widget__quiz-complete{padding:12px 10px}.lfsq-home-widget__quiz-complete h4{font-size:16px}.lfsq-home-widget__quiz-complete p{font-size:11.5px}
  .lfsq-home-widget__preview{padding:14px 11px;border-radius:18px}.lfsq-home-widget__preview-head{flex-direction:column;gap:7px}.lfsq-home-widget__preview-grid{grid-template-columns:1fr}.lfsq-home-widget__options{grid-template-columns:1fr}.lfsq-home-widget__options.has-3-options .lfsq-home-widget__option:last-child{grid-column:auto}.lfsq-home-widget__sidehead h4{font-size:20px;white-space:normal}
}

/* tiny phones: allow header wrap only when truly needed */
@media(max-width:390px){
  .lfsq-home-widget__hero-quiz-head{grid-template-columns:1fr;gap:6px}
  .lfsq-home-widget__hero-quiz-head h3{white-space:normal}
  .lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh{justify-self:start}
}

/* admin preview */
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero{padding:14px;border-radius:16px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__grid{grid-template-columns:1fr;gap:12px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__title{font-size:25px;white-space:normal}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__description{font-size:11px;margin-bottom:10px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__count-pill{animation:none;padding:3px 6px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__chips{gap:7px;margin-bottom:9px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__chip{min-height:50px;padding:8px 9px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__chip-icon{width:32px;height:32px;flex-basis:32px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__chip-copy strong{font-size:11px}.lfsq-home-widget.is-admin-preview .lfsq-home-widget__chip-copy small{font-size:8px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__cta{min-width:0;min-height:38px;padding:0 14px;font-size:11px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__interactive-stage{padding:4px 12px 16px 2px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-notebook-screen{padding:7px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-quiz-shell{padding:8px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-quiz-head h3{font-size:14px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__question-text{font-size:11px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-text{font-size:9px}
.lfsq-home-widget.is-admin-preview .lfsq-home-widget__sidecard{display:none}

@media(prefers-reduced-motion:reduce){
  .lfsq-home-widget.has-animations,
  .lfsq-home-widget__count-pill,
  .lfsq-home-widget__spark,
  .lfsq-home-widget__cta,
  .lfsq-home-widget__cta::before,
  .lfsq-home-widget__cta::after,
  .lfsq-home-widget__option,
  .lfsq-home-widget__question,
  .lfsq-home-widget__quiz-complete.is-entering,
  .lfsq-home-widget__confetti i{animation:none!important;transition:none!important;transform:none!important}
}

/* =========================
   FINAL VISUAL TUNING
   ========================= */
/* Dark graphite notebook bezel. */
.lfsq-home-widget__hero-notebook-screen{
  border:1px solid rgba(4,10,18,.94);
  background:linear-gradient(180deg,#152238 0%,#081321 66%,#050d18 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(0,0,0,.46),
    inset 1px 0 0 rgba(255,255,255,.025),
    inset -1px 0 0 rgba(255,255,255,.02),
    0 1px 0 rgba(255,255,255,.035);
}

/* Metallic support: exact transparent asset supplied for the tablet base. */
.lfsq-home-widget__interactive-stage{background:transparent;overflow:visible}
.lfsq-home-widget__hero-notebook{background:transparent}
.lfsq-home-widget__hero-notebook-base-image{
  position:relative;
  z-index:4;
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:-1px 0 0;
  border:0;
  border-radius:0;
  object-fit:contain;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
  user-select:none;
}

/* Lighter benefit cards. */
.lfsq-home-widget__chip{border-color:#dfe8f1;box-shadow:0 8px 18px rgba(21,44,73,.028)}
.lfsq-home-widget__chip:hover{border-color:#d3e0eb;box-shadow:0 12px 24px rgba(21,44,73,.045)}

/* Desktop wide */
@media(min-width:1180px){
  .lfsq-home-widget__hero{padding:12px 14px 14px}
  .lfsq-home-widget__grid{grid-template-columns:minmax(0,.965fr) minmax(0,1.035fr);gap:14px;align-items:center}
  .lfsq-home-widget__copy{padding-right:0}
  .lfsq-home-widget__title-row{gap:14px;margin-bottom:8px}
  .lfsq-home-widget__description{max-width:94%;margin-bottom:14px;line-height:1.48}
  .lfsq-home-widget__chips{gap:11px;margin-bottom:10px}
  .lfsq-home-widget__chip{min-height:84px;padding:14px 16px}

  .lfsq-home-widget__visual{width:100%;padding-right:6px}
  .lfsq-home-widget__interactive-stage{width:100%;padding:0 8px 1px 0;margin:0}
  .lfsq-home-widget__hero-notebook{width:100.3%;margin:-4px 0 0}
  .lfsq-home-widget__hero-notebook-screen{padding:12px;border-radius:25px 25px 11px 11px}
  .lfsq-home-widget__hero-notebook-screen::before{top:6px;width:48px;height:4px;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(146,160,177,.26))}
  .lfsq-home-widget__hero-notebook-screen::after{left:43.5%;right:43.5%;bottom:-3px;height:4px;background:linear-gradient(180deg,#6e7f90 0%,#8c9baa 100%);opacity:.72}
  .lfsq-home-widget__hero-notebook-base-image{width:105%;margin:-1px 0 0 -2.5%}

  .lfsq-home-widget__hero-quiz-shell{padding:13px 13px 12px;border-radius:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 1px 0 rgba(15,33,53,.025)}
  .lfsq-home-widget__hero-quiz-head{margin-bottom:9px}
  .lfsq-home-widget__hero-quiz-head h3{font-size:23px}
  .lfsq-home-widget__hero-quiz-area{padding:10px 11px 11px;border-radius:14px}
  .lfsq-home-widget__question-meta{margin-bottom:7px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__question-text{margin-bottom:7px;font-size:16px;line-height:1.2}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__options{gap:6px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option{min-height:39px;padding:7px 32px 7px 9px}
  .lfsq-home-widget__hero-quiz-area .lfsq-home-widget__option-text{font-size:12.6px;line-height:1.22}

  .lfsq-home-widget__cta-row--after-tabs{margin-top:9px;margin-bottom:5px}
  .lfsq-home-widget__cta{min-width:288px;min-height:48px;padding:0 23px;gap:10px;border-radius:13px;font-size:15px;box-shadow:0 13px 26px rgba(245,130,32,.20)}
  .lfsq-home-widget__cta-arrow{font-size:20px}
}

/* Medium desktop / tablet */
@media(min-width:701px) and (max-width:1179px){
  .lfsq-home-widget__hero{padding:18px 20px 14px}
  .lfsq-home-widget__grid{gap:18px}
  .lfsq-home-widget__copy{padding-right:4px}
  .lfsq-home-widget__description{max-width:94%}
  .lfsq-home-widget__visual{padding-right:0}
  .lfsq-home-widget__interactive-stage{padding:0 12px 2px;margin:0}
  .lfsq-home-widget__hero-notebook{width:100%;margin:0 auto}
  .lfsq-home-widget__hero-notebook-screen{border-radius:25px 25px 11px 11px}
  .lfsq-home-widget__hero-notebook-base-image{width:104%;margin:-1px 0 0 -2%}
  .lfsq-home-widget__hero-quiz-shell{box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 1px 0 rgba(15,33,53,.025)}
  .lfsq-home-widget__cta-row--after-tabs{margin-top:8px;margin-bottom:2px}
  .lfsq-home-widget__cta{min-width:282px;min-height:47px;padding:0 22px;gap:10px;border-radius:13px;font-size:14.5px}
  .lfsq-home-widget__cta-arrow{font-size:20px}
}

/* Mobile */
@media(max-width:700px){
  .lfsq-home-widget__hero{padding:12px 10px 8px}
  .lfsq-home-widget__grid{gap:6px}
  .lfsq-home-widget__interactive-stage{padding:0 12px;margin:0}
  .lfsq-home-widget__hero-notebook{width:100%;margin:0 auto}
  .lfsq-home-widget__hero-notebook-base-image{width:100%;margin:-1px 0 0}

  /* Keep title and purple refresh action on one line. */
  .lfsq-home-widget__hero-quiz-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px}
  .lfsq-home-widget__hero-quiz-head h3{min-width:0;margin:0;font-size:clamp(13px,3.8vw,16px);line-height:1.04;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh{justify-self:end;min-height:24px;max-width:none;padding:0 6px 0 7px;gap:3px;border-radius:8px;font-size:8.2px;line-height:1;white-space:nowrap}
  .lfsq-home-widget__refresh-icon{flex:0 0 12px;width:12px;height:12px}
  .lfsq-home-widget__refresh-icon svg{width:7px;height:7px}

  .lfsq-home-widget__chips{margin-top:0;gap:7px}
  .lfsq-home-widget__chip{min-height:66px;padding:11px 12px;border-color:#dfe7ef;box-shadow:0 6px 14px rgba(21,44,73,.022)}
  .lfsq-home-widget__cta-row--after-tabs{margin:4px 0 0}
  .lfsq-home-widget__cta{min-height:44px;padding:0 17px;gap:9px;border-radius:12px;font-size:13.5px}
  .lfsq-home-widget__cta-arrow{font-size:19px}
}

@media(max-width:390px){
  .lfsq-home-widget__interactive-stage{padding-left:12px;padding-right:12px}
  .lfsq-home-widget__hero-quiz-head{grid-template-columns:minmax(0,1fr) auto;gap:4px}
  .lfsq-home-widget__hero-quiz-head h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lfsq-home-widget__hero-quiz-head .lfsq-home-widget__refresh{justify-self:end;min-height:23px;padding:0 5px 0 6px;font-size:7.8px}
}

.lfsq-home-widget.is-admin-preview .lfsq-home-widget__hero-notebook-base-image{width:105%;margin:-1px 0 0 -2.5%}
