@font-face {
  font-family: Sharp Grotesk;
  font-weight: 400;
  src: url('../assets/fonts/SharpGrotesk-Book20.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: Sharp Grotesk;
  font-weight: 500;
  src: url('../assets/fonts/SharpGrotesk-Medium20.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: Sharp Grotesk;
  font-weight: 700;
  src: url('../assets/fonts/SharpGrotesk-Bold20.otf') format('opentype');
  font-display: swap;
}

/* General styles */
:root {
  --tether-black: #171717;
  --tether-white: #F2F1EF;
  --tether-grey: #E2E2E2;
  --tether-dark-grey: #606060;
}

html {
  margin-top: 0px !important;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}

html.overflow-hidden,
html.overflow-hidden body {
  overflow: hidden;
}

body {
  font-family: Sharp Grotesk, serif;
  font-size: 18px;
  line-height: 32px;
  background-color: var(--tether-white);
  color: var(--tether-black);
  margin: 0;
  overflow-x: hidden;
}

a {
  color: var(--tether-dark-grey);
}

h1 {
  font-weight: 400;
  font-size: 70px;
  line-height: 78px;
  letter-spacing: 0.7px;
}

h2 {
  font-weight: 400;
  font-size: 52px;
  line-height: 68px;
  letter-spacing: 1.04px;
}

h3 {
  font-weight: 400;
  font-size: 26px;
  line-height: 36px;
}

button,
a.btn {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 1.2px;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

a.btn {
  display: flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  padding: 12px 20px;
  line-height: 1;
}

button.btn-black,
a.btn.btn-black {
  position: relative;
  background-color: var(--tether-black);
  color: var(--tether-white);
  padding: 14.5px 22px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(var(--tether-white), var(--tether-black));
}

button.btn-black > *,
a.btn.btn-black > * {
  z-index: 1;
}

button.btn-black::before,
a.btn-black::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(140% + 2px);
  height: calc(100% + 2px);
  background: #c5c5c5;
  z-index: 1;
  transform-origin: 0 0;
  transform: translateX(-100%) skewX(-45deg);
  transition: transform .4s;
  will-change: transform;
  content: '';
}

button.btn-black:hover,
a.btn-black:hover {
  color: var(--tether-black);
}

button.btn-black:hover::before,
a.btn-black:hover::before {
  transform: translateX(0) skewX(-45deg);
}

button.btn-white,
a.btn.btn-white {
  background-color: var(--tether-white);
  border: 2px solid var(--tether-white);
  color: var(--tether-black);
}

button.btn-outline-black,
a.btn.btn-outline-black {
  border: 2px solid var(--tether-black);
  background-color: transparent;
  color: var(--tether-black);
}

button.btn-outline-white,
a.btn.btn-outline-white {
  border: 2px solid var(--tether-white);
  background-color: transparent;
  color: var(--tether-white);
}

button.btn-outline-white:not(.animate-outline),
a.btn.btn-outline-white:not(.animate-outline) {
  transition: all 0.4s cubic-bezier(.215,.61,.355,1);
}

button.btn-outline-white:not(.animate-outline):hover ,
a.btn.btn-outline-white:not(.animate-outline):hover {
  background-color: var(--tether-white);
  color: var(--tether-black);
}

.animate-outline {
  position: relative;
  border: none !important;
  overflow: hidden !important;
  box-shadow: inset 0 0 0 1.5px var(--tether-black);
  -webkit-mask-image: -webkit-radial-gradient(var(--tether-white), var(--tether-black));
}

.animate-outline.btn-outline-white {
  box-shadow: inset 0 0 0 1.5px var(--tether-white);
  -webkit-mask-image: -webkit-radial-gradient(var(--tether-black), var(--tether-white));
}

.animate-outline::before,
.animate-outline::after {
  position: absolute;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  border: 0 solid transparent;
  box-sizing: border-box;
  content: '';
  pointer-events: none;
}

.animate-outline::before {
  border-top-width: 2px;
  border-right-width: 2px;
}

.animate-outline::after {
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.animate-outline:hover::before,
.animate-outline:hover::after {
  border-color: #c5c5c5;
  transition: border-color 0s, width 0.15s, height 0.15s;
  width: 100%;
  height: 100%;
}

.animate-outline.btn-outline-white:hover::before,
.animate-outline.btn-outline-white:hover::after {
  border-color: var(--tether-dark-grey);
}

.animate-outline:hover::before {
  transition-delay: 0s, 0s, 0.15s;
}

.animate-outline:hover::after {
  transition-delay: 0s, 0.15s, 0s;
}

.desktop-only {
  display: block;
}

.tablet-only {
  display: none;
}

.mobile-only {
  display: none;
}

/* header styles */
header {
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 76px;
  background-color: var(--tether-black);
  z-index: 999;
}

header .container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1168px;
  width: calc(100% - 34px);
}

header .logo {
  display: flex;
}

header .header__links {
  display: flex;
  align-items: center;
  gap: 77px;
  justify-content: space-between;
}

header .header__links a {
  font-size: 14px;
  line-height: 28px;
  color: var(--tether-white);
  text-decoration: none;
}

header .header__sublinks {
  display: flex;
  align-items: center;
  width: 229px;
  justify-content: space-between;
}

header .header__sublinks a {
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  color: var(--tether-white);
  text-decoration: none;
}

header .header__links a:hover,
header .header__sublinks a:hover {
  font-weight: 700;
}

header .header__links a:hover {
  letter-spacing: 0.2px;
}

header .header__links a:nth-child(1):hover {
  letter-spacing: 0px;
}

header .header__links a:nth-child(4):hover,
header .header__links a:nth-child(5):hover {
  letter-spacing: 0.3px;
}

header .header__toggle {
  position: relative;
  display: none;
  width: 36px;
  height: 43.33px;
  cursor: pointer;
}

header .header__toggle .hamburger {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 14px;
  transform: translate(-50%, -50%);
}

header .header__toggle .hamburger > div {
  width: 36px;
  height: 2px;
  background-color: var(--tether-white);
  margin: 4px 0;
  transition: 0.7s;
}

header .header__toggle .hamburger > div:nth-child(1) {
  margin-top: 0;
}

header .header__toggle .hamburger > div:nth-child(2) {
  transition: 0.35s;
}

header .header__toggle .hamburger > div:nth-child(3) {
  margin-bottom: 0;
}

header .header__toggle .hamburger.active > div:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

header .header__toggle .hamburger.active > div:nth-child(2) {
  opacity: 0;
}

header .header__toggle .hamburger.active > div:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* .header-menu styles */
.header-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -100%, 0);
  width: 100%;
  height: 100%;
  background-color: var(--tether-black);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: opacity 700ms step-end, transform 700ms cubic-bezier(0.8, 0, 0.55, 0.94), visibility 700ms step-end, background-color 700ms cubic-bezier(0.8, 0, 0.55, 0.94);
}

