/* SOCEO's own purple glass scene, scoped to the homepage. */
/* The shared shell moves the hero up by the nav height; preserve its flow compensation. */
[data-brand-home] > .hero.sh-hero { height: auto !important; min-height: 0 !important; margin-bottom: calc(-1 * var(--soceo-nav-height,96px)) !important; padding: 0 0 64px !important; overflow: hidden; overflow: clip; }
[data-brand-home] > .sh-hero .mix-story-stage { position: relative; inset: auto; height: auto; min-height: 0; overflow: hidden; overflow: clip; }
[data-brand-home] > .sh-hero .mix-story-intro { position: relative; inset: auto; height: auto; min-height: 0; padding: 140px 24px 0; overflow: visible; }
[data-brand-home] > .sh-hero .mix-intro-ghost { display: none; }
.sh-showcase { position: relative; display: grid; grid-template-columns: minmax(0,1fr); place-items: center; isolation: isolate; width: min(1376px,calc(100% - 96px)); height: 498px; margin: 56px auto 0; overflow: hidden; border-radius: 8px; background: #6728d4; color: #30253e; }
.sh-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The login's native glass lenses, confined to the hero instead of viewport travel. */
.sh-lenses { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.sh-lens { --sh-lens-travel: 238px; position: absolute; top: 26px; left: 3.8%; box-sizing: border-box; width: 148px; height: 148px; border: 8px solid #ebe6fb66; border-radius: 50%; background: radial-gradient(circle at 34% 30%,#ffffff8c 0%,#ffffff24 42%,#fff0 70%); transform: translateY(var(--sh-lens-travel)) rotate(-5.8deg); animation: sh-lens-scan 12.4s cubic-bezier(.45,0,.55,1) infinite; animation-play-state: paused; }
.sh-lens::after { content: ""; position: absolute; left: -5px; bottom: -46px; width: 8px; height: 58px; border-radius: 999px; background: #ebe6fb66; transform: rotate(45deg); transform-origin: center top; }
.sh-lens[data-lens="b"] { top: 42px; right: 4.4%; left: auto; width: 122px; height: 122px; border-width: 7px; transform: translateY(0) rotate(5.8deg); animation-name: sh-lens-scan-b; animation-duration: 13.8s; animation-delay: -4.2s; }
.sh-lens[data-lens="b"]::after { right: -4px; left: auto; bottom: -40px; height: 50px; transform: rotate(-45deg); }
.sh-showcase[data-sh-running="true"] .sh-lens { animation-play-state: running; will-change: transform; }
.sh-showcase[data-sh-static="true"] .sh-lens { animation: none; }
.sh-showcase { scroll-margin-top: 124px; }
.sh-glass { box-sizing: border-box; width: min(812px,calc(100% - 64px)); min-width: 0; max-width: 100%; padding: 12px; border: 1px solid #ffffff1f; border-radius: 14px; background: linear-gradient(135deg,#ffffff47,#ffffff1f); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.sh-card { display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 236px; padding: 36px 48px; border-radius: 10px; background: #fff; }
.sh-question { display: flex; align-items: center; gap: 9px; box-sizing: border-box; height: 50px; padding: 7px 9px; border: 1px solid #ccc; border-radius: 999px; color: #26222e; }
.sh-showcase svg { display: block; flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-plus { flex: 0 0 16px; }
.sh-question-viewport { flex: 1; min-width: 0; overflow: hidden; scrollbar-width: none; }
.sh-question-viewport::-webkit-scrollbar { display: none; }
.sh-question-track { display: inline-block; white-space: nowrap; font: 400 15px/22px Inter,Arial,sans-serif; }
.sh-caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; vertical-align: -3px; background: #7839ee; opacity: 0; }
.sh-showcase[data-sh-running="true"]:is([data-sh-phase="type"],[data-sh-phase="ready"]) .sh-caret { opacity: 1; animation: sh-caret-blink 1s step-end infinite; }
.sh-question-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.sh-voice-disc { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #16033a; color: #fff; transition: transform 150ms ease, background-color 180ms ease; }
.sh-voice-disc .sh-voice { width: 23px; height: 23px; stroke-width: 1.4; }
.sh-voice-disc .sh-send { display: none; width: 20px; height: 20px; stroke-width: 2; }
.sh-showcase:is([data-sh-phase="ready"],[data-sh-phase="send"],[data-sh-phase="sources"],[data-sh-phase="result"]) .sh-voice { display: none; }
.sh-showcase:is([data-sh-phase="ready"],[data-sh-phase="send"],[data-sh-phase="sources"],[data-sh-phase="result"]) .sh-send { display: block; }
.sh-showcase[data-sh-phase="send"] .sh-voice-disc { transform: scale(.86); background: #7839ee; }
.sh-source-row { display: flex; align-items: center; gap: 6px; min-height: 66px; margin-top: 14px; }
.sh-sources { position: relative; display: flex; flex-wrap: wrap; align-items: center; flex: 1; min-width: 0; gap: 6px; margin: 0; padding: 2px 0; overflow: visible; scrollbar-width: none; list-style: none; }
.sh-sources::-webkit-scrollbar { display: none; }
.sh-sources li { display: flex; align-items: center; flex-shrink: 0; gap: 6px; height: 30px; box-sizing: border-box; padding: 0 10px; border: 2px solid transparent; border-radius: 7px; background: #f6f6f6; color: #26222e; white-space: nowrap; font: 400 9px/1 Inter,Arial,sans-serif; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.sh-sources li.is-active { border-color: #7839ee; background: #f4efff; color: #4c1d95; }
.sh-sources img { width: 12px; height: 12px; object-fit: contain; }
.sh-sources .sh-pdf-icon { width: 12px; height: 12px; color: #b73131; }
.sh-more { flex: 0 0 14px; color: #8a838f; }
.sh-showcase .sh-more svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.sh-motion-toggle { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; background: #16033abf; color: #fff; cursor: pointer; }
.sh-motion-toggle[hidden] { display: none; }
.sh-motion-toggle:hover { background: #16033a; }
.sh-showcase .sh-motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.sh-motion-toggle svg { width: 20px; height: 20px; stroke-width: 2.2; }
.sh-motion-toggle .sh-play-triangle { display: none; }
.sh-motion-toggle[aria-pressed="true"] .sh-pause-lines { display: none; }
.sh-motion-toggle[aria-pressed="true"] .sh-play-triangle { display: block; fill: currentColor; }
.sh-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes sh-caret-blink { 0%,45% { opacity: 1; } 46%,100% { opacity: 0; } }
@keyframes sh-lens-scan {
  0%,7%,100% { transform: translateY(var(--sh-lens-travel)) rotate(-5.8deg) scale(1); }
  32%,39% { transform: translateY(calc(var(--sh-lens-travel) * .48)) rotate(-2.4deg) scale(.9); }
  66%,73% { transform: translateY(0) rotate(-2.6deg) scale(1); }
}
@keyframes sh-lens-scan-b {
  0%,8%,100% { transform: translateY(0) rotate(5.8deg) scale(.9); }
  31%,38% { transform: translateY(calc(var(--sh-lens-travel) * .48)) rotate(2.4deg) scale(1); }
  66%,74% { transform: translateY(var(--sh-lens-travel)) rotate(2.6deg) scale(.9); }
}
@media(max-width:1000px) {
  .sh-card { padding-inline: 48px; }
  .sh-showcase[data-sh-paused="true"] .sh-question { height: auto; min-height: 50px; border-radius: 18px; }
  .sh-showcase[data-sh-paused="true"] .sh-question-track { white-space: normal; }
  .sh-lens { width: 120px; height: 120px; left: 3%; }
  .sh-lens[data-lens="b"] { right: 3%; width: 108px; height: 108px; }
}
@media(max-width:700px) {
  [data-brand-home] > .hero.sh-hero { padding-bottom: 40px !important; }
  [data-brand-home] > .sh-hero .mix-story-intro { padding: 112px 20px 0; }
  .sh-showcase { width: calc(100% - 32px); height: 360px; margin-top: 40px; }
  .sh-background { object-fit: cover; object-position: center; }
  .sh-lens { --sh-lens-travel: 10px; top: 7px; left: 13%; width: 66px; height: 66px; border-width: 4px; }
  .sh-lens::after { width: 4px; height: 27px; left: -3px; bottom: -21px; }
  .sh-lens[data-lens="b"] { top: auto; right: 21%; bottom: 27px; width: 58px; height: 58px; border-width: 4px; }
  .sh-lens[data-lens="b"]::after { height: 24px; right: -2px; bottom: -19px; }
  .sh-glass { width: calc(100% - 36px); padding: 8px; border-radius: 13px; }
  .sh-card { min-height: 220px; padding: 28px 20px; }
  .sh-sources { display: grid; grid-template-rows: repeat(2,30px); grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .sh-question { gap: 5px; padding-inline: 8px; }
  .sh-question-track { font-size: 13px; }
  .sh-question-actions { gap: 8px; }
  .sh-filter { display: none; }
  .sh-motion-toggle { right: 12px; bottom: 12px; }
  .sh-showcase[data-sh-paused="true"] { box-sizing: border-box; height: auto; min-height: 360px; padding-block: 24px 68px; }
  .sh-showcase:is([data-sh-static="true"],:not([data-sh-ready])) .sh-card { padding-block: 30px; }
  .sh-showcase:is([data-sh-static="true"],:not([data-sh-ready])) .sh-question { height: auto; min-height: 50px; border-radius: 18px; }
  .sh-showcase:is([data-sh-static="true"],:not([data-sh-ready])) .sh-question-track { white-space: normal; }
}
@media(prefers-reduced-motion:reduce) {
  .sh-showcase .sh-caret { animation: none !important; opacity: 0 !important; }
  .sh-showcase .sh-lens { animation: none !important; }
}
