/* Skin quiz c1 (collagen-quiz flow, 18 Nov 2026). The screens follow collagenquiz.com/misw-collagen-quiz-tof-desk;
   the look is the live /skin-quiz (m3) and /hair-quiz, in the customer kit's palette and type scale. */
@font-face{font-family:"Canela";font-weight:300;font-style:normal;font-display:block;src:url(/assets/fonts/Canela/Canela-Light.woff2) format("woff2")}
@font-face{font-family:"TT Commons";font-weight:400;font-style:normal;font-display:block;src:url(/assets/fonts/TTCommons/TTCommons-Regular.woff2) format("woff2")}
@font-face{font-family:"TT Commons";font-weight:500;font-style:normal;font-display:block;src:url(/assets/fonts/TTCommons/TTCommons-Medium.woff2) format("woff2")}
@font-face{font-family:"TT Commons";font-weight:600;font-style:normal;font-display:block;src:url(/assets/fonts/TTCommons/TTCommons-DemiBold.woff2) format("woff2")}
@font-face{font-family:"TT Commons";font-weight:400;font-style:italic;font-display:block;src:url(/assets/fonts/TTCommons/TTCommons-Italic.woff2) format("woff2")}

:root{
  --charcoal:#212428; --white:#fff; --mist:#F6F6F7; --teal:#C7E5DB; --ice:#91BAEC; --promo:#FF5429; --charcoal-50:#8B8C8E;
  --muted:#6D6D6D; --hairline:#E6E6E6; --track:#F2F2F2; --teal-ink:#12513F; --promo-tint:#FFF0EA;
  --display:"Canela",serif; --text:"TT Commons",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{min-height:100%;background:var(--white);overscroll-behavior:none}
body{font-family:var(--text);color:var(--charcoal);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:left}
img{display:block;max-width:100%}
svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}

.cq-shell{display:flex;justify-content:center;min-height:100dvh;background:var(--white)}
.cq-shell.is-intro{background:var(--charcoal)}
.cq-main{position:relative;display:flex;flex-direction:column;width:100%;max-width:480px;min-height:100dvh}

/* header: back, logo, progress rail */
.cq-top{position:sticky;top:0;z-index:5;flex:none;background:var(--white)}
.cq-bar{display:grid;grid-template-columns:48px 1fr 48px;height:56px;align-items:center}
.cq-back{display:flex;width:44px;height:44px;margin-left:4px;align-items:center;justify-content:center;border-radius:50%;color:var(--charcoal)}
.cq-back svg.i{width:22px;height:22px}
.cq-logo{justify-self:center}
.cq-logo img{width:63px;height:30px;object-fit:cover}
.cq-rail{margin:0 24px;height:3px;border-radius:2px;background:var(--track)}
.cq-rail i{display:block;height:3px;border-radius:2px;background:var(--promo);transition:width .35s ease}

.cq-body{flex:1;display:flex;flex-direction:column;padding:28px 24px 120px;animation:cqIn .32s ease both}
@keyframes cqIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.cq-body{animation:none}.cq-rail i{transition:none}}

.cq-h{font-family:var(--display);font-weight:300;font-size:28px;line-height:1.15;letter-spacing:-.4px;text-align:center;margin-bottom:10px}
.cq-sub{margin-bottom:22px;font-size:16px;line-height:1.45;color:var(--muted);text-align:center}
.cq-h + .cq-opts,.cq-h + .cq-tiles,.cq-h + .cq-field-wrap{margin-top:14px}

/* option rows */
.cq-opts{display:flex;flex-direction:column;gap:12px}
.cq-opt{position:relative;display:flex;width:100%;min-height:56px;align-items:center;gap:14px;border:1px solid var(--hairline);border-radius:12px;background:var(--white);
  padding:14px 56px 14px 18px;font-size:17px;font-weight:500;line-height:1.3;transition:border-color .15s,background .15s,transform .09s}
