/* Mingleo landing page: single question screen.
   On desktop the app sits in a phone-width column on a dark page, like app.timeleft.com. */

body { background: var(--ink); overflow-x: hidden; }

.app {
  position: relative; width: 100%; max-width: 480px; min-height: 100dvh; margin: 0 auto;
  overflow: hidden; background: #F6F3EE; isolation: isolate;
}

.quiz {
  position: absolute; inset: 0; min-height: 100dvh;
  display: flex; flex-direction: column; background: #F6F3EE; overflow-y: auto;
}
.quiz__bar { display: flex; justify-content: center; align-items: center; padding: 8px; }
.quiz__logo { width: 112px; height: auto; }

.quiz__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 16px 8px; }
.quiz__title { font-size: clamp(30px, 8.2vw, 34px); line-height: 1.1; max-width: 18ch; }
.quiz__sub { margin-top: 10px; max-width: 34ch; font-size: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 10px;
  border: 1.5px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 500;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--brand-2), #F28FB1) border-box;
}
.pill svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }

.quiz__q { margin-top: 28px; max-width: 32ch; font-size: 17px; line-height: 1.4; }
.quiz__q .city { font-weight: 700; color: var(--brand); }

.answers { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.answer {
  display: grid; gap: 12px; padding: 16px 16px 18px; background: #fff; border: 1.5px solid #fff; border-radius: 20px;
  text-decoration: none; text-align: left; font-weight: 700; font-size: 19px;
  box-shadow: 0 1px 2px rgba(19,16,16,.04); transition: border-color .2s, transform .2s var(--ease);
}
.answer:hover { border-color: var(--brand-2); }
.answer:active { transform: scale(.97); }

.quiz .tp { margin-top: 24px; justify-items: center; }
.quiz__legal { padding: 20px 24px max(24px, env(safe-area-inset-bottom)); text-align: center; font-size: 14px; color: var(--ink-3); }
.quiz__legal a { text-decoration: underline; text-underline-offset: 2px; }
