/* extra styles on top of style.css */

/* colored words in titles */
[data-em] em { font-style: normal; }
[data-em="dim"] em { color: var(--dim); }
[data-em="blue"] em { color: var(--blue); }
.split .w > em { display: inline-block; will-change: transform; }

/* no js = show everything */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.hero-bg .hb-video { display: block; }

/* product card anim on hover */
.pcard-media .pcard-anim { opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.pcard:hover .pcard-media .pcard-anim { opacity: 1; }
@media (hover: none) { .pcard-media .pcard-anim { opacity: 1; } }

/* drum */
.drum-desc { display: none; }


.pill-soft { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0a0a0bcc; }

/* svg arrow in links (the unicode one shows as emoji on iphone) */
.rlink .ar { width: .62em; height: .62em; align-self: center; }


/* header */
.site-launch-banner {
  position: relative;
  margin-top: -.75rem;
  padding: .7rem 2.75rem;
  background: #0868c7;
  color: #fff;
  font-size: .88rem;
  text-align: center;
  pointer-events: auto;
}
.site-launch-banner a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
.header.scrolled .site-launch-banner { display: none; }
.launch-banner-close {
  position: absolute;
  inset-inline-end: .55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: .35rem;
  color: inherit;
  font: 1.3rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.launch-banner-close:not([hidden]) { display: grid; place-items: center; }
.launch-banner-close:hover { background: #ffffff24; }
.launch-banner-close:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
.header-inner { height: 4.75rem; }
.header.scrolled .header-inner { max-width: 1000px; height: 4.1rem; padding-inline: 1.4rem .55rem; }
.header .brand { gap: .75rem; }
.header .brand .v-mark { width: 28px; height: 28px; }
.header .brand > span:last-child { font-size: 1.32rem; letter-spacing: -.04em; }
.nav a { font-size: 1.04rem; letter-spacing: -.015em; }
.header .btn-sm { height: 2.9rem; gap: .75rem; padding: 0 .45rem 0 1.15rem; font-size: 1rem; border-radius: .7rem; }
.header .btn-sm .arrow-box { width: 2rem; height: 2rem; border-radius: .45rem; }
.header .theme-btn { width: 2.6rem; height: 2.6rem; }
.header .theme-btn svg { width: 20px; height: 20px; }

/* hero bg video */
.hero-layout {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(min-content, 1fr);
  padding-block: clamp(5.25rem, 7svh, 6rem) clamp(3rem, 6.5svh, 4.5rem);
  container-type: inline-size;
}
.hero-intro { grid-row: 2; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: clamp(1rem, 2svh, 1.5rem); }
#hero .t-hero {
  margin: 0;
  font-family: Geist, system-ui, sans-serif;
  font-size: min(7.45cqw, 6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.06;
  white-space: nowrap;
}
#hero .t-hero em { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  #hero .t-hero em {
    background: linear-gradient(90deg, var(--dim) 38%, var(--fg) 50%, var(--dim) 62%) 95% 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: hero-title-shine 5.5s linear 1.6s infinite;
  }
  @keyframes hero-title-shine {
    from { background-position: 95% 0; }
    to { background-position: 5% 0; }
  }
}
.hero-details {
  grid-row: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 5vw, 4.5rem);
  width: min(100%, 41.5rem);
  margin-inline: auto;
  padding-top: 2rem;
}
@media (max-width: 640px) {
  #hero .t-hero { font-size: clamp(2rem, 9cqw, 3.5rem); white-space: normal; }
}
#products { padding-top: 0; }
.products-heading { align-items: center; padding-block: clamp(1.65rem, 4vw, 3.5rem); }
.products-heading .t-xl { font-size: clamp(2.15rem, 5.2vw, 4.7rem); }
.hero-bg .hb-video {
  opacity: .34;
  filter: saturate(.75) contrast(1.1) brightness(.85);
  transform-origin: 60% 40%;
  animation: hb-push 34s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 72% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 85% at 72% 40%, #000 30%, transparent 100%);
}
:root:not([data-theme="dark"]) .hero-bg .hb-video { opacity: .16; filter: grayscale(1) contrast(1.1); }
.hero-bg .hb-fade {
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 26%, transparent 52%, color-mix(in srgb, var(--bg) 80%, transparent) 80%, var(--bg) 100%),
    linear-gradient(to right, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 55%);
}
@keyframes hb-push { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, 1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-bg .hb-video { animation: none; } }

/* footer */
.foot-info { padding: 2.75rem 0 .5rem; }
@media (min-width: 1024px) { .foot-info { padding: 2.5rem 0 2.5rem 3.5rem; } }
.foot-meta a { text-decoration: underline; text-underline-offset: .18em; }
