/* Buttons and calls to action. */

@layer components {
  .rv-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    cursor: pointer;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 17px 30px;
    transition: background .25s ease;
  }
  .rv-submit:hover {
    background: var(--blue-hover);
  }
  .rv-submit:hover .pf-cta-arrow {
    transform: translateX(3px);
  }
  .rv-submit:focus-visible,
  .rv-nav-cta:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--blue);
  }
  .rv-submit[disabled] {
    opacity: .7;
    cursor: default;
  }
  .pf-cta:hover .pf-cta-arrow {
    transform: translateX(3px);
  }
  .pf-cta:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
}

/* Breakpoint and state overrides: these win over the section styles above. */
@layer overrides {
  .pf-cta:hover {
    background: var(--blue-hover);
  }
}
