:root { --quiz-primary: #312337; --quiz-accent: #ab8fdb; --quiz-surface: #fffaf6; --quiz-text: #302437; --quiz-page: #fafafa; --quiz-muted: #665b6c; --quiz-button-text: #ffffff; --quiz-radius: 10px; --quiz-display-font: Georgia, "Times New Roman", serif; --quiz-body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color-scheme: light; font-family: var(--quiz-body-font); background: var(--quiz-page); color: var(--quiz-text); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button { font: inherit; }
.quiz-shell { min-height: 100svh; display: grid; place-items: center; padding: 16px; background: var(--quiz-page); }
.quiz-card { width: min(100%, 487px); min-height: 842px; overflow: hidden; border-radius: 12px; background: var(--quiz-surface); box-shadow: 0 14px 40px rgba(55, 38, 53, .09); }
.topline { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 20px; background: var(--quiz-primary); color: #fffdfb; font-size: 12px; font-weight: 700; }
.topline > span:last-child { color: #eadcff; }
.top-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.top-brand img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.bonus-meter { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 20px 0; color: #8c8194; font-size: 12px; }
.bonus-meter strong { color: var(--quiz-primary); font-size: 12px; }
.progress-track { height: 4px; margin: 7px 20px 0; overflow: hidden; border-radius: 999px; background: #eee7df; }
.progress-track span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--quiz-accent); transition: width .25s ease; }
#screen { padding: 14px 20px 0; }
.eyebrow { margin: 0 0 7px; color: #af94de; font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .11em; }
h1 { margin: 0 auto; max-width: 15ch; font-family: var(--quiz-display-font); font-size: clamp(27px, 7.4vw, 34px); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; text-align: center; }
#screen h1:focus { outline: none; }
.intro { margin: 18px 0 26px; color: var(--quiz-muted); font-size: 16px; line-height: 1.5; text-align: center; }
.start-cover { display: block; width: min(100%, 220px); max-height: 140px; margin: 0 auto 18px; border-radius: var(--quiz-radius); object-fit: cover; }
.avatar-grid { display: grid; gap: 12px; margin-top: 26px; }
.avatar-card { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 16px; width: 100%; min-height: 95px; padding: 8px 14px 8px 8px; cursor: pointer; text-align: left; border: 1px solid #e5d8ee; border-radius: 14px; background: #fffdfb; color: #33273a; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.avatar-card:hover { transform: translateY(-2px); border-color: #b99ae5; box-shadow: 0 10px 20px rgba(89, 62, 113, .1); }
.avatar-card:focus-visible { outline: 3px solid #a887da; outline-offset: 3px; }
.avatar-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.avatar-card strong, .avatar-card small { display: block; }
.avatar-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; }
.avatar-card small { margin-top: 4px; color: var(--quiz-muted); font-size: 13px; line-height: 1.35; }
.journey-hero { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 8px; color: #8466a9; font-size: 11px; font-weight: 700; }
.journey-hero img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.question-visual { display: block; width: 34px; height: 34px; margin: 0 auto 7px; border-radius: 50%; object-fit: cover; }
.answers { display: grid; gap: 7px; margin-top: 13px; }
.answer { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; width: 100%; min-height: 50px; padding: 6px 8px; cursor: pointer; text-align: left; border: 1px solid #eee5dc; border-radius: var(--quiz-radius); background: var(--quiz-surface); color: var(--quiz-text); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.answer:first-child { border-color: #c9b4ec; }
.answer:hover { transform: translateY(-2px); border-color: #b394df; box-shadow: 0 10px 22px rgba(93, 68, 111, .1); }
.answer:focus-visible, .back:focus-visible, .restart:focus-visible { outline: 3px solid var(--quiz-accent); outline-offset: 3px; }
.answer-visual { width: 34px; height: 34px; object-fit: contain; }
.answer-content { display: block; }
.answer strong, .answer span { display: block; }
.answer strong { font-family: var(--quiz-display-font); font-size: 16px; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.answer span { margin-top: 2px; color: var(--quiz-muted); font-size: 10px; line-height: 1.18; }
.answer-icon { width: 34px; height: 34px; object-fit: contain; }
.back { margin-top: 12px; padding: 0; cursor: pointer; border: 0; background: transparent; color: #8062ae; font-size: 13px; font-weight: 800; }
.result-list { display: grid; gap: 12px; margin-top: 22px; }
.route-summary { margin: 20px 0 0; padding: 12px 14px; border: 1px solid #e3d9ee; border-radius: 12px; background: #fdfaff; color: var(--quiz-muted); font-size: 13px; line-height: 1.45; text-align: center; }
.route-summary strong { color: #805daf; }
.result { padding: 17px; border: 1px solid #dfd2ee; border-radius: 12px; background: #fffdfb; }
.result--with-image { display: grid; grid-template-columns: 64px 1fr; gap: 13px; }
.result img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.result h2 { margin: 0; color: #33273a; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; }
.result p { margin: 8px 0 0; color: var(--quiz-muted); line-height: 1.45; }
.result .result-reason { margin-top: 8px; color: #805daf; font-size: 13px; font-weight: 700; }
.cta { margin-top: 12px; color: #805daf; font-size: 14px; font-weight: 800; }
.cta[href] { display: inline-block; text-decoration: none; }
.restart { width: 100%; margin-top: 22px; padding: 16px; cursor: pointer; border: 1px solid var(--quiz-primary); border-radius: var(--quiz-radius); background: var(--quiz-primary); color: var(--quiz-button-text); font-weight: 800; }
.restart:hover { filter: brightness(.95); }
:root[data-quiz-button-style="outline"] .restart { background: transparent; color: var(--quiz-primary); }
.offer-link { display: block; text-decoration: none; }
.restart:disabled { cursor: default; opacity: .7; }
.offer { display: grid; gap: 8px; margin-top: 20px; padding: 18px; border: 1px solid #d7c3ef; border-radius: 14px; background: #f8f3ff; color: #4c3c58; text-align: center; }
.offer p { margin: 0; color: #8063a8; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.offer strong { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400; }
.offer span { color: #6d6172; font-size: 13px; line-height: 1.4; }
.offer-pricing { display: grid; gap: 5px; padding: 11px; border-top: 1px solid #e2d4ef; border-bottom: 1px solid #e2d4ef; text-align: left; }
.offer .offer-pricing span { color: var(--quiz-muted); font-size: 13px; }
.offer-pricing b { color: var(--quiz-primary); font-size: 15px; }
.lead-form { display: grid; gap: 15px; margin-top: 26px; }
.lead-form label { display: grid; gap: 7px; color: var(--quiz-primary); font-size: 13px; font-weight: 800; }
.lead-form input, .lead-form select { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #d9cae8; border-radius: var(--quiz-radius); background: #fffdfb; color: var(--quiz-text); font: inherit; }
.lead-form input:focus, .lead-form select:focus { outline: 3px solid color-mix(in srgb, var(--quiz-accent) 48%, transparent); border-color: var(--quiz-accent); }
.lead-form .lead-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--quiz-muted); font-size: 12px; font-weight: 500; line-height: 1.4; }
.lead-form .lead-consent input { flex: 0 0 auto; width: 18px; min-height: 18px; margin-top: 1px; accent-color: var(--quiz-primary); }
.lead-legal-note { margin: -2px 0 0; color: var(--quiz-muted); font-size: 11px; line-height: 1.4; }
.lead-legal-link { color: var(--quiz-primary); font-weight: 800; }
.inline-note { margin: 0; color: var(--quiz-muted); font-size: 12px; line-height: 1.4; }
.privacy-note { display: flex; align-items: center; justify-content: center; min-height: 42px; margin: 16px 20px 0; border-top: 1px solid #e4daf2; color: #97899d; font-size: 10px; text-align: center; }
.privacy-note a { margin-left: 4px; color: #8062ae; font-weight: 700; }
@media (max-width: 520px) { .quiz-shell { padding: 0; place-items: stretch; } .quiz-card { min-height: 100svh; width: 100%; border-radius: 0; } }
@media (max-height: 760px) { #screen { padding-top: 9px; } .journey-hero { margin-bottom: 4px; } h1 { font-size: 26px; } .answers { gap: 6px; margin-top: 10px; } .answer { min-height: 46px; padding-top: 5px; padding-bottom: 5px; } .question-visual, .answer-visual, .answer-icon { width: 32px; height: 32px; } .privacy-note { min-height: 30px; margin-top: 9px; } }
@media (max-height: 680px) { .topline { height: 40px; } .bonus-meter { margin-top: 10px; } .progress-track { margin-top: 6px; } #screen { padding-top: 7px; } .journey-hero { font-size: 10px; } .journey-hero img { width: 20px; height: 20px; } .eyebrow { margin-bottom: 5px; font-size: 10px; } h1 { font-size: 24px; } .answers { gap: 5px; margin-top: 8px; } .answer { min-height: 42px; } .answer strong { font-size: 15px; } .answer span { font-size: 9px; } .question-visual, .answer-visual, .answer-icon { width: 30px; height: 30px; } .back { margin-top: 8px; font-size: 12px; } .privacy-note { min-height: 28px; margin-top: 7px; } }
@media (max-width: 360px) { #screen { padding-right: 16px; padding-left: 16px; } .progress-track { margin-right: 16px; margin-left: 16px; } .answer { grid-template-columns: 30px 1fr 30px; gap: 7px; padding-right: 7px; padding-left: 7px; } .privacy-note { margin-right: 16px; margin-left: 16px; } }
