/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
*/

body {
  font-family: "Inter", sans-serif;
}

button {
  all: unset;
}

li {
  list-style: none;
}

/*  */

/* Reset */
/* Reset */

@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter.woff2);
  display: swap;
  font-weight: 100 900;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Icons */
.icon-small {
  aspect-ratio: 1;
  width: 16px;
}
.icon-medium {
  width: 24px;
  height: 24px;
}

/* Announcement Banner */
#announcement-banner {
  display: none;
}

.announcement__banner {
  color: #fff;
  font-size: 13px;
  background: #5823f3;
  transition: background-color 0.25s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.announcement__banner:hover {
  background: #3a00a6;
}

.announcement__banner-link {
  justify-content: space-between;
  padding: 10px;
}
.announcement__banner-content {
  margin: 0 auto;
  justify-content: center;
}
.announcement__banner-icon {
  display: none;
}
.announcement__banner-dismiss {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: opacity 0.1s cubic-bezier(0.2, 0, 0, 1);
}
.announcement__banner-dismiss:hover {
  opacity: 0.6;
}
.announcement__banner-dismiss--icon {
  margin: 2px;
}

/* Header */
.header {
  color: #101014;
}

.header__menu-toggle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  width: 56px;
  height: 56px;
  border-radius: 4px;
}

