/* A constellation of tools around the Hoomlink connection hub. */
.nl-home > .cx-section { padding-block: 48px 88px; }
.cx-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 40px; align-items: center; }
.nl-home .cx-copy h2 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.04em; }
.cx-copy h2 > span { display: block; width: fit-content; position: relative; z-index: 0; }
.cx-copy h2 > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 10px; background: var(--nl-lime); z-index: -1; transform: rotate(-2deg); }
.cx-copy > p { max-width: 34ch; margin-top: 24px; font-size: 16px; }
.cx-copy > .cx-promise { margin-top: 22px; color: var(--nl-ink); font-size: 13px; font-weight: 600; }
.cx-copy > .nl-text-link { margin-top: 18px; gap: 20px; }
.cx-figure { min-width: 0; }
.cx-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.22; }
.cx-orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #e9ede4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cx-orbits ellipse, .cx-orbits path { vector-effect: non-scaling-stroke; }
.cx-orbits path { stroke-dasharray: 3 6; stroke: #dbe4ce; }
.cx-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.cx-flow path { vector-effect: non-scaling-stroke; stroke-linecap: round; }
.cx-route { stroke: var(--color-ink); stroke-width: 1; opacity: .2; }
.cx-packet { stroke: var(--color-ink); stroke-width: 3.5; stroke-dasharray: 5 95; opacity: 0; }
.cx-packet-in { animation: cx-send 3.6s linear infinite paused; }
.cx-packet-out { animation: cx-deliver 3.6s linear infinite paused; }
.cx-stage[data-demo-loop="running"] .cx-packet { animation-play-state: running; }
.cx-stage[data-demo-loop="running"] .cx-hoomlink { animation: cx-source-send 3.6s cubic-bezier(.16,1,.3,1) infinite; }
.cx-stage[data-demo-loop="running"] [data-cx-bridge][data-cx-active="true"] { animation: cx-bridge-receive 3.6s ease infinite; }
.cx-stage[data-demo-loop="running"] [data-cx-tool][data-cx-active="true"] .cx-tool-icon { animation: cx-tool-receive 3.6s ease infinite; }
@keyframes cx-send {
  0% { stroke-dashoffset: 100; opacity: 0; }
  8% { opacity: 1; }
  30% { stroke-dashoffset: 0; opacity: 1; }
  36%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes cx-deliver {
  0%, 38% { stroke-dashoffset: 100; opacity: 0; }
  43% { opacity: 1; }
  76% { stroke-dashoffset: 0; opacity: 1; }
  83%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes cx-source-send {
  0%, 34%, 100% { transform: rotate(-8deg) scale(1); }
  12% { transform: rotate(-8deg) scale(1.07); }
}
@keyframes cx-bridge-receive {
  0%, 22%, 58%, 100% { background: #fff; }
  32%, 43% { background: var(--color-accent); }
}
@keyframes cx-tool-receive {
  0%, 60%, 100% { background: #fff; }
  76%, 90% { background: var(--color-accent); }
}
.cx-source { position: absolute; left: 50%; top: 29%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 2; }
.cx-hoomlink { display: grid; place-items: center; width: 92px; height: 92px; background: #18251c; color: var(--nl-lime); border-radius: 25px; box-shadow: 0 14px 30px #18251c21, inset 0 1px 1px #ffffff30; transform: rotate(-8deg); }
.cx-hoomlink > .app-icon { transform: rotate(8deg); }
.cx-source > strong { font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.cx-api { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--nl-muted); }
.cx-bridges { position: absolute; left: 50%; top: 63%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; z-index: 2; }
.cx-bridge { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; background: #fff; border-radius: 10px; box-shadow: 0 4px 18px #17201b10; }
.cx-bridge > strong { font-size: 13px; font-weight: 600; }
.cx-bridge > img { width: 20px; height: 20px; object-fit: contain; }
.cx-n8n > img { filter: invert(36%) sepia(95%) saturate(770%) hue-rotate(316deg) brightness(100%) contrast(90%); }
.cx-zapier > img { filter: invert(38%) sepia(96%) saturate(3423%) hue-rotate(359deg) brightness(102%) contrast(107%); }
.cx-or { color: var(--nl-muted); font-size: 10px; }
.cx-tools { list-style: none; padding: 0; margin: 0; }
.cx-tools > li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 64px; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.cx-tool-icon { display: grid; place-items: center; width: 64px; height: 64px; background: #fff; border-radius: 17px; box-shadow: 0 8px 24px #17201b12; transform: rotate(var(--turn)); transition: transform .25s ease, box-shadow .25s ease; }
.cx-tool-icon > img { width: 34px; height: 34px; object-fit: contain; transform: rotate(calc(-1 * var(--turn))); }
.cx-tools > li > span:last-child { position: absolute; top: calc(100% + 8px); width: max-content; max-width: 100px; font-size: 10px; line-height: 1.3; color: var(--nl-muted); text-align: center; }
.cx-tools > li:nth-child(n + 13) .cx-tool-icon { width: 48px; height: 48px; border-radius: 13px; }
.cx-tools > li:nth-child(n + 13) .cx-tool-icon > img { width: 27px; height: 27px; }
.cx-tools > li:nth-child(n + 13) > span:last-child { display: none; }
.cx-tools > li:hover { z-index: 3; }
.cx-tools > li:hover .cx-tool-icon { transform: translateY(-5px) rotate(0); box-shadow: 0 14px 28px #17201b1c; }
.cx-figure > figcaption { text-align: center; max-width: 62ch; margin: 25px auto 0; font-size: 10px; }
@media (max-width: 1100px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cx-copy { max-width: 610px; text-align: center; margin-inline: auto; }
  .cx-copy h2 > span { display: inline-block; }
  .cx-copy > p { max-width: 49ch; margin-inline: auto; }
  .cx-figure { width: 100%; max-width: 680px; margin-inline: auto !important; }
}
@media (max-width: 600px) {
  .nl-home > .cx-section { padding-block: 36px 64px; }
  .cx-section > .container { width: calc(100% - 32px); }
  .cx-layout { gap: 30px; }
  .nl-home .cx-copy h2 { font-size: 37px; }
  .cx-copy > p { font-size: 14px; line-height: 1.65; margin-top: 20px; padding-inline: 5px; }
  .cx-copy > .cx-promise { margin-top: 16px; font-size: 12px; }
  .cx-copy > .nl-text-link { margin-top: 12px; }
  .cx-stage { aspect-ratio: 1; }
  .cx-tool-icon { width: 45px; height: 45px; border-radius: 12px; }
  .cx-tool-icon > img { width: 29px; height: 29px; }
  .cx-tools > li { width: 46px; }
  .cx-tools > li > span:last-child { display: none; }
  .cx-tools > li:nth-child(n + 13) .cx-tool-icon { width: 36px; height: 36px; border-radius: 9px; }
  .cx-tools > li:nth-child(n + 13) .cx-tool-icon > img { width: 23px; height: 23px; }
  .cx-source { top: 29%; gap: 6px; }
  .cx-hoomlink { width: 64px; height: 64px; border-radius: 18px; }
  .cx-hoomlink > .app-icon { font-size: 34px !important; }
  .cx-source > strong { font-size: 13px; }
  .cx-api { font-size: 9px; gap: 3px; }
  .cx-bridges { top: 61%; gap: 5px; }
  .cx-bridge { padding: 7px 8px; gap: 5px; border-radius: 8px; }
  .cx-bridge > strong { font-size: 10px; }
  .cx-bridge > img { width: 17px; height: 17px; }
  .cx-or { font-size: 8px; }
  .cx-figure > figcaption { max-width: 42ch; font-size: 10px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-tool-icon { transition: none; }
  .cx-stage .cx-packet, .cx-stage .cx-hoomlink, .cx-stage [data-cx-bridge], .cx-stage .cx-tool-icon { animation: none !important; }
  [data-cx-tool][data-cx-active="true"] .cx-tool-icon { background: var(--color-accent); }
}