.header-menu__navs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12vh;
  padding: 0 29px;
  height: 100vh;
}

.header-menu .header-menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9vh;
}

.header-menu .header-menu__nav a {
  font-size: 14px;
  line-height: 28px;
  color: var(--tether-white);
  text-decoration: none;
}

.header-menu .header-menu__nav a:hover {
  font-weight: 700;
}

.header-menu .header-menu__subnav {
  display: flex;
  justify-content: space-between;
  width: 335px;
  max-width: 100%;
  align-self: center;
}

.header-menu .header-menu__subnav a {
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  color: var(--tether-white);
  text-decoration: none;
}

.header-menu .header-menu__subnav a:hover {
  font-weight: 700;
}

.header-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: opacity 700ms step-start, transform 700ms cubic-bezier(0.8, 0, 0.55, 0.94), visibility 700ms step-start, background-color 700ms cubic-bezier(0.8, 0, 0.55, 0.94);
  transition-delay: 0s;
}

/* main styles */
main {
  min-height: calc(100vh - 76px - 616px);
  padding-top: 76px;
}

main > .container {
  max-width: 1168px;
  width: calc(100% - 64px);
  margin: 0 auto;
}

/* footer styles */
footer {
  min-height: 616px;
  background-color: var(--tether-black);
}

footer .container {
  max-width: 1168px;
  width: calc(100% - 32px);
  margin: 0 auto;
}

footer .footer__top {
  display: flex;
  justify-content: space-between;
  padding-top: 67px;
}

footer .footer__top .footer__heading {
  font-size: 26px;
  line-height: 36px;
  letter-spacing: 0.26px;
  color: var(--tether-dark-grey);
  width: 406px;
}

footer .footer__top .footer__heading span {
  color: var(--tether-white);
}

footer .footer__top .footer__logo {
  margin-top: 176px;
  margin-bottom: 50px;
}

footer .footer__top > div:nth-child(2) {
  width: 468px;
}

footer .footer__top .footer__subscription-disclaimer {
  font-weight: 300;
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 0.5px;
  color: var(--tether-white);
  height: 0;
  overflow: hidden;
  margin-top: 33px;
  margin-bottom: 41px;
  transition: height 500ms ease;
}

footer .footer__top .footer__subscription-disclaimer a {
  color: var(--tether-white);
}

footer .footer__top .footer__subscription-disclaimer p {
  margin: 0;
}

footer .footer__top .footer__social {
  display: flex;
  justify-content: space-between;
  width: 100%;
  transform: translateY(4px);
}

footer .footer__top .footer__social a {
  display: flex;
  text-decoration: none;
}

footer .footer__top .footer__social a:hover svg path {
  fill: var(--tether-white);
}

footer .footer__top .footer__nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  margin-bottom: 33px;
  padding-top: 35px;
}

footer .footer__top .footer__nav::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: var(--tether-dark-grey);
  content: '';
}

footer .footer__top .footer__nav-column,
footer .footer__top .footer__nav-column-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

footer .footer__top .footer__nav-column-heading {
  font-size: 18px;
  letter-spacing: 0.54px;
  line-height: 1;
  color: var(--tether-white);
}

footer .footer__top .footer__nav a {
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.48px;
  color: var(--tether-dark-grey);
  text-decoration: none;
}

