/* First section: centred wordmark and headline inside slowly turning rings, apps streaming past both sides. */
.hero.hero0 { display: grid; place-items: center; text-align: center; overflow: hidden; min-height: max(calc(100svh - var(--nav-h)), 780px); padding: 72px 0 56px; }
.h0-in { position: relative; z-index: 3; display: grid; justify-items: center; width: min(780px, 100% - 40px); pointer-events: none; }
.h0-in a { pointer-events: auto; }
.hero0 h1 { width: 100%; display: grid; justify-items: center; margin: 0; }
.hero0 h1.wm9 { font-size: clamp(60px, 9vw, 128px); line-height: .88; padding-bottom: .06em; }
.hero0 h1.wm9 span { display: block; }
.h0-head { margin: 22px 0 0; font: 700 clamp(26px, 3.4vw, 46px)/1.1 var(--display); font-stretch: 118%; letter-spacing: -0.025em; }
.hero0 .lead { margin: 20px auto 0; max-width: 47ch; font-size: 19px; line-height: 1.6; }
.h0-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.h0-cta .apx-btn { background-color: var(--bg); }
.h0-cta .apx-btn.solid { background-color: var(--text); }
.h0-cta .apx-btn.solid:hover { background-color: var(--accent); }
.h0-for { margin: 18px 0 0; font: 600 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--muted) 80%, transparent); }
.h0-paid { margin-top: 14px; color: var(--muted); font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
.h0-more { margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.h0-more a { color: var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line-strong); }
.h0-paid:hover, .h0-more a:hover { color: var(--accent); }
.h0-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 46px 0 0; padding: 0; list-style: none; font: 600 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--muted) 80%, transparent); }

/* rings: dashed tick circles plus comet-tail arcs in the app colours */
.h0-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h0-rings i { position: absolute; left: 50%; top: 46%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; animation: h0spin var(--t) linear infinite; animation-delay: var(--w, 0s); }
.h0-rings .arc { background: conic-gradient(transparent 0 250deg, var(--c) 345deg, transparent 346deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 calc(100% - .5px), transparent); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px), #000 calc(100% - .5px), transparent); }
.h0-rings .tick { background: repeating-conic-gradient(var(--line-strong) 0 .35deg, transparent .35deg 9deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 15px), #000 calc(100% - 14px)); mask: radial-gradient(closest-side, transparent calc(100% - 15px), #000 calc(100% - 14px)); opacity: .55; }
.h0-rings .line { border: 1px dashed var(--line); }
@keyframes h0spin { to { rotate: 360deg; } }

.h0-apps { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.h0-a { position: absolute; left: 0; top: 0; border-radius: 26%; pointer-events: auto; will-change: transform; box-shadow: 0 0 46px -8px var(--c1); }
.h0-a .ic { border-radius: 22%; transition: scale .3s cubic-bezier(.3, 1.8, .5, 1); }
.h0-a:hover .ic, .h0-a:focus-visible .ic { scale: 1.14; }
.h0-a::after { content: attr(data-n); position: absolute; left: 50%; top: calc(100% + 12px); translate: -50% 0; padding: 4px 10px; background: var(--text); color: var(--bg); font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.h0-a:hover::after, .h0-a:focus-visible::after { opacity: 1; }

/* opening burst on every load: rings spin up out of the middle, a shockwave goes out, the text rises line by line */
.h0-rings { transform-origin: 50% 46%; animation: h0boot 1.8s cubic-bezier(.12, .8, .2, 1) backwards; }
@keyframes h0boot { from { opacity: 0; transform: scale(.25) rotate(-160deg); } 25% { opacity: 1; } }
.h0-rings::after { content: ""; position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 2px solid var(--pop); box-shadow: 0 0 60px var(--pop), inset 0 0 60px rgba(255, 122, 26, .5); opacity: 0; animation: h0wave 1.2s cubic-bezier(.15, .7, .3, 1) .15s; }
@keyframes h0wave { from { opacity: .95; transform: scale(.1); } to { opacity: 0; transform: scale(4.6); } }
.h0-in > :not(h1) { animation: h0rise .7s cubic-bezier(.2, 1.3, .35, 1) backwards; }
.h0-in > :nth-child(2) { animation-delay: .45s; }
.h0-in > :nth-child(3) { animation-delay: .55s; }
.h0-in > :nth-child(4) { animation-delay: .65s; }
.h0-in > :nth-child(5) { animation-delay: .74s; }
.h0-in > :nth-child(6) { animation-delay: .81s; }
.h0-in > :nth-child(7) { animation-delay: .88s; }
.h0-in > :nth-child(8) { animation-delay: .95s; }
@keyframes h0rise { from { opacity: 0; transform: translateY(30px); filter: blur(10px); } }

@media (max-width: 1099px) { .h0-apps { display: none; } .hero.hero0 { min-height: max(calc(100svh - var(--nav-h)), 700px); } }
@media (max-width: 600px) { .h0-cta .apx-btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .h0-rings, .h0-rings i, .h0-rings::after, .h0-in > * { animation: none !important; } }
