/**
 * Home 2026 closing panel. Scoped to page 65655.
 * The closing CTA links to the monthly trial purchase route.
 */

body.ys-home-2026 .ys-close {
  padding: clamp(4.25rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
  background: var(--ys-teal);
  color: var(--ys-paper);
  text-align: center;
}

body.ys-home-2026 .ys-close__inner {
  width: min(40rem, 100%);
  margin: 0 auto;
}

body.ys-home-2026 .ys-close h2 {
  max-width: 16em;
  margin-right: auto;
  margin-left: auto;
  color: var(--ys-paper);
}

body.ys-home-2026 .ys-close p {
  max-width: 34rem;
  margin: 1.15rem auto 0;
  color: var(--ys-paper);
  font-size: 1.125rem;
  line-height: 1.65;
}

body.ys-home-2026 a.ys-close__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 59px;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  border: 0;
  border-radius: 2px;
  background: var(--ys-paper);
  box-shadow: none;
  color: var(--ys-teal);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 180ms ease;
}

body.ys-home-2026 .ys-close__cta-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

body.ys-home-2026 a.ys-close__cta:hover,
body.ys-home-2026 a.ys-close__cta:focus-visible {
  background: var(--ys-field);
  color: var(--ys-teal);
  -webkit-text-fill-color: var(--ys-teal);
}

body.ys-home-2026 a.ys-close__cta:hover .ys-close__cta-arrow,
body.ys-home-2026 a.ys-close__cta:focus-visible .ys-close__cta-arrow {
  transform: translateX(4px);
}

body.ys-home-2026 a.ys-close__cta:focus {
  outline: none;
}

body.ys-home-2026 a.ys-close__cta:focus-visible {
  outline: 2px solid var(--ys-paper);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.ys-home-2026 .ys-close__cta-arrow {
    transition: none;
  }

  body.ys-home-2026 a.ys-close__cta:hover .ys-close__cta-arrow,
  body.ys-home-2026 a.ys-close__cta:focus-visible .ys-close__cta-arrow {
    transform: none;
  }
}