.cq-opt:active{transform:scale(.985)}
.cq-opt .em{flex:none;width:24px;text-align:center;font-size:20px;line-height:1}
.cq-opt .sw{flex:none;width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(33,36,40,.12)}
.cq-opt small{display:block;margin-top:3px;font-size:15px;font-weight:400;color:var(--muted);line-height:1.35}
.cq-opt .box{position:absolute;top:50%;right:18px;margin-top:-11px;width:22px;height:22px;border:1.5px solid var(--charcoal-50);border-radius:50%}
.cq-opt[role=checkbox] .box{border-radius:6px}
.cq-opt[aria-checked=true]{border-color:var(--promo);background:var(--promo-tint)}
.cq-opt[aria-checked=true] .box,.cq-tile[aria-checked=true] .box{border-color:var(--promo);background:var(--promo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}

/* photo tiles: age and wrinkle level (label bar under the photo), focus areas (round crop + caption) */
.cq-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cq-tile{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--hairline);border-radius:12px;background:var(--white);transition:border-color .15s,background .15s,transform .09s}
.cq-tile:active{transform:scale(.985)}
.cq-tile .pic{aspect-ratio:4/5;overflow:hidden;background:var(--mist)}
.cq-tile .pic img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.cq-tile .lbl{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:var(--charcoal);color:var(--white);font-size:17px;font-weight:600;line-height:1.25}
.cq-tile .lbl small{display:block;margin-top:2px;font-size:13px;font-weight:400;line-height:1.35;color:rgba(255,255,255,.78)}
.cq-tile .lbl svg.i{width:18px;height:18px}
.cq-tile[aria-checked=true]{border-color:var(--promo)}
.cq-tile[aria-checked=true] .lbl{background:var(--promo)}
.cq-tiles.areas .cq-tile{padding:14px 12px 14px}
.cq-tiles.areas .round{width:104px;height:104px;margin:6px auto 12px;border-radius:50%;overflow:hidden;background:var(--mist)}
.cq-tiles.areas .round img{width:100%;height:100%;object-fit:cover}
.cq-tiles.areas b{display:block;font-size:16px;font-weight:600;line-height:1.25}
.cq-tiles.areas small{display:block;margin-top:2px;font-size:13px;line-height:1.35;color:var(--muted)}
.cq-tiles.areas .box{position:absolute;top:10px;right:10px;width:22px;height:22px;border:1.5px solid var(--charcoal-50);border-radius:6px;background:var(--white)}
.cq-tiles.areas .cq-tile[aria-checked=true]{background:var(--promo-tint)}
.cq-tiles.areas .cq-tile[aria-checked=true] .box{border-color:var(--promo);background:var(--promo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}

/* why we ask */
.cq-why{display:flex;gap:12px;margin-top:20px;border-radius:12px;background:var(--teal);padding:14px 16px;color:var(--teal-ink)}
.cq-why svg.i{margin-top:1px}
.cq-why b{display:block;font-size:13px;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.cq-why p{margin-top:3px;font-size:15px;line-height:1.45;color:var(--charcoal)}

/* date field */
.cq-field-wrap{position:relative}
.cq-field-wrap svg.i{position:absolute;left:18px;top:50%;margin-top:-10px;color:var(--muted);pointer-events:none}
.cq-field{width:100%;height:56px;border:1px solid var(--charcoal-50);border-radius:12px;padding:0 18px 0 50px;font:500 16px var(--text);color:var(--charcoal);background:var(--white);outline:none;-webkit-appearance:none;appearance:none}
.cq-field:focus{border-color:var(--promo);box-shadow:0 0 0 3px var(--promo-tint)}
.cq-skip{display:block;margin:14px auto 0;min-height:44px;padding:0 12px;font-size:15px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;text-align:center}

/* sticky continue */
.cq-cta-wrap{position:fixed;left:50%;bottom:0;z-index:6;transform:translateX(-50%);width:100%;max-width:480px;padding:14px 24px calc(16px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--white) 72%,rgba(255,255,255,0))}
.cq-cta{display:flex;width:100%;height:60px;align-items:center;justify-content:center;gap:8px;border-radius:999px;background:var(--charcoal);color:var(--white);
  font-size:16px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;transition:opacity .15s,transform .09s}
.cq-cta:active{transform:scale(.98)}
.cq-cta[disabled]{opacity:.3;cursor:default}
.cq-cta svg.i{width:18px;height:18px;stroke-width:2}
.cq-cta-wrap .cq-skip{margin-top:6px}

/* opening screen: dark head + white card, as /skin-quiz screen 1 */
.cq-intro-head{padding:20px 24px 0;color:var(--white);text-align:center}
.cq-intro-head .cq-logo img{filter:brightness(0) invert(1);margin:0 auto}
.cq-eyebrow{margin-top:14px;color:var(--promo);font-size:16px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase}
.cq-intro-h{margin-top:6px;font-family:var(--display);font-weight:300;font-size:28px;line-height:1.15;letter-spacing:-.4px}
.cq-save{display:inline-block;margin-top:14px;border-radius:999px;background:var(--teal);color:var(--teal-ink);padding:7px 14px;font-size:16px;font-weight:600}
.cq-card{flex:1;margin-top:20px;border-radius:22px 22px 0 0;background:var(--white);padding:22px 20px calc(24px + env(safe-area-inset-bottom))}
.cq-card .q{margin-bottom:16px;text-align:center;font-size:20px;font-weight:600}
.cq-legal{margin-top:18px;text-align:center;font-size:12px;line-height:1.6;color:var(--muted)}
.cq-legal a{color:var(--charcoal)}

/* loaders: bar + checklist */
.cq-loader{align-items:center;padding-top:72px}
.cq-spin{width:52px;height:52px;border-radius:50%;border:3px solid var(--track);border-top-color:var(--promo);animation:cqSpin 1s linear infinite}
@keyframes cqSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cq-spin{animation:none}}
.cq-loader .cq-h{margin:26px 0 22px}
.cq-prog{width:100%;height:6px;border-radius:999px;background:var(--track);overflow:hidden}
.cq-prog i{display:block;height:100%;width:0;border-radius:999px;background:var(--promo)}
.cq-checks{width:100%;margin-top:22px;list-style:none;display:flex;flex-direction:column;gap:14px}
.cq-checks li{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--charcoal-50);transition:color .25s}
.cq-checks li .t{display:flex;flex:none;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:var(--track);color:var(--white);transition:background .25s}
.cq-checks li .t svg.i{width:13px;height:13px;stroke-width:3}
.cq-checks li.on{color:var(--charcoal)}
.cq-checks li.on .t{background:var(--teal-ink)}

