:root {
  --igv-ease: cubic-bezier(.2, .75, .25, 1);
  --igv-fast: 180ms;
}

:where(.home-nav, .main-nav, .product-nav, .home-footer-links, .policy-tabs, .mp-header nav) a {
  text-underline-offset: .3em;
  transition: color var(--igv-fast) ease, background-color var(--igv-fast) ease;
}

.home-nav a::after, .product-nav > a::after {
  position: absolute;
  inset: auto 0 12px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: transform var(--igv-fast) var(--igv-ease), opacity var(--igv-fast) ease;
  content: "";
}

.home-nav a:is([aria-current], :hover, :focus-visible)::after,
.product-nav > a:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: scaleX(1);
}

.product-nav > a { position: relative; }
.product-nav > a::after { bottom: 5px; }
.product-menu summary svg { transition: rotate var(--igv-fast) var(--igv-ease); }
.product-menu[open] .product-menu-links { animation: igv-menu-in 170ms var(--igv-ease) both; }
.product-menu-links a[aria-current] { color: var(--accent); }

.igv-mark {
  transition: transform 260ms var(--igv-ease);
}

.igv-mark::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, #e05bf84f, transparent 66%);
  opacity: 0;
  transform: scale(.75);
  transition: transform 270ms var(--igv-ease), opacity 230ms ease;
  pointer-events: none;
  content: "";
}

a:is(:hover, :focus-visible) > .igv-mark { transform: translateY(-2px) scale(1.04); }
a:is(:hover, :focus-visible) > .igv-mark::after { opacity: 1; transform: scale(1.3); }

.home-product, .catalog-card {
  position: relative;
  isolation: isolate;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 290ms var(--igv-ease), border-color 200ms ease, box-shadow 200ms ease;
}

.home-product::before, .catalog-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 25%, #d564f02e, transparent 64%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 210ms ease;
  content: "";
}

.home-product:is(:hover, :focus-visible)::before, .catalog-card:is(:hover, :focus-visible)::before { opacity: 1; }
.igv-card-tracking {
  transform: perspective(800px) translateY(-3px) rotateX(var(--igv-tilt-y)) rotateY(var(--igv-tilt-x));
  transition-duration: 130ms, 200ms, 200ms;
}

.igv-card-tracking::before { transform: translate(var(--igv-light-x), var(--igv-light-y)) scale(.85); }
.home-product:active, .catalog-card:active { transform: perspective(800px) scale(.986); }
.catalog-action { transition: translate var(--igv-fast) var(--igv-ease); }
.catalog-card:is(:hover, :focus-visible) .catalog-action { translate: 4px 0; }
.catalog-card:focus-visible { border-color: var(--accent-border); }

.product-feature, .support-grid > article, .detail-faq details, .product-faq details, .mp-faq details {
  transition: border-color var(--igv-fast) ease, background-color var(--igv-fast) ease;
}
.product-highlight > div { min-width: 0; overflow-wrap: anywhere; }
.product-feature:hover, .support-grid > article:hover,
:is(.detail-faq, .product-faq, .mp-faq) details:is([open], :focus-within) { border-color: #a866be; }

:is(.detail-faq, .product-faq, .mp-faq, .access-renewal) summary { touch-action: manipulation; }
:is(.detail-faq, .product-faq, .mp-faq, .access-renewal) summary::after {
  transition: transform var(--igv-fast) var(--igv-ease), rotate var(--igv-fast) var(--igv-ease);
}

.product-button > svg, .product-license-link a, .policy-arrow, .detail-copy .action {
  transition: translate var(--igv-fast) var(--igv-ease), color var(--igv-fast) ease;
}
.product-button:is(:hover, :focus-visible) > svg { translate: 0 -2px; }
.policy-arrow:is(:hover, :focus-visible), .detail-copy .action:is(:hover, :focus-visible) { translate: 3px 0; }
.product-copy { animation: igv-enter 480ms var(--igv-ease) both; }
.igv-revealed { animation: igv-enter 420ms var(--igv-ease); }
.igv-revealed:focus-within, .igv-revealed:target { animation: none; }

.voidpulse-product .product-art { translate: 0 var(--igv-depth, 0px); }

.product-skip {
  position: absolute;
  z-index: 8;
  inset: 10px auto auto 10px;
  padding: 10px 15px;
  border-radius: 6px;
  background: #291638;
}
.product-skip:not(:focus) { clip-path: inset(50%); }

a.support-email[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: .4em .85em;
  border: 1px solid var(--mail-border, #a86f9f);
  border-radius: 9px;
  background: var(--mail-fill, #2d1939);
  color: var(--mail-ink, #ffe3f5);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color var(--igv-fast) ease, border-color var(--igv-fast) ease, color var(--igv-fast) ease, translate var(--igv-fast) var(--igv-ease);
}

:is(.mp-access-help, .success-card) a.support-email {
  --mail-border: #5888a2;
  --mail-fill: #142b3b;
  --mail-hover: #234359;
  --mail-ink: #dcf4ff;
}

a.support-email[href]::before {
  flex: none;
  font: 1.15em/1 "Segoe UI Symbol", sans-serif;
  content: "\2709\fe0e";
  content: "\2709\fe0e" / "";
}

a.support-email[href]:is(:hover, :focus-visible) {
  border-color: var(--mail-ink, #ffe3f5);
  background: var(--mail-hover, #4a2850);
  color: var(--mail-ink, #ffe3f5);
  text-decoration: none;
}

a.support-email[href]:focus-visible {
  outline: 2px solid var(--mail-ink, #ffe3f5);
  outline-offset: 2px;
}

a.support-email[href]:active {
  background: var(--mail-fill, #2d1939);
}

@media (prefers-reduced-motion: no-preference) {
  a.support-email[href]:active { translate: 0 1px; }
}

@keyframes igv-enter {
  from { opacity: .72; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes igv-menu-in {
  from { opacity: 0; translate: 0 -4px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 760px) {
  .home-nav a::after { bottom: 1px; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    :is(.product-faq, .detail-faq, .mp-faq) details::details-content,
    details.access-renewal::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      opacity: 0;
      transition: block-size 220ms var(--igv-ease), opacity 200ms ease, content-visibility 220ms allow-discrete;
    }
    :is(.product-faq, .detail-faq, .mp-faq) details[open]::details-content,
    details.access-renewal[open]::details-content { block-size: auto; opacity: 1; }
  }
  @supports not ((interpolate-size: allow-keywords) and selector(details::details-content)) {
    :is(.product-faq, .detail-faq, .mp-faq) details[open] > p { animation: igv-menu-in 180ms var(--igv-ease) both; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html:root { scroll-behavior: auto; }
  .igv-revealed, .product-copy, .product-menu[open] .product-menu-links { animation: none; }
  .voidpulse-product .product-art { translate: none; }
  .home-product, .catalog-card, .product-button > svg, .catalog-action, .igv-mark, .igv-mark::after,
  .home-nav a::after, .product-nav > a::after, .product-menu summary svg,
  :is(.detail-faq, .product-faq, .mp-faq, .access-renewal) summary::after { transition: none; }
  .home-product:active, .catalog-card:active, a:is(:hover, :focus-visible) > .igv-mark { transform: none; }
  .product-button:is(:hover, :focus-visible) > svg, .catalog-card:is(:hover, :focus-visible) .catalog-action,
  .policy-arrow:is(:hover, :focus-visible), .detail-copy .action:is(:hover, :focus-visible) { translate: none; }
}
