/* Wizbang Sites: the site finder (finder.js). Uses the homepage's tokens (home.css): navy, orange, sun. */
.wf-lock, .wf-lock body { overflow: hidden; }

/* ---------- the quiz */
.wf { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px 0; border: 0; background: transparent; color: #fff; overflow-y: auto;
  display: flex; }
.wf:not([open]) { display: none; }
.wf::backdrop { background: radial-gradient(120% 90% at 50% 0%, rgba(34, 44, 94, .92), rgba(8, 11, 28, .96)); backdrop-filter: blur(6px); }
.wf[open] { animation: wf-in .28s ease both; }
.wf.out { animation: wf-out .22s ease both; }
@keyframes wf-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-out { to { opacity: 0; } }
.wf-card { position: relative; width: min(720px, 100% - 24px); margin: auto; flex: none; padding: 22px 28px 30px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #1A2456 0%, #111841 55%, #0C1233 100%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: wf-rise .38s cubic-bezier(.2, .8, .2, 1) both; }
.wf-card.wide { width: min(1040px, 100% - 24px); }
@keyframes wf-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.wf-glow { position: absolute; inset: -40% -20% auto auto; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 90, 31, .28), rgba(255, 201, 60, .08) 45%, transparent 70%); filter: blur(10px); }
.wf-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.wf-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; }
.wf-icon:hover { background: rgba(255, 255, 255, .14); }
.wf-icon-spacer { width: 44px; }
.wf-step { font: 600 14px var(--body); color: rgba(255, 255, 255, .6); }
.wf-prog { position: relative; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 0 0 26px; }
.wf-prog span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--go)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.wf-body { position: relative; display: flex; flex-direction: column; gap: 18px; }

