@charset "UTF-8";
/* CTA using your :root tokens (light + dark safe) */
.cta {
  min-width: 12rem;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
  width: fit-content;
  align-self: flex-start;
  border: 0;
  border-radius: var(--radius-s);
  /* subtle inner stroke that adapts to theme */
  box-shadow: var(--shadow-s), inset 0 0 0 1px var(--light-10);
  /* your original vibe, but token-based */
  background: radial-gradient(ellipse at bottom, var(--primary-d-1), var(--primary-d-2));
  /* theme-safe “white-ish” text: in dark theme --dark becomes white */
  color: var(--light);
  transition: transform 0.25s cubic-bezier(0.15, 0.83, 0.66, 1), color 0.25s cubic-bezier(0.15, 0.83, 0.66, 1), box-shadow 0.4s cubic-bezier(0.15, 0.83, 0.66, 1), filter 0.4s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.cta::before {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 0;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--dark) 50%, transparent 100%);
  opacity: 0.2;
  transition: opacity 0.4s cubic-bezier(0.15, 0.83, 0.66, 1), transform 0.4s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.cta:hover {
  color: var(--light-90);
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-m), inset 0 0 0 1px var(--light-20);
  filter: brightness(1.05);
}

.cta:hover::before {
  opacity: 1;
}

/* optional: press */
.cta:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-s), inset 0 0 0 1px var(--light-10);
}

/* optional: focus */
.cta:focus-visible {
  outline: none;
  box-shadow: var(--shadow-m), 0 0 0 3px var(--primary-30), inset 0 0 0 1px var(--light-20);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta, .cta::before {
    transition: none;
  }
}
