:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #09100e; color: #f3f7ef; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 80% 15%, #174c37 0, transparent 34%), #09100e; }
main { width: min(900px, calc(100% - 40px)); padding: 72px 0; }
.eyebrow { color: #79e6ad; letter-spacing: .18em; font-size: .75rem; font-weight: 700; }
h1 { margin: 24px 0; font-size: clamp(3rem, 8.5vw, 6.5rem); line-height: .88; letter-spacing: -.065em; }
.lede { max-width: 560px; color: #b6c5bc; font-size: 1.25rem; line-height: 1.55; }
.status { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; padding: 12px 18px; border: 1px solid #345548; border-radius: 999px; background: #102019; }
.status span { width: 9px; height: 9px; border-radius: 50%; background: #69f0a7; box-shadow: 0 0 18px #69f0a7; }
.commit { color: #728279; margin-top: 18px; font-size: .85rem; }
code { color: #a8b8af; }

/* --- integrations cloud --- */
.integrations { margin-top: 88px; }
.integrations h2 { margin: 0; text-align: center; }

.cloud { position: relative; container-type: inline-size; width: min(600px, 100%); aspect-ratio: 1; margin: 8px auto 0; }
.cloud .ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ring::before { content: ""; position: absolute; border-radius: 50%; border: 1px dashed #23392f; }
.ring-a::before { inset: 24%; }
.ring-b::before { inset: 7%; }

.node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }

.chip { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; border: 1px solid #32523f; background: #101f19; color: #e2f0e8; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); transition: color .2s, border-color .2s, background .2s; }
.ring-b .chip { width: 50px; height: 50px; border-radius: 16px; color: #bcd0c4; }
.chip svg { width: 52%; height: 52%; fill: currentColor; }
.chip:hover { color: #79e6ad; border-color: #3d6b56; background: #13261e; }

.chip::after { content: attr(data-name); position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; padding: 4px 9px; border-radius: 7px; background: #16241d; border: 1px solid #2b453a; color: #cfe0d6; font-size: .7rem; white-space: nowrap; opacity: 0; transition: opacity .18s; pointer-events: none; }
.chip:hover::after { opacity: 1; }

.hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; border: 1px solid #345548; background: radial-gradient(circle at 50% 35%, #16412f 0, #0c1712 70%); box-shadow: 0 0 0 10px rgba(105, 240, 167, .04), 0 0 60px rgba(105, 240, 167, .12); z-index: 1; }
.hub img { width: 78px; height: auto; }

@keyframes orbit { to { rotate: 360deg; } }
.ring-a { animation: orbit 110s linear infinite; }
.ring-b { animation: orbit 150s linear infinite reverse; }
.ring-a .chip { animation: orbit 110s linear infinite reverse; }
.ring-b .chip { animation: orbit 150s linear infinite; }

@media (max-width: 700px) {
  .cloud { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 8px; }
  .cloud .ring { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: none; }
  .chip { width: 54px; height: 54px; border-radius: 16px; }
  .ring-b .chip { width: 46px; height: 46px; border-radius: 14px; }
  .ring::before { display: none; }
  .node { position: static; transform: none; }
  .hub { position: static; translate: none; }
  .chip, .ring-b .chip { animation: none; }
  .chip::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ring, .chip { animation: none !important; }
}
