/* Universe chapter navigation. */
.chapter-pager { position: absolute; z-index: 40; top: calc(var(--public-nav-height) + .3rem); left: clamp(.5rem, 2vw, 2rem); display: flex; align-items: center; gap: .35rem; }
.chapter-pager a { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: #bfa0e6; text-decoration: none; font: 1.1rem 'Ubuntu Mono', monospace; }
.chapter-pager a > span { display: block; line-height: 1; transform: translateY(-2px); }
.chapter-pager a:hover { color: #fff; }
.chapter-pager a[aria-disabled='true'] { color: #686274; opacity: .45; cursor: default; }
.chapter-pager__label { color: #ada4be; font: .62rem 'Ubuntu Mono', monospace; letter-spacing: .08em; white-space: nowrap; }
.universe-legal { right: 1.5rem; left: auto; }
.is-universe-detail-open .chapter-pager { visibility: hidden; }
.landing.is-ecosystem-paused .universe *, .landing.is-ecosystem-paused .universe *::before, .landing.is-ecosystem-paused .universe *::after { animation-play-state: paused !important; }
.landing[data-chapter='solutions'] { min-height: 0; }
.chapter-pager a:focus-visible, .solutions-chapter :focus-visible { outline: 2px solid #a7a0ff; outline-offset: 5px; }
/* Chapter headings receive focus for screen readers, but are not controls.
   Safari can show a focus ring here even after touch navigation. */
#landing-title:focus, #solutions-chapter-title:focus { outline: none; }

/* A single explorable scene: gateways -> workshop -> software. */
.solutions-chapter { position: absolute; z-index: 5; inset: calc(var(--public-nav-height) + 3.2rem) 0 0; display: flex; flex-direction: column; overflow: clip; background: radial-gradient(ellipse at 50% 52%, #6f28b41c, transparent 55%), #03040c; }
.solutions-chapter::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6; background-image: radial-gradient(circle, #b8b0e0 0 1px, transparent 1.5px), radial-gradient(circle, #69cfe0 0 .6px, transparent 1px); background-size: 173px 131px, 251px 193px; background-position: 21px 17px, 72px 91px; }
.solutions-chapter__intro { position: relative; flex: 0 0 auto; text-align: center; padding: clamp(.4rem, 2vh, 1.4rem) 1.5rem 0; max-width: 880px; margin: 0 auto; }
.workshop-eyebrow { color: #b5adcc; font: .62rem/1.6 'Ubuntu Mono', monospace; letter-spacing: .16em; margin: 0 0 .7rem; }
.solutions-chapter__intro h2 { margin: 0 0 .65rem; color: #f9f5ff; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; font-weight: 550; letter-spacing: -.025em; }
.solutions-chapter__intro > p:last-child { margin: auto; color: #aaa4bb; font-size: .9rem; line-height: 1.65; max-width: 650px; }
.solution-universe { position: relative; flex: 1 1 0; min-height: 0; container-type: size; width: min(1500px, 100%); margin: 0 auto; }
.solution-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.solution-route { fill: none; stroke: #a876cf; stroke-width: 1; opacity: .27; }
.solution-route--made { stroke: #62d8ee; }
.solution-packet { fill: none; stroke: #dfb1ff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 100; stroke-dashoffset: 3; filter: drop-shadow(0 0 5px #ae5cff); animation: solution-travel 2s linear forwards; }
.solution-packet--made { stroke: #84efff; filter: drop-shadow(0 0 5px #35bdd7); }
.solution-region { position: absolute; top: 6%; color: #8e869f; font: .58rem 'Ubuntu Mono', monospace; letter-spacing: .16em; }
.solution-region--entry { left: 6%; }
.solution-region--result { right: 6%; }
.solution-node { --node-color: #bf91f7; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: .5rem; color: var(--node-color); border: 0; background: transparent; font: inherit; cursor: pointer; text-align: center; border-radius: 1rem; transition: filter .4s, background .4s; }
.solution-node:hover, .solution-node:focus-visible, .solution-node.is-receiving { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--node-color) 45%, transparent)); }
.solution-node__name { font: 600 clamp(.8rem, 1.2vw, 1.1rem) 'Ubuntu Mono', monospace; }
.solution-node__name > span:first-child:not(.solution-domain), .solution-gateway__link > .solution-domain:first-child + span { color: #f1e9ff; }
.solution-domain { font-size: .7em; opacity: .65; }
.solution-node__hint { color: #a59eb6; font-size: .73rem; line-height: 1.45; max-width: 23ch; }
.solution-gateway { left: 3%; width: 24%; height: 38%; }
.solution-gateway__explore { display: block; flex: none; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.solution-gateway__explore.is-receiving { filter: drop-shadow(0 0 14px var(--node-color)); }
.solution-gateway__link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--node-color) 40%, transparent); text-underline-offset: .25em; }
.solution-gateway__link:hover { text-decoration-color: currentColor; }
.solution-gateway__link > span:last-child { font-size: .7em; }
.solution-gateway--thought { top: 12%; }
.solution-gateway--made { top: 55%; --node-color: #72deef; }
.solution-portal { position: relative; flex: none; display: grid; place-items: center; width: min(116px, 7.7vw, 20cqh); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--node-color) 35%, transparent); border-radius: 50%; background: radial-gradient(circle, #05040c 35%, color-mix(in srgb, var(--node-color) 17%, transparent) 64%, transparent 72%); box-shadow: 0 0 38px color-mix(in srgb, var(--node-color) 12%, transparent); transition: transform .5s; }
.solution-portal::before, .solution-portal::after { content: ''; position: absolute; inset: -7px; border: 2px solid transparent; border-top-color: var(--node-color); border-bottom-color: color-mix(in srgb, var(--node-color) 40%, transparent); border-radius: 50%; animation: solution-orbit 17s linear infinite; }
.solution-portal::after { inset: 7px; border-width: 1px; animation-duration: 23s; animation-direction: reverse; }
.gateway-brand-mark { display: block; width: 64%; height: 64%; filter: drop-shadow(0 0 9px color-mix(in srgb, var(--node-color) 30%, transparent)); }
.solution-gateway:hover .solution-portal { transform: scale(1.08); }
.solution-labs { left: 33%; top: 17%; width: 34%; height: 70%; }
.solution-labs__visual { display: block; flex: none; position: relative; width: min(100%, 410px, 60cqh); aspect-ratio: 1; }
.solution-labs__model { display: block; width: 100%; height: 100%; overflow: visible; }
.solution-labs.is-receiving .labs-ring-segment--light { opacity: 1; }
.solution-output { left: 77%; width: 20%; height: 21%; --node-color: #b2a0e9; }
.solution-output--website { top: 9%; }
.solution-output--app { top: 32%; --node-color: #68dcea; }
.solution-output--portal { top: 55%; --node-color: #be8eec; }
.solution-output--automation { top: 78%; --node-color: #75ddbb; }
.solution-output svg { width: clamp(75px, 7.7vw, 120px); max-height: 58%; overflow: visible; fill: #090a18; stroke: var(--node-color); stroke-width: 1.5; transition: transform .5s; }
.solution-output .solution-node__name { font-size: clamp(.64rem, .9vw, .83rem); }
.solution-output .solution-node__hint { font-size: .68rem; }
.solution-output .solution-drawing { fill: none; opacity: .3; transition: opacity .8s; }
.solution-output.is-built .solution-drawing, .solution-output:hover .solution-drawing { opacity: 1; }
.solution-output.is-receiving svg { transform: translateY(-5px) scale(1.06); }
.solutions-chapter[data-paused='true'] *, .solutions-chapter[data-paused='true'] *::before, .solutions-chapter[data-paused='true'] *::after { animation-play-state: paused !important; }
.solution-story { width: min(540px, calc(100% - 2rem)); max-height: calc(100svh - 3rem); padding: 3.5rem clamp(1.4rem, 3vw, 2.5rem) 2rem; border: 1px solid #bb87e855; border-radius: 18px; color: #f4edff; background: linear-gradient(145deg, #151023, #070811); box-shadow: 0 30px 120px #0009; overflow-y: auto; scrollbar-color: #83609d #100b1a; }
.solution-story::backdrop { background: #02030ab8; backdrop-filter: blur(6px); }
.solution-story__close { position: absolute; right: .9rem; top: .7rem; border: 1px solid #a48cbc44; background: #1b1326; color: #eee3fc; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.solution-story h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.14; margin: 0 0 1.5rem; }
#solution-story-copy p { color: #beb4cd; font-size: .94rem; line-height: 1.75; margin: 0 0 1rem; }
.solution-story__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.8rem; }
.solution-story__follow { border: 1px solid #b576d999; border-radius: 7px; background: #46255955; color: #eed9ff; padding: .85rem 1rem; font: inherit; font-size: .85rem; cursor: pointer; }
.solution-story__actions a { color: #b9a4cc; font-size: .8rem; text-underline-offset: 4px; }
@media (min-width: 761px) and (max-height: 650px) {
  .solution-story { max-height: calc(100svh - 1rem); padding: 2.5rem 1.6rem 1.25rem; }
  .solution-story h2 { margin-bottom: .85rem; font-size: 1.6rem; }
  #solution-story-copy p { margin-bottom: .6rem; font-size: .84rem; line-height: 1.5; }
  .solution-story__actions { margin-top: 1rem; }
}
@keyframes solution-travel { to { stroke-dashoffset: -100; } }
@keyframes solution-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1180px) { .hero-intro { top: calc(var(--public-nav-height) + 4.4rem); } }
@media (max-width: 1000px) {
  .solution-footer p { display: none; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .chapter-pager { top: var(--public-nav-height); left: .3rem; gap: .1rem; }
  .chapter-pager a { width: 34px; height: 34px; }
  .chapter-pager__label { font-size: .56rem; letter-spacing: .04em; }
  .solutions-chapter { top: calc(var(--public-nav-height) + 2.2rem); }
  .solutions-chapter__intro { padding: .4rem 1rem 0; }
  .solutions-chapter__intro .workshop-eyebrow { display: none; }
  .solutions-chapter__intro h2 { font-size: clamp(1.35rem, 5.8vw, 1.8rem); margin-bottom: .35rem; }
  .solutions-chapter__intro > p:last-child { font-size: .72rem; line-height: 1.45; max-width: 40ch; }
  .solution-region { top: 1%; font-size: .52rem; }
  .solution-region--entry { left: 6%; }
  .solution-region--result { top: 62%; right: auto; left: 6%; }
  .solution-gateway { top: 5%; width: 44%; height: 23%; }
  .solution-gateway--thought { left: 3%; }
  .solution-gateway--made { left: 53%; }
  .solution-portal { width: min(68px, 12cqh); }
  .solution-node { gap: .3rem; padding: .25rem; }
  .solution-node__name { font-size: .74rem; }
  .solution-node__hint { display: none; }
  .solution-labs { left: 16%; top: 28%; width: 68%; height: 34%; }
  .solution-labs__visual { width: min(230px, 100%, 32cqh); }
  .solution-output { width: 44%; height: 15%; }
  .solution-output--website { left: 3%; top: 67%; }
  .solution-output--app { left: 53%; top: 67%; }
  .solution-output--portal { left: 3%; top: 83%; }
  .solution-output--automation { left: 53%; top: 83%; }
  .solution-output svg { width: 76px; max-height: 52%; }
  .solution-output .solution-node__name { font-size: .62rem; }
}
@media (max-height: 600px) {
  .solutions-chapter { top: calc(var(--public-nav-height) + 2.2rem); }
  .solutions-chapter__intro .workshop-eyebrow, .solutions-chapter__intro > p:last-child, .solution-node__hint, .solution-region, .solution-footer p { display: none; }
  .solutions-chapter__intro h2 { font-size: 1.3rem; margin-bottom: .2rem; }
  .solution-node { gap: .2rem; padding: .2rem; }
  .solution-portal > span { font-size: 1rem; }
  .solution-node__name { font-size: .65rem; }
  .solution-output .solution-node__name { font-size: .6rem; }
  .solution-footer { min-height: 50px; padding-top: .4rem; padding-bottom: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .solutions-chapter *, .solutions-chapter *::before, .solutions-chapter *::after { animation: none !important; transition: none !important; }
}
