
/* ===== Mobile hero → showcase journey · max-width 899px only · desktop untouched ===== */
@media (min-width:900px){
  #ai-home-root #journey{display:none !important}
}
@media (max-width:899px){
  #ai-home-root #top,
  #ai-home-root #showcase{display:none !important}
  #ai-home-root #journey{display:block}

/* Styles for the MOBILE hero → showcase only. Sizes are the build spec: see the brief at the top of this file. */
#ai-home-root #journey{
  --navy:#243d48; --teal:#53b9c9; --blue:#0086b2; --mist:#F2F7F9;
  --line:#E3E8EB; --grey:#6B7B89; --soft:#9AAAB7;
  --e-out:cubic-bezier(.16,1,.3,1);
}
#ai-home-root #journey *{box-sizing:border-box}
#ai-home-root #journey button{font:inherit;color:inherit}




/* the journey: one tall section, one sticky full-viewport screen (header overlays it) */
#ai-home-root #journey{position:relative;height:850vh}
#ai-home-root #journey .pin{
  position:sticky;
  top:0;
  height:100vh;
  height:100svh;
  overflow:hidden;
  background:linear-gradient(180deg,#FFFFFF 0%,#FFFFFF 40%,var(--mist) 100%);
}
#ai-home-root #journey .pin-bg{position:absolute;inset:0;background:var(--mist);opacity:0;pointer-events:none}

/* hero copy — one tight unit (title → CTAs), centred by JS below the fixed header */
#ai-home-root #journey .hero{position:absolute;left:0;right:0;top:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 20px;gap:0;will-change:transform,opacity}
#ai-home-root #journey .hero h1{margin:0;font:300 clamp(40px,11vw,56px)/.98 Montserrat, Arial, sans-serif;letter-spacing:.01em;text-transform:uppercase;color:var(--navy)}
#ai-home-root #journey .hero h1 span{display:block;color:var(--blue)}
#ai-home-root #journey .hero p{margin:14px 0 0;max-width:560px;font:400 clamp(15px,3.8vw,18px)/1.5 Lora, Georgia, serif;color:var(--navy)}
#ai-home-root #journey .hero-slot{width:min(640px,100%);height:56px;margin-top:20px}
#ai-home-root #journey .ctas{margin-top:20px;display:flex;flex-direction:column;align-items:center;gap:16px;justify-content:center}
#ai-home-root #journey .btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 22px;border-radius:999px;background:var(--navy);color:#FFFFFF;font:600 11px/1 Montserrat, Arial, sans-serif;letter-spacing:1.4px;text-transform:uppercase;text-decoration:none;transition:transform .22s var(--e-out),box-shadow .22s}
#ai-home-root #journey .btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(36,61,72,.45)}
#ai-home-root #journey .btn:active{transform:scale(.97)}
#ai-home-root #journey .link{position:relative;font:600 12px/1 Montserrat, Arial, sans-serif;letter-spacing:2.4px;text-transform:uppercase;color:var(--navy);text-decoration:none;padding-bottom:6px;border-bottom:1px solid rgba(36,61,72,.35)}
#ai-home-root #journey .link::before{content:'';position:absolute;inset:-14px -10px}

