/* Hero section. */

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__device {
  position: absolute; z-index: -1;
  right: 11vw; top: 50%;
  height: min(70vh, 720px);
  aspect-ratio: 9 / 18.5;
  transform: translateY(-46%);
  pointer-events: none;
}
.readout {
  position: absolute;
  display: flex; flex-direction: column; gap: 3px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-stretch: 112%;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.readout b { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #fff; font-stretch: 100%; }
#roTokens,
#roBytes { font-stretch: 55%; font-size: 18px; }
.readout b em { font-style: normal; }
.readout::before {
  content: ""; position: absolute; top: 7px; height: 1px; width: 44px; background: rgba(255, 255, 255, .28);
}
.readout--a { left: -150px; top: 12%; }
.readout--a::before { left: calc(100% + 10px); }
.readout--b { left: calc(100% + 40px); top: 34%; white-space: normal; width: 92px; }
.readout--b::before { right: calc(100% + 8px); width: 26px; }
.readout--c { left: -170px; top: 64%; }
.readout--c::before { left: calc(100% + 10px); }
.readout--d { left: calc(100% + 40px); top: 84%; }
.readout--d::before { right: calc(100% + 8px); width: 26px; }
body.is-loaded .readout { opacity: 1; transform: none; }
body.is-loaded .readout--b { transition-delay: .15s; }
body.is-loaded .readout--c { transition-delay: .3s; }
body.is-loaded .readout--d { transition-delay: .45s; }

.hero__inner {
  position: relative;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--pad) 120px;
}
.hero__devices {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 30px; color: #fff;
}
.hero__devices .material-symbols-outlined {
  font-size: 33px; line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}
.hero__title {
  margin: 0;
  font-size: clamp(56px, 10vw, 156px);
  letter-spacing: -.03em;
  font-weight: 200;
  line-height: 0.75;
  --rond: 0;
}
/*
 * Reveal mask: the line clips its rising letters, but the clip box is padded
 * outward on every side (and pulled back with equal negative margins) so
 * descenders, overhangs and blur halos are never cut once the text has landed.
 */
.hero__line {
  display: block; overflow: hidden;
  padding: .12em .14em .3em; margin: -.12em -.14em -.3em;
}
.hero__line > .w { display: inline-block; white-space: nowrap; }
.hero__line .ch {
  display: inline-block;
  transform: translateY(150%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--ci) * 22ms + .15s);
  will-change: transform, filter;
}
body.is-loaded .hero__line .ch { transform: none; }
.hero__sub {
  max-width: 560px;
  margin: 40px 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--fg-dim);
}
.hero__apps { display: flex; flex-wrap: wrap; gap: 10px; }
.app-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 99px;
  text-decoration: none; font-size: 15px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease-out), font-stretch .5s var(--ease-out);
}
.app-chip:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); font-stretch: 108%; }
.app-chip__logo { width: 30px; height: 30px; object-fit: contain; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .5);
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .6), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }
