/* Sumnetics leadership character quiz.
   Uses the site's existing :root tokens; fallbacks let it also run standalone. */
.lq-scope {
  --lq-ink: var(--ink, #050a18);
  --lq-ink2: var(--ink-2, #0a1226);
  --lq-ink3: var(--ink-3, #0f1930);
  --lq-line: var(--line, rgba(255,255,255,.09));
  --lq-line2: var(--line-2, rgba(255,255,255,.16));
  --lq-text: var(--text, #eef2f8);
  --lq-muted: var(--muted, #a3aec0);
  --lq-faint: var(--faint, #7c879a);
  --lq-cyan: var(--cyan, #22c3dd);
  --lq-cyan-ink: var(--cyan-ink, #03222a);
  --lq-gold: var(--gold, #d5b775);
  --lq-r: var(--radius, 14px);
  --lq-rs: var(--radius-sm, 10px);
  --lq-display: var(--display, Lexend, Inter, ui-sans-serif, system-ui, sans-serif);
  --lq-font: var(--font, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-family: var(--lq-font);
  color: var(--lq-text);
}

#lq { max-width: 640px; margin: 0 auto; scroll-margin-top: 88px; }

.lq-card {
  position: relative;
  background: linear-gradient(180deg, var(--lq-ink2), var(--lq-ink3));
  border: 1px solid var(--lq-line2);
  border-radius: var(--lq-r);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow, 0 20px 50px -20px rgba(0,0,0,.6));
  overflow: hidden;
}
.lq-card::before { /* soft cyan glow, purely decorative */
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(34,195,221,.14), transparent);
  pointer-events: none;
}
.lq-enter { animation: lq-in .28s ease-out both; }
@keyframes lq-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lq-eyebrow { margin: 0 0 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--lq-cyan); font-weight: 600; }
.lq-glyph { text-transform: none; font-family: var(--lq-display); }
.lq-title, .lq-q, .lq-name { font-family: var(--lq-display); color: #fff; margin: 0; line-height: 1.2; }
.lq-title { font-size: clamp(26px, 4.2vw, 34px); }
.lq-sub { margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--lq-muted); }
.lq-fine { margin: 14px 0 0; font-size: 14px; color: var(--lq-faint); }
.lq-fine a { color: var(--lq-cyan); }
.lq-shared {
  margin: 0 0 18px; padding: 10px 14px; font-size: 15px; color: var(--lq-text);
  background: rgba(213,183,117,.1); border: 1px solid rgba(213,183,117,.35); border-radius: var(--lq-rs);
}
.lq-shared strong { color: var(--lq-gold); }

/* The cast: five glyphs, a playful teaser of the possible results */
.lq-cast { display: flex; gap: 10px; margin: 22px 0 4px; flex-wrap: wrap; }
.lq-cast-g {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--lq-display); font-size: 20px; color: var(--lq-cyan);
  border: 1px solid var(--lq-line2); background: rgba(34,195,221,.06);
}
@media (prefers-reduced-motion: no-preference) {
  .lq-cast-g { animation: lq-bob 3.6s ease-in-out infinite; }
  .lq-cast-g:nth-child(2) { animation-delay: .25s; }
  .lq-cast-g:nth-child(3) { animation-delay: .5s; }
  .lq-cast-g:nth-child(4) { animation-delay: .75s; }
  .lq-cast-g:nth-child(5) { animation-delay: 1s; }
}
@keyframes lq-bob { 0%,100% { transform: none; } 50% { transform: translateY(-3px); } }

.lq-actions { margin-top: 22px; }
.lq-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: var(--lq-rs); font: 600 17px/1 var(--lq-font); text-decoration: none; cursor: pointer; border: 0;
}
.lq-btn-primary { background: var(--lq-cyan); color: var(--lq-cyan-ink); }
.lq-btn-primary:hover { filter: brightness(1.08); }
.lq-link { background: none; border: 0; padding: 0; color: var(--lq-cyan); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.lq-btn:focus-visible, .lq-link:focus-visible, .lq-option:focus-visible, .lq-chip:focus-visible, .lq-more summary:focus-visible {
  outline: 2px solid var(--lq-cyan); outline-offset: 3px;
}
.lq-q:focus, .lq-name:focus { outline: none; }

/* Question stepper */
.lq-progress { height: 4px; background: var(--lq-line); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.lq-progress-fill { display: block; height: 100%; background: var(--lq-cyan); border-radius: 4px; transition: width .28s ease; }
.lq-q { font-size: clamp(20px, 3.2vw, 24px); margin-bottom: 18px; }
.lq-options { display: grid; gap: 10px; }
.lq-option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 14px;
  text-align: left; font: 400 17px/1.4 var(--lq-font); color: var(--lq-text);
  background: rgba(255,255,255,.025); border: 1px solid var(--lq-line2); border-radius: var(--lq-rs);
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.lq-option:hover { border-color: rgba(34,195,221,.55); background: rgba(34,195,221,.06); }
.lq-option:active { transform: scale(.99); }
.lq-option.is-chosen { border-color: var(--lq-cyan); background: rgba(34,195,221,.14); }
.lq-key {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: var(--lq-muted); border: 1px solid var(--lq-line2);
}
.lq-option.is-chosen .lq-key { background: var(--lq-cyan); color: var(--lq-cyan-ink); border-color: var(--lq-cyan); }
.lq-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; color: var(--lq-faint); }
@media (hover: none) { .lq-key { display: none; } }

/* Result */
.lq-result { text-align: center; }
.lq-badge {
  width: 92px; height: 92px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(34,195,221,.35), rgba(34,195,221,.06));
  border: 1px solid rgba(34,195,221,.6); box-shadow: 0 0 0 6px rgba(34,195,221,.07), 0 0 40px rgba(34,195,221,.25);
}
.lq-badge span { font-family: var(--lq-display); font-size: 44px; color: #fff; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .lq-result .lq-badge { animation: lq-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
}
@keyframes lq-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.lq-name { font-size: clamp(28px, 4.6vw, 36px); }
.lq-tagline { margin: 10px auto 0; max-width: 34em; font-size: 19px; line-height: 1.5; color: #fff; }
.lq-body { margin: 12px auto 0; max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--lq-muted); }
.lq-stretch strong { color: var(--lq-gold); font-weight: 600; }

.lq-more { margin: 18px auto 0; max-width: 30em; text-align: left; border-top: 1px solid var(--lq-line); padding-top: 12px; }
.lq-more summary { cursor: pointer; font-size: 15px; color: var(--lq-cyan); list-style: none; text-align: center; }
.lq-more summary::-webkit-details-marker { display: none; }
.lq-more summary::after { content: " \25BE"; }
.lq-more[open] summary::after { content: " \25B4"; }
.lq-mix { display: grid; gap: 8px; margin-top: 14px; }
.lq-mix-row { display: grid; grid-template-columns: 9.5em 1fr 3em; align-items: center; gap: 10px; font-size: 14px; color: var(--lq-muted); }
.lq-mix-name b { color: var(--lq-cyan); font-family: var(--lq-display); }
.lq-mix-bar { height: 6px; background: var(--lq-line); border-radius: 6px; overflow: hidden; }
.lq-mix-bar span { display: block; height: 100%; background: var(--lq-cyan); border-radius: 6px; }
.lq-mix-pct { text-align: right; }
.lq-tip { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--lq-muted); }
.lq-tip strong { color: var(--lq-text); }

.lq-cta { margin: 22px auto 0; padding: 18px; max-width: 32em; border-radius: var(--lq-rs); background: rgba(255,255,255,.03); border: 1px solid var(--lq-line); }
.lq-cta-lead { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--lq-muted); }

.lq-share { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.lq-share-label { font-size: 14px; color: var(--lq-faint); margin-right: 2px; }
.lq-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
  font: 500 14px/1 var(--lq-font); color: var(--lq-text); text-decoration: none; cursor: pointer;
  background: transparent; border: 1px solid var(--lq-line2);
}
.lq-chip:hover { border-color: var(--lq-cyan); }

@media (max-width: 480px) {
  .lq-mix-row { grid-template-columns: 7.5em 1fr 2.6em; }
  .lq-btn { width: 100%; }
}

/* Homepage teaser strip: small and calm, never a popup */
.lq-teaser-wrap { padding: 8px 20px 32px; }
.lq-teaser {
  display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 0 auto;
  padding: 14px 16px; border-radius: var(--lq-r); text-decoration: none; color: var(--lq-text);
  border: 1px dashed rgba(34,195,221,.45); background: rgba(34,195,221,.04);
  transition: border-color .15s, background .15s;
}
.lq-teaser:hover { border-style: solid; background: rgba(34,195,221,.08); }
.lq-teaser-g { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--lq-display); font-size: 20px; color: var(--lq-cyan); border: 1px solid var(--lq-line2); }
.lq-teaser-t { flex: 1; font-size: 16px; line-height: 1.4; }
.lq-teaser-t small { display: block; font-size: 14px; color: var(--lq-faint); margin-top: 2px; }
.lq-teaser-go { flex: none; font-weight: 600; color: var(--lq-cyan); white-space: nowrap; }
@media (max-width: 480px) { .lq-teaser-go { display: none; } }

/* Page shell on sumnetics.com/leadership-quiz/ */
.lq-page { padding: 40px 0 72px; }
.lq-page .lq-back { max-width: 640px; margin: 0 auto 18px; font-size: 14px; }
.lq-page .lq-back a { color: var(--muted); text-decoration: none; }
.lq-page .lq-back a:hover { color: var(--text); }
.lq-page .lq-privacy { max-width: 640px; margin: 28px auto 0; font-size: 13px; color: var(--faint); text-align: center; }