.header__icon--menu,
.header__icon--close {
  transition:
    opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.header__icon--close {
  position: absolute;
  transform: scale(0.6);
  opacity: 0;
}

.header__icon--menu.active {
  transform: scale(0.8);
  opacity: 0;
}
.header__icon--close.active {
  transform: scale(1);
  opacity: 1;
}

.header__branding {
  position: sticky;
  top: 0;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 0 12px;
  min-height: 64px;
  background: #fff;
}

.header__branding::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.header__branding.active::after {
  opacity: 1;
}

.header__logo-icon {
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto 105/32;
}

.site-nav {
  min-height: 64px;
}

/* Navigation */
.nav {
  position: fixed;
  top: calc(64px + var(--header-height));
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 20px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav.active {
  opacity: 1;
  pointer-events: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  row-gap: 20px;
}

.nav__dropdown-label,
.nav__list h3 {
  font-size: 13px;
  font-weight: 400;
}

.nav__dropdown-toggle,
.cta__toggle {
  display: none;
}

.nav__item--has-dropdown {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-top: 12px;
}

.nav__item {
  position: relative;
}

.nav__item,
.nav__submenu-link {
  border-radius: 4px;
}

.nav__link,
.nav__submenu-link {
  font-size: 24px;
  font-weight: 500;
}

.nav__link.highlighted {
  background-clip: text !important;
  background: linear-gradient(90deg, #fa43bd, #ffcd4d 150%);
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.nav__link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px #101014;
}

.nav__link:hover::before {
  width: 92%;
}

.nav__dropdown-toggle:hover::before {
  width: 85%;
}

.nav__link::before,
.nav__dropdown-toggle::before {
  content: "";
  width: 0;
  position: absolute;
  height: 1px;
  background-color: #101014;
  transition: 0.15s cubic-bezier(0.2, 0, 0, 1);
  bottom: 4px;
}

.nav__link.highlighted::before {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  bottom: 4px;
  transition: 0.15s cubic-bezier(0.2, 0, 0, 1);
  background: linear-gradient(90deg, #fa43bd, #ffcd4d 150%);
}

.nav__link.highlighted:hover::before {
  width: 83%;
}

.nav__submenu {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.link__icon-container {
  display: none;
}

.cta__submenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  font-size: 13px;
  line-height: 16px;
  color: #fff;
}
.cta__submenu li {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 24px;
  background: #000;
  border-radius: 4px;
  height: auto;
}

/* Media Queries */
@media (min-width: 1024px) {
  .announcement__banner-icon {
    display: block;
  }
  .announcement__banner-link {
    padding: 10px 40px;
  }

  .site-nav {
    display: flex;
    justify-content: space-between;
    padding: 0 4px 0 16px;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }
  .site-nav.active {
    border-bottom-color: #000;
  }

  .header__branding {
    justify-content: center;
    padding: 0;
    min-height: 60px;
  }
  .header__branding::after {
    display: none;
  }
  .header__menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-left: 40px;
    opacity: 1;
    overflow-y: visible;
    width: 100%;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 18px;
    padding-left: 0;
    width: 100%;
  }

  .nav__dropdown-label {
    display: none;
  }
  .nav__dropdown-toggle,
  .cta__toggle {
    display: flex;
    align-items: center;
    column-gap: 4px;
    cursor: pointer;
  }

  .nav__link,
  .nav__dropdown-toggle,
  .cta__toggle {
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-wrap: nowrap;
  }

  .nav__submenu-wrapper,
  .cta__submenu-wrapper {
    position: absolute;
    top: 42px;
    border: 1px solid black;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    z-index: -1;
    max-height: 0;
    overflow: hidden;
    transition:
      opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
      max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav__submenu-wrapper.active,
  .cta__submenu-wrapper.active {
    max-height: var(--wrapper-height);
  }

  .nav__submenu,
  .cta__submenu {
    padding: 8px;
    row-gap: 8px;
  }
  .nav__submenu > li,
  .cta__submenu > li {
    display: flex;
    align-self: stretch;
  }
  .nav__submenu-link,
  .cta__submenu-link {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0;
    min-width: 160px;
    flex: 1;
    text-wrap: nowrap;
    border-radius: 8px;
    padding: 8px 10px 8px 12px;
  }

  .nav__item--has-dropdown {
    display: block;
    position: relative;
    padding: 4px;
    margin-top: 0;
    cursor: pointer;
  }

  .nav__item,
  .nav__submenu-link {
    padding: 4px;
  }

  .cta--has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }

  .cta__toggle {
    padding: 19px 50px;
    background-color: #101014;
    border-radius: 8px;
    transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
  }
  .cta__toggle:hover {
    background-color: #5823f3;
  }
  .cta__toggle:active {
    background-color: #23232b;
  }
  .cta__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px inset #5823f3;
  }

  .nav__toggle-icons,
  .link__icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .nav__icon--minus {
    position: absolute;
    opacity: 0;
    transition: opacity 0.25s ease-out;
  }
  .nav__icon--plus {
    opacity: 1;
    transition: opacity 0.25s ease-out;
  }
  .nav__icon--minus.active {
    opacity: 1;
  }
  .nav__icon--plus.active {
    opacity: 0;
  }

  .cta {
    color: #fff;
    margin-left: 18px;
  }
  .cta__submenu-wrapper {
    top: 57px;
    left: 0;
    right: 0;
  }
  .cta__submenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    color: #000;
  }
  .nav .nav__list li:nth-last-of-type(3):not(.nav__submenu li) {
    margin-left: auto;
  }
  .cta__submenu li {
    background: transparent;
    padding: 0;
  }
}

@media (min-width: 1440px) {
  .site-nav {
    padding: 4px 4px 4px 20px;
  }
  .nav__link,
  .nav__dropdown-toggle,
  .cta__toggle {
    font-size: 14px;
    line-height: 20px;
  }
}
@media (min-width: 1920px) {
  .site-nav {
    padding: 4px 4px 4px 40px;
  }
  .nav__link,
  .nav__dropdown-toggle,
  .cta__toggle {
    font-size: 17px;
    line-height: 24px;
  }
}

/* Icons hover animations */
.link__icon--default,
.link__icon--hover {
  will-change: transform;
}
.link__icon--hover {
  position: absolute;
  transform: translate(-100%, 100%);
}

.nav__submenu-link:hover,
.cta__submenu-link:hover {
  background-color: #f5f5fa;
}
.nav__submenu-link:hover .link__icon--default {
  animation: icon-to-top 0.45s cubic-bezier(0.2, 0, 0, 1) forwards;
}
.nav__submenu-link:hover .link__icon--hover {
  animation: from-bottom-to-top 0.45s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes icon-to-top {
  to {
    transform: translate(100%, -100%);
  }
}
@keyframes from-bottom-to-top {
  to {
    transform: translate(0, 0);
  }
}
