.ds-call-to-action {
  background: var(--ds-color-chicago-30);
  border: 0.0625rem solid transparent;
  border-radius: 1rem; /* half the height value */
  box-sizing: border-box;
  color: var(--ds-color-london-100);
  display: inline-flex;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-0);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  height: 2rem;
  line-height: var(--ds-type-leading-lower);
  margin: 0;
  padding: 0.1875rem var(--ds-grid-gap) 0.3125rem;
  text-decoration: none;
  transition: background var(--ds-interactions-transition), color var(--ds-interactions-transition);
  will-change: color;
  &:hover {
    background: var(--ds-color-chicago-20);
  }
  &:focus {
    box-shadow: 0 0 0 0.125rem var(--ds-color-hong-kong-55);
    outline: solid transparent;
  }
  &:active {
    background: var(--ds-color-chicago-20);
    border-color: var(--ds-color-hong-kong-55);
    box-shadow: none;
  }
}

.ds-call-to-action--inverse {
  background-color: var(--ds-color-london-100);
  color: var(--ds-color-london-5);
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  &:hover {
    background-color: hsla(var(--ds-color-hsl-london-100), 0.85);
  }
  &:active {
    background-color: hsla(var(--ds-color-hsl-london-100), 0.85);
    border-color: var(--ds-color-hong-kong-55);
  }
  &.ds-call-to-action--secondary {
    border-color: var(--ds-color-london-100);
    color: var(--ds-color-london-100);
    &:hover {
      border-color: hsla(var(--ds-color-hsl-london-100), 0.85);
      color: hsla(var(--ds-color-hsl-london-100), 0.85);
    }
    &:focus {
      background: transparent;
      color: var(--ds-color-london-100);
    }
    &:active {
      border-color: var(--ds-color-hong-kong-55);
      color: hsla(var(--ds-color-hsl-london-100), 0.85);
    }
  }
}

.ds-call-to-action--secondary {
  background: transparent;
  border-color: var(--ds-color-chicago-45);
  color: var(--ds-color-chicago-45);
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  &:hover {
    background: transparent;
    border-color: var(--ds-color-chicago-30);
    color: var(--ds-color-chicago-30);
  }
  &:focus {
    border-color: transparent;
    color: var(--ds-color-chicago-30);
  }
  &:active {
    background-color: transparent;
    border-color: var(--ds-color-hong-kong-55);
  }
}