footer .footer__top .footer__nav a:hover {
  color: var(--tether-white);
}

footer .footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 38px 0 40px;
}

footer .footer__bottom::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: var(--tether-dark-grey);
  content: '';
}

footer .footer__bottom .footer__copyright {
  font-weight: 500;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.5px;
  color: var(--tether-dark-grey);
}

footer .footer__bottom .footer__legal {
  display: flex;
  gap: 20px;
  width: 468px;
}

footer .footer__bottom .footer__legal a {
  position: relative;
  font-weight: 500;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.5px;
  color: var(--tether-dark-grey);
  text-decoration: none;
}

footer .footer__bottom .footer__legal a:hover {
  color: var(--tether-white);
}

footer .footer__bottom .footer__legal a:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background-color: var(--tether-dark-grey);
  content: '';
}

.to-bottom img {
  animation: bounceBottom 3s infinite;
  animation-delay: 1.2s;
  width: 9px;
  height: 48.375px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -15px;
  margin-right: -15px;
  cursor: pointer;
}

.to-top img,
.post-to-top img {
  animation: bounceTop 3s infinite;
  animation-delay: 1.2s;
  width: 9px;
  height: 48.375px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -15px;
  margin-right: -15px;
  cursor: pointer;
}

@keyframes bounceBottom {
  0%, 10%, 25%, 40%, 70%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-12px);
  }
  35% {
    transform: translateY(-6px);
  }
}

@keyframes bounceTop {
  0%, 10%, 25%, 40%, 70%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(12px);
  }
  35% {
    transform: translateY(6px);
  }
}

@media (min-width: 992px) {
  footer .footer__top .footer__nav-column,
  footer .footer__top .footer__nav-column-links {
    height: auto !important;
  }
}

@media (max-width: 991.98px) {
  /* General styles */
  body {
    font-size: 18px;
    line-height: 28px;
  }

  h1 {
    font-size: 52px;
    line-height: 60px;
    letter-spacing: 0.52px;
  }

  h2 {
    font-size: 52px;
    line-height: 60px;
    letter-spacing: 1.04px;
  }

  h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }

  /* header styles */
  header {
    height: 68px;
  }

  header .logo img {
    width: 100px;
  }

  header .header__links,
  header .header__sublinks {
    display: none;
  }

  header .header__toggle {
    display: block;
  }

  /* .header-menu styles */
  .header-menu {
    display: block;
  }

  /* main styles */
  main {
    min-height: calc(100vh - 68px - 929px);
    padding-top: 68px;
  }

  main > .container {
    width: calc(100% - 32px);
  }

  /* footer styles */
  footer {
    min-height: 929px;
  }

  footer .footer__top {
    flex-direction: column;
    padding-top: 80px;
  }

  footer .footer__top > div:nth-child(2) {
    width: unset;
  }

  footer .footer__top .footer__heading {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.24px;
    width: 385px;
    max-width: 100%;
  }

  footer .footer__top .footer__logo {
    margin-top: 80px;
    margin-bottom: 90px;
  }

  footer .footer__top .footer__subscription-label {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.24px;
  }

  footer .footer__top .subscription-input-wrapper {
    width: 244px;
  }

  footer .footer__top .footer__subscription-form button {
    padding: 10px 22px;
  }

  footer .footer__top .footer__social {
    width: 468px;
    max-width: 100%;
  }

  footer .footer__top .footer__nav {
    flex-direction: column;
    margin-top: 62px;
    padding-top: 0;
  }

  footer .footer__top .footer__nav-column {
    gap: 0;
  }

  footer .footer__top .footer__nav-column-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 0;
    cursor: pointer;
  }

  footer .footer__top .footer__nav-column-heading .plus-sign {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer .footer__top .footer__nav-column-heading .plus-sign .vertical,
  footer .footer__top .footer__nav-column-heading .plus-sign .horizontal {
    position: absolute;
    background-color: var(--tether-dark-grey);
    opacity: 1;
    transition: all 500ms ease;
  }

  footer .footer__top .footer__nav-column-heading .plus-sign .vertical {
    width: 4px;
    height: 20px;
  }

  footer .footer__top .footer__nav-column-heading .plus-sign .horizontal {
    width: 20px;
    height: 4px;
  }

  footer .footer__top .footer__nav-column-heading .plus-sign.to-minus .horizontal {
    opacity: 0;
    transform: rotate(90deg);
  }

  footer .footer__top .footer__nav-column-heading .plus-sign.to-minus .vertical {
    transform: rotate(90deg);
  }

  footer .footer__top .footer__nav-column:not(:first-child) .footer__nav-column-heading::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--tether-dark-grey);
    content: '';
  }

  footer .footer__top .footer__nav-column-links {
    height: 0;
    overflow: hidden;
    transition: height 500ms ease;
  }

  footer .footer__top .footer__nav-column-links a:last-child {
    padding-bottom: 19px;
  }

  footer .footer__bottom {
    margin-top: 0;
    flex-direction: column;
  }

  footer .footer__bottom .footer__legal {
    margin-top: 41px;
    width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .tablet-only {
    display: block;
  }
}
