:root {
  --wp-admin-offset: 0px;
}

html {
  scroll-padding-top: 72px;
}

body.admin-bar {
  --wp-admin-offset: 32px;
}

body.admin-bar .clx-site-header {
  top: var(--wp-admin-offset);
}

.clx-site-header {
  border-bottom: 1px solid rgb(231 226 220 / 0.58);
}

.clx-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 550ms cubic-bezier(0.5, 0, 0.5, 1);
}

.clx-banner-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.figma-hero-banner > a {
  display: block;
  width: 100%;
  height: 100%;
}

.figma-hero-dots {
  z-index: 2;
}

.clx-banner-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(circle at 76% 32%, rgb(255 255 255 / 0.16), transparent 22%),
    linear-gradient(118deg, #c00209 0%, #df133f 56%, #ed3358 100%);
}

.clx-banner-fallback img {
  width: 356px;
  height: auto;
  object-fit: contain;
}

.clx-banner-fallback p {
  color: white;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.figma-product-track {
  will-change: transform;
}

.figma-product-panel {
  opacity: 0.92;
}

.figma-product-panel.is-active {
  opacity: 1;
}

.figma-product-panel.is-entering .figma-product-title,
.figma-product-panel.is-entering .figma-product-subtitle,
.figma-product-panel.is-entering .figma-product-description,
.figma-product-panel.is-entering .figma-product-features,
.figma-product-panel.is-entering .figma-mini-qr,
.figma-product-panel.is-entering .clx-product-visual-enter {
  animation: clx-product-enter 480ms cubic-bezier(0.5, 0, 0.2, 1) both;
}

.figma-product-panel.is-entering .figma-product-subtitle {
  animation-delay: 50ms;
}

.figma-product-panel.is-entering .figma-product-description {
  animation-delay: 100ms;
}

.figma-product-panel.is-entering .figma-product-features {
  animation-delay: 150ms;
}

.figma-product-panel.is-entering .figma-mini-qr {
  animation-delay: 200ms;
}

.figma-product-panel.is-entering .clx-product-visual-enter {
  animation-delay: 80ms;
}

@keyframes clx-product-enter {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.figma-tab-glow {
  opacity: 0;
  transition: opacity 220ms ease;
}

.figma-tab-icon {
  transition:
    width 220ms ease,
    height 220ms ease;
}

.figma-tab-item.is-active .figma-tab-glow {
  opacity: 1;
}

.figma-tab-item.is-active .figma-tab-icon {
  width: 130px;
  height: 130px;
}

.clx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.clx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.clx-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.clx-form-result {
  width: 100%;
  margin: -12px 0 0;
  color: #df133f;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.clx-entry-content {
  color: #50494b;
  font-size: 1rem;
  line-height: 1.9;
}

.clx-entry-content > * + * {
  margin-top: 1.15em;
}

.clx-entry-content h2,
.clx-entry-content h3 {
  margin-top: 1.8em;
  color: #21191b;
  font-weight: 800;
  line-height: 1.35;
}

.clx-entry-content h2 {
  font-size: 1.7rem;
}

.clx-entry-content h3 {
  font-size: 1.35rem;
}

.clx-entry-content img {
  height: auto;
  border-radius: 14px;
}

.clx-entry-content a {
  color: #df133f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --wp-admin-offset: 46px;
  }
}

@media (max-width: 720px) {
  .figma-nav {
    height: 56px;
    gap: 16px;
    padding-inline: 20px;
  }

  .figma-nav-logo {
    flex: 0 0 auto;
  }

  .figma-nav-logo img {
    width: 72px;
  }

  .figma-nav-menu {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 2px;
  }

  .figma-nav-link {
    display: none;
  }

  .figma-nav-link.is-active {
    display: inline-flex;
    height: 36px;
    padding-inline: 10px;
  }

  .figma-nav-divider {
    display: none;
  }

  .figma-lang {
    height: 36px;
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clx-banner-slide,
  .figma-product-track,
  .figma-tab-glow,
  .figma-tab-icon,
  .clx-reveal {
    animation: none !important;
    transition: none !important;
  }

  .clx-reveal {
    opacity: 1;
    transform: none;
  }
}