/* the guide */
.wf-burst { display: inline-grid; place-items: center; flex: none; }
.wf-burst svg { width: 100%; height: 100%; }
.wf-burst.big { width: 84px; height: 84px; filter: drop-shadow(0 10px 30px rgba(255, 90, 31, .5)); animation: wf-bob 4s ease-in-out infinite; }
.wf-burst.mid { width: 46px; height: 46px; }
.wf-burst.tiny { width: 18px; height: 18px; }
.wf-burst.spin { width: 96px; height: 96px; animation: wf-spin 1.1s cubic-bezier(.5, 0, .5, 1) infinite; filter: drop-shadow(0 10px 30px rgba(255, 90, 31, .55)); }
@keyframes wf-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(8deg); } }
@keyframes wf-spin { to { transform: rotate(360deg); } }
.wf-hello { display: flex; align-items: flex-end; gap: 18px; padding-top: 8px; }
.wf-bubble { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 22px 22px 22px 6px; background: #fff; color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); animation: wf-rise .5s .08s cubic-bezier(.2, .8, .2, 1) both; }
.wf-bubble b { font: 700 clamp(24px, 4.4vw, 34px)/1.12 var(--display); letter-spacing: -0.02em; }
.wf-bubble span { font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.wf-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.wf-acts.left { justify-content: flex-start; }
.wf-acts .btn { flex: 1 1 220px; }
.wf-quiet { color: rgba(255, 255, 255, .85); background: transparent; border-color: rgba(255, 255, 255, .25); min-height: 54px; }
.wf-quiet:hover { border-color: #fff; color: #fff; }
.wf-fine { text-align: center; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* a question */
.wf-q { font: 700 clamp(26px, 4.6vw, 38px)/1.12 var(--display); letter-spacing: -0.02em; color: #fff; }
.wf-sub { color: rgba(255, 255, 255, .65); font-size: 16px; margin-top: -8px; }
.wf-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.wf-grid.n2, .wf-grid.n4 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.wf-grid.many { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.wf-opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 44px 16px 16px; border-radius: 18px; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .12); color: #fff; font: inherit;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; animation: wf-rise .4s calc(var(--i, 0) * 40ms) cubic-bezier(.2, .8, .2, 1) both; }
.wf-opt:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .11); border-color: rgba(255, 201, 60, .55); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8); }
.wf-opt.on { background: linear-gradient(135deg, rgba(255, 90, 31, .32), rgba(255, 201, 60, .14)); border-color: var(--sun); }
.wf-opt-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--sun); }
.wf-opt.on .wf-opt-ico { background: var(--go); color: #fff; }
.wf-opt-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wf-opt-txt b { font: 600 17px/1.25 var(--body); }
.wf-opt-txt small { font-size: 14px; color: rgba(255, 255, 255, .62); line-height: 1.35; }
.wf-key { position: absolute; top: 10px; right: 12px; font: 600 12px var(--body); color: rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 1px 6px; }
@media (hover: none) { .wf-key { display: none; } .wf-opt { padding-right: 16px; } }

/* thinking */
.wf-think { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 50px 0 40px; }
.wf-think p { font: 600 20px var(--display); color: rgba(255, 255, 255, .85); }

/* the match */
.wf-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.wf-res-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wf-kick { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--sun); }
.wf-res-h { font: 800 clamp(32px, 5vw, 50px)/1.04 var(--display); letter-spacing: -0.03em; color: #fff;
  background: linear-gradient(90deg, #fff 30%, #FFD98A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wf-res-line { font-size: 17px; color: rgba(255, 255, 255, .8); line-height: 1.5; }
.wf-why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wf-why li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: #fff; }
.wf-why svg { flex: none; color: var(--sun); margin-top: 1px; }
.wf-price { font-size: 16px; color: rgba(255, 255, 255, .7); }
.wf-price b { color: #fff; font-size: 18px; }
.wf-link { align-self: flex-start; color: rgba(255, 255, 255, .8); background: none; border: 0; padding: 4px 0; font: 600 15px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wf-link:hover { color: #fff; }
.wf-link.small { font-size: 14px; font-weight: 500; }
.wf-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .8); transform: rotate(1.2deg); animation: wf-rise .6s .12s cubic-bezier(.2, .8, .2, 1) both; }
.wf-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF0F6; }
.wf-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D7E3; }
.wf-bar span { margin-left: 8px; font-size: 12px; color: #6B7190; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.wf-alt { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'k k arrow' 'b l arrow'; gap: 2px 12px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.wf-alt:hover { background: rgba(255, 255, 255, .1); }
.wf-alt-k { grid-area: k; font-size: 13px; color: rgba(255, 255, 255, .55); }
.wf-alt b { grid-area: b; font-size: 16px; white-space: nowrap; }
.wf-alt-l { grid-area: l; font-size: 14px; color: rgba(255, 255, 255, .7); }
.wf-alt svg { grid-area: arrow; color: var(--sun); }
.wf-mail { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: #fff; color: var(--ink); }
.wf-mail-h { font-size: 15px; color: var(--ink-2); }
.wf-mail-h b { color: var(--ink); }
.wf-mail-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-mail-row input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font: 16px var(--body); color: var(--ink); background: #fff; }
.wf-mail-row input:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 4px rgba(255, 90, 31, .15); }
.wf-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.wf-check input { width: 18px; height: 18px; accent-color: var(--go); }
.wf-msg { font-size: 14px; color: var(--taken); }
.wf-msg:empty { display: none; }
.wf-sent { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--open); font-weight: 600; }

/* ---------- the welcome card */
.wf-hi { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100% - 24px)); padding: 20px 20px 18px; border-radius: 22px;
  background: linear-gradient(160deg, #1A2456, #0E1430); color: #fff; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.wf-hi.on { transform: none; opacity: 1; }
.wf-hi-top { display: flex; gap: 14px; align-items: flex-start; padding-right: 26px; }
.wf-hi-top b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 4px; }
.wf-hi-top p { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.wf-hi-acts { display: flex; gap: 10px; margin-top: 16px; }
.wf-hi-acts .btn { flex: 1; min-height: 44px; padding: 10px 14px; font-size: 15px; }
.wf-hi .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.wf-hi .btn-line:hover { border-color: #fff; }
.wf-hi-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.wf-hi .wf-burst.mid { animation: wf-bob 4s ease-in-out infinite; }

/* the menu button */
.wf-nav { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font: 600 15px var(--body); cursor: pointer; white-space: nowrap; transition: border-color .15s, transform .15s; }
.wf-nav:hover { border-color: var(--go); transform: translateY(-1px); }

@media (max-width: 760px) {
  .wf { padding: 0; }
  .wf-card, .wf-card.wide { width: 100%; margin: auto 0 0; min-height: 92vh; border-radius: 26px 26px 0 0; padding: 14px 18px 28px; }
  .wf-result { grid-template-columns: 1fr; gap: 20px; }
  .wf-shot { order: -1; transform: none; }
  .wf-hello { flex-direction: column; align-items: flex-start; }
  .wf-burst.big { width: 64px; height: 64px; }
  .wf-opt { min-height: 64px; }
  .wf-alt { grid-template-columns: 1fr auto; grid-template-areas: 'k arrow' 'b arrow' 'l arrow'; }
  .wf-alt b { white-space: normal; }
  .wf-hi { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .wf-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wf[open], .wf.out, .wf-card, .wf-bubble, .wf-opt, .wf-shot { animation: none; }
  .wf-burst.big, .wf-hi .wf-burst.mid { animation: none; }
  .wf-burst.spin { animation-duration: 3s; }
  .wf-hi, .wf-opt, .wf-prog span { transition: none; }
}

/* Wizzer in the quiz (finder.js wz()). On navy he gets a thin white sticker edge. */
.wf-wz { display: block; flex: none; height: auto; }
.wf-card .wf-wz, .wf-hi .wf-wz { filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
.wf-wz.pose { width: 150px; margin: -10px -6px -4px -10px; animation: wf-bob 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.wf-ask { display: flex; align-items: center; gap: 14px; }
.wf-wz.ask { width: 58px; animation: wf-pop .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wf-pop { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
.wf-wz.think { width: 150px; animation: wf-ponder 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wf-ponder { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
.wf-wz.cheer { width: 76px; margin: -14px 0 -10px -6px; }
.wf-wz.mid { width: 52px; animation: wf-bob 4s ease-in-out infinite; }
.wf-wz.tiny { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .wf-wz.pose { width: 110px; margin: 0 0 -6px; }
  .wf-wz.ask { width: 44px; }
  .wf-ask { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wf-wz.pose, .wf-wz.ask, .wf-wz.think, .wf-wz.mid { animation: none; } }
.wf-priv { font-size: 13px; color: var(--ink-3); margin: 2px 0 0; } .wf-priv a { color: inherit; }

/* A crowded header (sales pages): keep each menu word on one line, and shorten Help me choose to Wizzer's face. */
.nav-links a, .nav-links button, .nav-cta > a { white-space: nowrap; }
@media (max-width: 1460px) { .nav-cta .wf-nav { padding: 6px; } .nav-cta .wf-nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav-cta .wf-nav .wf-wz.tiny { width: 26px; height: 26px; } }