/* reviews */
.cq-review{border:1px solid var(--hairline);border-radius:12px;padding:16px;background:var(--white)}
.cq-review + .cq-review{margin-top:12px}
.cq-review .rh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cq-review .who{font-size:17px;font-weight:600}
.cq-review .ver{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:var(--teal);color:var(--teal-ink);padding:4px 10px;font-size:13px;font-weight:600}
.cq-review .ver svg.i{width:13px;height:13px;stroke-width:2.5}
.cq-review .stars{display:flex;gap:2px;margin-top:8px;color:var(--promo)}
.cq-review .stars svg{width:16px;height:16px;fill:currentColor;stroke:none}
.cq-review .tag{display:inline-block;margin-top:10px;border-radius:999px;background:var(--mist);padding:5px 10px;font-size:13px;color:var(--charcoal)}
.cq-review p{margin-top:10px;font-size:16px;line-height:1.5;color:var(--charcoal)}
.cq-rating{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:4px 0 20px;font-size:16px;color:var(--muted)}
.cq-rating b{color:var(--charcoal);font-weight:600}
.cq-rating .stars{display:flex;gap:2px;color:var(--promo)}
.cq-rating .stars svg{width:16px;height:16px;fill:currentColor;stroke:none}
.cq-disc{margin-top:16px;text-align:center;font-size:12px;font-style:italic;line-height:1.5;color:var(--muted)}

