/* Gro Hair Snapshot styles. Hosted file, linked from the Shopify hero's Form embed code. Everything is scoped under .gs */
.gs{--gs-ink:#141220;--gs-ink2:#3A3745;--gs-muted:#5E5B6B;--gs-line:#E6E4EC;--gs-soft:#F5F5F7;--gs-accent:#361677;--gs-navy:#161433;--gs-err:#B42318;
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5}
.gs *,.gs *::before,.gs *::after{box-sizing:border-box}
.gs button{font:inherit;color:inherit}
.gs :focus-visible{outline:2px solid var(--gs-accent);outline-offset:3px;border-radius:12px}
/* neutralise site-wide theme styles (Shopify themes style every h2, p, button and input).
   :where() keeps these at low strength so the rules further down still win. */
.gs :where(h1,h2,h3,p,ul,li,label,span,strong,b,small,summary,details,button,input,a){font-family:inherit;letter-spacing:normal;text-transform:none;text-shadow:none}
.gs :where(h2,p,ul){margin:0}
.gs :where(button){line-height:1.2;box-shadow:none;min-width:0;text-decoration:none}
.gs :where(input){box-shadow:none;margin:0}

/* ---------- hero card ---------- */
.gs-card{display:flex;flex-direction:column;gap:18px;padding:28px;border-radius:20px;max-width:640px}
.gs-kick{margin:0;font-size:15px;font-weight:500}
.gs-card-title{margin:-8px 0 0;font-size:clamp(1.45rem,2.2vw,1.75rem);line-height:1.15;font-weight:600;letter-spacing:-.01em;text-wrap:balance}
.gs-pick{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px}
.gs-headbox{flex:0 0 220px;margin:0 auto}
.gs-headbox .gs-head{display:block;width:220px;max-width:100%;height:auto;aspect-ratio:240/272}
.gs-sel{flex:1 1 210px;min-width:0;display:flex;flex-direction:column;gap:10px}
.gs-sel-t{margin:0;font-size:13.5px;font-weight:600}
.gs-sel-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.gs-sel-l li{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 6px 0 14px;border-radius:12px;font-size:15.5px;font-weight:500}
.gs-sel-l li.is-new{animation:gsIn .3s ease both}
.gs-sel-l .gs-dot{flex:none;width:9px;height:9px;border-radius:999px}
.gs-sel-l .gs-rm{margin-left:auto;width:36px;height:36px;border:0;border-radius:999px;background:none;font-size:20px;line-height:1;cursor:pointer}
.gs-sel-l li.is-empty{padding:0 14px;font-weight:400}
.gs-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.gs-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 28px;border:0;border-radius:999px;background:var(--gs-accent);color:#FFFFFF !important;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;transition:opacity .2s,transform .12s}
.gs-btn:active{transform:scale(.98)}
.gs-btn[disabled]{opacity:.35;cursor:not-allowed}
.gs-link{min-height:44px;padding:0 4px;border:0;background:none;font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gs-fine{margin:0;font-size:13px}

/* dark (navy hero) */
.gs[data-theme="dark"] .gs-card{background:#201E3C;border:1px solid rgba(255,255,255,.14);color:#FFFFFF;box-shadow:0 24px 60px rgba(22,20,51,.18)}
.gs[data-theme="dark"] .gs-kick{color:rgba(255,255,255,.72)}
.gs[data-theme="dark"] .gs-card-title{color:#FFFFFF}
.gs[data-theme="dark"] .gs-sel-t{color:rgba(255,255,255,.7)}
.gs[data-theme="dark"] .gs-sel-l li{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#FFFFFF}
.gs[data-theme="dark"] .gs-dot{background:#FFFFFF;box-shadow:0 0 8px rgba(255,255,255,.85)}
.gs[data-theme="dark"] .gs-rm{color:rgba(255,255,255,.7)}
.gs[data-theme="dark"] .gs-sel-l li.is-empty{background:none;border:1px dashed rgba(255,255,255,.22);color:rgba(255,255,255,.6)}
.gs[data-theme="dark"] .gs-btn-hero{background:#FFFFFF;color:var(--gs-navy) !important}
.gs[data-theme="dark"] .gs-link{color:rgba(255,255,255,.82)}
.gs[data-theme="dark"] .gs-fine{color:rgba(255,255,255,.6)}
.gs[data-theme="dark"] .gs-card :focus-visible{outline-color:#FFFFFF}

/* light hero */
.gs[data-theme="light"] .gs-card{background:#FFFFFF;border:1px solid #E9E7EE;box-shadow:0 24px 60px rgba(22,20,51,.08);color:var(--gs-ink)}
.gs[data-theme="light"] .gs-kick{color:var(--gs-accent)}
.gs[data-theme="light"] .gs-sel-t{color:var(--gs-muted)}
.gs[data-theme="light"] .gs-sel-l li{background:var(--gs-soft);border:1px solid #E9E7EE}
.gs[data-theme="light"] .gs-dot{background:var(--gs-accent);box-shadow:0 0 8px rgba(54,22,119,.45)}
.gs[data-theme="light"] .gs-rm{color:var(--gs-muted)}
.gs[data-theme="light"] .gs-sel-l li.is-empty{background:none;border:1px dashed #D6D3DD;color:var(--gs-muted)}
.gs[data-theme="light"] .gs-btn-hero{box-shadow:0 10px 26px rgba(54,22,119,.25)}
.gs[data-theme="light"] .gs-link{color:var(--gs-ink2)}
.gs[data-theme="light"] .gs-fine{color:var(--gs-muted)}

/* ---------- head drawing ---------- */
.gs-head .gs-z{cursor:pointer;stroke-width:1;transition:fill .35s,stroke .35s}
.gs-head .gs-base{stroke-width:1.2;stroke-linejoin:round}
.gs-head .gs-mesh{fill:none;pointer-events:none}
.gs-head .gs-whorl{fill:none;stroke-width:1.1;stroke-linecap:round;pointer-events:none}
.gs-head .gs-front-label{font-size:10px;font-weight:500;text-anchor:middle}
.gs-head .gs-z:focus{outline:none}
.gs-head .gs-z:focus-visible{stroke-width:2.5}
/* on navy (dark hero + the scan panel) */
.gs[data-theme="dark"] .gs-card .gs-head,.gs-scan .gs-head{--zf:rgba(255,255,255,.09);--zs:rgba(255,255,255,.3);--zon:#FFFFFF;--zglow:drop-shadow(0 0 7px rgba(255,255,255,.65));--bf:rgba(255,255,255,.05);--bs:rgba(255,255,255,.34);--mesh:rgba(255,255,255,.08);--lab:rgba(255,255,255,.55)}
/* on white (light hero) */
.gs[data-theme="light"] .gs-card .gs-head{--zf:rgba(54,22,119,.05);--zs:rgba(54,22,119,.35);--zon:#361677;--zglow:drop-shadow(0 0 6px rgba(54,22,119,.35));--bf:#F5F5F7;--bs:#C9C5D6;--mesh:rgba(54,22,119,.07);--lab:#5E5B6B}
.gs-head .gs-z{fill:var(--zf);stroke:var(--zs);stroke-dasharray:3 3}
.gs-head .gs-z:hover{fill:var(--zs)}
.gs-head .gs-z.is-on{fill:var(--zon);stroke:var(--zon);stroke-dasharray:none;filter:var(--zglow)}
.gs-head .gs-base{fill:var(--bf);stroke:var(--bs)}
.gs-head .gs-mesh{stroke:var(--mesh)}
.gs-head .gs-whorl{stroke:var(--lab)}
.gs-head .gs-front-label{fill:var(--lab)}

/* ---------- pop-up ---------- */
.gs-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(14,12,36,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.gs-modal[hidden]{display:none}
.gs-dialog{width:min(1120px,100%);height:min(840px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:28px;background:#FFFFFF;color:var(--gs-ink);box-shadow:0 40px 120px rgba(0,0,0,.45);animation:gsPop .34s cubic-bezier(.2,.7,.2,1)}
@keyframes gsPop{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
@keyframes gsIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.gs-dhead{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 12px}
.gs-brand{display:inline-flex;align-items:center;gap:12px;color:var(--gs-accent)}
.gs-brand svg{width:36px;height:36px}
.gs-brand b{font-size:15px;font-weight:600;color:var(--gs-ink)}
.gs-dright{display:inline-flex;align-items:center;gap:14px}
.gs-stepno{font-size:14px;color:var(--gs-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.gs-x{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:999px;border:1px solid var(--gs-line);background:#FFFFFF;cursor:pointer}
.gs-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.gs-progress{flex:none;height:3px;margin:0 24px;border-radius:3px;background:var(--gs-line);overflow:hidden}
.gs-progress span{display:block;height:100%;width:0;background:var(--gs-accent);transition:width .5s cubic-bezier(.2,.7,.2,1)}
.gs-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-auto-rows:max-content;gap:clamp(24px,3.5vw,44px);padding:24px;align-items:start}
.gs-q{display:flex;flex-direction:column;gap:20px;min-width:0}
.gs-q.is-enter{animation:gsIn .35s cubic-bezier(.2,.7,.2,1) both}
.gs-h{margin:0;font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.15;font-weight:600;letter-spacing:-.02em;color:var(--gs-ink);text-wrap:balance}
.gs-help{margin:-6px 0 0;font-size:15px;color:var(--gs-muted)}
.gs-sub{margin:4px 0 -4px;font-size:14.5px;font-weight:600;color:var(--gs-ink)}
.gs-note{margin:0;font-size:13px;color:var(--gs-muted)}
.gs-note a{color:var(--gs-accent)}

.gs-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.gs-opts.is-one{grid-template-columns:minmax(0,1fr)}
.gs-opt{display:flex;align-items:center;gap:14px;min-height:58px;padding:12px 18px;border-radius:16px;border:1.5px solid var(--gs-line);background:#FFFFFF;color:var(--gs-ink);font-size:15.5px;font-weight:500;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .12s}
.gs-opt:hover{border-color:#CFCBDA}
.gs-opt:active{transform:scale(.985)}
.gs-opt[aria-pressed="true"]{border-color:var(--gs-accent);box-shadow:0 0 0 4px rgba(54,22,119,.10)}
.gs-tick{margin-left:auto;flex:none;width:22px;height:22px;border-radius:999px;border:1.5px solid #D6D3DD;display:grid;place-items:center}
.gs-tick svg{width:12px;height:12px;fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.gs-opt[aria-pressed="true"] .gs-tick{background:var(--gs-accent);border-color:var(--gs-accent)}
.gs-opt[aria-pressed="true"] .gs-tick svg{opacity:1}

.gs-age{display:flex;flex-direction:column;gap:10px;padding:20px 22px;border-radius:18px;border:1.5px solid var(--gs-line)}
.gs-age-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.gs-age-row label{font-size:15px;font-weight:600}
.gs-age-num{font-size:44px;font-weight:600;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.gs-age-num small{margin-left:6px;font-size:16px;font-weight:500;letter-spacing:0;color:var(--gs-muted)}
.gs-age input[type=range]{-webkit-appearance:auto;appearance:auto;width:100%;height:32px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;accent-color:var(--gs-accent);cursor:pointer}

.gs-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.gs-field{display:flex;flex-direction:column;gap:6px}
.gs-field label{font-size:14.5px;font-weight:500}
.gs-field input{-webkit-appearance:none;appearance:none;height:auto;box-shadow:none;margin:0;min-height:52px;padding:0 16px;border-radius:14px;border:1.5px solid var(--gs-line);background:var(--gs-soft);color:var(--gs-ink);font:inherit;font-size:16px;width:100%}
.gs-field input:focus{outline:none;border-color:var(--gs-accent);box-shadow:0 0 0 4px rgba(54,22,119,.10)}
.gs-err{font-size:13px;color:var(--gs-err);min-height:0}
.gs-form-err{margin:0;padding:12px 14px;border-radius:12px;background:#FEF3F2;color:var(--gs-err);font-size:14px}

.gs-build{display:flex;flex-direction:column;gap:14px;padding-top:18px}
.gs-build p{margin:0;display:flex;align-items:center;gap:12px;font-size:17px;color:var(--gs-ink2);opacity:0;animation:gsIn .35s ease forwards}
.gs-build p::before{content:"";width:10px;height:10px;border-radius:999px;background:var(--gs-accent)}

.gs-lead{margin:0;font-size:16.5px;line-height:1.6;color:var(--gs-ink2)}
.gs-profile{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 24px;padding:20px 22px;border-radius:20px;border:1px solid var(--gs-line)}
.gs-profile span{display:block;font-size:13px;color:var(--gs-muted)}
.gs-profile strong{display:block;font-size:15.5px;font-weight:500;color:var(--gs-ink)}
.gs-points{list-style:none;margin:0;padding:0;border-top:1px solid var(--gs-line)}
.gs-points li{padding:13px 0;border-bottom:1px solid var(--gs-line);font-size:16px;line-height:1.55;color:var(--gs-ink2)}
.gs-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gs-checks li{display:flex;align-items:flex-start;gap:12px;font-size:15.5px;line-height:1.5;color:var(--gs-ink)}
.gs-checks li::before{content:"";flex:none;width:22px;height:22px;margin-top:1px;border-radius:999px;background:var(--gs-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}

/* result screen: next step and calendar first, full snapshot folded away */
.gs.is-result .gs-body{grid-template-columns:minmax(0,1fr)}
.gs.is-result .gs-scan{display:none}
.gs-res{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"head cal" "why cal" "more cal";gap:24px 40px;align-items:start}
.gs-res-head{grid-area:head;display:flex;flex-direction:column;gap:16px}
.gs-why{display:flex;flex-direction:column;gap:10px;padding:18px 20px;border-radius:18px;border-left:3px solid var(--gs-accent);background:rgba(54,22,119,.04)}
.gs-why-t{margin:0;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gs-accent)}
.gs-why .gs-lead{font-size:16px}
.gs-res-why{grid-area:why}
.gs-res-cal{grid-area:cal;min-width:0}
.gs-res-more{grid-area:more;display:flex;flex-direction:column;gap:14px}
.gs-done{margin:0;display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:30px;padding:0 12px 0 8px;border-radius:999px;background:rgba(54,22,119,.08);color:var(--gs-accent);font-size:13.5px;font-weight:600}
.gs-done span{width:18px;height:18px;border-radius:999px;background:var(--gs-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.gs-res-head .gs-h{font-size:clamp(1.5rem,2.6vw,2.15rem)}
.gs-cal{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:22px;border:1px solid var(--gs-line);background:#FFFFFF;box-shadow:0 20px 50px rgba(22,20,51,.08)}
.gs-cal-t{margin:0 4px;font-size:16px;font-weight:600;color:var(--gs-ink)}
.gs-cal-embed{min-height:620px}
.gs-more{border-radius:18px;border:1px solid var(--gs-line);background:var(--gs-soft)}
.gs-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 20px;font-size:15.5px;font-weight:600;color:var(--gs-ink);cursor:pointer;list-style:none}
.gs-more summary::-webkit-details-marker{display:none}
.gs-more summary::after{content:"";flex:none;width:10px;height:10px;margin-top:-4px;border-right:2px solid var(--gs-ink2);border-bottom:2px solid var(--gs-ink2);transform:rotate(45deg);transition:transform .25s}
.gs-more[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.gs-more-body{display:flex;flex-direction:column;gap:16px;padding:0 20px 20px}
.gs-more-body .gs-profile{background:#FFFFFF}
.gs-restart{align-self:flex-start;color:var(--gs-accent) !important;padding:0}
@media (max-width:880px){
  .gs-res{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"head" "cal" "why" "more";gap:22px}
  .gs-dhead{padding:12px 16px 10px}.gs-progress{margin:0 16px}.gs-brand{gap:10px}.gs-brand svg{width:30px;height:30px}.gs-brand b{white-space:nowrap;font-size:14px}.gs-stepno{font-size:13px}
  .gs-cal{padding:12px;border-radius:18px;box-shadow:none}
}

/* ---------- scan panel ---------- */
.gs-scan{position:sticky;top:0;display:flex;flex-direction:column;gap:16px;padding:22px 24px 24px;border-radius:26px;color:#FFFFFF;overflow:hidden;
  background:radial-gradient(70% 50% at 50% 28%,rgba(54,22,119,.95),rgba(54,22,119,0) 75%),
    linear-gradient(rgba(255,255,255,.045) 1px,rgba(255,255,255,0) 1px) 0 0/32px 32px,
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,rgba(255,255,255,0) 1px) 0 0/32px 32px,#161433;
  box-shadow:0 30px 70px rgba(22,20,51,.22)}
.gs-scan-top{display:flex;align-items:center;justify-content:space-between;font-size:14px}
.gs-scan-top b{font-weight:600}
.gs-live{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.72)}
.gs-live i{width:8px;height:8px;border-radius:999px;background:#FFFFFF;animation:gsPulse 2.4s ease-out infinite}
@keyframes gsPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.55)}70%{box-shadow:0 0 0 10px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.gs-scan-head{position:relative;align-self:center;width:min(100%,280px)}
.gs-scan-head .gs-head{display:block;width:100%;height:auto;aspect-ratio:240/272}
.gs-sweep{position:absolute;left:6%;right:6%;top:0;height:44px;pointer-events:none;opacity:0;background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.22));border-bottom:1.5px solid rgba(255,255,255,.95)}
.gs-sweep.is-run{animation:gsSweep 1.15s cubic-bezier(.4,0,.2,1) 1}
@keyframes gsSweep{0%{top:0;opacity:0}12%{opacity:1}86%{opacity:1}100%{top:86%;opacity:0}}
.gs-hint{margin:-4px 0 0;text-align:center;font-size:12.5px;color:rgba(255,255,255,.6)}
.gs-readout{display:flex;flex-direction:column}
.gs-ro{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid rgba(255,255,255,.12);font-size:14px}
.gs-ro span{flex:none;color:rgba(255,255,255,.6)}
.gs-ro strong{font-weight:500;text-align:right}
.gs-empty{padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:14px;color:rgba(255,255,255,.6)}
.gs-scan :focus-visible{outline-color:#FFFFFF}

.gs-nav{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--gs-line);background:#FFFFFF}
.gs-nav[hidden]{display:none}
.gs-back{min-height:44px;padding:0 6px;border:0;background:none;font-size:15px;font-weight:500;color:var(--gs-ink2);cursor:pointer}
.gs-back.is-hidden{visibility:hidden}

/* lock the page behind the pop-up */
html.gs-locked,html.gs-locked body{overflow:hidden}

@media (max-width:880px){
  .gs-card{padding:20px}
  .gs-headbox{flex-basis:100%}
  .gs-headbox .gs-head{width:190px;margin:0 auto}
  .gs-modal{padding:0}
  .gs-dialog{width:100%;height:100%;border-radius:0}
  .gs-body{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px}
  .gs-scan{position:relative;order:-1;flex-direction:row;align-items:center;gap:14px;padding:12px 16px;border-radius:20px}
  .gs-scan .gs-scan-top,.gs-scan .gs-hint,.gs-scan .gs-readout{display:none}
  .gs-scan-head{width:84px;height:96px;flex:none}
  .gs-scan-head .gs-head{width:84px;height:96px}
  .gs-scan::after{content:attr(data-status);font-size:14px;font-weight:500}
}
@media (prefers-reduced-motion:reduce){.gs *{animation:none !important;transition:none !important}.gs-build p{opacity:1}}

/* inside Shopify's glass lead-form panel (gro-hero-banner lead-form mode) the panel is already the card */
.gro-hero-form-panel .gs .gs-card{max-width:none;padding:0;background:none;border:0;box-shadow:none}
