*{box-sizing:border-box}html{font-family:Inter,Arial,sans-serif}body{margin:0;color:#f1f6f6;background:#07362c url('assets/forest.jpg') center/cover fixed}button,input{font:inherit}button{cursor:pointer}.app{min-height:100vh}.shell{max-width:1060px;margin:auto;min-height:100vh;background:rgba(0,30,27,.72);padding:28px clamp(18px,4vw,52px)}.top{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff55;padding-bottom:20px}.brand{font-size:15px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.progress{font-size:14px;color:#c8e8db}.bar{height:4px;background:#ffffff42;margin:0 -52px 35px}.fill{height:100%;background:#8ce9d5;transition:width .25s}.welcome{text-align:center;display:grid;place-content:center;min-height:calc(100vh - 150px);gap:20px}.welcome img{width:150px;max-width:100%;margin:auto}.welcome h1{font-size:clamp(40px,7vw,82px);line-height:1.05;margin:0}.lead{font-size:20px;opacity:.9}.primary{border:0;background:#a1c0ff;color:#063c30;font-weight:800;padding:16px 32px;min-width:160px}.primary:hover{background:#c5d7ff}.group-title{margin:0 0 26px;font-size:clamp(28px,4vw,44px)}.question{padding:25px 0 35px;border-bottom:1px solid #ffffff4d}.question h2{font-size:clamp(20px,2.6vw,29px);line-height:1.3;margin:0 0 20px}.options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.option{background:#f1f6f6;color:#12372e;border:3px solid transparent;padding:0;text-align:left;min-width:0;transition:transform .12s,border-color .12s}.option:hover{transform:translateY(-3px)}.option.selected{border-color:#47dfbe;box-shadow:0 0 0 2px #063c30 inset}.option img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.option span{display:block;padding:10px;font-weight:700;text-align:center;min-height:48px}.actions{display:flex;justify-content:space-between;gap:12px;padding:35px 0}.secondary{border:1px solid #d8eee7;color:#fff;background:transparent;padding:14px 26px}.error{color:#ffe59b;font-weight:700;margin:12px 0}.form{max-width:580px;margin:auto}.form h1{font-size:36px}.field{display:block;margin:18px 0;font-weight:700}.field input{display:block;width:100%;margin-top:8px;padding:14px;border:1px solid #a8b9b2;border-radius:0;background:#fff;color:#122b25}.check{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.check input{margin-top:3px}.hint{font-size:13px;color:#c3d8d0;line-height:1.5}.result{text-align:center}.result h1{font-size:clamp(30px,5vw,58px)}.result .hero{font-size:18px;color:#c6e8d7}.result-images{max-width:800px;margin:32px auto}.result-images img{display:block;width:100%;height:auto}.again{margin:26px auto}.score-details{max-width:800px;margin:35px auto;text-align:left}.score-details summary{cursor:pointer}.score-details li{margin:6px 0}@media(max-width:740px){.shell{padding:20px}.bar{margin:0 -20px 25px}.options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.option span{font-size:13px}.actions{padding:25px 0}}

/* heyvoxo brand and quiz components */
:root { color-scheme: dark; --orange: #ff8a1f; --amber: #ffb547; --border: #333336; }
body { background: radial-gradient(ellipse at 78% 0%, #271a10 0, transparent 42rem), #080808; color: #f5f5f4; font-family: Sora, system-ui, sans-serif; }
.shell { background: transparent; max-width: 1160px; }
.top { border: 0; }
.brand { display:flex; align-items:center; gap:10px; font-size:24px; font-weight:750; letter-spacing:-.06em; text-transform:none; }
.brand img { width:36px; height:36px; border-radius:10px; }
.progress { font: 12px ui-monospace, monospace; letter-spacing:.07em; color:#c5c2be; }
.bar { margin:0 0 40px; height:3px; background:#303033; }
.fill { background:linear-gradient(90deg,var(--orange),var(--amber)); }
.welcome { grid-template-columns:1fr 1fr; align-items:center; gap:7%; text-align:left; }
.welcome img { width:100%; border-radius:28px; }
.welcome h1,.group-title,.result h1 { letter-spacing:-.055em; }
.primary,.secondary { border-radius:100px; min-height:46px; }
.primary { background:var(--orange); color:#211408; }
.primary:hover { background:var(--amber); }
.secondary { color:#eee; border-color:#555; }
.question { background:#111113; border:1px solid #2b2b2e; border-radius:20px; padding:clamp(16px,3vw,32px); margin:20px 0; }
.question h2 { max-width:48ch; font-size:clamp(19px,2.3vw,26px); }
.option { position:relative; overflow:hidden; border-radius:14px; border:2px solid #333336; background:#1d1d20; color:#eee; }
.option img { aspect-ratio:1.22; }
.option span { text-align:left; min-height:54px; display:flex; align-items:center; padding:10px 12px; }
.option::after { content:''; position:absolute; right:8px; top:8px; width:20px; height:20px; border:1px solid #fffc; border-radius:50%; background:#10101488; text-align:center; }
.option.selected { border-color:var(--orange); box-shadow:none; background:#362314; }
.option.selected::after { content:'✓'; background:var(--orange); color:#17100b; border-color:var(--orange); font-weight:800; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline:3px solid var(--amber); outline-offset:3px; }
.field input { background:#18181b; border-color:#444; color:#fafafa; border-radius:12px; }
.check input { accent-color:var(--orange); }
.hint,.result .hero { color:#b6b4b1; }
@media(max-width:740px) { .welcome { grid-template-columns:1fr; gap:32px; min-height:auto; } .welcome img { max-height:310px; object-fit:cover; } .option span { font-size:14px; } .brand { font-size:21px; } .progress { font-size:10px; } }
.report { max-width:760px; margin:32px auto; text-align:left; }
.report p { line-height:1.75; font-size:17px; padding:24px clamp(18px,4vw,36px); margin:12px 0; border:1px solid var(--border); border-radius:18px; background:#141416; }
.report p:first-child { border-left:4px solid var(--orange); font-weight:650; }

/* Phone layout stays centered on wider displays. */
.shell { width:100%; max-width:480px; padding:18px 16px 32px; }
.top { gap:8px; }
.brand { font-size:22px; }
.progress { font-size:10px; }
.bar { margin:0 0 24px; }
.welcome { display:flex; flex-direction:column; align-items:stretch; gap:24px; min-height:auto; }
.welcome h1 { font-size:48px; }
.welcome img { width:100%; max-height:320px; object-fit:cover; }
.group-title,.form h1 { font-size:30px; }
.question { padding:16px 12px; margin:16px 0; }
.question h2 { font-size:21px; }
.options { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.option span { padding:8px; font-size:14px; }
.actions { padding:22px 0; }

/* Inside the heyvoxo chat (iframe): the chat draws the title bar and back button */
.embedded .brand { display:none; }
.embedded .top { border:0; padding:0 0 8px; justify-content:flex-end; }
.embedded .shell { padding-top:12px; }

/* one-page quiz: progress stays pinned while scrolling */
.sticky { position:sticky; top:0; z-index:5; margin:0 -16px 8px; padding:10px 16px 12px; background:rgba(15,15,16,.92); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.sticky .count { font-size:13px; font-weight:700; color:#e4e4e7; margin-bottom:8px; }
.sticky .bar { margin:0; height:5px; border-radius:99px; overflow:hidden; }
.sticky .fill { border-radius:99px; }
.question { scroll-margin-top:64px; }
.question.missing { outline:2px solid #ff8a1f; outline-offset:2px; border-radius:16px; }
.actions .submit { width:100%; opacity:.55; }
.actions .submit.ready { opacity:1; }