/* profile */
.cq-panel{border:1px solid var(--hairline);border-radius:12px;padding:18px 16px;background:var(--white)}
.cq-panel-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cq-panel-h b{font-size:18px;font-weight:600}
.cq-pill{border-radius:999px;background:var(--promo-tint);color:var(--charcoal);padding:4px 12px;font-size:13px;font-weight:600;white-space:nowrap}
.cq-portrait{width:200px;height:230px;margin:16px auto 6px;overflow:hidden;border-radius:12px;background:var(--mist)}
.cq-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.cq-cap{text-align:center;font-size:13px;color:var(--muted)}
.cq-meter{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:22px 0 8px}
.cq-meter i{height:8px;border-radius:999px;background:var(--track)}
.cq-meter i.on{background:var(--teal)}
.cq-meter i.here{background:var(--promo)}
.cq-meter-l{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;font-size:13px;color:var(--muted);text-align:center}
.cq-meter-l .on{color:var(--charcoal);font-weight:600}
.cq-note{margin-top:16px;border-radius:12px;background:var(--mist);padding:14px 16px}
.cq-note b{display:block;font-size:17px;font-weight:600}
.cq-note p{margin-top:4px;font-size:15px;line-height:1.45;color:var(--charcoal)}
.cq-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.cq-fact{border:1px solid var(--hairline);border-radius:12px;padding:14px}
.cq-fact span{display:block;font-size:13px;color:var(--muted)}
.cq-fact b{display:block;margin-top:4px;font-size:16px;font-weight:600;line-height:1.3}

/* plan */
.cq-kicker{text-align:center;font-size:13px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--promo);margin-bottom:8px}
.cq-ticks{list-style:none;display:flex;flex-direction:column;gap:10px;margin:6px 0 20px}
.cq-ticks li{display:flex;gap:12px;font-size:16px;line-height:1.45}
.cq-ticks li .t{display:flex;flex:none;width:22px;height:22px;margin-top:1px;align-items:center;justify-content:center;border-radius:50%;background:var(--teal);color:var(--teal-ink)}
.cq-ticks li .t svg.i{width:13px;height:13px;stroke-width:3}
.cq-product{border-radius:12px;background:var(--mist);overflow:hidden;margin-bottom:12px}
.cq-product img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:50% 62%;mix-blend-mode:multiply}
.cq-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cq-col{border:1px solid var(--hairline);border-radius:12px;padding:14px 12px}
.cq-col.goal{border-color:var(--teal)}
.cq-col .hd{display:table;margin:0 auto 12px;border-radius:999px;background:var(--mist);padding:5px 12px;font-size:13px;font-weight:600}
.cq-col.goal .hd{background:var(--teal);color:var(--teal-ink)}
.cq-col span{display:block;margin-top:10px;font-size:13px;color:var(--muted)}
.cq-col span:first-of-type{margin-top:0}
.cq-col b{display:block;margin-top:2px;font-size:16px;font-weight:600;line-height:1.3}
.cq-segs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:6px}
.cq-segs i{height:5px;border-radius:999px;background:var(--track)}
.cq-segs i.on{background:var(--charcoal)}
.cq-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cq-chips em{font-style:normal;border-radius:999px;background:var(--mist);padding:3px 9px;font-size:13px}
.cq-foot{margin-top:18px;font-size:12px;line-height:1.55;color:var(--muted);text-align:center}
.cq-foot + .cq-foot{margin-top:8px}

@media (min-width:768px){
  .cq-main,.cq-cta-wrap{max-width:560px}
  .cq-body{padding-top:44px}
  .cq-tiles.ages,.cq-tiles.levels{gap:14px}
}
@media (min-width:1024px){
  .cq-h,.cq-intro-h{font-size:40px}
  .cq-opt,.cq-tile .lbl{font-size:18px}
}
