@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');
:root{--ink:#202329;--muted:#646a73;--cream:#fff;--line:#d9dde1;--silver:#eef0f2;--accent:#6ed7ee;--violet:#c48dc5;--blue:#6ed7ee;--gold:#f2cf65;--coral:#ef7774;--x-spectrum:linear-gradient(90deg,#c48dc5,#9fcef1,#a1fad9,#caf69d,#fbec99,#fabf97,#ef7774);--x-spectrum-readable:linear-gradient(90deg,#eb47dd,#0b92f9,#04a469,#529f04,#ac8702,#ef6306,#f85654);--x-spectrum-readable-flow:linear-gradient(90deg,#eb47dd,#0b92f9,#04a469,#529f04,#ac8702,#ef6306,#f85654,#ef6306,#ac8702,#529f04,#04a469,#0b92f9,#eb47dd);--x-spectrum-small-flow:linear-gradient(90deg,#cf17bf,#0576cc,#038656,#428103,#8d6f01,#c25105,#e60d0a,#c25105,#8d6f01,#428103,#038656,#0576cc,#cf17bf);--x-spectrum-bright-flow:linear-gradient(90deg,#f288e9,#5bb6fb,#05c780,#66c705,#d9ab02,#fb9551,#fa908e,#fb9551,#d9ab02,#66c705,#05c780,#5bb6fb,#f288e9)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.65 'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a.small,a.text-link{display:inline-block}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6ed7ee;outline-offset:5px}.announcement{background:var(--ink);color:#fff;text-align:center;padding:9px 15px;font-size:11px;letter-spacing:2px}header{padding:20px 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:25px;line-height:1.15;letter-spacing:-1px}.brand img{width:45px;height:45px;object-fit:contain}.brand small{display:block;font-size:11px;letter-spacing:1px;margin-top:5px}nav{display:flex;align-items:center;gap:34px;font-size:12px}.small{border:1px solid var(--ink);padding:12px 20px;background:transparent;border-radius:30px}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:700px}.hero-copy{padding:70px 9% 38px 11%}.eyebrow{font-size:11px;font-weight:600;letter-spacing:2.5px;margin:0 0 23px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;line-height:1.1;letter-spacing:-2px}h1{font-size:clamp(48px,4.5vw,76px);margin-bottom:28px}em{font-weight:400;color:var(--accent)}.lead{max-width:440px;font-size:16px;color:var(--muted)}.primary{display:inline-flex;gap:40px;align-items:center;justify-content:center;background:var(--ink);color:white;border:0;border-radius:3px;padding:17px 25px;transition:background .2s,transform .2s}.primary:hover{background:#343941;transform:translateY(-2px)}.primary:disabled{opacity:.4;transform:none;cursor:not-allowed}.fine{font-size:13px;line-height:1.55;color:var(--muted);margin:13px 0}.hero-foot{border-top:1px solid var(--line);display:flex;gap:22px;margin-top:40px;padding-top:18px;font-size:12px}.hero-art{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:35px;background:radial-gradient(ellipse at 65% 35%,#effcff 0,transparent 55%),radial-gradient(ellipse at 15% 70%,#fff7de,transparent 55%),#f0f1f3}.art-top,.art-bottom{display:flex;justify-content:space-between;width:100%;font-size:10px;letter-spacing:2px;z-index:1}.orb{width:82%;aspect-ratio:1;border-radius:50%;border:1px solid #ffffffb0;box-shadow:inset 10px 15px 45px #fff7,0 30px 70px #39404a22;display:grid;place-items:center;background:linear-gradient(130deg,#ffffff66,#6ed7ee22,#f2cf6533);position:relative}.orb:after{content:'';position:absolute;inset:-20px;border:1px solid #ffffff66;border-radius:50%;transform:rotate(-30deg) scaleX(.8)}.orb img{width:86%;filter:drop-shadow(0 20px 25px #39404a22);animation:float 7s ease-in-out infinite}.art-note{display:flex;gap:16px;align-items:center;padding:20px 27px;background:#fff8;border:1px solid #fff8;backdrop-filter:blur(10px);font-size:14px;align-self:flex-start;z-index:1;margin-top:-40px}.art-note p{margin:0}.spark{font-size:30px}.ticker{display:flex;justify-content:space-evenly;align-items:center;gap:20px;border-block:1px solid var(--line);padding:25px;font-family:Georgia,serif;font-size:18px}.ticker i{font-size:15px;color:#6ed7ee}.section{padding:95px 7%}h2{font-size:clamp(35px,3.4vw,53px);margin-bottom:25px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:70px}.section-head>p{max-width:345px;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;margin-top:45px}.steps article{border-top:1px solid var(--line);padding-top:25px}.number{font-family:Georgia,serif;font-size:30px;color:#6ed7ee}h3{font-weight:500;font-size:21px;margin:20px 0 12px}.steps p,.values p{color:var(--muted);font-size:14px}.explore{display:grid;grid-template-columns:1fr 1fr;gap:9%;background:#f0f2f4}.topics{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.topics button{border:1px solid #d9dde1;border-radius:25px;padding:12px 20px;background:transparent;color:var(--ink);font-size:12px}.topics .active{background:var(--ink);color:white}.topic-card{padding:35px 45px;background:var(--cream);border:1px solid #fff;box-shadow:0 20px 50px #493e4510}.topic-symbol{font-size:65px;line-height:1.3;color:#6ed7ee}.topic-card h3{font-family:Georgia,serif;font-size:28px}.topic-card p{color:var(--muted)}.text-link{background:none;border:0;border-bottom:1px solid currentColor;padding:7px 0;color:var(--ink)}.philosophy{background:var(--ink);color:#fff;text-align:center}.philosophy em{color:#6ed7ee}.equation{display:flex;justify-content:center;align-items:center;gap:35px;padding:30px 0 50px;font-family:Georgia,serif;font-size:25px}.equation b{font-weight:400;color:#6ed7ee}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;text-align:left;border-top:1px solid #626871;padding-top:25px}.values p{color:#cbd0d4}.values h3{font-size:18px}.faq{display:grid;grid-template-columns:1fr 1fr;gap:50px}details{border-bottom:1px solid var(--line);padding:21px 0}summary{cursor:pointer;font-size:14px}details p{padding-top:18px;font-size:13px;color:var(--muted);margin-bottom:0}.closing{text-align:center;padding:85px 20px;background:radial-gradient(ellipse at 50% 100%,#effcff,transparent 65%),#f0f2f4}.closing p:last-child{font-size:13px;margin-top:20px}footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:40px 7%;font-size:13px}footer .fine{width:100%;margin:0}.quiz-panel h2{font-size:35px;letter-spacing:-1px}#question-note{font-size:13px;color:var(--muted)}.progress{height:3px;background:#d9dde1;margin:25px 0}#bar{display:block;height:100%;background:var(--accent);transition:width .3s}#options{display:grid;gap:10px}#options button{padding:14px;text-align:left;border:1px solid var(--line);background:white;color:var(--ink);border-radius:5px}#options button.selected{background:#effcff;border-color:var(--accent)}.quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px}.result-tag{background:#effcff;padding:10px 15px;border-radius:5px;font-size:13px}@keyframes float{50%{transform:translateY(-10px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}@media(max-width:800px){header{padding:15px 5%}nav{gap:0}.small{padding:10px 13px;font-size:11px}.hero{grid-template-columns:1fr}.hero-copy{padding:45px 7%}h1{font-size:56px}.hero-art{min-height:480px;padding:25px}.orb{width:300px;max-width:80%}.art-note{margin-top:-20px}.hero-foot{gap:15px}.ticker{flex-wrap:wrap;font-size:14px}.ticker i{display:none}.section{padding:60px 7%}.section-head{display:block}.steps{grid-template-columns:1fr;gap:18px;margin-top:25px}.explore,.faq{grid-template-columns:1fr;gap:30px}.values{grid-template-columns:1fr;gap:12px}.equation{gap:12px;font-size:16px;flex-wrap:wrap}.topic-card{padding:25px}.announcement{font-size:10px;letter-spacing:1px;line-height:1.5}.quiz-panel h2{font-size:30px}.quiz-actions .primary{padding:14px 17px}footer .brand{width:100%}}
[hidden]{display:none!important}


/* Inclusive color story: carries the site's plum, sage, and warm neutral palette. */
.inclusivity{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:7%;background:linear-gradient(115deg,#f0f2f4 0%,#fff 54%,#fff7de 100%);overflow:hidden}.inclusivity-copy>p:not(.eyebrow){max-width:410px;color:var(--muted)}.inclusivity-signoff{display:inline-flex;align-items:center;gap:16px;margin-top:14px;padding-top:15px;border-top:1px solid #d9dde1;font-family:Georgia,serif;font-size:15px}.inclusivity-signoff b{font-family:'DM Sans',sans-serif;font-size:11px;font-weight:600;letter-spacing:1px;color:var(--accent)}.inclusivity-art{position:relative;isolation:isolate;margin:0;padding:18px 12px;border:1px solid #ffffffb8;border-radius:4px;background:linear-gradient(135deg,#ffffffa6,#f7f2ed88);box-shadow:0 25px 65px #493e4512}.inclusivity-art:before{content:'';position:absolute;z-index:-1;inset:13% 8%;border-radius:50%;background:linear-gradient(120deg,#c48dc536,#a1fad945,#ef777433);filter:blur(34px);animation:inclusivity-glow 9s ease-in-out infinite alternate}.inclusivity-art svg{display:block;width:100%;height:auto}@keyframes inclusivity-glow{from{opacity:.45;transform:translate(-4%,3%) scale(.94)}to{opacity:.8;transform:translate(4%,-3%) scale(1.05)}}@media(max-width:800px){.inclusivity{grid-template-columns:1fr;gap:24px}.inclusivity-art{padding:12px 4px}.inclusivity-signoff{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.inclusivity-art:before{animation:none;opacity:.55}}

/* Calm, accessible movement adds a little life without competing with the content. */
.hero-art{background-size:120% 120%;animation:hero-wash 18s ease-in-out infinite alternate}.orb:after{animation:orb-drift 28s linear infinite}.ticker i{animation:sparkle 3.6s ease-in-out infinite}.ticker i:nth-of-type(2){animation-delay:.8s}.ticker i:nth-of-type(3){animation-delay:1.6s}.steps article{transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease}.steps article:hover,.steps article:focus-within{transform:translateY(-5px);border-color:#6ed7ee;box-shadow:0 14px 30px #493e450c}.topics button{transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease}.topics button:hover{transform:translateY(-2px);border-color:var(--accent)}.topic-card{transition:transform .3s ease,box-shadow .3s ease}.topic-card:hover,.topic-card:focus-within{transform:translateY(-4px);box-shadow:0 24px 55px #493e4518}
.photo-guide{display:grid;grid-template-columns:.95fr 1.05fr;gap:7%;align-items:center;background:linear-gradient(140deg,#fff,#f0f2f4 55%,#fff7de)}.photo-guide-visual{margin:0;overflow:hidden;border:1px solid #ffffffb8;border-radius:5px;background:#f0f1f3;box-shadow:0 24px 65px #493e4518}.photo-guide-visual img{display:block;width:100%;height:auto;transition:transform .7s cubic-bezier(.2,.7,.2,1)}.photo-guide-visual:hover img{transform:scale(1.025)}.photo-guide-visual figcaption{padding:11px 15px;color:var(--muted);font-size:12px;letter-spacing:.3px}.photo-guide-copy h2{margin-bottom:18px}.photo-intro{color:var(--muted);max-width:520px}.photo-steps{list-style:none;margin:30px 0;padding:0;display:grid;gap:20px}.photo-steps li{display:grid;grid-template-columns:35px 1fr;gap:14px;align-items:start}.photo-steps li>span{font-family:Georgia,serif;font-size:21px;color:#6ed7ee}.photo-steps h3{font-size:16px;margin:0 0 5px}.photo-steps p{font-size:13px;color:var(--muted);margin:0}.photo-note{margin-top:18px;padding:15px 17px;border-left:3px solid #6ed7ee;background:#ffffff7a;color:var(--muted);font-size:13px}.photo-note strong{color:var(--ink)}
.motion-ready main>section:not(.hero),.motion-ready .ticker{opacity:0;transform:translateY(20px)}.motion-ready main>section.is-visible,.motion-ready .ticker.is-visible{animation:section-rise .72s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--reveal-delay,0ms)}@keyframes section-rise{to{opacity:1;transform:translateY(0)}}@keyframes hero-wash{from{background-position:0% 45%}to{background-position:100% 55%}}@keyframes orb-drift{from{transform:rotate(-30deg) scaleX(.8)}to{transform:rotate(330deg) scaleX(.8)}}@keyframes sparkle{0%,100%{opacity:.58;transform:scale(.92)}50%{opacity:1;transform:scale(1.14)}}
@media(max-width:800px){.photo-guide{grid-template-columns:1fr;gap:28px}.photo-guide-visual{max-width:620px}.photo-guide-copy{max-width:680px}.photo-steps{gap:16px}}
@media(prefers-reduced-motion:reduce){.hero-art,.orb:after,.ticker i,.steps article,.topics button,.topic-card,.photo-guide-visual img{animation:none!important;transition:none!important}.steps article:hover,.topic-card:hover,.photo-guide-visual:hover img{transform:none}.motion-ready main>section:not(.hero),.motion-ready .ticker{opacity:1;transform:none}.motion-ready main>section.is-visible,.motion-ready .ticker.is-visible{animation:none}}

/* Match the reference site's white/charcoal/silver base and the SXG X spectrum. */
body{background:#fff;color:#202329}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#6ed7ee}.primary:hover{background:#343941}/* Rainbow text: every <em> carries the SXG spectrum and flows through it and back.
   Each palette is the X's hues at full saturation, as bright as its background
   allows: 3:1+ on white for headings, 4.5:1+ for the small art-note lines, 7:1+
   on the charcoal philosophy band. The flow tokens are the spectrum then its
   mirror, so a 200%-wide slide always shows the whole spectrum. */
em{color:#0b92f9;background:var(--x-spectrum-readable-flow);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:spectrum-shift 6s ease-in-out infinite alternate}
.art-note em{background-image:var(--x-spectrum-small-flow)}
@keyframes spectrum-shift{from{background-position:0% 50%}to{background-position:100% 50%}}.philosophy em{color:#5bb6fb;background-image:var(--x-spectrum-bright-flow)}.hero-art{background:radial-gradient(ellipse at 26% 30%,#fff7de 0,transparent 46%),radial-gradient(ellipse at 84% 76%,#effcfe 0,transparent 48%),linear-gradient(215deg,#fff 48%,#f0f1f3)}.hero-art:after{content:'';position:absolute;inset:18%;z-index:0;border-radius:50%;background:var(--x-spectrum);filter:blur(65px);opacity:.11;animation:hero-spectrum 20s ease-in-out infinite alternate}.orb{background:linear-gradient(230deg,#fff9,#f2cf6533,#6ed7ee22)}.orb:after{border-color:#ffffffb0}.art-note{color:#202329}.ticker{border-color:#d9dde1}.ticker i,.number,.topic-symbol,.equation b{color:#6ed7ee}.explore{background:#f0f2f4}.topic-card{background:#fff;border-color:#d9dde1}.steps article{border-color:#d9dde1}.progress{background:#d9dde1}#bar{background:#6ed7ee}#options button{border-color:#d9dde1}#options button.selected{background:#effcff;border-color:#6ed7ee}.result-tag{background:#eef0f2}.inclusivity{background:linear-gradient(130deg,#fff,#effcff 40%,#fff7de 72%,#fff)}.inclusivity-art:before{background:var(--x-spectrum);opacity:.14}.inclusivity-signoff{border-color:#d9dde1}.inclusivity-signoff b{color:#3b82a5}.photo-guide{background:linear-gradient(130deg,#fff,#effcff 40%,#fff7de 72%,#fff)}.photo-guide-visual{background:#f0f1f3}.photo-steps li>span{color:#3b82a5}.photo-note{border-left-color:#6ed7ee;background:#eef0f2}.closing{background:radial-gradient(ellipse at 38% 100%,#effcff,transparent 62%),radial-gradient(ellipse at 72% 100%,#fff7de,transparent 57%),#fff}
@keyframes hero-spectrum{from{transform:translate(-4%,3%) scale(.92);opacity:.08}to{transform:translate(4%,-3%) scale(1.05);opacity:.16}}
@media(prefers-reduced-motion:reduce){.hero-art:after{animation:none;opacity:.08}}

/* Bring the two story sections in as complete, gently staggered moments. */
.motion-ready .inclusivity:not(.is-visible) .inclusivity-copy>* ,.motion-ready .inclusivity:not(.is-visible) .inclusivity-art,
.motion-ready .photo-guide:not(.is-visible) .photo-guide-visual,
.motion-ready .photo-guide:not(.is-visible) .photo-guide-copy>*{opacity:0;transform:translateY(18px)}
.motion-ready .inclusivity.is-visible .inclusivity-copy>*,.motion-ready .inclusivity.is-visible .inclusivity-art,
.motion-ready .photo-guide.is-visible .photo-guide-visual,
.motion-ready .photo-guide.is-visible .photo-guide-copy>*{opacity:1;transform:translateY(0);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--inner-delay,0ms)}
.inclusivity-copy>*:nth-child(1),.photo-guide-copy>*:nth-child(1){--inner-delay:40ms}
.inclusivity-copy>*:nth-child(2),.photo-guide-copy>*:nth-child(2){--inner-delay:130ms}
.inclusivity-copy>*:nth-child(3),.photo-guide-copy>*:nth-child(3){--inner-delay:220ms}
.inclusivity-copy>*:nth-child(4),.photo-guide-copy>*:nth-child(4){--inner-delay:310ms}
.photo-guide-copy>*:nth-child(5){--inner-delay:400ms}
.photo-guide-copy>*:nth-child(6){--inner-delay:490ms}
.photo-guide-copy>*:nth-child(7){--inner-delay:580ms}
.inclusivity-art{--inner-delay:220ms}
.photo-guide-visual{--inner-delay:160ms;position:relative;isolation:isolate}
.motion-ready .photo-guide-visual::before{content:'';position:absolute;z-index:1;pointer-events:none;inset:0;background:linear-gradient(115deg,transparent 25%,#ffffff75 48%,transparent 70%);transform:translateX(-110%)}
.motion-ready .photo-guide.is-visible .photo-guide-visual::before{animation:photo-sheen 1.25s cubic-bezier(.2,.7,.2,1) .45s both}
.photo-guide-visual::after{content:'';position:absolute;z-index:0;pointer-events:none;inset:10% 12%;border-radius:50%;background:var(--x-spectrum);filter:blur(42px);opacity:.12;animation:photo-halo 8s ease-in-out infinite alternate}
.photo-guide-visual img,.photo-guide-visual figcaption{position:relative;z-index:1}
.photo-steps li{transition:transform .3s ease,color .3s ease}
.photo-steps li:hover{transform:translateX(4px)}
@keyframes photo-sheen{to{transform:translateX(110%)}}
@keyframes photo-halo{from{opacity:.07;transform:scale(.94)}to{opacity:.17;transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){
  .motion-ready .inclusivity:not(.is-visible) .inclusivity-copy>*,.motion-ready .inclusivity:not(.is-visible) .inclusivity-art,
  .motion-ready .photo-guide:not(.is-visible) .photo-guide-visual,.motion-ready .photo-guide:not(.is-visible) .photo-guide-copy>*{opacity:1;transform:none}
  .motion-ready .inclusivity.is-visible .inclusivity-copy>*,.motion-ready .inclusivity.is-visible .inclusivity-art,
  .motion-ready .photo-guide.is-visible .photo-guide-visual,.motion-ready .photo-guide.is-visible .photo-guide-copy>*{transition:none;transition-delay:0ms}
  .photo-guide-visual::after{animation:none;opacity:.1}.photo-guide-visual::before{display:none}
  .photo-steps li:hover{transform:none}
}

/* Skin inclusivity art, inlined so it can move with the section reveal: the
   spectrum bar draws down, the label tracks in, the three lines rise one by
   one, then a sheen of light passes through the bar every few seconds.
   Opacity and transform only - CSS filters don't apply to SVG shapes in Chrome. */
.incl-bar,.incl-bar-glow{transform-box:fill-box;transform-origin:50% 0}
.incl-line-1{--line-delay:.8s}.incl-line-2{--line-delay:.98s}.incl-line-3{--line-delay:1.16s}
.motion-ready .inclusivity.is-visible .incl-bar{animation:incl-bar-draw 1.15s cubic-bezier(.2,.7,.2,1) .38s both}
.motion-ready .inclusivity.is-visible .incl-bar-glow{animation:incl-bar-draw 1.15s cubic-bezier(.2,.7,.2,1) .38s both,incl-glow-breathe 6s ease-in-out 1.6s infinite alternate}
.motion-ready .inclusivity.is-visible .incl-label{animation:incl-track-in 1s cubic-bezier(.2,.7,.2,1) .62s both}
.motion-ready .inclusivity.is-visible .incl-line{animation:incl-line-rise .85s cubic-bezier(.2,.7,.2,1) var(--line-delay) both}
.motion-ready .inclusivity.is-visible .incl-sheen,html:not(.motion-ready) .incl-sheen{animation:incl-sheen 7s cubic-bezier(.45,0,.25,1) 1.9s infinite}
@keyframes incl-bar-draw{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes incl-glow-breathe{from{opacity:.18}to{opacity:.42}}
@keyframes incl-track-in{from{opacity:0;letter-spacing:12px}to{opacity:1;letter-spacing:4.4px}}
@keyframes incl-line-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
/* Rests above the bar, outside its clip; sweeps past the bottom in ~2s, then waits */
@keyframes incl-sheen{0%{transform:translateY(0)}32%,100%{transform:translateY(450px)}}

/* Skin discovery page (discover.html): the intro steps and the inline quiz share
   the left column; the hero's brand art sits beside them and stays in view. */
.crumbs{display:flex;gap:8px;padding:26px 9% 0;font-size:12px;color:var(--muted)}
.crumbs a:hover{color:var(--ink)}
.crumbs [aria-current]{color:var(--ink)}
.discover-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6%;align-items:start;padding:22px 9% 80px}
.discover h1{font-size:clamp(38px,3.6vw,54px);margin-bottom:26px}
.discover-steps{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:18px}
.discover-steps li{display:grid;grid-template-columns:38px 1fr;gap:18px;align-items:start}
/* Numbers sit in a ring of the SXG spectrum */
.discover-steps li>span{width:38px;height:38px;box-sizing:border-box;border-radius:50%;display:grid;place-items:center;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--x-spectrum) border-box;font-family:Georgia,serif;font-size:16px}
.discover-steps h2{font:500 19px/1.3 'DM Sans',sans-serif;letter-spacing:0;margin:6px 0 4px}
.discover-steps p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.discover-focus{margin:0 0 14px;padding:10px 15px;background:#eef0f2;border-radius:5px;font-size:13px}
.discover-start{width:100%;gap:14px;padding:19px 25px;font-size:16px;letter-spacing:.5px}
.discover-art{position:sticky;top:30px;min-height:600px;border-radius:4px;animation:discover-rise .8s cubic-bezier(.2,.7,.2,1) .12s both,hero-wash 18s ease-in-out infinite alternate}
.discover-art .orb{width:min(72%,400px)}
.quiz-panel{max-width:620px}
.discover-panel>div:not([hidden]){animation:discover-rise .6s cubic-bezier(.2,.7,.2,1) both}
.q-in{animation:discover-rise .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes discover-rise{from{opacity:0;transform:translateY(18px)}}
@media(max-width:800px){.crumbs{padding:20px 7% 0}.discover-grid{grid-template-columns:1fr;gap:34px;padding:24px 7% 60px}.discover h1{font-size:40px}.discover-art{position:relative;top:auto;min-height:420px}}

/* Photos page (photos.html): the angle guide, the three outlined photo slots
   (upload or live camera), consent, and the summary with the photo reading. */
.photos-wrap{max-width:1080px;margin:0 auto;padding:22px 9% 90px}
.photo-step h1{font-size:clamp(38px,3.6vw,54px);margin-bottom:16px}
.photo-step-intro{max-width:560px;color:var(--muted);font-size:16px;margin-bottom:34px}
.angle-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.angle-examples{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.angle-examples img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:4px;background:#f0f1f3}
.angle-guide h3{display:flex;align-items:center;gap:10px;font-size:18px;margin:0 0 6px}
.angle-guide p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
/* Shared by the angle numbers and the slot numbers: a ring of the SXG spectrum */
.angle-guide h3 span,.slot figcaption span,.step-num{width:28px;height:28px;box-sizing:border-box;border-radius:50%;display:inline-grid;place-items:center;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--x-spectrum) border-box;font:13px Georgia,serif}
.photo-tips{list-style:none;display:flex;flex-wrap:wrap;gap:10px 26px;margin:26px 0 44px;padding:18px 22px;background:#f6f7f8;border-radius:6px;font-size:13px}
.photo-tips li:before{content:'✧ ';color:#3b82a5}
.photo-slots-title{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:30px;letter-spacing:-1px;margin:0 0 18px}
.photo-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.slot{margin:0}
.slot-frame{position:relative;aspect-ratio:3/4;overflow:hidden;border:1.5px dashed #b8c0c8;border-radius:6px;background:linear-gradient(160deg,#f6f7f8,#fff)}
.slot-outline{position:absolute;inset:8% 10% 0;width:80%;height:92%;fill:none;stroke:#6ed7ee;stroke-width:2.5;stroke-dasharray:7 7;stroke-linecap:round}
.slot-outline .guide{stroke:#b8c0c8;stroke-width:1.5;stroke-dasharray:3 6}
.slot-photo,.slot-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Selfie view: preview and outline are mirrored together, the captured photo is not */
.slot.is-live .slot-video,.slot.is-live .slot-outline{transform:scaleX(-1)}
.slot.is-live .slot-outline{z-index:1;stroke:#fff;filter:drop-shadow(0 0 2px #0008)}
.slot.is-filled .slot-outline{display:none}
/* Retaking: the live camera and the outline replace the old photo until Capture or Cancel */
.slot.is-live .slot-photo{visibility:hidden}
.slot.is-live .slot-outline{display:block}
.slot.is-filled .slot-frame,.slot.is-live .slot-frame{border-style:solid;border-color:#d9dde1}
.slot.needs-retake .slot-frame{border:2px solid #ef7774}
.slot figcaption{display:flex;align-items:center;gap:10px;margin:12px 0 6px;font-size:15px;font-weight:500}
.slot-actions,.slot-camera{display:flex;align-items:center;gap:20px}
.slot-camera .primary{padding:11px 20px}
.slot-upload{display:inline-block;cursor:pointer;position:relative}
/* The file input stays focusable for keyboards; the label is what you see */
.slot-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.slot-upload:focus-within{outline:3px solid #6ed7ee;outline-offset:5px}
.slot-msg{min-height:1em;margin:8px 0 0;font-size:13px;color:#b75c52}
.photo-consent{margin:38px 0 0;padding:20px 22px;border:1px solid var(--line);border-radius:6px}
.photo-consent label{display:flex;gap:12px;align-items:flex-start;font-size:14px;cursor:pointer}
.photo-consent input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:#202329}
.photo-consent .fine{margin:12px 0 0 30px}
.analyze-status{min-height:1.4em;margin:14px 0 0;font-size:13px}
.photo-step.is-busy .analyze-status:before{content:'';display:inline-block;width:12px;height:12px;margin-right:9px;vertical-align:-1px;border:2px solid #d9dde1;border-top-color:#3b82a5;border-radius:50%;animation:photo-spin .8s linear infinite}
@keyframes photo-spin{to{transform:rotate(360deg)}}
.photo-skip{margin:6px 0 0;font-size:13px}
.photo-skip .text-link{color:var(--muted)}
/* Summary + reading */

.reading-alert{padding:12px 15px;border-left:3px solid #ef7774;background:#fff4f2;border-radius:3px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.chips span{padding:6px 12px;border-radius:20px;background:#effcff;font-size:12px}


@media(max-width:800px){.photos-wrap{padding:22px 7% 60px}.angle-guide{grid-template-columns:1fr;gap:26px}.angle-examples{max-width:320px}.photo-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.slot.is-live{grid-column:1/-1}.slot figcaption{font-size:13px}.slot-actions{flex-direction:column;align-items:flex-start;gap:4px}.photo-consent .fine{margin-left:0}}
@media(prefers-reduced-motion:reduce){.photo-step.is-busy .analyze-status:before{animation:none}}

/* Results page (results.html): My Analysis beside My Routine on a silver board,
   after the reference layout, with the chat launcher fixed bottom-left. */
.results-wrap,.products-wrap{max-width:1180px;margin:0 auto;padding:22px 6% 100px}
.results-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:26px}
.results-head h1,.products-page h1{font-size:clamp(38px,3.6vw,54px);margin-bottom:14px}
.results-head .result-tag{display:inline-block;margin:0}
.results-cta{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.results-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start;padding:24px;background:#eef0f2;border-radius:8px}
.board-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 12px 30px #493e450d}
.board-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:var(--ink);color:#fff}
.board-head h2{margin:0;font-size:26px;letter-spacing:-.5px}
.seg{display:inline-flex;padding:3px;border-radius:30px;background:#ffffff24}
.seg button{border:0;background:none;color:#fff;font-size:12px;padding:7px 14px;border-radius:30px}
.seg button[aria-pressed=true]{background:#fff;color:var(--ink)}
.board-body{padding:22px}
.analysis-photo{max-width:300px;margin:0 auto 16px}
.analysis-photo img{display:block;width:100%;height:auto;border-radius:6px}
/* The shading's 0..1 coordinates are the whole photo, so the photo is shown whole (no cover crop) */
.photo-frame{position:relative;overflow:hidden;border-radius:6px}
.zone-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.zone-shade polygon{fill:#202329;fill-opacity:.16;transition:fill-opacity .2s}
.zone-shade polyline{fill:none;stroke:#202329;stroke-opacity:.16;stroke-width:.035;stroke-linecap:round;stroke-linejoin:round;transition:stroke-opacity .2s}
.zone-shade .is-focus{fill-opacity:.32;stroke-opacity:.32}
.zone-shade.is-off{display:none}
.zone-caption{margin:10px 0 0;color:var(--muted);font-size:13px;text-align:center}
.zone-toggle{font-size:12px;padding:2px 0}
.analysis-focus{margin:0 0 8px;text-align:center;font:20px 'Playfair Display',Georgia,serif}
.analysis-state{max-width:440px;margin:0 auto 14px;text-align:center;color:var(--muted)}
.board-body .chips{justify-content:center;margin-bottom:18px}
.board-body>.primary{display:flex;width:max-content;margin:0 auto 18px}
.analysis-sub{margin:26px 0 8px;text-align:center;font:400 22px 'Playfair Display',Georgia,serif}
/* Shared by the analysis folds and the routine steps: a charcoal chevron disc */
.fold summary,.step-group summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;position:relative;padding:15px 40px 15px 0;cursor:pointer;list-style:none}
.fold summary::-webkit-details-marker,.step-group summary::-webkit-details-marker{display:none}
.fold summary:after,.step-group summary:after{content:'';position:absolute;right:0;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:#202329 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;transition:transform .2s}
.fold[open] summary:after,.step-group[open] summary:after{transform:rotate(180deg)}
.folds{border-top:1px solid var(--line)}
.fold{border-bottom:1px solid var(--line)}
.fold-title{font-size:16px}
.fold-badge{padding:3px 10px;border-radius:20px;background:#eef0f2;color:var(--muted);font-size:12px}
.fold-badge.is-concern,.fold-badge.is-both{background:#fff0e8;color:#9a4b2f}
.fold-badge.is-apply{background:#effcff;color:#2f6f8a}
.fold-body{padding:0 0 16px;color:var(--muted);font-size:14px}
.fold-body h4,.fold-body h5{margin:14px 0 4px;color:var(--ink);font-size:14px}
.fold-body p{margin:0 0 8px}
.fold-body ul{margin:0 0 8px;padding-left:18px}
.step-group{border-bottom:1px solid var(--line);padding-bottom:10px}
.step-group:last-child{border-bottom:0}
.step-name{font:400 24px 'Playfair Display',Georgia,serif}
.step-count{color:var(--muted);font-size:11px;letter-spacing:1.5px;text-transform:uppercase}
.routine-empty{color:var(--muted)}
.results-foot{margin-top:30px;text-align:center}
.results-foot .primary{margin-bottom:6px}
.results-links{display:flex;justify-content:center;flex-wrap:wrap;gap:28px}
/* Product card: the routine and the products page */
.pcard{margin:12px 0;border:1px solid var(--line);border-radius:10px;background:#fff}
.pcard[hidden]{display:none}
.pcard-top{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:14px;border-bottom:1px solid var(--line)}
.pcard-top img,.pcard-img-empty{width:96px;height:96px;object-fit:cover;border-radius:6px;background:#f6f7f8}
.pcard-head h4{margin:0 0 4px;font-size:17px;font-weight:500;line-height:1.3}
.badge-new{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:20px;background:linear-gradient(90deg,#c48dc5,#9fcef1,#a1fad9,#caf69d,#fbec99,#fabf97,#ef7774,#fabf97,#fbec99,#caf69d,#a1fad9,#9fcef1,#c48dc5);background-size:200% 100%;animation:spectrum-shift 6s ease-in-out infinite alternate;color:var(--ink);font-size:11px;letter-spacing:1px;text-transform:uppercase;vertical-align:2px}
.pcard-price{margin:0 0 10px;color:var(--muted);font-size:13px}
.pcard-cart{display:inline-block;padding:9px 22px;border-radius:30px;background:var(--ink);color:#fff;font-size:13px;font-weight:600;transition:background .2s}
.pcard-cart:hover{background:#343941}
.pcard-soldout{color:var(--muted);font-size:13px}
.pcard-body{padding:4px 14px 14px;font-size:14px}
.pcard-body h5{margin:12px 0 4px;font-size:14px}
.pcard-body p{margin:0 0 6px;color:var(--muted)}
.pcard-blurb{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard-blurb.is-open{display:block}
.pcard-more{margin-bottom:4px;padding:2px 0;font-size:12px}
.pcard-when{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.pcard-when h5{margin:0 4px 0 0}
.chip-time{padding:3px 10px;border:1px solid var(--line);border-radius:20px;font-size:12px}
.pcard-usage{margin-top:6px}
.pcard-link{margin-top:6px;font-size:12px}
@media(max-width:800px){.results-head{flex-direction:column;align-items:flex-start}.results-cta{align-items:flex-start}.results-board{grid-template-columns:1fr;padding:10px}.board-head{flex-wrap:wrap}.board-head h2{font-size:22px}.board-body{padding:16px}.pcard-top{grid-template-columns:72px minmax(0,1fr)}.pcard-top img,.pcard-img-empty{width:72px;height:72px}}

/* "Have a question?" chat (chat.js) */
.chat-launch{position:fixed;right:20px;bottom:20px;z-index:40;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid var(--line);border-radius:30px;background:#fff;color:var(--ink);font-size:13px;box-shadow:0 10px 30px #20232922}
.chat-launch span{color:#3b82a5}
.chat-launch.is-open{display:none}
.chat-panel{position:fixed;right:20px;bottom:20px;z-index:41;display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));height:min(560px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 24px 60px #20232933}
.chat-panel[hidden]{display:none}
.chat-panel header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--ink);color:#fff}
.chat-panel header small{display:block;font-size:12px;opacity:.75}
.chat-title{display:flex;align-items:center;gap:11px}
.chat-title img{width:36px;height:36px;flex-shrink:0;border-radius:8px;border:1px solid #ffffff2e}
.chat-close{border:0;background:none;color:#fff;font-size:26px;line-height:1}
.chat-log{flex:1;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding:14px;font-size:14px}
/* Flex items in a scrolling column shrink to fit by default; a message or a
   card row squashed to a sliver is worse than scrolling */
.chat-msg,.chat-cards{flex-shrink:0}
.chat-msg{max-width:88%;padding:10px 13px;border-radius:12px;line-height:1.5}
.chat-msg p{margin:0 0 6px}.chat-msg p:last-child{margin:0}.chat-msg ul{margin:4px 0;padding-left:18px}.chat-msg h4{margin:6px 0 4px;font-size:14px}
.chat-assistant{align-self:flex-start;background:#f3f5f7}
.chat-user{align-self:flex-end;background:var(--ink);color:#fff}
.chat-error{align-self:flex-start;background:#fff4f2;color:#9a4b2f}
.chat-msg.is-waiting{color:var(--muted);font-style:italic}
.chat-cards{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.chat-cards a{flex:0 0 120px;display:grid;gap:4px;padding:8px;border:1px solid var(--line);border-radius:8px;font-size:12px}
.chat-cards img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
.chat-cards small{color:var(--muted)}
.chat-cta{flex-shrink:0;align-self:flex-start;display:inline-flex;padding:9px 14px;border-radius:20px;background:var(--ink);color:#fff;font-size:13px}
.chat-suggest{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.chat-suggest[hidden]{display:none}
.chat-suggest button{padding:6px 11px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);font-size:12px}
.chat-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}
.chat-form textarea{flex:1;max-height:120px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:14px;resize:none}
.chat-form .primary{padding:11px 16px}
.chat-fine{margin:0;padding:0 14px 10px;color:var(--muted);font-size:12px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:800px){.chat-panel{left:8px;right:8px;bottom:8px;width:auto;height:calc(100vh - 16px)}}

/* From Sonia (products.html) */
.products-intro{max-width:620px;margin-bottom:26px;color:var(--muted);font-size:16px}
.product-filter{margin:0 0 10px}
.pgrid-title{margin:34px 0 14px;font-size:32px}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.pgrid .pcard{margin:0}
.products-note{margin-top:56px;padding:36px 20px;border-radius:8px;text-align:center;background:radial-gradient(ellipse at 38% 100%,#effcff,transparent 62%),radial-gradient(ellipse at 72% 100%,#fff7de,transparent 57%),#f6f7f8}
.products-note p{margin:0 0 14px;font:22px 'Playfair Display',Georgia,serif}
@media(prefers-reduced-motion:reduce){.fold summary:after,.step-group summary:after{transition:none}}

/* Accessibility menu (a11y-menu.js / a11y-menu.css) meets SkinGPT's own effects.
   Its page-level rules are deliberately blunt, so three things here need help. */
/* Pause animations sets animation:none, which would freeze the scroll reveals in
   their hidden starting state; show everything instead, as reduced motion does. */
html.sxg-a11y-noanim.motion-ready main>section:not(.hero),html.sxg-a11y-noanim.motion-ready .ticker,
html.sxg-a11y-noanim .inclusivity-copy>*,html.sxg-a11y-noanim .inclusivity-art,
html.sxg-a11y-noanim .photo-guide-visual,html.sxg-a11y-noanim .photo-guide-copy>*{opacity:1!important;transform:none!important}
/* The high-contrast views remove every background image. Rainbow text is see-through
   letters over a gradient, so it would vanish: give it the view's solid colour. */
html.sxg-a11y-dark em,html.sxg-a11y-light em,html.sxg-a11y-dark .x-shift,html.sxg-a11y-light .x-shift{-webkit-text-fill-color:currentColor!important}
/* The inclusivity art's words are SVG fills, which the views' color rules don't reach */
html.sxg-a11y-dark .inclusivity-art svg text{fill:#fff!important}
html.sxg-a11y-light .inclusivity-art svg text{fill:#000!important}
/* With every background flattened, a chosen option (All / AM / PM, the photo angle,
   a topic) needs another way to show it is the chosen one */
html.sxg-a11y-dark [aria-pressed=true],html.sxg-a11y-dark .active{outline:3px solid #fff!important;outline-offset:-3px}
html.sxg-a11y-light [aria-pressed=true],html.sxg-a11y-light .active{outline:3px solid #000!important;outline-offset:-3px}

/* Accessibility statement (accessibility.html) */
.statement{max-width:760px;margin:0 auto;padding:22px 7% 90px}
.statement h1{font-size:clamp(38px,3.6vw,54px);margin-bottom:20px}
.statement h2{font-size:30px;margin:38px 0 12px}
.statement p,.statement li{color:var(--muted)}
.statement ul{padding-left:20px}
.statement li{margin:6px 0}
.statement kbd{padding:1px 6px;border:1px solid var(--line);border-bottom-width:2px;border-radius:4px;font:13px 'DM Sans',sans-serif;color:var(--ink)}

/* SoniaGenix sign-in (account.js): header link, the photo-step gate, saved scans */
.account-out{border:0;background:none;padding:0;color:var(--muted);font-size:12px}
.account-out:hover,.account-in:hover,.account-nav a:hover{color:var(--ink)}
.signin-gate{margin:8px 0 0;padding:30px;border:1px solid var(--line);border-radius:8px;background:radial-gradient(ellipse at 20% 100%,#effcff,transparent 60%),#fff}
.signin-gate h3{margin:0 0 8px;font:400 28px 'Playfair Display',Georgia,serif;letter-spacing:-.5px}
.signin-gate p{max-width:560px;color:var(--muted)}
.signed-in-as{margin:-6px 0 16px;color:var(--muted);font-size:13px}
.photo-consent label+label{margin-top:12px}
.photo-save .optional{margin-left:6px;font-style:normal;font-size:11px;letter-spacing:.5px;text-transform:uppercase;-webkit-text-fill-color:var(--muted);background:none;color:var(--muted);animation:none}
.saved-note{margin:12px 0 0;color:var(--muted);font-size:13px}
.scans-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin-top:18px}
.scan-card{padding:22px;border:1px solid var(--line);border-radius:10px;background:#fff}
.scan-card h2{margin:0 0 10px;font-size:26px;letter-spacing:-.5px}
.scan-card .result-tag{display:inline-block;margin:0 0 12px}
.scan-state{color:var(--muted);font-size:14px}
.scan-photos{margin:10px 0 16px;font-size:13px;color:var(--muted)}
.scan-actions{display:flex;align-items:center;gap:22px}
.scan-actions .primary{padding:12px 20px}
@media(max-width:800px){.signin-gate{padding:22px}}
/* "United in Color®" shifts through the X colours, like the italic headings */
.x-shift{color:#0b92f9;background:var(--x-spectrum-readable-flow);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:spectrum-shift 6s ease-in-out infinite alternate}
.eyebrow .x-shift{background-image:var(--x-spectrum-small-flow)}
.art-bottom{justify-content:center}
.photo-cta{margin:0 0 6px}
/* On a phone the open chat fills the screen: keep the accessibility tab off its messages */
@media(max-width:800px){html.chat-open #sxg-a11y-host{display:none}}
/* Product filter: each routine step's colour on the outer ring; the chosen one fills with it */
.product-filter [data-step="All"]{--chip-edge:var(--ink)}
.product-filter [data-step="Cleanse"]{--chip-edge:#6fb83f}
.product-filter [data-step="Treat"]{--chip-edge:#ee9cc2}
.product-filter [data-step="Hydrate"]{--chip-edge:#5aa8e6}
.product-filter button:is([data-step="All"],[data-step="Cleanse"],[data-step="Treat"],[data-step="Hydrate"]){border:2px solid var(--chip-edge);padding:11px 19px}
.product-filter button:is([data-step="All"],[data-step="Cleanse"],[data-step="Treat"],[data-step="Hydrate"]).active{background:var(--chip-edge);color:var(--ink)}
.product-filter button[data-step="All"].active{color:#fff}
.inline-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.inline-link:hover{color:#3b82a5}
/* Header: the section links fold into one "Menu" (a <details>, closed again by menu.js), with Discover your skin
   beside it on every screen size. The panel hangs from the right edge of the pair, so on a phone it stays on-screen;
   Sign in / My scans / Sign out (account.js) sit at its foot. */
.site-menu{position:relative;gap:14px}
.site-menu details{padding:0;border:0}
header nav a{white-space:nowrap}
@media(max-width:800px){.site-menu{gap:6px}.site-menu summary{padding:12px 6px 12px 2px;font-size:12px}}
/* Narrow phones: "Menu" needs the room, so the button reads "Discover ↗" and the brand never wraps */
.brand{flex-shrink:0}.brand small{white-space:nowrap}
@media(max-width:400px){.cta-more{display:none}}
@media(max-width:340px){header{padding:15px 14px}.brand{gap:8px}.brand img{width:34px;height:34px}.brand small{letter-spacing:.4px}}
.site-menu summary{display:inline-flex;align-items:center;gap:9px;padding:12px 6px;font-size:13px;letter-spacing:.3px;list-style:none;cursor:pointer;user-select:none}
.site-menu summary::-webkit-details-marker{display:none}
.site-menu summary:after{content:'';width:6px;height:6px;margin-top:-4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s,margin .2s}
.site-menu details[open] summary:after{margin-top:3px;transform:rotate(-135deg)}
.site-menu summary:hover{color:#3b82a5}
.menu-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:45;display:flex;flex-direction:column;width:min(280px,calc(100vw - 32px));padding:8px 0;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 20px 50px #20232922}
.menu-panel a,.menu-panel .account-out{padding:13px 22px;font-size:14px;line-height:1.4;color:var(--ink);text-align:left;white-space:nowrap}
.menu-panel a:hover,.menu-panel .account-out:hover{background:#f0f2f4;color:var(--ink)}
.menu-panel :focus-visible{outline-offset:-3px}
.menu-panel [aria-current=page]{font-weight:600}
.menu-panel .account-nav{display:contents}
.menu-panel .account-in,.menu-panel .account-scans{margin-top:8px;border-top:1px solid var(--line);padding-top:17px}
.menu-panel .account-out{color:var(--muted)}
/* JustBeeU coin, centred over step 02: sits above the divider so the three steps stay level; in the flow once they stack.
   It floats and sways like a turning coin, and a glint sweeps across it now and then. */
.steps .has-coin{position:relative}
.steps-coin{position:absolute;left:calc(50% - 90px);bottom:calc(100% + 52px);width:180px;height:180px;perspective:700px}
.coin-face{position:relative;display:block;width:100%;height:100%;border-radius:50%;overflow:hidden;filter:drop-shadow(0 12px 18px #39404a33);animation:coin-sway 6s ease-in-out infinite}
.coin-face img{display:block;width:100%;height:100%}
.coin-face:after{content:'';position:absolute;top:-10%;bottom:-10%;left:-70%;width:40%;background:linear-gradient(90deg,#fff0,#ffffffb3,#fff0);transform:skewX(-20deg);animation:coin-glint 6s ease-in-out infinite}
@keyframes coin-sway{0%,100%{transform:translateY(0) rotateY(-18deg)}50%{transform:translateY(-10px) rotateY(18deg)}}
@keyframes coin-glint{0%,55%{left:-70%}80%,100%{left:140%}}
@media(prefers-reduced-motion:reduce){.coin-face:after{animation:none;display:none}}
/* between tablet and laptop the heading reaches over step 02: make room above the steps for the coin */
@media(min-width:801px) and (max-width:1150px){#experience .steps{margin-top:255px}}
@media(max-width:800px){.steps-coin{position:static;display:block;width:146px;height:146px;margin:-14px auto 12px}}
/* "Your skin is not a standard…": as wide as step 03 below it, text centred, like the coin over step 02 */
@media(min-width:801px){#experience .section-head>p{flex:0 0 calc((100% - 110px)/3);max-width:none;text-align:center;margin-bottom:0}}
/* Gradient text only paints inside its own box, and italic letters lean past it ("?" in "your mind?", the tail of a "y"):
   widen the painted box a little on each side and pull the spacing back, so nothing moves */
em,.x-shift{padding:0 .16em;margin:0 -.16em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* Screen light for selfie captures (photos.js): the whole page turns white while the front camera re-meters.
   The ID outranks the a11y menu's dark-mode blanket rule, and invert mode gets the same counter-invert as its
   media, so the light stays white whatever the visitor has switched on. */
#screen-light{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#fff!important;color:#b8c0c8!important;font-size:12px;letter-spacing:3px;text-transform:uppercase;opacity:0;visibility:hidden;transition:opacity .12s,visibility 0s .12s}
#screen-light.is-on{opacity:1;visibility:visible;transition:opacity .12s}
html.sxg-a11y-invert #screen-light{filter:invert(1) hue-rotate(180deg)}
.slot-camera{flex-wrap:wrap}
.slot-light{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);cursor:pointer}
.slot-light input{width:16px;height:16px;margin:0;accent-color:var(--ink)}
/* Results page: "Ask SkinGPT" under the two cards (results.js askCard), "Ask about this" in a noted zone, and the
   empty routine's way to have SkinGPT build one. All open the same chat panel (chat.js). */
.ask-card{margin-top:22px;padding:26px 28px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(135deg,#effcff,#fff 62%)}
.ask-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.ask-head img{width:44px;height:44px;flex-shrink:0;border-radius:10px}
.ask-head h2{margin:0 0 4px;font-size:27px;letter-spacing:-.5px}
.ask-head p{margin:0;color:var(--muted);font-size:14px}
.ask-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.ask-chips button{padding:9px 15px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);font-size:13px;text-align:left}
.ask-chips button:hover{border-color:var(--ink)}
.ask-form{display:flex;gap:10px}
.ask-form input{flex:1;min-width:0;padding:13px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:15px}
.ask-form input:focus-visible{outline:3px solid #6ed7ee;outline-offset:2px}
.ask-form .primary{padding:13px 28px}
.fold-ask{margin-top:2px;font-size:13px}
.routine-build{display:flex;width:100%;margin:4px 0 16px}
@media(max-width:800px){.ask-card{margin-top:14px;padding:20px 16px}.ask-head{align-items:flex-start}.ask-head h2{font-size:22px}.ask-form .primary{padding:13px 18px}}
/* Phones: the accessibility button (bottom-left) and the results chat button (bottom-right) float over the page,
   so the footer leaves room for them and the last lines can always scroll clear */
@media(max-width:800px){footer{padding-bottom:84px}}
/* The photo-saving box is only for signed-in visitors (photos.js unhides it); the label's display:flex would beat [hidden] */
.photo-consent label.photo-save[hidden]{display:none}
/* Chat header tools: start a new chat, close */
.chat-tools{display:flex;align-items:center;gap:12px}
.chat-new{border:1px solid #ffffff55;border-radius:20px;background:none;color:#fff;padding:4px 11px;font-size:12px}
.chat-new:hover{border-color:#fff}
/* The chat popping up by itself on landing (chat.js popup): it rises into place. On a phone it's a sheet over the
   lower page, clear of the accessibility button (bottom-left), not the full screen; tapping into it makes it the full chat */
.chat-panel.is-peek{animation:chat-pop .4s cubic-bezier(.2,.9,.3,1.15)}
@keyframes chat-pop{from{opacity:0;transform:translateY(28px) scale(.96)}}
@media(max-width:800px){.chat-panel.is-peek{bottom:64px;height:auto;max-height:min(440px,calc(100vh - 140px))}}
@media(prefers-reduced-motion:reduce){.chat-panel.is-peek{animation:none}}