/* the search box (one element, from hero to demo) */
#ai-home-root #journey .box{position:absolute;left:0;top:0;z-index:5;height:60px;display:flex;align-items:center;gap:12px;padding:0 6px 0 20px;border-radius:999px;background:#FFFFFF;border:2px solid var(--navy);box-shadow:0 22px 50px -26px rgba(36,61,72,.55);will-change:transform,width}
#ai-home-root #journey .box svg.loupe{flex:none;width:20px;height:20px;stroke:var(--navy)}
#ai-home-root #journey .q{position:relative;flex:1;min-width:0;height:100%;display:flex;align-items:center;font:400 18px/1.35 Lora, Georgia, serif;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
#ai-home-root #journey .q::-webkit-scrollbar{display:none;width:0;height:0}
#ai-home-root #journey .q .t{overflow:visible;text-overflow:clip}
#ai-home-root #journey .q .ph,
#ai-home-root #journey .q .caret{
  position:relative;top:auto;left:auto;transform:none;
  pointer-events:none;border:0;outline:none;background:transparent;box-shadow:none;padding:0;margin:0;
  flex:none;
}
#ai-home-root #journey .q .ph{
  max-width:none;color:rgba(36,61,72,.72);overflow:visible;text-overflow:clip;white-space:nowrap;
}
#ai-home-root #journey .q .caret{
  width:2px;height:1.1em;background:var(--navy);animation:blink 1s steps(1) infinite;border-radius:0;align-self:center;
}
#ai-home-root #journey .q:not(.typing) .ph,
#ai-home-root #journey .q:not(.typing) .caret,
#ai-home-root #journey .q.has-text .ph,
#ai-home-root #journey .q.has-text .caret,
#ai-home-root #journey .q:focus-within .ph,
#ai-home-root #journey .q:focus-within .caret{display:none}
@keyframes blink{50%{opacity:0}}
#ai-home-root #journey .go{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--navy);display:grid;place-items:center}
#ai-home-root #journey .go svg{width:18px;height:18px;stroke:#FFFFFF}


#ai-home-root #journey .qi{
  position:absolute;inset:0;z-index:2;width:100%;height:100%;
  border:0 !important;border-color:transparent !important;outline:0 !important;
  background:transparent !important;box-shadow:none !important;padding:0;margin:0;
  font:400 18px/1.35 Lora, Georgia, serif;color:var(--navy);text-overflow:clip;
  -webkit-appearance:none !important;appearance:none !important;
}
#ai-home-root #journey .q.typing .qi{color:transparent !important;caret-color:transparent !important;opacity:0 !important}
#ai-home-root #journey .q:not(.typing) .qi{opacity:1}
#ai-home-root #journey .q.typing .qi::placeholder{color:transparent}
#ai-home-root #journey .qi::placeholder{color:var(--soft);opacity:1}
#ai-home-root #journey .qi::-webkit-search-cancel-button,
#ai-home-root #journey .qi::-webkit-search-decoration,
#ai-home-root #journey .qi::-webkit-contacts-auto-fill-button,
#ai-home-root #journey .qi::-webkit-credentials-auto-fill-button{display:none !important;-webkit-appearance:none !important}
#ai-home-root #journey .box:focus-within{box-shadow:0 0 0 4px rgba(83,185,201,.25),0 22px 50px -26px rgba(36,61,72,.55)}
#ai-home-root #journey a.tile,#ai-home-root #journey a.row,#ai-home-root #journey .mini a{text-decoration:none;color:inherit}
#ai-home-root #journey .tile img.art,#ai-home-root #journey .row img.art,#ai-home-root #journey .mini img.art{object-fit:contain;background:#F6F8F9}
#ai-home-root #journey .mini a{display:flex;align-items:center;gap:10px;padding:7px;border-radius:14px;border:1px solid #EDF1F3;min-width:0}
#ai-home-root #journey button.chip{cursor:pointer}
#ai-home-root #journey .tile.sk{height:150px;background:linear-gradient(90deg,#F3F6F7,#E9EEF0,#F3F6F7);background-size:200% 100%;animation:sk 1.2s linear infinite;border:0}
@keyframes sk{to{background-position:-200% 0}}
#ai-home-root #journey .more{display:inline-block;margin-top:12px;font:600 11px/1 Montserrat, Arial, sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:var(--blue);text-decoration:none}
@media (max-width:899px){#ai-home-root #journey .qi{font-size:16px}}

#ai-home-root #journey .lifting .hero,#ai-home-root #journey .lifting .box,#ai-home-root #journey .lifting .panel{transition:transform .4s var(--e-out),top .4s var(--e-out),height .35s var(--e-out)}
#ai-home-root #journey .view#live{transition:opacity .2s}
/* stage indicator: rail (phones) */
#ai-home-root #journey .rail{position:absolute;opacity:0;pointer-events:none}
#ai-home-root #journey .rail-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
#ai-home-root #journey .rail-name{position:relative;height:14px;flex:1;overflow:hidden}
#ai-home-root #journey .rail-name span{position:absolute;left:0;top:0;font:600 12px/14px Montserrat, Arial, sans-serif;letter-spacing:2.4px;text-transform:uppercase;color:var(--navy);opacity:0;transform:translateY(8px);transition:opacity .3s,transform .4s var(--e-out)}
#ai-home-root #journey .rail-name span.on{opacity:1;transform:none}
#ai-home-root #journey .rail-count{font:500 11px/14px Montserrat, Arial, sans-serif;letter-spacing:1.5px;color:var(--grey)}
#ai-home-root #journey .bars{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-top:8px}
#ai-home-root #journey .bars button{height:20px;padding:8px 0;border:0;background:none;cursor:pointer}
#ai-home-root #journey .bars i{display:block;height:4px;border-radius:4px;background:#DCE5EA;overflow:hidden}
#ai-home-root #journey .bars b{display:block;height:100%;width:0;background:var(--navy);border-radius:4px}

/* caption sits under the stage name (e.g. Refine), above the progress bars; rail opacity fades the whole block */
#ai-home-root #journey .cap{position:relative;height:40px}
#ai-home-root #journey .cap p{position:absolute;left:0;right:0;top:0;margin:0;font:400 14px/1.4 Lora, Georgia, serif;color:var(--navy);opacity:0;transform:translateY(6px);transition:opacity .35s,transform .45s var(--e-out)}
#ai-home-root #journey .cap p.on{opacity:1;transform:none;transition-delay:.08s}

/* the results panel: opens under the box */
#ai-home-root #journey .panel{position:absolute;z-index:4;border-radius:22px;background:#FFFFFF;border:1px solid var(--line);box-shadow:0 30px 60px -36px rgba(36,61,72,.45);overflow:hidden}
#ai-home-root #journey .view{position:absolute;inset:0;padding:18px 18px 16px;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .35s var(--e-out),visibility 0s .2s;overflow:hidden}
#ai-home-root #journey .view#live{bottom:auto}
#ai-home-root #journey .view.on{opacity:1;visibility:visible;transform:none;transition:opacity .35s .12s,transform .5s .12s var(--e-out),visibility 0s}
#ai-home-root #journey .lab{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:600 11px/1 Montserrat, Arial, sans-serif;letter-spacing:2.2px;text-transform:uppercase;color:var(--grey)}
#ai-home-root #journey .lab.ai{color:var(--blue)}
#ai-home-root #journey .lab .n{margin-left:auto;white-space:nowrap;padding-left:10px;font-weight:500;letter-spacing:1px;text-transform:none;font-size:12px;color:var(--grey)}
#ai-home-root #journey .gap{height:16px}
#ai-home-root #journey .chips{display:flex;gap:8px;flex-wrap:wrap}
#ai-home-root #journey .chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:999px;border:1px solid #D5DEE3;background:#FFFFFF;font:400 14px/1 Lora, Georgia, serif;color:var(--navy);transition:background .3s,color .3s,border-color .3s}
#ai-home-root #journey .chip i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--teal);color:#FFFFFF;font:600 10px/1 Montserrat, Arial, sans-serif;font-style:normal}
#ai-home-root #journey .chip.sel{background:var(--navy);border-color:var(--navy);color:#FFFFFF}
#ai-home-root #journey .chip .x{display:none;font:400 14px/1 Montserrat, Arial, sans-serif}
#ai-home-root #journey .chip.sel .x{display:inline}#ai-home-root #journey .chip.sel .plus{display:none}
#ai-home-root #journey .chip .plus{color:var(--soft);font:400 15px/1 Montserrat, Arial, sans-serif}

#ai-home-root #journey .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#ai-home-root #journey .tile{min-width:0;border-radius:14px;border:1px solid #EDF1F3;padding:6px 6px 10px;background:#FFFFFF}
#ai-home-root #journey .art{display:block;width:100%;aspect-ratio:16/10;border-radius:10px}
#ai-home-root #journey .tile small{display:block;margin:8px 4px 3px;font:600 9.5px/1 Montserrat, Arial, sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ai-home-root #journey .tile b{display:block;margin:0 4px;font:400 13.5px/1.3 Lora, Georgia, serif;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ai-home-root #journey .tile em{display:block;margin:4px 4px 0;font:600 13px/1 Montserrat, Arial, sans-serif;font-style:normal;color:var(--navy)}

#ai-home-root #journey .sug{list-style:none;margin:0;padding:0}
#ai-home-root #journey .sug li{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;margin:0 -12px;border-radius:12px;font:400 16px/1 Lora, Georgia, serif;color:var(--grey);opacity:0;transform:translateY(6px);transition:opacity .3s,transform .4s var(--e-out),background .25s,color .25s}
#ai-home-root #journey .sug li svg{width:15px;height:15px;stroke:var(--soft);flex:none}
#ai-home-root #journey .sug li strong{font-weight:500;color:var(--navy)}
#ai-home-root #journey .sug li .sw{margin:0;white-space:nowrap}
#ai-home-root #journey .sug li span{margin-left:auto;font:500 12px/1 Montserrat, Arial, sans-serif;color:var(--soft)}
#ai-home-root #journey .typed .sug li{opacity:1;transform:none}
#ai-home-root #journey .typed .sug li:nth-child(2){transition-delay:.04s}#ai-home-root #journey .typed .sug li:nth-child(3){transition-delay:.08s}#ai-home-root #journey .typed .sug li:nth-child(4){transition-delay:.12s}
#ai-home-root #journey .sug li.pick{background:#EAF5F7;color:var(--navy)}
#ai-home-root #journey .hint{font:400 15px/1.5 Lora, Georgia, serif;color:var(--soft)}

#ai-home-root #journey .rows{display:flex;flex-direction:column;gap:8px}
#ai-home-root #journey .row{display:flex;align-items:center;gap:12px;padding:7px;border-radius:14px;border:1px solid #EDF1F3;background:#FFFFFF;min-width:0}
#ai-home-root #journey .row .art{width:62px;height:62px;aspect-ratio:auto;flex:none}
#ai-home-root #journey .row div{min-width:0;flex:1}
#ai-home-root #journey .row small{display:block;font:600 9.5px/1 Montserrat, Arial, sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--soft)}
#ai-home-root #journey .row b{display:block;margin-top:4px;font:400 14px/1.3 Lora, Georgia, serif;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ai-home-root #journey .row em{display:block;margin-top:4px;font:400 12.5px/1.3 Lora, Georgia, serif;font-style:normal;color:var(--grey);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ai-home-root #journey .row strong{flex:none;margin-right:6px;font:600 13px/1 Montserrat, Arial, sans-serif;color:var(--navy)}
#ai-home-root #journey .row.saved{border-color:var(--teal);box-shadow:0 0 0 3px rgba(83,185,201,.15)}
#ai-home-root #journey .tick{flex:none;height:28px;padding:0 12px;margin-right:4px;border-radius:999px;background:var(--navy);color:#FFFFFF;display:inline-flex;align-items:center;font:600 10px/1 Montserrat, Arial, sans-serif;letter-spacing:1.5px;text-transform:uppercase}

/* swaps inside a view, driven by scroll */
#ai-home-root #journey .swap{display:grid}#ai-home-root #journey .swap>*{grid-area:1/1;transition:opacity .35s,transform .45s var(--e-out)}
#ai-home-root #journey .swap>.b{opacity:0;transform:translateY(8px);pointer-events:none}
#ai-home-root #journey .flip .swap>.a{opacity:0;transform:translateY(-6px);pointer-events:none}
#ai-home-root #journey .flip .swap>.b{opacity:1;transform:none;pointer-events:auto}
#ai-home-root #journey .later{opacity:0;transform:translateY(10px);transition:opacity .4s,transform .5s var(--e-out)}
#ai-home-root #journey .flip .later{opacity:1;transform:none}

#ai-home-root #journey .q2{margin:2px 0 12px;font:400 20px/1.3 Montserrat, Arial, sans-serif;font-weight:300;color:var(--navy)}
#ai-home-root #journey .opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ai-home-root #journey .opt{height:44px;border-radius:12px;border:1px solid #D5DEE3;background:#FFFFFF;font:400 14.5px/1 Lora, Georgia, serif;color:var(--navy);display:flex;align-items:center;justify-content:center;transition:background .3s,color .3s,border-color .3s}
#ai-home-root #journey .flip .opt.pickme{background:var(--navy);border-color:var(--navy);color:#FFFFFF}

#ai-home-root #journey .answer{padding:14px 16px;border-radius:16px;background:linear-gradient(180deg,#F1F8FA,#FFFFFF);border:1px solid #DDEDF1;font:400 15.5px/1.6 Lora, Georgia, serif;color:var(--navy)}
#ai-home-root #journey .answer b{font-weight:500}
#ai-home-root #journey .dots{display:inline-flex;gap:5px;padding:16px}
#ai-home-root #journey .dots i{width:7px;height:7px;border-radius:50%;background:var(--teal);animation:dot 1s ease-in-out infinite}
#ai-home-root #journey .dots i:nth-child(2){animation-delay:.15s}#ai-home-root #journey .dots i:nth-child(3){animation-delay:.3s}
@keyframes dot{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
#ai-home-root #journey .orb{width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#9FDCE6,var(--blue));flex:none}
#ai-home-root #journey .waiting{display:none}#ai-home-root #journey .thinking .waiting{display:block}#ai-home-root #journey .thinking .hint{display:none}

#ai-home-root #journey .mini{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ai-home-root #journey .mini div{display:flex;align-items:center;gap:10px;padding:7px;border-radius:14px;border:1px solid #EDF1F3;min-width:0}
#ai-home-root #journey .mini .art{width:44px;height:44px;aspect-ratio:auto;flex:none}
#ai-home-root #journey .mini b{display:block;font:400 14px/1.2 Lora, Georgia, serif;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ai-home-root #journey .mini em{display:block;margin-top:3px;font:500 11.5px/1 Montserrat, Arial, sans-serif;font-style:normal;color:var(--soft)}
#ai-home-root #journey .mini span{min-width:0}


/* phone sizes (this whole component only runs below 900px) */
#ai-home-root #journey .hero p{max-width:340px}
#ai-home-root #journey .ctas{flex-direction:column;gap:22px}
#ai-home-root #journey .box{height:56px;padding:0 4px 0 16px;gap:10px}
#ai-home-root #journey .box svg.loupe{width:18px;height:18px}
#ai-home-root #journey .q{font-size:16px}#ai-home-root #journey .q .caret{height:19px}
#ai-home-root #journey .go{width:40px;height:40px}
#ai-home-root #journey .hero-slot{height:56px}
#ai-home-root #journey .view{padding:14px 14px 12px}
#ai-home-root #journey .tile b{font-size:13px}
#ai-home-root #journey .tile .art{aspect-ratio:16/9}
#ai-home-root #journey .grid{gap:8px}
#ai-home-root #journey .q2{font-size:18px}
#ai-home-root #journey .opt{font-size:14px;height:42px}
#ai-home-root #journey .answer{font-size:14.5px;padding:12px 14px}
#ai-home-root #journey .chip{height:32px;font-size:13.5px;padding:0 11px}
#ai-home-root #journey .sug li{height:42px;font-size:15px}
#ai-home-root #journey .cap p{font-size:14px;text-align:left;line-height:1.4}
/* Polish pass: content-fit results card, two-line product names, softer hand-off */
#ai-home-root #journey .view:not(#live){bottom:auto}
#ai-home-root #journey .panel{transition:height .35s var(--e-out)}
#ai-home-root #journey .ctas{margin-top:28px}
#ai-home-root #journey .tile b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.6em}
/* Continue: appears under the card on the last step and skips to the next section */
#ai-home-root #journey .next{position:absolute;left:50%;z-index:6;transform:translate(-50%,8px);opacity:0;pointer-events:none;transition:opacity .35s,transform .45s var(--e-out)}
#ai-home-root #journey .next.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
/* Captions follow the page subheading size (15px) */
#ai-home-root #journey .cap{height:44px}
#ai-home-root #journey .cap p{font-size:15px;line-height:1.4}
#ai-home-root #journey .pin-bg{background:linear-gradient(180deg,var(--mist) 0%,var(--mist) 78%,#FFFFFF 100%)}
@media (prefers-reduced-motion: reduce){
  #ai-home-root #journey *,#ai-home-root #journey *::before,#ai-home-root #journey *::after{transition-duration:.01s !important;animation:none !important}
}
}
