/* Centered hero; the network emerges through its lower edge. */
.hero{width:100%;padding:64px 0 0;overflow:clip}
.hero-composition{position:relative;display:flex;flex-direction:column;align-items:center;gap:20px}
.hero-copy{position:relative;z-index:2;width:min(720px,calc(100% - 48px));text-align:center}
.hero-copy .eyebrow{justify-content:center}
.hero .hero-copy h1{font-size:48px;line-height:1.1;max-width:680px;margin:24px auto!important}
.hero-copy .hero-bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px}
.hero-copy .hero-bottom p{flex:0 0 100%;width:100%;max-width:520px;margin:0 auto 12px;text-transform:none;font-size:16px}
.hero-copy .button,.hero-copy .text-link{font-size:12px}
.rise-sphere{position:relative;width:min(900px,100%);height:380px;min-width:0;overflow:hidden}
.rise-sphere canvas{position:absolute;top:0;left:0;width:100%;height:580px;display:block;touch-action:none;cursor:grab}
.rise-sphere canvas:active{cursor:grabbing}
.rise-sphere canvas:focus-visible{outline:1px solid #2fae8e;outline-offset:-4px;border-radius:20px}
.sphere-controls{position:absolute;bottom:16px;right:24px;z-index:2;color:var(--muted)}
.sphere-controls button{background:transparent;border:1px solid #2fae8e55;color:inherit;padding:7px 10px;border-radius:6px;cursor:pointer;font-size:9px}
.hero .metrics{position:relative;width:min(1280px,calc(100% - 100px));margin:0 auto;padding-top:38px;padding-bottom:38px;border-top:1px solid var(--line);border-bottom:0}
@media(max-width:600px){.hero{padding-top:48px}.hero .hero-copy h1{font-size:36px}.hero-copy .hero-bottom p{font-size:14px}.rise-sphere{height:280px}.rise-sphere canvas{height:430px}.hero .metrics{width:calc(100% - 48px)}.sphere-controls{right:16px}}
/* Keep the supporting copy and CTA row on separate rows. */
.hero-copy .hero-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:center;gap:20px 14px}
.hero-copy .hero-bottom p{grid-column:1/-1;width:min(640px,100%);max-width:640px;min-width:0;margin:0 auto 4px;text-wrap:balance}
.hero-copy .hero-bottom>a{grid-row:2;min-width:0;white-space:nowrap}
@media(max-width:600px){.hero-copy .hero-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.hero-copy .hero-bottom>a{padding:14px 10px;font-size:10px}.hero-copy .hero-bottom p{width:100%}}
/* Ambient expansion rising from the network into the hero copy. */
.hero-composition{isolation:isolate}
/* O alcance vai além da composição para o brilho cobrir também as métricas e a
   faixa de parceiros, que fecham a hero. O centro do radial não se move. */
.hero-composition:before{content:'';position:absolute;z-index:-1;pointer-events:none;left:50%;bottom:-300px;width:min(1500px,180vw);height:calc(100% + 340px);transform:translateX(-50%);transform-origin:50% 85%;background:radial-gradient(ellipse at 50% 76%,rgba(47,174,142,.22) 0%,rgba(47,174,142,.13) 29%,rgba(47,174,142,.055) 48%,transparent 72%);filter:blur(28px);animation:hero-expansion 10s ease-in-out infinite}
html[data-theme=light] .hero-composition:before{background:radial-gradient(ellipse at 50% 76%,rgba(47,174,142,.18) 0%,rgba(47,174,142,.10) 29%,rgba(47,174,142,.045) 48%,transparent 72%)}
@keyframes hero-expansion{0%,100%{transform:translateX(-50%) scale(.95);opacity:.8}50%{transform:translateX(-50%) scale(1.08);opacity:1}}
@media(prefers-reduced-motion:reduce){.hero-composition:before{animation:none}}
.hero-particle-intro{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}

.hero-film{width:min(1100px,calc(100% - 48px));margin:24px auto 0;border-radius:24px;overflow:hidden;background:#030303}
.hero-film video{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}
@media(max-width:600px){.hero-film{width:calc(100% - 32px);margin-top:16px;border-radius:16px}}

.hero:has(.hero-video-background){padding-top:0}
.hero-video-background{min-height:calc(100svh - 84px);justify-content:center;padding:80px 24px;overflow:hidden;background:#030303}
.hero-video-background .hero-film{position:absolute;inset:0;z-index:-2;width:100%;height:100%;margin:0;border-radius:0;pointer-events:none}
.hero-video-background .hero-film video{width:100%;height:100%;max-height:none;object-fit:cover}
.hero-video-background::before,html[data-theme=light] .hero-video-background::before{inset:0;width:100%;height:100%;transform:none;filter:none;animation:none;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.48) 55%,rgba(0,0,0,.7));z-index:-1}
.hero-video-background .hero-copy{position:relative;z-index:1}
.hero .hero-video-background .hero-copy h1,.hero-video-background .hero-bottom p{color:#f0f6f6}
@media(max-width:600px){.hero-video-background{min-height:calc(100svh - 72px);padding:64px 24px}}

/* Lift the copy away from the Earth's horizon. */
.hero-video-background .hero-copy{transform:translateY(-60px)}
@media(max-width:600px){.hero-video-background .hero-copy{transform:translateY(-24px)}}
@media(max-height:650px){.hero-video-background .hero-copy{transform:none}}
.hero-sky-stars{position:absolute;inset:0 0 auto;width:100%;height:58%;z-index:0;pointer-events:none;opacity:0;transition:opacity 2s ease;mask-image:linear-gradient(#000 0%,#000 65%,transparent 100%)}
.hero-sky-stars.is-visible{opacity:1}
/* Balance the headline so the last word does not sit alone. */
.hero-video-background .hero-copy{width:min(980px,100%)}
.hero .hero-video-background .hero-copy h1{max-width:960px;text-wrap:balance}
